docs/widget.rst
changeset 5 ae128c885d0f
parent 2 684cdc352562
child 12 bb7d41be0c44
--- a/docs/widget.rst	Fri Mar 18 20:14:44 2011 +0100
+++ b/docs/widget.rst	Sun Apr 10 22:54:38 2011 +0200
@@ -12,20 +12,58 @@
 
 .. attribute:: Widget.parent
 
+   Parrent widget.
+
+
 .. attribute:: Widget.top
 
+   Top widget (same for every widget in one application).
+
+
 .. attribute:: Widget.x
+               Widget.y
 
-.. attribute:: Widget.y
+   Position inside parent widget. Modified by layout manager.
+
 
 .. attribute:: Widget.width
+               Widget.height
 
-.. attribute:: 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.
+
 
 Event management
 ----------------