HildonDesktopItem

HildonDesktopItem

Synopsis




#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);

Object Hierarchy


  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----HildonDesktopItem
                                       +----HildonDesktopHomeItem
                                       +----HildonDesktopPanelItem

Implemented Interfaces

HildonDesktopItem implements AtkImplementorIface and GtkBuildable.

Properties


  "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

Signals


"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

Description

Details

HILDON_DESKTOP_ITEM_SETTINGS_SYMBOL

#define HILDON_DESKTOP_ITEM_SETTINGS_SYMBOL "hildon_desktop_item_get_settings"


HildonDesktopItem

typedef struct _HildonDesktopItem HildonDesktopItem;


hildon_desktop_item_get_widget ()

GtkWidget*  hildon_desktop_item_get_widget  (HildonDesktopItem *item);

Returns the child widget of a HildonDesktopItem

item : a HildonDesktopItem
Returns : the child widget

hildon_desktop_item_get_id ()

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

hildon_desktop_item_get_resource ()

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

hildon_desktop_item_get_name ()

const gchar* hildon_desktop_item_get_name   (HildonDesktopItem *item);

Returns a HildonDesktopItem 's name.

item : a HildonDesktopItem
Returns : the item's name

hildon_desktop_item_find_by_id ()

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.

HildonDesktopItemSettingsDialog ()

GtkWidget*  (*HildonDesktopItemSettingsDialog)
                                            (GModule *module);

module :
Returns :

Property Details

The "id" property

  "id"                   gchararray            : Read / Write / Construct

ID of the plugin.

Default value: NULL


The "item-name" property

  "item-name"            gchararray            : Read / Write / Construct

Name of the plugin, not widget.

Default value: "HildonDesktopItem"


The "mandatory" property

  "mandatory"            gboolean              : Read / Write / Construct

Plugin that cant'be destroyed.

Default value: FALSE


The "resource" property

  "resource"             gchararray            : Read / Write

Resource reference for the plugin.

Default value: NULL


The "temporary" property

  "temporary"            gboolean              : Read / Write / Construct

Plugin is temporary.

Default value: FALSE

Signal Details

The "init" signal

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.

The "item-create" signal

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.