![]() |
![]() |
![]() |
Awn Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
AwnDialogPrivate; AwnDialog; 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);
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 (void);
Creates a new toplevel window.
Returns : |
a new dialog. Caller is responsible for freeing the memory when the dialog is no longer being used. |
GtkWidget* awn_dialog_new_for_widget (GtkWidget *widget);
Creates a new toplevel window that is "attached" to the widget
.
|
The widget to which to associate the dialog. |
Returns : |
a new dialog. Caller is responsible for freeing the memory when the dialog is no longer being used. |
GtkWidget* awn_dialog_new_for_widget_with_applet (GtkWidget *widget, AwnApplet *applet);
Creates a new toplevel window that is "attached" to the widget
.
|
The widget to which to associate the dialog. |
|
AwnApplet associated with widget .
|
Returns : |
a new dialog. Caller is responsible for freeing the memory when the dialog is no longer being used. |
"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