File
l_event.rb
Home
Path: locana/l_event.rb
Modified: Thu Dec 04 22:59:48 GMT-7:00 2003

l_event.rb - this contains the Levent class and all event related events for the Lobject class. This class is used for event handling.

Author: Michael Davis, mdavis@locana.org

Copyright: (C) 2000, 2001, 2002 Seva Inc. and Seva Software - www.sevasoftware.com

Home page: www.locana.org

License: Same as Ruby

This defines and sometimes creates all events used by Locana.

Status:

To do:

History

This class supports event handling for Locana. Each GUI binding will translate operating system and/or GUI events into the Levent class and then trigger() the event.

Events allow you to bind your Ruby code to events or messages from the GUI Binding. Here is a list of possible components of the Levent structure:

Most events are started by the GUI binding. Here is the process flow:

An event binding (also referred to as a callback) can be any of the following:

When Locana starts up a method is added for each of the following events to the Lobject class provided the method has not been explicitly defined below. In other words, the Lobject class will have a method for each of the supported events. The event method takes exactly one parameter that can be either nil, a Hash, or a Levent object. The block is optional.

Supported events:

Classes and Modules

Module Levent_method
Class Hash
Class Levent
Class Lobject


Seva Software


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.

http://www.arunadb.org http://www.locana.org http://www.ruby-lang.org http://www.coolwell.org http://www.sevasoftware.com