Antwort: [Glade-users] list problem
- From: f parzefall multitest de (f parzefall multitest de)
- Subject: Antwort: [Glade-users] list problem
- Date: Fri, 12 Oct 2001 07:44:02 +0200
For some reason I can't get anything to show up in my
list widget.
Here's my callback function.
void on_button_open_clicked (GtkButton *button,
gpointer user_data)
{
GtkWidget *mylist;
gchar *text;
gint result;
mylist=lookup_widget(GTK_WIDGET(button),"list_update");
result=gtk_list_append_items (GTK_LIST(mylist), text);
}
Should work, if you make text point to a string. Otherwise you'll just
use an uninitalized pointer.
Hope this helps,
Franz
------------------------------------------------------------------
Franz Parzefall
Vision Systems
Multitest elektronische Systeme GmbH & Co. KG
Aeussere Oberaustr. 4
83026 Rosenheim
Germany
Tel: +49 (0)8031 406 473
Fax: +49 (0)8031 406 420
Email: f parzefall multitest de
Web: www.multitest.de
------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]