HildonDesktopPanelItem

HildonDesktopPanelItem — base class from which panel items are derived.

Synopsis

                    HildonDesktopPanelItem;
gint                hildon_desktop_panel_item_get_position
                                                        (HildonDesktopPanelItem *item);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----HildonDesktopItem
                                       +----HildonDesktopPanelItem
                                             +----StatusbarItem
                                             +----TaskNavigatorItem

Implemented Interfaces

HildonDesktopPanelItem implements AtkImplementorIface and GtkBuildable.

Properties

  "orientation"              guint                 : Read / Write / Construct
  "position"                 gint                  : Read / Write / Construct

Description

Details

HildonDesktopPanelItem

typedef struct _HildonDesktopPanelItem HildonDesktopPanelItem;


hildon_desktop_panel_item_get_position ()

gint                hildon_desktop_panel_item_get_position
                                                        (HildonDesktopPanelItem *item);

Warning

hildon_desktop_panel_item_get_position has been deprecated since version 2.0 and should not be used in newly-written code. use "position" property instead.

item : A HildonDesktopItem object.
Returns : item position (>= 0 if the operation succeeded, else -1).

Property Details

The "orientation" property

  "orientation"              guint                 : Read / Write / Construct

The orientation of the item.

Allowed values: <= 1

Default value: 1


The "position" property

  "position"                 gint                  : Read / Write / Construct

Position within the panel.

Allowed values: >= -1

Default value: -1

See Also

StatusbarItem and TaskNavigatorItem