GTK newbie help on G_CALLBACK

2012-05-06 Thread Rudra Banerjee
Dear Friends, I have taken a project (my own, not homework) to develop a table. I generally work with fortran, don't know C that much. What I want is a gtk clist to pop up when I press a button, via callback. The button widget in my code is /* Create first button */ button =

Why are GtkAdjustments not buildable?

2012-05-06 Thread Cedric Sodhi
Hello, does anyone know why GtkAdjustments are not buildable? Given that things like Actions are buildable, I would have assumed a GtkAdjustment is, too. Has that just not been implemented yet? ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Setting child properties with GtkBuilder

2012-05-06 Thread Cedric Sodhi
Hello, I'm trying to build a tabular interface with GtkBuilder, using GtkGrid. GtkGrid specifies that it provides child properties left-attach and top-attach and they do in fact exist, but whenever I attempt to set them by object class=GtkGrid child object class=GtkLabel property

Re: Setting child properties with GtkBuilder

2012-05-06 Thread Jean Brefort
The property should be in the child node, not in the object node. Regards, Jean Le dimanche 06 mai 2012 à 13:39 +0200, Cedric Sodhi a écrit : Hello, I'm trying to build a tabular interface with GtkBuilder, using GtkGrid. GtkGrid specifies that it provides child properties left-attach and

Re: Setting child properties with GtkBuilder

2012-05-06 Thread Cedric Sodhi
How exactly would I do that? I had tried it, but was discouraged by teh error property is not a valid tag here. -- Cedric On Sun, May 06, 2012 at 01:59:16PM +0200, Jean Brefort wrote: The property should be in the child node, not in the object node. Regards, Jean Le dimanche 06 mai 2012

Re: Setting child properties with GtkBuilder

2012-05-06 Thread Jean Brefort
Sorry, I forgot the packing node. Try that: object class=GtkGrid child object class=GtkLabel/ packing property name=left-attach0/property /packing /child /object You might also use glade to generate the ui file without syntax errors. Regards, Jean

Re: Setting child properties with GtkBuilder

2012-05-06 Thread Cedric Sodhi
Thank you, that works. Could you or anyone perhaps explain why normally setting the property on the child like a normal child-property does not work for containers? On Sun, May 06, 2012 at 02:16:26PM +0200, Jean Brefort wrote: Sorry, I forgot the packing node. Try that: object class=GtkGrid

Re: Why are GtkAdjustments not buildable?

2012-05-06 Thread Tadej Borovšak
Hello Hello, does anyone know why GtkAdjustments are not buildable? They are buildable. (Glade has been producing markup for adjustments for as long as I know). What makes you think they are not? Cheers, Tadej -- Tadej Borovšak blog.borovsak.si tadeb...@gmail.com tadej.borov...@gmail.com

Glade 3.12.1 Released!

2012-05-06 Thread Juan Pablo Ugarte
Glade 3.12.1 is the first bugfix release of the series. This version of Glade depends on GTK+ 3.4, targets GTK+ = 3.0 and is parallel installable with Glade 3.8. If you need to work with Glade projects that target GTK+2, you need an installation of Glade 3.8 (more information on

Glade 3.13.0 Released!

2012-05-06 Thread Juan Pablo Ugarte
Glade 3.13 is the first release of the new development series. It features a new UI implementation made with glade! For more information and screen shots you can visit my blog @ http://blogs.gnome.org/xjuan/2012/04/27/hacking-glade-in-glade-a-recursion-exercise/ This version of Glade depends on

Re: Why are GtkAdjustments not buildable?

2012-05-06 Thread Tristan Van Berkom
On Sun, May 6, 2012 at 3:08 PM, Tadej Borovšak tadeb...@gmail.com wrote: Hello Hello, does anyone know why GtkAdjustments are not buildable? They are buildable. (Glade has been producing markup for adjustments for as long as I know). What makes you think they are not? Note: GtkBuilder