tuikit/core/widget.py
changeset 117 8680c2333546
parent 114 26c02bd94bd9
child 118 8c7970520632
equal deleted inserted replaced
116:165b5d65e1cb 117:8680c2333546
    27         #: Position inside parent widget. Modified by layout manager.
    27         #: Position inside parent widget. Modified by layout manager.
    28         self.pos = Point()
    28         self.pos = Point()
    29         #: Actual size. Modified by layout manager.
    29         #: Actual size. Modified by layout manager.
    30         self._size = Size(10, 10)
    30         self._size = Size(10, 10)
    31 
    31 
    32         #: Requested position. Layout manager will use this when placing the widget.
       
    33         self.posreq = Point()
       
    34         #: Requested size. Layout manager will use this when placing the widget.
    32         #: Requested size. Layout manager will use this when placing the widget.
    35         self.sizereq = Size(1, 1)
    33         self.sizereq = Size(1, 1)
    36         #: Minimal size of widget. Widget will never be sized smaller than this.
    34         #: Minimal size of widget. Widget will never be sized smaller than this.
    37         self.sizemin = Size(1, 1)
    35         self.sizemin = Size(1, 1)
    38         #: Maximum size of widget. Widget will never be sized bigger than this.
    36         #: Maximum size of widget. Widget will never be sized bigger than this.