Arrow#
- class ignis.widgets.Widget.Arrow(*args: Any, **kwargs: Any)#
Bases:
Icon
An arrow icon that can rotate (with animation!). Useful for dropdown lists.
Hint
If you are looking for a button with an arrow that rotates on click, see
ArrowButton
.Hint
You can set your custom icon name or image using the
image
property.Widget.Arrow( pixel_size=20, # inherited from Widget.Icon rotated=False, degree=90, time=135, direction="right", counterclockwise=False, # image="some-icon/OR/path/to/file" # if you want a custom icon name or image )
- property direction: str#
optional, read-write
The direction of the arrow. Do not use this property if using custom icon name.
Default:
right
.- Direction:
right
left
up
down