Re:How to get objecttype




On Fri, Sep 9, 2016 at 9:14 AM Thomas R?nshof <tr kyborg dk> 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 ?
If it's a gtk-combo we do this, if it's a gtk-entry we do that in the
program and so on...

In GNU-Denemo I use

 g_type_name (G_TYPE_FROM_INSTANCE (widget))

Richard Shann




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]