From c51ef797a707f4e2c6f9688d4378f2b0e9898a66 Mon Sep 17 00:00:00 2001 From: Perberos Date: Thu, 1 Dec 2011 22:56:10 -0300 Subject: moving from https://github.com/perberos/mate-desktop-environment --- matecomponent/idl/MATE_Panel.idl | 51 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 matecomponent/idl/MATE_Panel.idl (limited to 'matecomponent/idl/MATE_Panel.idl') diff --git a/matecomponent/idl/MATE_Panel.idl b/matecomponent/idl/MATE_Panel.idl new file mode 100644 index 00000000..472b9ff5 --- /dev/null +++ b/matecomponent/idl/MATE_Panel.idl @@ -0,0 +1,51 @@ +#ifndef MATE_PANEL_IDL +#define MATE_PANEL_IDL + +#include + +module MATE { + module Vertigo { + + /* + * The panel's orientation. + */ + typedef unsigned short PanelOrient; + + const PanelOrient PANEL_ORIENT_UP = 0; + const PanelOrient PANEL_ORIENT_DOWN = 1; + const PanelOrient PANEL_ORIENT_LEFT = 2; + const PanelOrient PANEL_ORIENT_RIGHT = 3; + + /* + * The panel's width or height, depending + * on its orientation. + */ + typedef unsigned short PanelSize; + + const PanelSize PANEL_XX_SMALL = 12; + const PanelSize PANEL_X_SMALL = 24; + const PanelSize PANEL_SMALL = 36; + const PanelSize PANEL_MEDIUM = 48; + const PanelSize PANEL_LARGE = 64; + const PanelSize PANEL_X_LARGE = 80; + const PanelSize PANEL_XX_LARGE = 128; + + /* Used for the size hints list */ + typedef sequence SizeHintList; + + /* + * MATE::PanelBackground Format: + * o "none:" - no background. + * o "colour:xxxxxx' - rgb colour value. + * o "pixmap:XID,x,y" - the pixmap XID, and the applets offsets into + * that pixmap. + */ + typedef string PanelBackground; + + interface MatePanelAppletShell : MateComponent::Unknown { + oneway void popup_menu (in long button, in long time); + }; + }; +}; + +#endif /* MATE_PANEL_IDL */ -- cgit v1.2.1