Re: How to get objecttype

2016-09-11 Thread Joël Krähemann
Hi You might want to use G_OBJECT_TYPE() or G_OBJECT_TYPE_NAME() take care that the appriopriate get_type() function is called else the type won't be found. GType button_type; gtk_button_get_type() button_type = g_type_from_name("GtkButton"); g_object_new(button_type, "labe

Re:How to get objecttype

2016-09-11 Thread Richard Shann
> On Fri, Sep 9, 2016 at 9:14 AM Thomas R?nshof wrote: > > > Hi, > > > > We are converting some OLD COBOL applications to GTK. > > The XML is created dynamically from SCREEN SECTIONS and we then use > > gtk_builder to get the objects into the program. > > > > Is there a way to get the objecttype