Top | ![]() |
![]() |
![]() |
![]() |
|
updatePosition () |
|
destroy () |
|
highlight () |
|
isHideable () |
|
_getProperty () |
|
_moveResizePanel () |
|
_updatePanelVisibility () |
|
_queueShowHidePanel () |
|
disable () |
|
enable () |
|
_showPanel () |
|
_hidePanel () |
int | panelId | |
int | monitorIndex | |
Meta.Rectangle | monitor | |
boolean | bottomPosition | |
Cinnamon.GenericContainer | actor | |
boolean | scaleMode | |
St.BoxLayout | _leftBox | |
St.BoxLayout | _centerBox | |
St.BoxLayout | _rightBox | |
boolean | _hidden | |
boolean | _disabled | |
boolean | _panelEditMode | |
Panel.PanelContextMenu | _context_menu |
updatePosition (monitorIndex
);
Moves the panel to the monitor monitorIndex
and position bottomPosition
_getProperty (string key
,string type
);
Gets the desired property of the panel from gsettings
_moveResizePanel ();
Function to update the panel position and size according to settings values.
_updatePanelVisibility ();
Checks whether the panel should show based on the autohide settings and position of mouse/active window. It then calls the _queueShowHidePanel function to show or hide the panel as necessary.
_queueShowHidePanel ();
Makes the panel show or hide after a delay specified by panels-show-delay and panels-hide-delay.
disable ();
Disables the panel by settings the opacity to 0 and hides if autohide is enable. The actor is then hidden after the animation.
_showPanel ();
A function to force the panel to show. This has no effect if the panel is disabled.
“bottomPosition”
property “bottomPosition” boolean
whether the panel is at the bottom of the screen
“_leftBox”
property “_leftBox” St.BoxLayout
the box containing all the applets in the left region
“_centerBox”
property “_centerBox” St.BoxLayout
the box containing all the applets in the center region
“_rightBox”
property “_rightBox” St.BoxLayout
the box containing all the applets in the right region