Top | ![]() |
![]() |
![]() |
![]() |
St.BoxLayout | actor | |
int | instance_id | |
string | _uuid | |
St.BoxLayout | _panelLocation | |
Panel.Panel | panel | |
JSON | _meta | |
int | _order | |
Dnd._Draggable | _draggable | |
boolean | _scaleMode | |
Tooltips.PanelItemTooltip | _applet_tooltip | |
PopupMenu.PopupMenuManager | _menuManager | |
Applet.AppletContextMenu | _applet_context_menu | |
string | _applet_tooltip_text |
set_applet_enabled (boolean enabled
);
Sets whether the applet is enabled or not. A disabled applet sets its padding to 0px and doesn't react to clicks
on_applet_clicked (Clutter.Event event
);
This function is called when the applet is clicked.
This is meant to be overridden in individual applets.
on_applet_instances_changed ();
This function is called when an applet of the same uuid is added or removed from the panels. It is intended to assist in delegation of responsibilities between duplicate applet instances.
This is meant to be overridden in individual applets
on_applet_added_to_panel ();
This function is called by appletManager when the applet is added to the panel.
This is meant to be overridden in individual applets.
on_applet_removed_from_panel ();
This function is called by appletManager when the applet is removed from the panel.
This is meant to be overridden in individual applets.
setOrientation (St.Side orientation
);
Sets the orientation of the applet.
This function should only be called by appletManager
on_orientation_changed (St.Side orientation
);
This function is called when the applet is changes orientation.
This is meant to be overridden in individual applets.
“_uuid”
property “_uuid” string
UUID of the applet. This is set by appletManager after the applet is loaded.
“_panelLocation”
property “_panelLocation” St.BoxLayout
Panel sector containing the applet. This is set by appletManager after the applet is loaded.
“panel”
property“panel” Panel.Panel
The panel object containing the applet. This is set by appletManager after the applet is loaded.
“_meta”
property “_meta” JSON
The metadata of the applet. This is set by appletManager after the applet is loaded.
“_order”
property “_order” int
The order of the applet within a panel location This is set by appletManager after the applet is loaded.
“_scaleMode”
property “_scaleMode” boolean
Whether the applet scales according to the panel size
“_applet_tooltip”
property“_applet_tooltip” Tooltips.PanelItemTooltip
The tooltip of the applet
“_menuManager”
property “_menuManager” PopupMenu.PopupMenuManager
The menu manager of the applet
“_applet_context_menu”
property“_applet_context_menu” Applet.AppletContextMenu
The context menu of the applet