SOLVED - sortof [was Re: "mark_set" callback fires 3 or 4 times when using arrow keys/mouse in textview?}

2015-12-28 Thread David C. Rankin
On 12/22/2015 05:13 PM, David C. Rankin wrote: How can I limit the the execution of the 'on_mark_set' callback to a single call regardless of whether there is data being entered or if cursor is being moved with the arrow-keys or mouse? Any help will be greatly appreciated. OK, I have a

gtk_widget_grab_focus sets scrollbar adjustments to 0

2015-12-28 Thread Franco Broi
Hi I have a drawingarea inside a scrolled window for which I'd like to grab the focus so the user can use keyboard inputs but I want to do it without changing the scrolled window position. What I'm finding is the gtk_widget_grab_focus call on the drawable results in the scrolled window

Re: gtk_widget_grab_focus sets scrollbar adjustments to 0

2015-12-28 Thread Tristan Van Berkom
On Mon, 2015-12-28 at 18:01 +0800, Franco Broi wrote: > Hi > > I have a drawingarea inside a scrolled window for which I'd like to > grab > the focus so the user can use keyboard inputs but I want to do it > without changing the scrolled window position. What I'm finding is > the >

Re: gtk_widget_grab_focus sets scrollbar adjustments to 0

2015-12-28 Thread Franco Broi
On Mon, 2015-12-28 at 19:26 +0900, Tristan Van Berkom wrote: > On Mon, 2015-12-28 at 18:01 +0800, Franco Broi wrote: > > Hi > > > > I have a drawingarea inside a scrolled window for which I'd like to > > grab > > the focus so the user can use keyboard inputs but I want to do it > > without