G_PARAM_SPEC_VALUE_TYPE() question

2012-05-15 Thread Marc Balmer
Hi I want to set properties of an object using the g_value_set_type() functions and to cast my value (which I get from a Lua script, which e.g. does not differentiate between integers and floats) I need to know the type of the property. Ideally something like the following: switch

Setting the size of tabs in a Notebook?

2012-05-15 Thread Marc Balmer
Hi is there a way to set the width and height of the tabs in a GtkNotebook widget? Or can I do it only indirectly by using enough text? Thanks, mb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: G_PARAM_SPEC_VALUE_TYPE() question

2012-05-15 Thread David Nečas
On Tue, May 15, 2012 at 08:39:12AM +0200, Marc Balmer wrote: I want to set properties of an object using the g_value_set_type() functions and to cast my value (which I get from a Lua script, which e.g. does not differentiate between integers and floats) I need to know the type of the property.

Re: Setting the size of tabs in a Notebook?

2012-05-15 Thread Olivier Sessink
I haven't found a good way, but I'm looking to make them smaller. You can use a different font in the labels, but with some themes (most notably the gtk3 default) the tabs are still very large. I have the feeling there was more possible with gtk 2 gtk_notebook_set_tab_border(), but I must admit

Re: Setting the size of tabs in a Notebook?

2012-05-15 Thread Marc Balmer
Am 15.05.12 10:56, schrieb Olivier Sessink: I haven't found a good way, but I'm looking to make them smaller. You can use a different font in the labels, but with some themes (most notably the gtk3 default) the tabs are still very large. I have the feeling there was more possible with gtk 2