Update EventSource documentation.
Widget
======
.. toctree::
:maxdepth: 2
container
button
.. py:module:: tuikit.widget
Class attributes
----------------
.. attribute:: Widget.parent
Parrent widget.
.. attribute:: Widget.top
Top widget (same for every widget in one application).
.. attribute:: Widget.x
Widget.y
Position inside parent widget. Modified by layout manager.
.. attribute:: Widget.width
Widget.height
Actual size. Modified by layout manager.
.. attribute:: Widget.sizemin
Minimal size of widget. Under normal circumstances, widget will never be sized smaller than this.
Tuple (w, h). Both must be integers >= 1.
.. attribute:: Widget.sizemax
Maximum size of widget. Widget will never be sized bigger than this.
Tuple (w, h). Integers >= 1 or None (meaning no maximum size or infinite).
.. attribute:: Widget.sizereq
Size request. This is default size of the widget. Will be fulfilled if possible.
Tuple (w, h). Integers >= 1 or None (meaning use minumal size).
.. attribute:: Widget.hidden
Hidden widget does not affect layout.
.. attribute:: Widget.allowlayout
When false, the widget is not considered in layout.
.. attribute:: Widget.layouthints
Dictionary containing optional parameters for layout managers.