Re: Fwd: Help with GdkWindow size

2014-03-25 Thread David Marceau
On 03/25/2014 12:12 AM, Carl Nygard wrote: Getting resize and expose events through XWindows, but still nothing through gdk. The g_signal_connect still complains about invalid instance. Based on some other docs ( http://gtk.10911.n7.nabble.com/Capture-GdkWindow-event-td8313.html) it seems

Fwd: Help with GdkWindow size

2014-03-24 Thread Carl Nygard
Getting resize and expose events through XWindows, but still nothing through gdk. The g_signal_connect still complains about invalid instance. Based on some other docs ( http://gtk.10911.n7.nabble.com/Capture-GdkWindow-event-td8313.html) it seems like I can't attach the configure-event to the

Help with GdkWindow size

2014-03-23 Thread Carl Nygard
Hoping to get some help on an older version of Gtk. I'm actually using Gtkmm, but I've boiled the issue down to straight X/Gtk code. I'm supporting some legacy code and as we migrate to newer versions of OS, we're running into issues with some drawing functionality. To boil it down, we are

Re: Help with GdkWindow size

2014-03-23 Thread David Marceau
There is a difference between resize and expose events. You're going to have to take care of this difference within your code and possibly force the expose event to trigger a resize event which is not necessarily done by default. The urls below show how to set the configure event in X, Motif and