Re: gtk function with argv

2017-04-11 Thread Eric Cashon via gtk-app-devel-list
Hi Ruben, I think what you are looking for is a C variadic function. Something that works like g_object_set() with a Null terminated list of arguments. Using dynamic glib containers might be a better choice. It is simpler to just pass a single pointer with your user_data to functions which

Custom GtkHeaderBar

2017-04-11 Thread Takao Fujiwara
I'd like to create a custom GtkHeaderBar in GTK 3.22. If I use GtkBox as the header, it can draw the background color. If I use a class inherited from GtkBox, it draws the transparent color. Seems GtkBox uses rgba from ".titlebar:not(headerbar)" of gtk-contained.css:1736 but the inherited class

Re: Combobox focus event

2017-04-11 Thread Thomas Rønshof
Works fine :-))) Thanks Eric. Regards Thomas Den 04/08/2017 kl. 07:30 PM skrev cecas...@aol.com: > > Another thing to give a try is just to set a boolean in the > "set-focus-child" callback. Not sure if this will always work. I think > that it should. > > I don't know the best workaround for