Re: Middle click paste in St.Entry



On Tue, Jul 8, 2014 at 6:31 PM, Sam Bull <sam hacking sent com> wrote:
Ah, that makes sense. Is there any way that might be fixed? When
clicking anywhere else on the note, the code is simply:

        this._box.connect('button-press-event', function () {
            clutterText.grab_key_focus();
        });

Is there any way to propagate the middle click through?


Not very pretty, but something like this should work:

         this._box.connect('button-press-event', function (actor, event) {
             clutterText.event(event, false);
         });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]