| libxfce4panel Reference Manual | ||||
|---|---|---|---|---|
enum XfceScreenPosition; #define xfce_screen_position_is_horizontal (position) #define xfce_screen_position_get_orientation(position) #define xfce_screen_position_is_floating (position) #define xfce_screen_position_is_top (position) #define xfce_screen_position_is_left (position) #define xfce_screen_position_is_right (position) #define xfce_screen_position_is_bottom (position) enum XfceHandleStyle;
typedef enum /*<enum,prefix=XFCE_SCREEN_POSITION >*/
{
XFCE_SCREEN_POSITION_NONE,
/* top */
XFCE_SCREEN_POSITION_NW_H, /* North West Horizontal */
XFCE_SCREEN_POSITION_N, /* North */
XFCE_SCREEN_POSITION_NE_H, /* North East Horizontal */
/* left */
XFCE_SCREEN_POSITION_NW_V, /* North West Vertical */
XFCE_SCREEN_POSITION_W, /* West */
XFCE_SCREEN_POSITION_SW_V, /* South West Vertical */
/* right */
XFCE_SCREEN_POSITION_NE_V, /* North East Vertical */
XFCE_SCREEN_POSITION_E, /* East */
XFCE_SCREEN_POSITION_SE_V, /* South East Vertical */
/* bottom */
XFCE_SCREEN_POSITION_SW_H, /* South West Horizontal */
XFCE_SCREEN_POSITION_S, /* South */
XFCE_SCREEN_POSITION_SE_H, /* South East Horizontal */
/* floating */
XFCE_SCREEN_POSITION_FLOATING_H, /* Floating Horizontal */
XFCE_SCREEN_POSITION_FLOATING_V /* Floating Vertical */
}
XfceScreenPosition;
There are three screen positions for each side of the screen: LEFT/TOP, CENTER and RIGHT/BOTTOM. The XfceScreenPosition is expressed as navigational direction, with possible addition of H or V to denote horizontal and vertical orientation. Additionally there are two floating positions, horizontal and vertical.
#define xfce_screen_position_is_horizontal(position)
|
the XfceScreenPosition |
Returns : |
TRUE if horizontal, FALSE otherwise
|
#define xfce_screen_position_get_orientation(position)
|
the XfceScreenPosition |
Returns : |
the GtkOrientation corresponding to position.
|
#define xfce_screen_position_is_floating(position)
|
the XfceScreenPosition |
Returns : |
TRUE if floating, FALSE otherwise.
|
#define xfce_screen_position_is_top(position)
|
the XfceScreenPosition |
Returns : |
TRUE if on the top of the screen, FALSE otherwise
|
#define xfce_screen_position_is_left(position)
|
the XfceScreenPosition |
Returns : |
TRUE if on the left of the screen, FALSE otherwise
|
#define xfce_screen_position_is_right(position)
|
the XfceScreenPosition |
Returns : |
TRUE if on the right of the screen, FALSE otherwise
|
#define xfce_screen_position_is_bottom(position)
|
the XfceScreenPosition |
Returns : |
TRUE if on the bottom of the screen, FALSE otherwise
|
typedef enum /*<enum,prefix=XFCE_HANDLE_STYLE >*/
{
XFCE_HANDLE_STYLE_NONE,
XFCE_HANDLE_STYLE_BOTH,
XFCE_HANDLE_STYLE_START,
XFCE_HANDLE_STYLE_END
}
XfceHandleStyle;
Style of the handles on an XfcePanelWindow.