Re: API changes, GTK 3.21 to 3.22, need advice to replace lost capability

2017-01-25 Thread Emmanuele Bassi
Hi; your question has been answered multiple times on this mailing list; I know, because usually I'm the one answering it. If you look in the archives, you'll probably even find code examples. On 24 January 2017 at 21:12, wrote: > My application code writes extensively to GdkWindow objects us

API changes, GTK 3.21 to 3.22, need advice to replace lost capability

2017-01-25 Thread kornelix
I am in the process of converting a graphics app from GTK 3.20 to 3.22. Most of the API changes are not hard to deal with, but there is one that is causing me severe design problems. I hope someone with a deeper understanding of GTK can suggest a path forward. My application code writes extensiv

GTK3 Glade and rendering in Windows/Linux

2017-01-25 Thread Happy
Attached is a glade file. These render as seen in the attachments in Windows and Ubuntu(16.10). In Windows(10) the window is far larger as well as is for the spacing. It there a away to get the spacing and size down alike the rendering in Windows ? I guess this is not so much related to glade but m

Custom GtkCellRenderer for Buttons

2017-01-25 Thread Tilo Villwock
Hello, I would like to implement a custom cell renderer for buttons but can't figure out how. I looked at the source code for GtkCellRendererToggle and the only code that might even be remotely connected to rendering a checkbox or radio button in a cell seems to use a class that is called GtkSnaps