summaryrefslogtreecommitdiff
path: root/matecomponent/idl/MATE_Panel.idl
blob: 472b9ff55e7822a2f733340b786f97d87e764ce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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 */