gtktree functions

2003-12-26 Thread Ashok Chauhan
where i can get gtk_tree_view_set_model functions descriptions? there functionalities. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: gtktree functions

2003-12-26 Thread Keith Sharp
On Fri, 2003-12-26 at 15:20, Ashok Chauhan wrote: where i can get gtk_tree_view_set_model functions descriptions? there functionalities. Start at: http://developer.gnome.org/doc/API/2.0/gtk/TreeWidgetObjects.html and in particular:

What are map_event and unmap_event?

2003-12-26 Thread Jack Chen
Hi, everyone My name is Jack. I am new to the list. My question is what the two events, map_event and unmap_event, are. I saw them used with the drawing_area widget but don't know what they are for, and the official API reference didn't document them. Thank you in advance for your help.

number list elements problem

2003-12-26 Thread francex
Hi, my program use a list to collect datas. At start obviously it returns: g_slist_length (list) = 0 any lines are append: list = g_slist_append (list, (gpointer) node); ('node' is a struct pointer with many 'gchar *' elements) These lineas are casually deleted: g_free (g_slist_nth_data

Re: number list elements problem

2003-12-26 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: g_slist_remove_link (list, g_slist_nth (list, position)); You _always_ need to assign the returned list argument to your list pointer or your code will break if the head of the list is modified. Try to change that line to list = g_slist_remove_link (list,

Re: number list elements problem

2003-12-26 Thread francex
Hi, thank you very much Sven, now it works:) 2 questions again: list = g_slist_remove_link (list, g_slist_nth (list, position)); BTW, you are using the list in a very inefficient way here. In order for the node to be removed the list is traversed twice. Yes I know it... How can I remove a

GTK can't find modules!

2003-12-26 Thread Ma Frank-W4195C
Title: Message Hi: I'm new to gtk2.0.After I moved the whole directory where gtk was installed to other place, i found out that gtk can't find some modules when it is initialized and it still search modules in original directory.So i wonder whether there is a way to expilictly