Re: changing text in a label from callbacks.c
- From: Daniel Schlager <dschlager kaindl com>
- To: GTK <gtk-app-devel-list gnome org>
- Subject: Re: changing text in a label from callbacks.c
- Date: 05 May 2003 11:39:54 +0200
Hello,
thanks
now it works
---- code snippet from callbacks.c -----
extern GtkWidget *window1;
void
on_button1_clicked (GtkButton *button,
gpointer user_data)
{
GtkWidget *label;
label = lookup_widget(GTK_WIDGET(button), "label1");
gtk_label_set_text(GTK_LABEL(label), "1");
}
---
Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]