These methods are added to the Levent and Hash classes to provide method access to elements of
the Levent and Hash. The
purpose is to keep the Hash and Levent objects consistent because every Locana event can receive either nil, an Levent, or a Hash as its
parameter.
Calls Levent.keychar(self[:keycode]). This is
provided to make keychar() available to the Hash
since the Hash can be provided to Locana events.
Returns self[:x]. The screen relative x pixel position of the mouse during
the event. Only supported for on_mouse related events and the on_move event.
Returns self[:y]. The screen relative y pixel position of the mouse during
the event. Only supported for on_mouse related events and the on_move event.
Returns self[:shift_key]. This
will be true only if the shift key was pressed during the event.
Returns self[:alt_key]. This will
be true only if the alt key was pressed during the event.
Returns self[:ctrl_key]. This will
be true only if the ctrl key was pressed during the event.
Returns self[:meta_key]. This will
be true only if the meta key was pressed during the event.
Thank you for taking the time to visit this web page. I trust you found the information contained in this page useful.
Please email any questions, concerns, or issues with this web site to webmaster@sevasoftware.com.
Please remember Seva Software when your company would benefit from an experienced database architect and software engineer.