![]() |
![]() |
![]() |
libawn Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
AwnAppletDialogPrivate; AwnAppletDialog; GtkWidget* awn_applet_dialog_new (AwnApplet *applet); void awn_applet_dialog_position_reset (AwnAppletDialog *dialog);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----AwnAppletDialog
GtkWidget* awn_applet_dialog_new (AwnApplet *applet);
Creates a new toplevel window that is "attached" to the 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. |
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.
|
The dialog to reposition. |