gtk.Arrow — produces an arrow pointing in one of the four cardinal directions.
class gtk.Arrow(gtk.Misc): |
|
The gtk.Arrow
is used to
draw simple arrows that point in one of the four cardinal directions
(gtk.ARROW_UP, gtk.ARROW_DOWN, gtk.ARROW_LEFT, or gtk.ARROW_RIGHT). The
shadow style of the arrow can be one of gtk.SHADOW IN, gtk.SHADOW OUT,
gtk.ETCHED IN, or gtk.ETCHED OUT.
A gtk.Arrow
will fill
any space alloted to it, but since it is inherited from gtk.Misc
, it can be
padded and/or aligned, to fill exactly the space desired.
Arrows are created with a call to gtk.Arrow
().
The direction or style of an arrow can be changed after creation by using
arrow_set
().
gtk.Arrow(arrow_type
, shadow_type
)
| one of the GTK Arrow Type Constants |
| one of the GTK Shadow Type Constants |
Returns : | a gtk.Arrow
widget |
Creates a new arrow widget with the specified
arrow_type
and
arrow_shadow
.
def set(arrow_type
, shadow_type
)
| a GtkArrowType |
| one of the GTK Shadow Type Constants |
The set
() method sets the
arrow_type
and shadow_type
of
the arrow widget.