List prob



can anyone explain to me why THIS wont work :

GList* g = 0;
g = g_list_append(g,(void*)gtk_list_item_new_with_label("test"));
gtk_list_insert_items(hList,g,0);

The listbox displays nothing !!





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