AwnAppletDialog

AwnAppletDialog

Synopsis

                    AwnAppletDialogPrivate;
                    AwnAppletDialog;
GtkWidget*          awn_applet_dialog_new               (AwnApplet *applet);
void                awn_applet_dialog_position_reset    (AwnAppletDialog *dialog);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkWindow
                                       +----AwnAppletDialog

Implemented Interfaces

AwnAppletDialog implements GtkBuildable and AtkImplementorIface.

Description

Details

AwnAppletDialogPrivate

typedef struct _AwnAppletDialogPrivate AwnAppletDialogPrivate;


AwnAppletDialog

typedef struct _AwnAppletDialog AwnAppletDialog;


awn_applet_dialog_new ()

GtkWidget*          awn_applet_dialog_new               (AwnApplet *applet);

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

applet :

The applet 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_applet_dialog_position_reset ()

void                awn_applet_dialog_position_reset    (AwnAppletDialog *dialog);

Resets the position of the dialog so it is centered over its associated applet window. Should "reposition" dialog-arrow if the dialog does not fit (fall-off-screen) on the desired place.

dialog :

The dialog to reposition.