Applet.MenuItem
Synopsis
Description
A menu item that contains an icon, a text and responds to clicks
Inherits: PopupMenu.PopupBaseMenuItem
Details
void |
_init
|
(
string
text,
|
| |  
string
icon,
|
| |  
Function
callback
) |
Constructor function
text
|
text to be displayed in the menu item
|
icon
|
name of icon to be displayed in the menu item
|
callback
|
callback function to be called when the menu item is clicked
|
Clones the menu item
Return
|
a clone of this menu item
|
Text to be displayed in the menu item
Name of icon to be displayed in the menu item
Callback function when the menu item is clicked
Icon of the menu item
Applet.AppletContextMenu
Synopsis
void |
_init
|
(
Applet.Applet
launcher,
|
| |  
St.Side
orientation
) |
Description
A context menu (right-click menu) to be used by an applet
Inherits: PopupMenu.PopupMenu
Details
void |
_init
|
(
Applet.Applet
launcher,
|
| |  
St.Side
orientation
) |
Constructor function
launcher
|
The applet that contains the context menu
|
orientation
|
The orientation of the applet
|
Applet.AppletPopupMenu
Synopsis
void |
_init
|
(
Applet.Applet
launcher,
|
| |  
St.Side
orientation
) |
void |
setMaxHeight
|
(
) |
Description
A popupmenu menu (left-click menu) to be used by an applet
Inherits: PopupMenu.PopupMenu
Details
void |
_init
|
(
Applet.Applet
launcher,
|
| |  
St.Side
orientation
) |
Constructor function
launcher
|
The applet that contains the context menu
|
orientation
|
The orientation of the applet
|
Sets the maximum height of the monitor so that it does not expand pass the monitor when it has too many children
Applet.Applet
Synopsis
Description
Base applet class that other applets can inherit
Details
void |
_init
|
(
St.Side
orientation,
|
| |  
int
panelHeight,
|
| |  
int
instance_id
) |
orientation
|
orientation of the applet; Orientation of panel containing the actor
|
panelHeight
|
height of the panel containing the applet
|
instance_id
|
instance id of the applet
|
void |
set_applet_tooltip
|
(
string
text
) |
Sets the tooltip of the applet
text
|
the tooltip text to be set
|
void |
on_applet_clicked
|
(
Clutter.Event
event
) |
This function is called when the applet is clicked.
This is meant to be overriden in individual applets.
void |
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.
void |
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.
void |
setOrientation
|
(
St.Side
orientation
) |
Sets the orientation of the applet.
This function should only be called by appletManager
orientation
|
the orientation
|
void |
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.
orientation
|
new orientation of the applet
|
void |
setPanelHeight
|
(
int
panelHeight
) |
Sets the panel height property of the applet.
void |
on_panel_height_changed
|
(
) |
This function is called when the panel containing the applet changes height
This is meant to be overridden in individual applets.
Actor of the applet
UUID of the applet
Instance id of the applet
St.BoxLayout |
_panelLocation
|
Panel sector containing the applet
The order of the applet within a panel location
DND._Draggable |
_draggable
|
The draggable object of the applet
Whether the applet scales according to the panel size
Tooltips.PanelItemTooltip |
_applet_tooltip
|
The tooltip of the applet
PopupMenu.PopupMenuManager |
_menuManager
|
The menu manager of the applet
AppletContextMenu |
_applet_context_menu
|
The context menu of the applet
string |
_applet_tooltip_text
|
Text of the tooltip
Applet.IconApplet
Synopsis
Description
Applet that contains an icon
Inherits: Applet.Applet
Details
void |
_init
|
(
St.Side
orientation,
|
| |  
int
panelHeight,
|
| |  
int
instance_id
) |
orientation
|
orientation of the applet; Orientation of panel containing the actor
|
panelHeight
|
height of the panel containing the applet
|
instance_id
|
instance id of the applet
|
void |
set_applet_icon_name
|
(
string
icon_name
) |
Sets the icon of the applet to @icon_name.
The icon will be full color
icon_name
|
Name of the icon
|
void |
set_applet_icon_symbolic_name
|
(
string
icon_name
) |
Sets the icon of the applet to @icon_name.
The icon will be symbolic
icon_name
|
Name of the icon
|
void |
set_applet_icon_symbolic_path
|
(
string
icon_path
) |
Sets the icon of the applet to the image file at @icon_path
The icon will be symbolic
icon_path
|
path of the icon
|
Actor of the icon
Type of the icon (FULLCOLOR/SYMBOLIC)
Name of icon
Applet.TextApplet
Synopsis
Description
Applet that displays a text
Inherits: Applet.Applet
Details
void |
_init
|
(
St.Side
orientation,
|
| |  
int
panelHeight,
|
| |  
int
instance_id
) |
orientation
|
orientation of the applet; Orientation of panel containing the actor
|
panelHeight
|
height of the panel containing the applet
|
instance_id
|
instance id of the applet
|
void |
set_applet_label
|
(
string
text
) |
Sets the text of the actor to @text
text
|
text to be displayed at the label
|
Label of the applet
Applet.TextIconApplet
Synopsis
Description
Applet that displays an icon and a text. The icon is on the left of the text
Inherits: Applet.IconApplet
Details
void |
_init
|
(
St.Side
orientation,
|
| |  
int
panelHeight,
|
| |  
int
instance_id
) |
orientation
|
orientation of the applet; Orientation of panel containing the actor
|
panelHeight
|
height of the panel containing the applet
|
instance_id
|
instance id of the applet
|
void |
set_applet_label
|
(
string
text
) |
Sets the text of the actor to @text
text
|
text to be displayed at the label
|
void |
hide_applet_icon
|
(
) |
Hides the icon of the applet
Label of the applet