Re: Getting a Column Number

2008-07-16 Thread Gabriele Greco
How do you get the column number from a GtkTreeViewColumn pointer? Is there a way to get the previous and/or next Column or column number? Use gtk_tree_view_get_columns() to get a GList of all the column and check the pointer of focus_column against the GList with g_list_index(), this will

Re: newbie Question

2008-07-16 Thread Tomas Carnecky
These questions were just examples. Have you read gtk tutorials? Have you looked at the gtk examples? Do you know how the glib object system (gobject) works? Have you even started writing the code? I doubt it. Don't ask the question unless you actually need the answers. When you start writing

Re: gtk_widget_set_sensitive and mouse pointer

2008-07-16 Thread John Boncek
Eric Masson @ Savant Protection wrote: Hi All, I had a small problem that was bugging me for a while, and I figured I'd share the results of my findings. The problem was this: You have several widgets inside of a container and you call gtk_widget_set_sensitive with false to gray

Re: Wrting to a text file in N800 /media/mmc1

2008-07-16 Thread sphurti durgade
Hi Nisha, I think here is not problem of writing into file. This problem is because of file permission. check the permission of the respective file , does it has writing permission for the user as well? , if not give the write permission. as I know on maemo if your application creates a

Re: Using g_signal_connect in class

2008-07-16 Thread Dave Foster
On Tue, Jul 15, 2008 at 6:36 AM, Gabriele Greco [EMAIL PROTECTED] wrote: static void handle_click_cbk(GtkWidget *mywidget_, MyClass *data) { data-handle_click(); } You can't make a callback function intended to be used by C code be inside of the C++ class. It will not be able to find it.