Roassal capturing Keystroke in GTInspector

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Roassal capturing Keystroke in GTInspector

abergel
Hi!

Consider the following:

view := RTView new.
view add: (RTBox new size: 50) element.

view on: TRKeyDown do: [ :evt |
        evt keyCombination = $j command ifTrue: [ RTZoomInMove on: view ].
        evt keyCombination = $k command ifTrue: [ RTZoomOutMove on: view ] ].
view

Apparently, there is no way, the keydown event are emitted in GTInpsector? I have to open the view for this :-(
Can this be fixed?

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal capturing Keystroke in GTInspector

Tudor Girba-2
It looks like the Pager does not allow the Roassal presentation to take the focus at all. Could you open a bug for this?

@Aliaksei: Could you look at this?

Cheers,
Doru

On Thu, Oct 2, 2014 at 4:13 PM, Alexandre Bergel <[hidden email]> wrote:
Hi!

Consider the following:

view := RTView new.
view add: (RTBox new size: 50) element.

view on: TRKeyDown do: [ :evt |
        evt keyCombination = $j command ifTrue: [ RTZoomInMove on: view ].
        evt keyCombination = $k command ifTrue: [ RTZoomOutMove on: view ] ].
view

Apparently, there is no way, the keydown event are emitted in GTInpsector? I have to open the view for this :-(
Can this be fixed?

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal capturing Keystroke in GTInspector

abergel
https://code.google.com/p/moose-technology/issues/detail?id=1088


On Oct 2, 2014, at 11:22 AM, Tudor Girba <[hidden email]> wrote:

> It looks like the Pager does not allow the Roassal presentation to take the focus at all. Could you open a bug for this?
>
> @Aliaksei: Could you look at this?
>
> Cheers,
> Doru
>
> On Thu, Oct 2, 2014 at 4:13 PM, Alexandre Bergel <[hidden email]> wrote:
> Hi!
>
> Consider the following:
>
> view := RTView new.
> view add: (RTBox new size: 50) element.
>
> view on: TRKeyDown do: [ :evt |
>         evt keyCombination = $j command ifTrue: [ RTZoomInMove on: view ].
>         evt keyCombination = $k command ifTrue: [ RTZoomOutMove on: view ] ].
> view
>
> Apparently, there is no way, the keydown event are emitted in GTInpsector? I have to open the view for this :-(
> Can this be fixed?
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal capturing Keystroke in GTInspector

Tudor Girba-2
Thanks.

Doru

On Thu, Oct 2, 2014 at 4:33 PM, Alexandre Bergel <[hidden email]> wrote:
https://code.google.com/p/moose-technology/issues/detail?id=1088


On Oct 2, 2014, at 11:22 AM, Tudor Girba <[hidden email]> wrote:

> It looks like the Pager does not allow the Roassal presentation to take the focus at all. Could you open a bug for this?
>
> @Aliaksei: Could you look at this?
>
> Cheers,
> Doru
>
> On Thu, Oct 2, 2014 at 4:13 PM, Alexandre Bergel <[hidden email]> wrote:
> Hi!
>
> Consider the following:
>
> view := RTView new.
> view add: (RTBox new size: 50) element.
>
> view on: TRKeyDown do: [ :evt |
>         evt keyCombination = $j command ifTrue: [ RTZoomInMove on: view ].
>         evt keyCombination = $k command ifTrue: [ RTZoomOutMove on: view ] ].
> view
>
> Apparently, there is no way, the keydown event are emitted in GTInpsector? I have to open the view for this :-(
> Can this be fixed?
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev