[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Why is it impossible to move a window programmatically in GTK+ (C/C++)
From:       Tarie Nosworthy via gtk-app-devel-list <gtk-app-devel-list () gnome ! org>
Date:       2018-05-30 17:33:31
Message-ID: 163b21ca26a-c8d-15bd () webjas-vae229 ! srv ! aolmail ! net
[Download RAW message or body]

I am writing an app in GTK+, and I wanted to center a splash screen.  Coming from a Windows background, where SetWindowPos does the job, I found out the X Window Manager always ignores requests to move a window, therefore eventually denying any attempt to manipulative the position of a window.  I can resize it, even dynamically, and I can move it with the mouse, but never in code.  Why?  It seems very strange that GTK would just disallow it.  You have gravity properties, but not matter what gravity I set, the position NEVER changes.  Why have the APIs if GTK is free to ignore them.  I'm baffled by it.  
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic