[prev in list] [next in list] [prev in thread] [next in thread]
List: gtkmm
Subject: Re: Capturing modifier keys in a TextBuffer
From: Phil Wolff via gtkmm-list <gtkmm-list () gnome ! org>
Date: 2018-06-22 14:10:57
Message-ID: ebf148ee-a8be-b6db-4f47-e04fb4763a23 () centurylink ! net
[Download RAW message or body]
Bingo! Simple and effective. Thanks!
On 06/22/2018 06:49, Daniel Boles via gtkmm-list wrote:
> On 22 June 2018 at 14:43, Daniel Boles <dboles.src@gmail.com
> <mailto:dboles.src@gmail.com>> wrote:
>
> hmm, you might need to connect before the default handler if you
> didn't already, to intercept the state, then return false so it
> can carry on doing what it normally does.
>
>
> I should clarify that I didn't really think about whether that's the
> right way to do it... but if you can make it work, it seems simplest.
>
> Deriving and overriding the default handler vfunc could achieve the
> same thing since obviously you replace the base one and then can
> choose to chain up after your added stuff, or even replace it
> altogether. It may or may not be worth the hassle though.
>
>
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtkmm-list
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic