Forum und email

GtkArrow

Displays an arrow pointing in one of the four cardinal directions.

Йерархия на обектите

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkMisc
                     `-- GtkArrow

Описание

The GtkArrow widget can be used to draw simple arrows that need to point in one of the four cardinal directions (up, down, left and right). The Style of the arrow displayed may be modified to suit your requirements by modifying the values of the parameters GtkShadowType and GtkArrowType.

GtkArrow will fill any space allotted to it, but since it is inherited from GtkMisc, it can be padded and/or aligned, to fill exactly the space the programmer desires.

The direction or style of an arrow can be changed after creation by using set() .

Constructors

GtkArrow ( GtkArrowType direction , GtkShadowType shadow_type);

-- Creates an arrow widget pointing in one of the four cardinal directions.

Методи

set()
  Sets new parameters for an existing GtkArrow

Свойства

Използвай методите get_property и set_property, за да получиш достъп до това.

arrow_type:
  The direction the arrow is currently pointing.
shadow_type:
  The shadow style of the arrow.