![]() |
![]() |
![]() |
libseahorse Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
SeahorseSetPrivate; struct SeahorseSet; SeahorseSet * seahorse_set_new (GQuark ktype
,SeahorseUsage usage
,SeahorseLocation location
,guint flags
,guint nflags
); SeahorseSet * seahorse_set_new_full (SeahorseObjectPredicate *pred
); gboolean seahorse_set_has_object (SeahorseSet *skset
,SeahorseObject *sobj
); GList * seahorse_set_get_objects (SeahorseSet *skset
); guint seahorse_set_get_count (SeahorseSet *skset
); void seahorse_set_refresh (SeahorseSet *skset
);
struct SeahorseSet { GObject parent; };
A subset list of the keys in the SeahorseContext.
- Used all over by various views to narrow in on the keys that they're interested in. - Originally was going to be called SeahorseView (database parlance) but that's far too confusing with overloaded terminology. - Uses a SeahorseObjectPredicate to match keys. - Sends out events when keys get added and removed from it's view. Or a key in the view changes etc...
Signals: added: A key was added to this keyset. removed: A key disappeared from this keyset. changed: A key in the keyset changed. set-changed: The number of keys in the keyset changed
Properties: count: The number of keys predicate: (SeahorseObjectPredicate) The predicate used for matching.
GObject |
The parent GtkObject |
SeahorseSet * seahorse_set_new (GQuark ktype
,SeahorseUsage usage
,SeahorseLocation location
,guint flags
,guint nflags
);
gboolean seahorse_set_has_object (SeahorseSet *skset
,SeahorseObject *sobj
);