Corner#
- class ignis.widgets.Corner(*args: Any, **kwargs: Any)#
Bases:
Gtk.DrawingArea
A corner widget that renders rounded corners. Useful in bars and panels.
- Parameters:
**kwargs -- Properties to set.
from ignis import widgets widgets.Corner( orientation="top-left", # It's mandatory to explicitly set the width and the height # Otherwise, the widget will be invisible # Alternativly, you can set them in CSS using `min-width` and `min-height` properties width_request=30, height_request=30, )