comparison readme @ 1469:b9efb744cfbd

Second try and window positioning for GTK2 and port to GTK3. Added dw_window_set_gravity() for GTK3. Switched to requesting the frame extents property directly from the window manager if the window isn't mapped... if the property isn't supported guess using the old values we had been using.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 20 Dec 2011 12:44:41 +0000
parents c50f445e891a
children e0212278f794
comparison
equal deleted inserted replaced
1468:b2235efd9914 1469:b9efb744cfbd
13 13
14 Known limitations: 14 Known limitations:
15 15
16 It is not safe on all platforms to operate on widgets before they 16 It is not safe on all platforms to operate on widgets before they
17 are packed. For portability pack widgets before operating on them. 17 are packed. For portability pack widgets before operating on them.
18
19 On Unix (GTK) the window manager border is not a constant value
20 so environment variables DW_BORDER_WIDTH and DW_BORDER_HEIGHT
21 are used for proper positioning.
22 18
23 On Mac if performing Dynamic Windows operations on secondary 19 On Mac if performing Dynamic Windows operations on secondary
24 threads which do not terminate, it may be required to call 20 threads which do not terminate, it may be required to call
25 a Mac specific DW function _dw_pool_drain() at the end of the 21 a Mac specific DW function _dw_pool_drain() at the end of the
26 thread's loop to prevent memory leaks. 22 thread's loop to prevent memory leaks.