User Interrupt

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

User Interrupt

Sreenath
Hi All,

Is there anything sort of a user interrupt in VA ? Similar to Ctrl + Y which opens the current process in debug window in VW or like a Ctrl + Shft +Y which opens the Emergency Evaluator in VW

Please let me know.

Best Regards,
Sreenath

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: User Interrupt

Richard Sargent
Administrator
On Monday, October 19, 2015 at 9:28:44 AM UTC-7, Sreenath G K wrote:
Hi All,

Is there anything sort of a user interrupt in VA ? Similar to Ctrl + Y which opens the current process in debug window in VW or like a Ctrl + Shft +Y which opens the Emergency Evaluator in VW

Well, there is this button:


It's only available with the development image. You will find it in the bottom right corner of your screen.


Please let me know.

Best Regards,
Sreenath

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: User Interrupt

Louis LaBrunda
In reply to this post by Sreenath
Hi Sreenath,

I'm sorry that I don't have time to give you a full example now (the code below should get you started) but you should be able to add an event handler to a window and catch key press events and check to see if it is Ctrl+Y or whatever and then do what you want.  I don't think you can open a development debug window but once you can catch the event hopefully you can do what you need to.

Lou

self primaryWidget addEventHandler: KeyPressMask
receiver: self
selector: #keyPress:clientData:callData:
clientData: nil.

You need to create a method called #keyPress:clientData:callData: and check values it receives.


On Monday, October 19, 2015 at 12:28:44 PM UTC-4, Sreenath G K wrote:
Hi All,

Is there anything sort of a user interrupt in VA ? Similar to Ctrl + Y which opens the current process in debug window in VW or like a Ctrl + Shft +Y which opens the Emergency Evaluator in VW

Please let me know.

Best Regards,
Sreenath

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.