libseahorse Reference Manual | ||||
---|---|---|---|---|
Top | Description |
Synopsis
SeahorseObjectPrivate; struct 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
); struct SeahorseObjectPredicate; void seahorse_object_predicate_clear (SeahorseObjectPredicate *self
); gboolean seahorse_object_predicate_match (SeahorseObjectPredicate *self
,SeahorseObject *obj
);
Details
seahorse_object_realize ()
void seahorse_object_realize (SeahorseObject *self
);
Realizes an object. Calls the klass method
|
the object to realize |
seahorse_object_refresh ()
void seahorse_object_refresh (SeahorseObject *self
);
calls the class refresh function
|
object to refresh |
seahorse_object_delete ()
SeahorseOperation * seahorse_object_delete (SeahorseObject *self
);
calls the class delete function
|
object to delete |
Returns : |
NULL on error |
seahorse_object_get_id ()
GQuark seahorse_object_get_id (SeahorseObject *self
);
|
Object |
Returns : |
the id of the object self
|
seahorse_object_get_tag ()
GQuark seahorse_object_get_tag (SeahorseObject *self
);
|
Object |
Returns : |
the tag of the object self
|
seahorse_object_get_source ()
SeahorseSource * seahorse_object_get_source (SeahorseObject *self
);
|
Object |
Returns : |
the source of the object self
|
seahorse_object_set_source ()
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 |
seahorse_object_get_context ()
SeahorseContext * seahorse_object_get_context (SeahorseObject *self
);
|
Object |
Returns : |
the context of the object self
|
seahorse_object_get_preferred ()
SeahorseObject * seahorse_object_get_preferred (SeahorseObject *self
);
|
Object |
Returns : |
the preferred of the object self
|
seahorse_object_set_preferred ()
void seahorse_object_set_preferred (SeahorseObject *self
,SeahorseObject *value
);
|
the object to set the preferred object for |
|
the preferred object |
seahorse_object_get_parent ()
SeahorseObject * seahorse_object_get_parent (SeahorseObject *self
);
|
Object |
Returns : |
the parent of the object self
|
seahorse_object_set_parent ()
void seahorse_object_set_parent (SeahorseObject *self
,SeahorseObject *value
);
register value
as the parent of self
:
|
the child |
|
the parent |
seahorse_object_get_children ()
GList * seahorse_object_get_children (SeahorseObject *self
);
|
Object |
Returns : |
the children of the object self
|
seahorse_object_get_nth_child ()
SeahorseObject * seahorse_object_get_nth_child (SeahorseObject *self
,guint index
);
|
Object |
|
the number of the child to return |
Returns : |
the child number index
|
seahorse_object_get_label ()
const gchar * seahorse_object_get_label (SeahorseObject *self
);
|
Object |
Returns : |
the label of the object self
|
seahorse_object_get_markup ()
const gchar * seahorse_object_get_markup (SeahorseObject *self
);
|
Object |
Returns : |
the markup of the object self
|
seahorse_object_get_identifier ()
const gchar * seahorse_object_get_identifier (SeahorseObject *self
);
|
Object |
Returns : |
the identifier of the object self
|
seahorse_object_get_description ()
const gchar * seahorse_object_get_description (SeahorseObject *self
);
|
Object |
Returns : |
the description of the object self
|
seahorse_object_get_nickname ()
const gchar * seahorse_object_get_nickname (SeahorseObject *self
);
|
Object |
Returns : |
the nickname of the object self
|
seahorse_object_get_icon ()
const gchar * seahorse_object_get_icon (SeahorseObject *self
);
|
Object |
Returns : |
the icon of the object self
|
seahorse_object_get_location ()
SeahorseLocation seahorse_object_get_location (SeahorseObject *self
);
|
Object |
Returns : |
the location of the object self
|
seahorse_object_get_usage ()
SeahorseUsage seahorse_object_get_usage (SeahorseObject *self
);
|
Object |
Returns : |
the usage of the object self
|
seahorse_object_get_flags ()
guint seahorse_object_get_flags (SeahorseObject *self
);
|
Object |
Returns : |
the flags of the object self
|
seahorse_object_lookup_property ()
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 |
SeahorseObjectPredicateFunc ()
gboolean (*SeahorseObjectPredicateFunc) (SeahorseObject *obj
,void *user_data
);
struct SeahorseObjectPredicate
struct SeahorseObjectPredicate { GQuark tag; GQuark id; GType type; SeahorseLocation location; SeahorseUsage usage; guint flags; guint nflags; SeahorseSource *source; SeahorseObjectPredicateFunc custom; gpointer custom_target; };
seahorse_object_predicate_clear ()
void seahorse_object_predicate_clear (SeahorseObjectPredicate *self
);
Clears a seahorse predicate (SeahorseObjectPredicate)
|
The predicate to clean |
seahorse_object_predicate_match ()
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 |