GnomeDruid

Name

GnomeDruid —

Synopsis


#include <gnome.h>


GtkWidget*  gnome_druid_new                 (void);
void        gnome_druid_set_buttons_sensitive
                                            (GnomeDruid *druid,
                                             gboolean back_sensitive,
                                             gboolean next_sensitive,
                                             gboolean cancel_sensitive);
void        gnome_druid_set_show_finish     (GnomeDruid *druid,
                                             gboolean show_finish);
void        gnome_druid_prepend_page        (GnomeDruid *druid,
                                             GnomeDruidPage *page);
void        gnome_druid_insert_page         (GnomeDruid *druid,
                                             GnomeDruidPage *back_page,
                                             GnomeDruidPage *page);
void        gnome_druid_append_page         (GnomeDruid *druid,
                                             GnomeDruidPage *page);
void        gnome_druid_set_page            (GnomeDruid *druid,
                                             GnomeDruidPage *page);

Object Hierarchy


  GtkObject
   +----GtkWidget
         +----GtkContainer
               +----GnomeDruid

Description

Details

gnome_druid_new ()

GtkWidget*  gnome_druid_new                 (void);

Returns : 


gnome_druid_set_buttons_sensitive ()

void        gnome_druid_set_buttons_sensitive
                                            (GnomeDruid *druid,
                                             gboolean back_sensitive,
                                             gboolean next_sensitive,
                                             gboolean cancel_sensitive);

Sets the sensitivity of the druid's control-buttons. If the variables are TRUE, then they will be clickable. This function is used primarily by the actual GnomeDruidPage widgets.

druid : A Druid.
back_sensitive : The sensitivity of the back button.
next_sensitive : The sensitivity of the next button.
cancel_sensitive : The sensitivity of the cancel button.


gnome_druid_set_show_finish ()

void        gnome_druid_set_show_finish     (GnomeDruid *druid,
                                             gboolean show_finish);

Sets the text on the last button on the druid. If show_finish is TRUE, then the text becomes "Finish". If show_finish is FALSE, then the text becomes "Cancel".

druid : A Druid widget. # show_finish: If TRUE, then the "Cancel" button is changed to be "Finish"
show_finish : 


gnome_druid_prepend_page ()

void        gnome_druid_prepend_page        (GnomeDruid *druid,
                                             GnomeDruidPage *page);

This will prepend a GnomeDruidPage into the internal list of pages that the druid has.

druid : A Druid widget.
page : The page to be inserted.


gnome_druid_insert_page ()

void        gnome_druid_insert_page         (GnomeDruid *druid,
                                             GnomeDruidPage *back_page,
                                             GnomeDruidPage *page);

This will insert page after back_page into the list of internal pages that the druid has. If back_page is not present in the list or NULL, page will be prepended to the list.

druid : A Druid widget.
back_page : The page prior to the page to be inserted.
page : The page to insert.


gnome_druid_append_page ()

void        gnome_druid_append_page         (GnomeDruid *druid,
                                             GnomeDruidPage *page);

This will append page onto the end of the internal list.

druid : A Druid widget.
page : The page to be appended.


gnome_druid_set_page ()

void        gnome_druid_set_page            (GnomeDruid *druid,
                                             GnomeDruidPage *page);

This will make page the currently showing page in the druid. page must already be in the druid.

druid : A Druid widget.
page : The page to be brought to the foreground.