Search Results

Search found 1 results on 1 pages for 'user1698312'.

Page 1/1 | 1 

  • How to access child object properties?

    - by user1698312
    I'm trying to get the text property from an entry in a dialog with the following code: GtkWidget *dialog, *entry; gchar *text; entry = gtk_entry_new(); dialog = create_dialog(); ... gtk_container_child_get(GTK_CONTAINER(dialog), entry, "text", text, NULL); and i'm getting the following: (textview:3079): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkcontainer.c:919: container class `GtkDialog' has no child property named `text' The dialog contains a label and an entry with two buttons.

    Read the article

1