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() .

构造函数

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.