![]() |
![]() |
![]() |
libseahorse Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
SeahorseObjectPrivate; SeahorseObject; SeahorseObject* seahorse_object_new (void); void seahorse_object_realize (SeahorseObject *self); void seahorse_object_refresh (SeahorseObject *self); SeahorseOperation* seahorse_object_delete (SeahorseObject *self); GQuark seahorse_object_get_id (SeahorseObject *self); GQuark seahorse_object_get_tag (SeahorseObject *self); SeahorseSource* seahorse_object_get_source (SeahorseObject *self); void seahorse_object_set_source (SeahorseObject *self, SeahorseSource *value); SeahorseContext* seahorse_object_get_context (SeahorseObject *self); SeahorseObject* seahorse_object_get_preferred (SeahorseObject *self); void seahorse_object_set_preferred (SeahorseObject *self, SeahorseObject *value); SeahorseObject* seahorse_object_get_parent (SeahorseObject *self); void seahorse_object_set_parent (SeahorseObject *self, SeahorseObject *value); GList* seahorse_object_get_children (SeahorseObject *self); SeahorseObject* seahorse_object_get_nth_child (SeahorseObject *self, guint index); const gchar* seahorse_object_get_label (SeahorseObject *self); const gchar* seahorse_object_get_markup (SeahorseObject *self); const gchar* seahorse_object_get_identifier (SeahorseObject *self); const gchar* seahorse_object_get_description (SeahorseObject *self); const gchar* seahorse_object_get_nickname (SeahorseObject *self); const gchar* seahorse_object_get_icon (SeahorseObject *self); SeahorseLocation seahorse_object_get_location (SeahorseObject *self); SeahorseUsage seahorse_object_get_usage (SeahorseObject *self); guint seahorse_object_get_flags (SeahorseObject *self); gboolean seahorse_object_lookup_property (SeahorseObject *self, const gchar *field, GValue *value); gboolean (*SeahorseObjectPredicateFunc) (SeahorseObject *obj, void *user_data); SeahorseObjectPredicate; void seahorse_object_predicate_clear (SeahorseObjectPredicate *self); gboolean seahorse_object_predicate_match (SeahorseObjectPredicate *self, SeahorseObject *obj);
void seahorse_object_realize (SeahorseObject *self);
Realizes an object. Calls the klass method
|
the object to realize |
void seahorse_object_refresh (SeahorseObject *self);
calls the class refresh function
|
object to refresh |
SeahorseOperation* seahorse_object_delete (SeahorseObject *self);
calls the class delete function
|
object to delete |
Returns : |
NULL on error |
GQuark seahorse_object_get_id (SeahorseObject *self);
|
Object |
Returns : |
the id of the object self
|
GQuark seahorse_object_get_tag (SeahorseObject *self);
|
Object |
Returns : |
the tag of the object self
|
SeahorseSource* seahorse_object_get_source (SeahorseObject *self);
|
Object |
Returns : |
the source of the object self
|
void seahorse_object_set_source (SeahorseObject *self, SeahorseSource *value);
sets the source for the object
|
The object to set a new source for |
|
The source to set |
SeahorseContext* seahorse_object_get_context (SeahorseObject *self);
|
Object |
Returns : |
the context of the object self
|
SeahorseObject* seahorse_object_get_preferred (SeahorseObject *self);
|
Object |
Returns : |
the preferred of the object self
|
void seahorse_object_set_preferred (SeahorseObject *self, SeahorseObject *value);
|
the object to set the preferred object for |
|
the preferred object |
SeahorseObject* seahorse_object_get_parent (SeahorseObject *self);
|
Object |
Returns : |
the parent of the object self
|
void seahorse_object_set_parent (SeahorseObject *self, SeahorseObject *value);
register value
as the parent of self
:
|
the child |
|
the parent |
GList* seahorse_object_get_children (SeahorseObject *self);
|
Object |
Returns : |
the children of the object self
|
SeahorseObject* seahorse_object_get_nth_child (SeahorseObject *self, guint index);
|
Object |
|
the number of the child to return |
Returns : |
the child number index
|
const gchar* seahorse_object_get_label (SeahorseObject *self);
|
Object |
Returns : |
the label of the object self
|
const gchar* seahorse_object_get_markup (SeahorseObject *self);
|
Object |
Returns : |
the markup of the object self
|
const gchar* seahorse_object_get_identifier (SeahorseObject *self);
|
Object |
Returns : |
the identifier of the object self
|
const gchar* seahorse_object_get_description (SeahorseObject *self);
|
Object |
Returns : |
the description of the object self
|
const gchar* seahorse_object_get_nickname (SeahorseObject *self);
|
Object |
Returns : |
the nickname of the object self
|
const gchar* seahorse_object_get_icon (SeahorseObject *self);
|
Object |
Returns : |
the icon of the object self
|
SeahorseLocation seahorse_object_get_location (SeahorseObject *self);
|
Object |
Returns : |
the location of the object self
|
SeahorseUsage seahorse_object_get_usage (SeahorseObject *self);
|
Object |
Returns : |
the usage of the object self
|
guint seahorse_object_get_flags (SeahorseObject *self);
|
Object |
Returns : |
the flags of the object self
|
gboolean seahorse_object_lookup_property (SeahorseObject *self, const gchar *field, GValue *value);
Looks up the property field
in the object self
and returns it in value
|
the object to look up the property |
|
the field to lookup |
|
the returned value |
Returns : |
TRUE if a property was found |
gboolean (*SeahorseObjectPredicateFunc) (SeahorseObject *obj, void *user_data);
|
|
|
|
Returns : |
typedef struct { GQuark tag; GQuark id; GType type; SeahorseLocation location; SeahorseUsage usage; guint flags; guint nflags; SeahorseSource *source; SeahorseObjectPredicateFunc custom; gpointer custom_target; } SeahorseObjectPredicate;
void seahorse_object_predicate_clear (SeahorseObjectPredicate *self);
Clears a seahorse predicate (SeahorseObjectPredicate)
|
The predicate to clean |
gboolean seahorse_object_predicate_match (SeahorseObjectPredicate *self, SeahorseObject *obj);
matches a seahorse object and a predicate
|
the object to test |
|
The predicate to match |
Returns : |
FALSE if predicate does not match the SeahorseObject, TRUE else |