ValaPanel.Platform¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Properties¶
None
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent_instance  | 
r  | 
Class Details¶
- class ValaPanel.Platform(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod get_suitable_monitor(self, mon)¶
 - Parameters:
 self (
Gtk.Widget) – toplevel for which we need to get monitormon (
int) – monitor number, where -1 is primary monitor.
- Returns:
 - Return type:
 
Get
Gdk.Monitorwhen toplevel can be placed.
- can_strut(top)¶
 - Parameters:
 top (
Gtk.Window) –- Return type:
 
- edge_available(top, gravity, monitor)¶
 - Parameters:
 top (
Gtk.Window) –gravity (
ValaPanel.Gravity) –monitor (
int) –
- Return type:
 
- get_settings()¶
 - Return type:
 
- init_settings(backend)¶
 - Parameters:
 backend (
Gio.SettingsBackend) –- Return type:
 
- init_settings_full(schema, path, backend)¶
 - Parameters:
 schema (
str) –path (
str) –backend (
Gio.SettingsBackend) –
- Return type:
 
- move_to_side(top, alloc, monitor)¶
 - Parameters:
 top (
Gtk.Window) –alloc (
ValaPanel.Gravity) –monitor (
int) –
- register_unit(unit)¶
 - Parameters:
 unit (
Gtk.Window) –
- start_panels_from_profile(app, profile)¶
 - Parameters:
 app (
Gtk.Application) –profile (
str) –
- Return type:
 
- 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:
 
- do_edge_available(top, gravity, monitor) virtual¶
 - Parameters:
 top (
Gtk.Window) –gravity (
ValaPanel.Gravity) –monitor (
int) –
- Return type:
 
- do_move_to_side(top, alloc, monitor) virtual¶
 - Parameters:
 top (
Gtk.Window) –alloc (
ValaPanel.Gravity) –monitor (
int) –
- do_start_panels_from_profile(app, profile) virtual¶
 - Parameters:
 app (
Gtk.Application) –profile (
str) –
- Return type:
 
- do_update_strut(top) virtual¶
 - Parameters:
 top (
Gtk.Window) –