Prefered way to change the main window initial size

2017-01-22 Thread elboulangero
Dear GTK+, In short... It seems to me that the main window is initially displayed using the minimum size (as reported by 'gtk_widget_get_preferred_size()'. I wished it would use the maximum size instead, is there any straightforward way to do that ? Long story... At first, my main window contai

Re: watching a file descriptor in gtk3

2017-01-22 Thread Chris Vine
On Sun, 22 Jan 2017 11:05:41 -1000 (HST) rbd wrote: > Hi all, > > I need to monitor a Unix file descriptor for input within my gtk3 > program. I believe that I need to somehow be using > g_source_add_unix_fd() and friends but am finding the documentation > confusing. Are there any simple examples

watching a file descriptor in gtk3

2017-01-22 Thread rbd
Hi all, I need to monitor a Unix file descriptor for input within my gtk3 program. I believe that I need to somehow be using g_source_add_unix_fd() and friends but am finding the documentation confusing. Are there any simple examples which show how to do this anywhere? (I looked but could not

gtk_window_set_geometry_hints()

2017-01-22 Thread Kevin Connor Arpe
Hello, Reading the docs/source for v3.22 of gtk_window_set_geometry_hints() shows... Ref: https://git.gnome.org/browse/gtk+/tree/gtk/gtkwindow.c?h=gtk-3-22#n4019 Docs: * @geometry_widget: (allow-none): widget the geometry hints used to be applied to * or %NULL. Since 3.20 this argument is igno