Name
GnomeDruidPage -- A widget representing a single page inside a druid.
Object Hierarchy
GObject
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GnomeDruidPage |
Signal Prototypes
"back" gboolean user_function (GnomeDruidPage *druidpage,
GtkWidget *widget,
gpointer user_data);
"cancel" gboolean user_function (GnomeDruidPage *druidpage,
GtkWidget *widget,
gpointer user_data);
"finish" void user_function (GnomeDruidPage *druidpage,
GtkWidget *widget,
gpointer user_data);
"next" gboolean user_function (GnomeDruidPage *druidpage,
GtkWidget *widget,
gpointer user_data);
"prepare" void user_function (GnomeDruidPage *druidpage,
GtkWidget *widget,
gpointer user_data); |
Description
The functions in this page are mostly only for the information of developers --
they should never needt o call them directly. Typically, a druid will connect
to the various signals described here as a way of controlling the behaviour of
druids that do not just proceed in a front-to-back fashion (for example, where
the subsequent pages depend upon the choice made at some point).
Details
struct GnomeDruidPage
The widget for a aprticular page in a druid.
gnome_druid_page_new ()
GtkWidget* gnome_druid_page_new (void); |
Creates a new GnomeDruidPage.
gnome_druid_page_next ()
This will emit the "next" signal for that particular page. It
is called by gnome-druid exclusively. It is expected that non-linear Druid's
will override this signal and return TRUE if it handles changing pages.
gnome_druid_page_prepare ()
This emits the "prepare" signal for the page. It is called by
gnome-druid exclusively. This function is called immediately prior to a druid
page being shown so that it can "prepare" for display.
gnome_druid_page_back ()
This will emit the "back" signal for that particular page. It
is called by gnome-druid exclusively. It is expected that non-linear Druid's
will override this signal and return TRUE if it handles changing pages.
gnome_druid_page_cancel ()
This will emit the "cancel" signal for that particular page. It
is called by gnome-druid exclusively. It is expected that a Druid will
override this signal and return TRUE if it does not want to exit.
gnome_druid_page_finish ()
This emits the "finish" signal for the page. It is called by
gnome-druid exclusively.
Signals
The "back" signal
gboolean user_function (GnomeDruidPage *druidpage,
GtkWidget *widget,
gpointer user_data); |
The "cancel" signal
gboolean user_function (GnomeDruidPage *druidpage,
GtkWidget *widget,
gpointer user_data); |
The "finish" signal
void user_function (GnomeDruidPage *druidpage,
GtkWidget *widget,
gpointer user_data); |
The "next" signal
gboolean user_function (GnomeDruidPage *druidpage,
GtkWidget *widget,
gpointer user_data); |
The "prepare" signal
void user_function (GnomeDruidPage *druidpage,
GtkWidget *widget,
gpointer user_data); |