|  |  |  | libseahorse Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
                    SeahorseWidget;
SeahorseWidget*     seahorse_widget_new                 (const gchar *name,
                                                         GtkWindow *parent);
SeahorseWidget*     seahorse_widget_new_allow_multiple  (const gchar *name,
                                                         GtkWindow *parent);
SeahorseWidget*     seahorse_widget_find                (const gchar *name);
const gchar*        seahorse_widget_get_name            (SeahorseWidget *swidget);
GtkWidget*          seahorse_widget_get_toplevel        (SeahorseWidget *swidget);
GtkWidget*          seahorse_widget_get_widget          (SeahorseWidget *swidget,
                                                         const char *identifier);
void                seahorse_widget_show                (SeahorseWidget *swidget);
void                seahorse_widget_show_help           (SeahorseWidget *swidget);
void                seahorse_widget_set_visible         (SeahorseWidget *swidget,
                                                         const char *identifier,
                                                         gboolean visible);
void                seahorse_widget_set_sensitive       (SeahorseWidget *swidget,
                                                         const char *identifier,
                                                         gboolean sensitive);
void                seahorse_widget_destroy             (SeahorseWidget *swidget);
typedef struct {
    GtkObject parent;
    GtkBuilder *gtkbuilder;
    gchar *name;
} SeahorseWidget;
A window created from a gtkbuilder file.
- All SeahorseWidget objects are destroyed when the SeahorseContext goes bye-bye. - Implements fun GtkUIManager stuff.
Signals: destroy: The window was destroyed.
Properties: name: (gchar*) The name of the gtkbuilder file to load.
| GtkObject  | The parent GtkObject | 
| GtkBuilder * | The GtkBuilder object for the SeahorseWidget | 
| gchar * | The name of the gtkbuilder file | 
SeahorseWidget* seahorse_widget_new (const gchar *name, GtkWindow *parent);
Creates a new SeahorseWidget.
| 
 | Name of widget, filename part of gtkbuilder file, and name of main window | 
| 
 | GtkWindow to make the parent of the new swidget | 
| Returns : | The new SeahorseWidget, or NULL if the widget already exists | 
SeahorseWidget* seahorse_widget_new_allow_multiple (const gchar *name, GtkWindow *parent);
Creates a new SeahorseWidget without checking if it already exists.
| 
 | Name of widget, filename part of gtkbuilder file, and name of main window | 
| 
 | GtkWindow to make the parent of the new swidget | 
| Returns : | The new SeahorseWidget | 
const gchar* seahorse_widget_get_name (SeahorseWidget *swidget);
| 
 | |
| Returns : | 
GtkWidget* seahorse_widget_get_toplevel (SeahorseWidget *swidget);
Return the top level widget in this seahorse widget
| 
 | The seahorse widget | 
| Returns : | The top level widget | 
GtkWidget* seahorse_widget_get_widget (SeahorseWidget *swidget, const char *identifier);
| 
 | |
| 
 | |
| Returns : | 
void seahorse_widget_show (SeahorseWidget *swidget);
Show the toplevel widget in the gtkbuilder file.
| 
 | SeahorseWidget to show | 
void seahorse_widget_show_help (SeahorseWidget *swidget);
Show help appropriate for the top level widget.
| 
 | The SeahorseWidget. | 
void seahorse_widget_set_visible (SeahorseWidget *swidget, const char *identifier, gboolean visible);
| 
 | |
| 
 | |
| 
 | 
void seahorse_widget_set_sensitive (SeahorseWidget *swidget, const char *identifier, gboolean sensitive);
| 
 | |
| 
 | |
| 
 | 
void seahorse_widget_destroy (SeahorseWidget *swidget);
Unrefs swidget.
| 
 | SeahorseWidget to destroy |