AwnDialog

AwnDialog

Functions

Properties

GtkWidget * anchor Write
AwnApplet * anchor-applet Write
gboolean anchored Read / Write / Construct
DesktopAgnosticColor * border Read / Write / Construct
DesktopAgnosticColor * dialog-bg Read / Write / Construct
gboolean effects-hilight Read / Write / Construct
gboolean hide-on-esc Read / Write / Construct
gboolean hide-on-unfocus Read / Write / Construct
DesktopAgnosticColor * hilight Read / Write / Construct
GtkPositionType position Read / Write / Construct
DesktopAgnosticColor * title-bg Read / Write / Construct
gint window-offset Read / Write / Construct
gint window-padding Read / Write / Construct

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBin
                        ╰── GtkWindow
                            ╰── AwnDialog

Description

Functions

awn_dialog_new ()

GtkWidget *
awn_dialog_new (void);


awn_dialog_new_for_widget ()

GtkWidget *
awn_dialog_new_for_widget (GtkWidget *widget);


awn_dialog_new_for_widget_with_applet ()

GtkWidget *
awn_dialog_new_for_widget_with_applet (GtkWidget *widget,
                                       AwnApplet *applet);


awn_dialog_set_padding ()

void
awn_dialog_set_padding (AwnDialog *dialog,
                        gint padding);


awn_dialog_get_content_area ()

GtkWidget *
awn_dialog_get_content_area (AwnDialog *dialog);

Types and Values

Property Details

The “anchor” property

  “anchor”                   GtkWidget *

Widget this window is attached to.

Flags: Write


The “anchor-applet” property

  “anchor-applet”            AwnApplet *

AwnApplet this window is attached to.

Flags: Write


The “anchored” property

  “anchored”                 gboolean

Moves the window together with it's anchor widget.

Flags: Read / Write / Construct

Default value: TRUE


The “border” property

  “border”                   DesktopAgnosticColor *

Border color.

Flags: Read / Write / Construct


The “dialog-bg” property

  “dialog-bg”                DesktopAgnosticColor *

Dialog background color.

Flags: Read / Write / Construct


The “effects-hilight” property

  “effects-hilight”          gboolean

Sets the anchored widget active when dialog is focused and the anchor implements AwnOverlayable interface.

Flags: Read / Write / Construct

Default value: TRUE


The “hide-on-esc” property

  “hide-on-esc”              gboolean

Hides the window when escape key is pressed.

Flags: Read / Write / Construct

Default value: TRUE


The “hide-on-unfocus” property

  “hide-on-unfocus”          gboolean

Whether to hide the dialog when it's no longer active.

Flags: Read / Write / Construct

Default value: FALSE


The “hilight” property

  “hilight”                  DesktopAgnosticColor *

Internal border color.

Flags: Read / Write / Construct


The “position” property

  “position”                 GtkPositionType

The position of the window.

Flags: Read / Write / Construct

Default value: GTK_POS_BOTTOM


The “title-bg” property

  “title-bg”                 DesktopAgnosticColor *

Background color for dialog's title.

Flags: Read / Write / Construct


The “window-offset” property

  “window-offset”            gint

The offset from window border.

Flags: Read / Write / Construct

Default value: 15


The “window-padding” property

  “window-padding”           gint

The padding from window border.

Flags: Read / Write / Construct

Allowed values: >= 0

Default value: 15