summaryrefslogtreecommitdiff
path: root/matecomponent/idl/MATE_Panel.idl
diff options
context:
space:
mode:
Diffstat (limited to 'matecomponent/idl/MATE_Panel.idl')
-rw-r--r--matecomponent/idl/MATE_Panel.idl51
1 files changed, 51 insertions, 0 deletions
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 <MateComponent_Unknown.idl>
+
+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<long> 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 */