Antwort: [Glade-users] list problem

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;

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 Parzefall
Vision Systems

Multitest elektronische Systeme GmbH & Co. KG
Aeussere Oberaustr. 4
83026 Rosenheim
Tel:   +49 (0)8031 406 473
Fax:   +49 (0)8031 406 420
Email: f parzefall multitest de

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