| libhildondesktop 2.0 Reference Manual | ||||
|---|---|---|---|---|
#define HILDON_DESKTOP_ITEM_SETTINGS_SYMBOL HildonDesktopItem; GtkWidget* hildon_desktop_item_get_widget (HildonDesktopItem *item); const gchar* hildon_desktop_item_get_id (HildonDesktopItem *item); const gchar* hildon_desktop_item_get_resource (HildonDesktopItem *item); const gchar* hildon_desktop_item_get_name (HildonDesktopItem *item); gint hildon_desktop_item_find_by_id (HildonDesktopItem *item, const gchar *id); GtkWidget* (*HildonDesktopItemSettingsDialog) (GModule *module);
  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----HildonDesktopItem
                                       +----HildonDesktopHomeItem
                                       +----HildonDesktopPanelItem
"id" gchar* : Read / Write / Construct "item-name" gchar* : Read / Write / Construct "mandatory" gboolean : Read / Write / Construct "resource" gchar* : Read / Write "temporary" gboolean : Read / Write / Construct
#define HILDON_DESKTOP_ITEM_SETTINGS_SYMBOL "hildon_desktop_item_get_settings"
GtkWidget* hildon_desktop_item_get_widget (HildonDesktopItem *item);
Returns the child widget of a HildonDesktopItem
item : | 
a HildonDesktopItem | 
| Returns : | the child widget | 
const gchar* hildon_desktop_item_get_id (HildonDesktopItem *item);
Returns a HildonDesktopItem 's identifier. The identifier is used internally to associate items with container configuration.
item : | 
a HildonDesktopItem | 
| Returns : | the item's identifier | 
const gchar* hildon_desktop_item_get_resource (HildonDesktopItem *item);
Returns a HildonDesktopItem 's resource. The resource is used internally to the plugin as content input.
item : | 
a HildonDesktopItem | 
| Returns : | the item's resource | 
const gchar* hildon_desktop_item_get_name (HildonDesktopItem *item);
Returns a HildonDesktopItem 's name.
item : | 
a HildonDesktopItem | 
| Returns : | the item's name | 
gint hildon_desktop_item_find_by_id (HildonDesktopItem *item, const gchar *id);
Checks whether this item has the given id. Used as a GList find function.
item : | 
a HildonDesktopItem | 
id : | 
the id to look for. | 
| Returns : | 0 if the item has this id, not 0 otherwise. | 
"item-name" property"item-name" gchar* : Read / Write / Construct
Name of the plugin, not widget.
Default value: "HildonDesktopItem"
"mandatory" property"mandatory" gboolean : Read / Write / Construct
Plugin that cant'be destroyed.
Default value: FALSE
"resource" property"resource" gchar* : Read / Write
Resource reference for the plugin.
Default value: NULL
"init" signalvoid user_function (HildonDesktopItem *hildondesktopitem, gchar *arg1, gpointer user_data) : Run First / Has Details
hildondesktopitem : | 
the object which received the signal. | 
arg1 : | 
|
user_data : | 
user data set when the signal handler was connected. | 
"item-create" signalvoid user_function (HildonDesktopItem *hildondesktopitem, gchar *arg1, gpointer user_data) : Run First / Has Details
hildondesktopitem : | 
the object which received the signal. | 
arg1 : | 
|
user_data : | 
user data set when the signal handler was connected. |