Package: gtk

Class gtk-arrow

Superclasses

gtk-misc, gtk-widget, gtk-buildable, g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

arrow-type
The arrow-type property of type gtk-arrow-type (Read / Write)
The direction the arrow should point.
Default value: :right
shadow-type
The shadow-type property of type gtk-shadow-type (Read / Write)
Appearance of the shadow surrounding the arrow.
Default value: :out

Details

The gtk-arrow widget should be used to draw simple arrows that need to point in one of the four cardinal directions: up, down, left, or right. The style of the arrow can be one of shadow in, shadow out, etched in, or etched out. Note that these directions and style types may be ammended in versions of GTK to come.

The gtk-arrow widget will fill any space alloted to it, but since it is inherited from the gtk-misc class, it can be padded and/or aligned, to fill exactly the space the programmer desires.

Arrows are created with a call to the function gtk-arrow-new. The direction or style of an arrow can be changed after creation by using the function gtk-arrow-set.

Warning

The gtk-arrow widget has been deprecated. You can simply use a gtk-image widget with a suitable icon name, such as "pan-down-symbolic". When replacing the gtk-arrow widget by an image, pay attention to the fact that the gtk-arrow widget is doing automatic flipping between :left and :right, depending on the text direction. To get the same effect with an image, use the icon names "pan-start-symbolic" and "pan-end-symbolic", which react to the text direction.

Style Property Details

arrow-scaling
The arrow-scaling style property of type :float (Read)
Amount of space used up by the arrow.
Allowed values: [0,1]
Default value: 0.7
 

Slot Access Functions

Inherited Slot Access Functions

See also

*2021-7-25