Re: How to get objecttype



Thanks :-)

I've found them all in the gtk include-files.

/Thomas





Den 09/11/2016 kl. 12:04 AM skrev Ben Iofel:
in C, you can use the GTK_IS_COMO_BOX and GTK_IS_ENTRY macros on
GtkWidget*


On Fri, Sep 9, 2016 at 9:14 AM Thomas Rønshof <tr kyborg dk
<mailto: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...

    Can gtk_builder_get_type_from_name() be used ?

    Regards

    Thomas



    _______________________________________________
    gtk-app-devel-list mailing list
    gtk-app-devel-list gnome org <mailto:gtk-app-devel-list gnome org>
    https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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