Why is it impossible to move a window programmatically in GTK+ (C/C++)
- From: mrt303xx aol com
- To: gtk-app-devel-list gnome org
- Subject: Why is it impossible to move a window programmatically in GTK+ (C/C++)
- Date: Wed, 30 May 2018 13:33:31 -0400
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]