![]() |
![]() |
![]() |
libawn Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct AwnDialog; struct AwnDialogClass; GtkWidget * awn_dialog_new (void
); GtkWidget * awn_dialog_new_for_widget (GtkWidget *widget
); GtkWidget * awn_dialog_new_for_widget_with_applet (GtkWidget *widget
,AwnApplet *applet
); void awn_dialog_set_padding (AwnDialog *dialog
,gint padding
); GtkWidget * awn_dialog_get_content_area (AwnDialog *dialog
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----AwnDialog
"anchor" GtkWidget* : Write "anchor-applet" AwnApplet* : Write "anchored" gboolean : Read / Write / Construct "border" DesktopAgnosticColor* : Read / Write / Construct "dialog-bg" DesktopAgnosticColor* : Read / Write / Construct "effects-hilight" gboolean : Read / Write / Construct "hide-on-esc" gboolean : Read / Write / Construct "hide-on-unfocus" gboolean : Read / Write / Construct "hilight" DesktopAgnosticColor* : Read / Write / Construct "position" GtkPositionType : Read / Write / Construct "title-bg" DesktopAgnosticColor* : Read / Write / Construct "window-offset" gint : Read / Write / Construct "window-padding" gint : Read / Write / Construct
GtkWidget * awn_dialog_new_for_widget_with_applet (GtkWidget *widget
,AwnApplet *applet
);
"anchor-applet"
property"anchor-applet" AwnApplet* : Write
AwnApplet this window is attached to.
"anchored"
property"anchored" gboolean : Read / Write / Construct
Moves the window together with it's anchor widget.
Default value: TRUE
"dialog-bg"
property "dialog-bg" DesktopAgnosticColor* : Read / Write / Construct
Dialog background color.
"effects-hilight"
property"effects-hilight" gboolean : Read / Write / Construct
Sets the anchored widget active when dialog is focused and the anchor implements AwnOverlayable interface.
Default value: TRUE
"hide-on-esc"
property"hide-on-esc" gboolean : Read / Write / Construct
Hides the window when escape key is pressed.
Default value: TRUE
"hide-on-unfocus"
property"hide-on-unfocus" gboolean : Read / Write / Construct
Whether to hide the dialog when it's no longer active.
Default value: FALSE
"hilight"
property "hilight" DesktopAgnosticColor* : Read / Write / Construct
Internal border color.
"position"
property"position" GtkPositionType : Read / Write / Construct
The position of the window.
Default value: GTK_POS_BOTTOM
"title-bg"
property "title-bg" DesktopAgnosticColor* : Read / Write / Construct
Background color for dialog's title.
"window-offset"
property"window-offset" gint : Read / Write / Construct
The offset from window border.
Default value: 15
"window-padding"
property"window-padding" gint : Read / Write / Construct
The padding from window border.
Allowed values: >= 0
Default value: 15