![]() |
![]() |
![]() |
libleaftag Reference Manual | ![]() |
---|---|---|---|---|
LtObject; guint lt_object_get_id (const LtObject *obj); gboolean lt_object_get_in_db (const LtObject *obj); void lt_free_object_list (GList *list);
"id" guint : Read / Write / Construct Only "in-db" gboolean : Read / Write / Construct Only
typedef struct _LtObject LtObject;
The LtObject struct contains private data only, and should be manipulated using the functions below.
guint lt_object_get_id (const LtObject *obj);
Retreive the ID of the object.
obj : |
An LtObject |
Returns : | The ID of the object. |
gboolean lt_object_get_in_db (const LtObject *obj);
Look up whether or not the object is in the database.
obj : |
An LtObject |
Returns : | TRUE if the object exists in the database. FALSE otherwise. |
id
" property"id" guint : Read / Write / Construct Only
The ID of the object.
Allowed values: <= G_MAXINT
Default value: 0
void user_function (LtObject *object, gpointer user_data) : Run last / Action
The ::deleted signal is emitted when the object is removed from the database.
object : |
The object which was deleted |
user_data : |
user data set when the signal handler was connected. |