[glade--]Beginner question

I am writing a small application in C++ and want to put a gui front end on
it.  I found this tutorial (http://writelinux.com/glade/index.php ) for
Glade and C and have been trying to apply it to glademm and c++.  I am stuck
trying to figure out how to write this function in c++:

void on_button1_clicked(GtkButton *button, gpointer user_data){

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

gchar output[50]="Hello ";

Apparently the lookup_widget() method only applies to C.  How can I pull the
text out of the entry box and push it into the label in this function?

Thanks for your help.

Joe Dennis
jdennis columbus rr com

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