lookup_widget???



Hi,
 
I'm struggling to see the difference between:

    gtk_label_set_text(GTK_LABEL(label),output);

and

    GtkWidget * label = lookup_widget(GTK_WIDGET(button), "label1");

Why is the second one using lookup_widget? Also what exactly does lookup_widget do that the first one doesn't?

Thanks

Uni



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