AwnDialog

AwnDialog

Synopsis

                    AwnDialogPrivate;
struct              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);

Description

Details

AwnDialogPrivate

typedef struct _AwnDialogPrivate AwnDialogPrivate;


struct AwnDialog

struct AwnDialog {
  GtkWindow   window;

  AwnDialogPrivate  *priv;
};


awn_dialog_new ()

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.

awn_dialog_new_for_widget ()

GtkWidget *         awn_dialog_new_for_widget           (GtkWidget *widget);

Creates a new toplevel window that is "attached" to the widget.

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.

awn_dialog_new_for_widget_with_applet ()

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

Creates a new toplevel window that is "attached" to the widget.

widget :

The widget to which to associate the dialog.

applet :

AwnApplet associated with widget.

Returns :

a new dialog. Caller is responsible for freeing the memory when the dialog is no longer being used.

awn_dialog_set_padding ()

void                awn_dialog_set_padding              (AwnDialog *dialog,
                                                         gint padding);