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" gchararray : Read / Write / Construct "item-name" gchararray : Read / Write / Construct "mandatory" gboolean : Read / Write / Construct "resource" gchararray : Read / Write "temporary" gboolean : Read / Write / Construct
"init" void user_function (HildonDesktopItem *hildondesktopitem, gchar *arg1, gpointer user_data) : Run first / Has details "item-create" void user_function (HildonDesktopItem *hildondesktopitem, gchar *arg1, gpointer user_data) : Run first / Has details
#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" gchararray : 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" gchararray : Read / Write
Resource reference for the plugin.
Default value: NULL
void 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. |
void 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. |