U++ framework
Do not panic. Ask here before giving up.

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 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
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
 
Read Message
Read Message
Read Message
Previous Topic: Taking snapshot of GLCtrl no longer works
Next Topic: GLDrawDemo NOGTK doesn't work
Goto Forum:
  


Current Time: Wed Jul 08 05:57:38 GMT+2 2026

Total time taken to generate the page: 0.00434 seconds