ValaPanel.Platform

g GObject.Object GObject.Object ValaPanel.Platform ValaPanel.Platform GObject.Object->ValaPanel.Platform

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

get_suitable_monitor (self, mon)

can_strut (top)

edge_available (top, gravity, monitor)

get_name ()

get_settings ()

has_units_loaded ()

init_settings (backend)

init_settings_full (schema, path, backend)

move_to_side (top, alloc, monitor)

register_unit (unit)

start_panels_from_profile (app, profile)

unregister_unit (unit)

update_strut (top)

Virtual Methods

Inherited:

GObject.Object (7)

do_can_strut (top)

do_edge_available (top, gravity, monitor)

do_get_name ()

do_move_to_side (top, alloc, monitor)

do_start_panels_from_profile (app, profile)

do_update_strut (top)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class ValaPanel.Platform(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

ValaPanel.PlatformClass

classmethod get_suitable_monitor(self, mon)
Parameters:
  • self (Gtk.Widget) – toplevel for which we need to get monitor

  • mon (int) – monitor number, where -1 is primary monitor.

Returns:

Gdk.Monitor

Return type:

Gdk.Monitor

Get Gdk.Monitor when toplevel can be placed.

can_strut(top)
Parameters:

top (Gtk.Window) –

Return type:

bool

edge_available(top, gravity, monitor)
Parameters:
Return type:

bool

get_name()
Return type:

str

get_settings()
Return type:

ValaPanel.CoreSettings

has_units_loaded()
Return type:

bool

init_settings(backend)
Parameters:

backend (Gio.SettingsBackend) –

Return type:

bool

init_settings_full(schema, path, backend)
Parameters:
Return type:

bool

move_to_side(top, alloc, monitor)
Parameters:
register_unit(unit)
Parameters:

unit (Gtk.Window) –

start_panels_from_profile(app, profile)
Parameters:
Return type:

bool

unregister_unit(unit)
Parameters:

unit (Gtk.Window) –

update_strut(top)
Parameters:

top (Gtk.Window) –

do_can_strut(top) virtual
Parameters:

top (Gtk.Window) –

Return type:

bool

do_edge_available(top, gravity, monitor) virtual
Parameters:
Return type:

bool

do_get_name() virtual
Return type:

str

do_move_to_side(top, alloc, monitor) virtual
Parameters:
do_start_panels_from_profile(app, profile) virtual
Parameters:
Return type:

bool

do_update_strut(top) virtual
Parameters:

top (Gtk.Window) –