SwamiguiBarPtr

SwamiguiBarPtr — Canvas item used as a position or range indicator.

Synopsis

enum                SwamiguiBarPtrType;
                    SwamiguiBarPtr;
GnomeCanvasItem *   swamigui_bar_ptr_new                (void);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GnomeCanvasItem
                     +----GnomeCanvasGroup
                           +----SwamiguiBarPtr

Properties

  "color"                    guint                 : Read / Write
  "height"                   gint                  : Read / Write
  "interactive"              gboolean              : Read / Write
  "label"                    gchar*                : Read / Write
  "pointer-height"           gint                  : Read / Write
  "tooltip"                  gchar*                : Read / Write
  "type"                     SwamiguiBarPtrType    : Read / Write
  "width"                    gint                  : Read / Write

Description

This canvas item is used by SwamiguiBar to display position and range indicators. A SwamiguiBar is composed of one or more SwamiguiBarPtr items.

Details

enum SwamiguiBarPtrType

typedef enum
{
  SWAMIGUI_BAR_PTR_POSITION, /* pointer position indicator */
  SWAMIGUI_BAR_PTR_RANGE /* range selection */
} SwamiguiBarPtrType;

SwamiguiBarPtr

typedef struct _SwamiguiBarPtr SwamiguiBarPtr;

swamigui_bar_ptr_new ()

GnomeCanvasItem *   swamigui_bar_ptr_new                (void);

Create a new bar pointer object for adding to a SwamiguiBar object.

Returns :

New bar pointer with a refcount of 1 which the caller owns.

Property Details

The "color" property

  "color"                    guint                 : Read / Write

Color.

Default value: 16777215


The "height" property

  "height"                   gint                  : Read / Write

Height in pixels.

Allowed values: >= 0

Default value: 0


The "interactive" property

  "interactive"              gboolean              : Read / Write

Interactive.

Default value: TRUE


The "label" property

  "label"                    gchar*                : Read / Write

Label.

Default value: NULL


The "pointer-height" property

  "pointer-height"           gint                  : Read / Write

Height of pointer in pixels.

Allowed values: >= 0

Default value: 0


The "tooltip" property

  "tooltip"                  gchar*                : Read / Write

Tooltip.

Default value: NULL


The "type" property

  "type"                     SwamiguiBarPtrType    : Read / Write

Pointer type.

Default value: SWAMIGUI_BAR_PTR_POSITION


The "width" property

  "width"                    gint                  : Read / Write

Width in pixels.

Allowed values: >= 0

Default value: 0

See Also

SwamiguiBar