Re: GtkTreeView SIGNALS

2005-05-04 Thread André Pedralho
I was using this for selecting, but I need to use the same selected value in more than one functions and was getting a segmentation fault cause of that... (I don't know why...). Now I'm using the 'changed-cursor' signal and some functions of GtkTreeSelection to get the rows selected values, but I d

Re: GtkTreeView SIGNALS

2005-05-04 Thread Denis
André Pedralho wrote: I'm trying to use the single click on a GtkTreeView. Is there a way for me? The row-activated signal is activated with a double click... I'm needind one that is launched with just one click! Thanks in advance, What about using GtkTreeSelection ? For input on how to use it,

Re: GtkTreeView SIGNALS

2005-05-03 Thread Gyözö Both
you could also use the button_press_event (and check the event->button value to see which button it was). gyözö I'm trying to use the single click on a GtkTreeView. Is there a way for me? The row-activated signal is activated with a double click... I'm needind one that is launched with just one

Re: GtkTreeView SIGNALS

2005-05-03 Thread John Coppens
On Tue, 3 May 2005 10:48:15 -0400 André Pedralho <[EMAIL PROTECTED]> wrote: > The 'cursor-changed' works very well... Unfortunately the GTK and Glib > tutorials are so poor and don't explain in easy words what we want to > know! Look at 'cursor-changed' topic: > > void user_function (GtkTreeView

Re: GtkTreeView SIGNALS

2005-05-03 Thread Stefan Kost
Hi André, I've submitted an initial patch to bugzilla that adds docs to all treeview signals ;) http://bugzilla.gnome.org/show_bug.cgi?id=302556 For anyone with good treeview knowledge, please review and help me on the missing details. One thing I am not sure is about all the signal that return

Re: GtkTreeView SIGNALS

2005-05-03 Thread André Pedralho
The 'cursor-changed' works very well... Unfortunately the GTK and Glib tutorials are so poor and don't explain in easy words what we want to know! Look at 'cursor-changed' topic: void user_function (GtkTreeView *treeview, gpointer user_data); treeview: the object which received the signal. user_da

Re: GtkTreeView SIGNALS

2005-05-03 Thread Peter Bloomfield
On 05/03/2005 10:34:02 AM, John Coppens wrote: On Tue, 3 May 2005 10:11:49 -0400 André Pedralho <[EMAIL PROTECTED]> wrote: I'm trying to use the single click on a GtkTreeView. Is there a way for me? The row-activated signal is activated with a double click... I'm needind one that is launched wi

Re: GtkTreeView SIGNALS

2005-05-03 Thread Vivien Malerba
On 5/3/05, John Coppens <[EMAIL PROTECTED]> wrote: > On Tue, 3 May 2005 10:11:49 -0400 > André Pedralho <[EMAIL PROTECTED]> wrote: > > > I'm trying to use the single click on a GtkTreeView. Is there a way > > for me? The row-activated signal is activated with a double click... > > I'm needind one

Re: GtkTreeView SIGNALS

2005-05-03 Thread John Coppens
On Tue, 3 May 2005 10:11:49 -0400 André Pedralho <[EMAIL PROTECTED]> wrote: > I'm trying to use the single click on a GtkTreeView. Is there a way > for me? The row-activated signal is activated with a double click... > I'm needind one that is launched with just one click! Check 'cursor_changed' -