Re: [pygtk] TextView: signal when cursor changes position

2005-03-25 Thread Brian
On Fri, 2005-25-03 at 21:54 +0100, Hans-Joachim Widmaier wrote: > Brian: > > On Fri, 2005-25-03 at 17:40 +0100, Hans-Joachim Widmaier wrote: > > > Hans-Joachim Widmaier: > > > > I'm using "cursor-changed", which seems to get emitted on all changes. > > > > Works great for me. > > > > > > Gah! Have

Re: [pygtk] TextView: signal when cursor changes position

2005-03-25 Thread Greg Aumann
Alessandro Pellizzari wrote: Hi, I need to know when the cursor inside a TextView changes position. I tried to link to "move_cursor" signal, but if I move the cursor with a mouse-click, the signal doesn't get emitted. Is there a proper signal to link or must I catch both "move_cursor" and "button_r

Re: [pygtk] TextView: signal when cursor changes position

2005-03-25 Thread Hans-Joachim Widmaier
Brian: > On Fri, 2005-25-03 at 17:40 +0100, Hans-Joachim Widmaier wrote: > > Hans-Joachim Widmaier: > > > I'm using "cursor-changed", which seems to get emitted on all changes. > > > Works great for me. > > > > Gah! Have to follow up on my own post. (Never post when in a hurry!) > > > > Sorry, I

Re: [pygtk] TextView: signal when cursor changes position

2005-03-25 Thread Hans-Joachim Widmaier
Hans-Joachim Widmaier: > I'm using "cursor-changed", which seems to get emitted on all changes. > Works great for me. Gah! Have to follow up on my own post. (Never post when in a hurry!) Sorry, I misread TextView for TreeView. There's probably no "cursor-changed" signal on the former. -- Hans-J

Re: [pygtk] TextView: signal when cursor changes position

2005-03-25 Thread Hans-Joachim Widmaier
Alessandro Pellizzari: > Hi, > > I need to know when the cursor inside a TextView changes position. > I tried to link to "move_cursor" signal, but if I move the cursor with a > mouse-click, the signal doesn't get emitted. > > Is there a proper signal to link or must I catch both "move_cursor" and

[pygtk] TextView: signal when cursor changes position

2005-03-25 Thread Alessandro Pellizzari
Hi, I need to know when the cursor inside a TextView changes position. I tried to link to "move_cursor" signal, but if I move the cursor with a mouse-click, the signal doesn't get emitted. Is there a proper signal to link or must I catch both "move_cursor" and "button_released"? Thanks. -- Ale