|
From: Joe E. <jen...@fl...> - 2006-08-05 05:59:54
|
Now in CVS: a new 'ttk::sizegrip' widget, the gizmo that sits in the lower right corner of a window that users can drag around to resize the window. Native appearance on Windows, Windows XP, and OSX. (ttk::sizegrips are redundant on OSX, since Tk automagically inserts one for you, but putting a ttk::sizegrip in can help to keep other widgets lined up properly.) No options or methods other than the standard ones; all behaviour is implemented in the class bindings. ttk::sizegrips can handle toplevels with gridded geometry, but not those placed relative to the right or bottom of the screen, i.e., if negative X or Y coordinates are specified for [wm geometry]. (Tk implements negative positions in a not-quite-ICCCM-compliant way, which leads to bad interactions with some WMs when resizing. For the same reason, ttk::sizegrips only support "southeast" resizing.) --Joe English jen...@fl... |