Hi,
i am the newbie for GTK.
i use anjuta, glade3.
i have a little problem.
Now i make the VoIP Softphone with GTK+ design with Glade3.
can you see? when the have some people call to you , your phone is ring and show who call to you.
i want to my softphone too.
so, in my handle ring signal function, i will create "ringer" dialog.
in "ringer" have 2 button "accept","reject" and 1 label.
my problem is when i show "ringer" ,
How to i lookup "child widget" in "ringer" ?
i want to
Code:
GtkDialog *ringer; // i will initial in 'main'
static void handlering()
{
GtkWidget *label;
int result;
// When Ringing
label = lookup_widget(GTK_WIDGET(ringer), "t_label");
gtk_label_set_text(label,"Caller Detail");
result = gtk_dialog_run(ringer);
.....
}
in many tutorial is use lookup_widget.
but i try lookup_widget,
when i compile it say "undefined reference to 'lookup_widget' "
i don't know how to i want.
Who can tell me how?
Thank You Very Much.
Watchara Kangkun
Stupid Man