| libseahorse Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
SeahorseCommands; #define SEAHORSE_VIEW_GET_INTERFACE (obj) SeahorseView; struct SeahorseViewIface; GList * seahorse_view_get_selected_objects (SeahorseView *self); void seahorse_view_set_selected_objects (SeahorseView *self,GList *objects); GList * seahorse_view_get_selected_matching (SeahorseView *self,SeahorseObjectPredicate *pred); SeahorseObject * seahorse_view_get_selected (SeahorseView *self); void seahorse_view_set_selected (SeahorseView *self,SeahorseObject *value); SeahorseSet * seahorse_view_get_current_set (SeahorseView *self); GtkWindow * seahorse_view_get_window (SeahorseView *self); void seahorse_view_register_ui (SeahorseView *self,SeahorseObjectPredicate *pred,const gchar *ui_definition,GtkActionGroup *actions); void seahorse_view_register_commands (SeahorseView *self,SeahorseObjectPredicate *pred,SeahorseCommands *commands);
typedef struct {
GObject parent_instance;
SeahorseCommandsPrivate *pv;
} SeahorseCommands;
#define SEAHORSE_VIEW_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SEAHORSE_TYPE_VIEW, SeahorseViewIface))
|
struct SeahorseViewIface {
GTypeInterface parent_iface;
/* virtual metdods */
GList* (*get_selected_objects) (SeahorseView *self);
void (*set_selected_objects) (SeahorseView *self,
GList *objects);
GList* (*get_selected_matching) (SeahorseView *self,
SeahorseObjectPredicate *pred);
SeahorseObject* (*get_selected) (SeahorseView *self);
void (*set_selected) (SeahorseView *self,
SeahorseObject *value);
SeahorseSet* (*get_current_set) (SeahorseView *self);
GtkWindow* (*get_window) (SeahorseView *self);
void (*register_commands) (SeahorseView *self,
SeahorseObjectPredicate *pred,
SeahorseCommands *commands);
void (*register_ui) (SeahorseView *self,
SeahorseObjectPredicate *pred,
const gchar *ui_definition,
GtkActionGroup *actions);
};
GList * seahorse_view_get_selected_objects (SeahorseView *self);
|
|
Returns : |
void seahorse_view_set_selected_objects (SeahorseView *self,GList *objects);
|
|
|
GList * seahorse_view_get_selected_matching (SeahorseView *self,SeahorseObjectPredicate *pred);
|
|
|
|
Returns : |
SeahorseObject * seahorse_view_get_selected (SeahorseView *self);
|
|
Returns : |
void seahorse_view_set_selected (SeahorseView *self,SeahorseObject *value);
|
|
|
SeahorseSet * seahorse_view_get_current_set (SeahorseView *self);
|
|
Returns : |
GtkWindow * seahorse_view_get_window (SeahorseView *self);
|
|
Returns : |
void seahorse_view_register_ui (SeahorseView *self,SeahorseObjectPredicate *pred,const gchar *ui_definition,GtkActionGroup *actions);
|
|
|
|
|
|
|
void seahorse_view_register_commands (SeahorseView *self,SeahorseObjectPredicate *pred,SeahorseCommands *commands);
|
|
|
|
|