hide window when the application loses focus

2016-10-24 Thread JORGE
How can I hide a window when the application loses focus? I'm working in Linux (X11). Is there a window hint for doing it? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Why does gtk_widget_shape_combine_region only work for toplevel windows?

2016-10-24 Thread feihu929
I am trying to make some parts of the widget (more specific WebKitGTK) invisible both for clicks and on screen. I found the function: void gtk_widget_shape_combine_region (GtkWidget *widget, cairo_region_t *region); Sets a shape for this widget’s GDK window. This

Re: GTK glade SQLite Problem

2016-10-24 Thread Daniel Kasak
Have a look at one of my projects. They're in Perl, but the logic flow is the same: http://search.cpan.org/~dkasak/Gtk3-Ex-DBI-3.2/lib/Gtk3/Ex/DBI/Form.pm Briefly, there are issues in your example code. In insert_sqlite() you need to fetch values back from your builder object. In perl, you'd do