Home » U++ Library support » U++ Widgets - General questions or Mixed problems » SetRect doesn't work correctly on GTK
| Re: SetRect doesn't work correctly on GTK [message #52315 is a reply to message #52302] |
Thu, 05 September 2019 09:50   |
 |
mirek
Messages: 14271 Registered: November 2005
|
Ultimate Member |
|
|
First of all, even when fixed, there is no guarantee that X11 manager will move the window where you expect.
But that aside, it seems to be fixed. The issue is interesting:
gdk_window_move_resize
has x, y, width, height parameters. However, while width/height are the client area size, x, y is position of topleft corner of window caption. Not really documented anywhere AFAIK....
Mirek
|
|
|
|
Goto Forum:
Current Time: Wed Nov 05 02:27:02 CET 2025
Total time taken to generate the page: 0.00465 seconds
|