seahorse-view

seahorse-view

Description

Details

SeahorseCommands

typedef struct {
	GObject parent_instance;
	SeahorseCommandsPrivate *pv;
} SeahorseCommands;


SEAHORSE_VIEW_GET_INTERFACE()

#define SEAHORSE_VIEW_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SEAHORSE_TYPE_VIEW, SeahorseViewIface))


SeahorseView

typedef struct _SeahorseView SeahorseView;


struct 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);
};


seahorse_view_get_selected_objects ()

GList *             seahorse_view_get_selected_objects  (SeahorseView *self);


seahorse_view_set_selected_objects ()

void                seahorse_view_set_selected_objects  (SeahorseView *self,
                                                         GList *objects);


seahorse_view_get_selected_matching ()

GList *             seahorse_view_get_selected_matching (SeahorseView *self,
                                                         SeahorseObjectPredicate *pred);


seahorse_view_get_selected ()

SeahorseObject *    seahorse_view_get_selected          (SeahorseView *self);


seahorse_view_set_selected ()

void                seahorse_view_set_selected          (SeahorseView *self,
                                                         SeahorseObject *value);


seahorse_view_get_current_set ()

SeahorseSet *       seahorse_view_get_current_set       (SeahorseView *self);


seahorse_view_get_window ()

GtkWindow *         seahorse_view_get_window            (SeahorseView *self);


seahorse_view_register_ui ()

void                seahorse_view_register_ui           (SeahorseView *self,
                                                         SeahorseObjectPredicate *pred,
                                                         const gchar *ui_definition,
                                                         GtkActionGroup *actions);


seahorse_view_register_commands ()

void                seahorse_view_register_commands     (SeahorseView *self,
                                                         SeahorseObjectPredicate *pred,
                                                         SeahorseCommands *commands);