GnomePropertyBox

Name

GnomePropertyBox -- 

Synopsis


#include <libgnomeui/libgnomeui.h>


#define     GNOME_PROPERTY_BOX_DIRTY
struct      GnomePropertyBox;
GtkWidget*  gnome_property_box_new          (void);
void        gnome_property_box_changed      (GnomePropertyBox *property_box);
void        gnome_property_box_set_modified (GnomePropertyBox *property_box,
                                             gboolean state);
gint        gnome_property_box_append_page  (GnomePropertyBox *property_box,
                                             GtkWidget *child,
                                             GtkWidget *tab_label);
void        gnome_property_box_set_state    (GnomePropertyBox *property_box,
                                             gboolean state);

Object Hierarchy


  GObject
   +----GtkObject
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkWindow
                                 +----GnomeDialog
                                       +----GnomePropertyBox

Signal Prototypes


"apply"     void        user_function      (GnomePropertyBox *propertybox,
                                            gint arg1,
                                            gpointer user_data);
"help"      void        user_function      (GnomePropertyBox *propertybox,
                                            gint arg1,
                                            gpointer user_data);

Description

Details

GNOME_PROPERTY_BOX_DIRTY

#define GNOME_PROPERTY_BOX_DIRTY	"gnome_property_box_dirty"

Warning

GNOME_PROPERTY_BOX_DIRTY is deprecated and should not be used in newly-written code.


struct GnomePropertyBox

struct GnomePropertyBox;

Warning

GnomePropertyBox is deprecated and should not be used in newly-written code.


gnome_property_box_new ()

GtkWidget*  gnome_property_box_new          (void);

Warning

gnome_property_box_new is deprecated and should not be used in newly-written code.

Creates a new GnomePropertyBox widget. The PropertyBox widget is useful for making consistent configuration dialog boxes.

When a setting has been made to a property in the PropertyBox your program needs to invoke the gnome_property_box_changed to signal a change (this will enable the Ok/Apply buttons).


gnome_property_box_changed ()

void        gnome_property_box_changed      (GnomePropertyBox *property_box);

Warning

gnome_property_box_changed is deprecated and should not be used in newly-written code.

When a setting has changed, the code needs to invoke this routine to make the Ok/Apply buttons sensitive.


gnome_property_box_set_modified ()

void        gnome_property_box_set_modified (GnomePropertyBox *property_box,
                                             gboolean state);

Warning

gnome_property_box_set_modified is deprecated and should not be used in newly-written code.

This sets the modified flag of the GnomePropertyBox to the value in state. Affects whether the OK/Apply buttons are sensitive.


gnome_property_box_append_page ()

gint        gnome_property_box_append_page  (GnomePropertyBox *property_box,
                                             GtkWidget *child,
                                             GtkWidget *tab_label);

Warning

gnome_property_box_append_page is deprecated and should not be used in newly-written code.

Appends a new page to the GnomePropertyBox.


gnome_property_box_set_state ()

void        gnome_property_box_set_state    (GnomePropertyBox *property_box,
                                             gboolean state);

Warning

gnome_property_box_set_state is deprecated and should not be used in newly-written code.

Signals

The "apply" signal

void        user_function                  (GnomePropertyBox *propertybox,
                                            gint arg1,
                                            gpointer user_data);


The "help" signal

void        user_function                  (GnomePropertyBox *propertybox,
                                            gint arg1,
                                            gpointer user_data);