![]() |
![]() |
![]() |
libawn Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#define AWN_MAX_HEIGHT #define AWN_MIN_HEIGHT enum AwnAppletFlags; enum AwnAppletLicense; enum AwnPathType; #define AWN_PANEL_ID_DEFAULT #define AWN_FONT_SIZE_EXTRA_SMALL #define AWN_FONT_SIZE_SMALL #define AWN_FONT_SIZE_MEDIUM #define AWN_FONT_SIZE_LARGE #define AWN_FONT_SIZE_EXTRA_LARGE
typedef enum { AWN_APPLET_FLAGS_NONE = 0, AWN_APPLET_EXPAND_MINOR = 1 << 0, AWN_APPLET_EXPAND_MAJOR = 1 << 1, AWN_APPLET_IS_EXPANDER = 1 << 2, AWN_APPLET_IS_SEPARATOR = 1 << 3, AWN_APPLET_HAS_SHAPE_MASK = 1 << 4, AWN_APPLET_DOCKLET_HANDLES_POSITION_CHANGE = 1 << 10, AWN_APPLET_DOCKLET_CLOSE_ON_MOUSE_OUT = 1 << 11 } AwnAppletFlags;
typedef enum { AWN_APPLET_LICENSE_GPLV2 = 10, AWN_APPLET_LICENSE_GPLV3 = 11, AWN_APPLET_LICENSE_LGPLV2_1 = 12, AWN_APPLET_LICENSE_LGPLV3 = 13 } AwnAppletLicense;
The license to use for the applet's about dialog. Starting the acceptable values at 10 makes it rather unlikely that someone can specify a license type by accident.
typedef enum { AWN_PATH_LINEAR = 0, AWN_PATH_ELLIPSE, AWN_PATH_LAST } AwnPathType;
Describes the layout of icons on the panel.
#define AWN_FONT_SIZE_EXTRA_SMALL 6.0
Extra small font size. For use with AwnOverlayText.
Standardized font sizes to be used with AwnOverlayText. Corresponds to
standard Pango font size units for standard PANGO_SCALE
when the awn icon
size is 48.0 pixels.
#define AWN_FONT_SIZE_SMALL 9.0
Small font size. For use with AwnOverlayText.
Standardized font sizes to be used with AwnOverlayText. Corresponds to
standard Pango font size units for standard PANGO_SCALE
when the awn icon
size is 48.0 pixels.
#define AWN_FONT_SIZE_MEDIUM 12.0
Medium font size. For use with AwnOverlayText.
Standardized font sizes to be used with AwnOverlayText. Corresponds to
standard Pango font size units for standard PANGO_SCALE
when the awn icon
size is 48.0 pixels.
#define AWN_FONT_SIZE_LARGE 15.0
Large font size. For use with AwnOverlayText.
Standardized font sizes to be used with AwnOverlayText. Corresponds to
standard Pango font size units for standard PANGO_SCALE
when the awn icon
size is 48.0 pixels.
#define AWN_FONT_SIZE_EXTRA_LARGE 18.0
Extra large font size. For use with AwnOverlayText.
Standardized font sizes to be used with AwnOverlayText. Corresponds to
standard Pango font size units for standard PANGO_SCALE
when the awn icon
size is 48.0 pixels.