gtk.arrow

Module for [Arrow] class

Types 3

GtkArrow 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 amended in versions of GTK+ to come.

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

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

GtkArrow has been deprecated; you can simply use a #GtkImage with a suitable icon name, such as “pan-down-symbolic“. When replacing GtkArrow by an image, pay attention to the fact that GtkArrow is doing automatic flipping between #GTK_ARROW_LEFT and #GTK_ARROW_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.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Arrow self() nothrowReturns `this`, for use in `with` statements.
ArrowGidBuilder builder() static nothrowGet builder for [gtk.arrow.Arrow] Returns: New builder object
gtk.types.ArrowType arrowType() @property nothrow
void arrowType(gtk.types.ArrowType propval) @property nothrow
gtk.types.ShadowType shadowType() @property nothrow
void shadowType(gtk.types.ShadowType propval) @property nothrow
void set(gtk.types.ArrowType arrowType, gtk.types.ShadowType shadowType) nothrowSets the direction and style of the #GtkArrow, arrow.
Constructors
this(void * ptr, Flag!"Take" take)
this(gtk.types.ArrowType arrowType, gtk.types.ShadowType shadowType)Creates a new #GtkArrow widget.

Fluent builder implementation template for gtk.arrow.Arrow

Methods
T arrowType(gtk.types.ArrowType propval) nothrow
T shadowType(gtk.types.ShadowType propval) nothrow

Fluent builder for gtk.arrow.Arrow

Methods
Arrow build() nothrowCreate object from builder. Returns: New object