Tk::event 804.027
Sponsored Links
Tk::event 804.027 Ranking & Summary
File size:
5.7 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
795
Date added:
2007-08-21
Publisher:
Tk team
Tk::event 804.027 description
Tk::event contains miscellaneous event facilities: define virtual events and generate events.
SYNOPSIS
$widget->eventAction(?arg, arg, ...?);
The eventAction methods provides several facilities for dealing with window system events, such as defining virtual events and synthesizing events. Virtual events are shared by all widgets of the same MainWindow. Different MainWindows can have different virtual event.
The following methods are currently supported:
$widget->eventAdd(<<virtual>>, sequence ?,sequence, ...?)
Associates the virtual event virtual with the physical event sequence(s) given by the sequence arguments, so that the virtual event will trigger whenever any one of the sequences occurs. Virtual may be any string value and sequence may have any of the values allowed for the sequence argument to the bind method. If virtual is already defined, the new physical event sequences add to the existing sequences for the event.
$widget->eventDelete(<<virtual>> ?,sequence, sequence, ...?)
Deletes each of the sequences from those associated with the virtual event given by virtual. Virtual may be any string value and sequence may have any of the values allowed for the sequence argument to the bind method. Any sequences not currently associated with virtual are ignored. If no sequence argument is provided, all physical event sequences are removed for virtual, so that the virtual event will not trigger anymore.
$widget->eventGenerate(event ?,option => value, option => value, ...?)
Generates a window event and arranges for it to be processed just as if it had come from the window system. $window is a reference to the window for which the event will be generated. Event provides a basic description of the event, such as < Shift-Button-2 > or << Paste >>. If Window is empty the whole screen is meant, and coordinates are relative to the screen. Event may have any of the forms allowed for the sequence argument of the bind method except that it must consist of a single event pattern, not a sequence. Option-value pairs may be used to specify additional attributes of the event, such as the x and y mouse position; see "EVENT FIELDS" below. If the -when option is not specified, the event is processed immediately: all of the handlers for the event will complete before the eventGenerate method returns. If the -when option is specified then it determines when the event is processed.
$widget->eventInfo(?<< virtual >>?)
Returns information about virtual events. If the <<virtual>> argument is omitted, the return value is a list of all the virtual events that are currently defined. If <<virtual>> is specified then the return value is a list whose elements are the physical event sequences currently defined for the given virtual event; if the virtual event is not defined then undef is returned.
SYNOPSIS
$widget->eventAction(?arg, arg, ...?);
The eventAction methods provides several facilities for dealing with window system events, such as defining virtual events and synthesizing events. Virtual events are shared by all widgets of the same MainWindow. Different MainWindows can have different virtual event.
The following methods are currently supported:
$widget->eventAdd(<<virtual>>, sequence ?,sequence, ...?)
Associates the virtual event virtual with the physical event sequence(s) given by the sequence arguments, so that the virtual event will trigger whenever any one of the sequences occurs. Virtual may be any string value and sequence may have any of the values allowed for the sequence argument to the bind method. If virtual is already defined, the new physical event sequences add to the existing sequences for the event.
$widget->eventDelete(<<virtual>> ?,sequence, sequence, ...?)
Deletes each of the sequences from those associated with the virtual event given by virtual. Virtual may be any string value and sequence may have any of the values allowed for the sequence argument to the bind method. Any sequences not currently associated with virtual are ignored. If no sequence argument is provided, all physical event sequences are removed for virtual, so that the virtual event will not trigger anymore.
$widget->eventGenerate(event ?,option => value, option => value, ...?)
Generates a window event and arranges for it to be processed just as if it had come from the window system. $window is a reference to the window for which the event will be generated. Event provides a basic description of the event, such as < Shift-Button-2 > or << Paste >>. If Window is empty the whole screen is meant, and coordinates are relative to the screen. Event may have any of the forms allowed for the sequence argument of the bind method except that it must consist of a single event pattern, not a sequence. Option-value pairs may be used to specify additional attributes of the event, such as the x and y mouse position; see "EVENT FIELDS" below. If the -when option is not specified, the event is processed immediately: all of the handlers for the event will complete before the eventGenerate method returns. If the -when option is specified then it determines when the event is processed.
$widget->eventInfo(?<< virtual >>?)
Returns information about virtual events. If the <<virtual>> argument is omitted, the return value is a list of all the virtual events that are currently defined. If <<virtual>> is specified then the return value is a list whose elements are the physical event sequences currently defined for the given virtual event; if the virtual event is not defined then undef is returned.
Tk::event 804.027 Screenshot
Tk::event 804.027 Keywords
Virtual Events
Virtual Event
Physical event
generate events
event
virtual
events
sequence
sequences
value
Tk::event
Tkevent
Tk::event 804.027
Libraries
Programming
Bookmark Tk::event 804.027
Tk::event 804.027 Copyright
WareSeeker periodically updates pricing and software information of Tk::event 804.027 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Tk::event 804.027 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
current events
events and adventures
science current events
chicago events
formal events
historical events
sequences and series
political events
current events in science
current events for kids
everett events center
series unfortunate events
fibonacci sequence
number sequences
health current events
virtual events 365
current science events
sequences calculus
Related Software
Tk::bind can arrange for X events to invoke callbacks. Free Download
Tk::Tiler is a scrollable frame with sub-widgets arranged into rows. Free Download
Tk::after can execute a command after a time delay. Free Download
Tk::bindtags can determine which bindings apply to a window, and order of evaluation. Free Download
Tk::Canvas Perl module can create and manipulate Canvas widgets. Free Download
Tk::Optionmenu will let the user select one of some predefined options values. Free Download
Tk::Balloon is a pop up help balloons. Free Download
Tk::form is a Perl module with a geometry manager based on attachment rules. Free Download
Latest Software
Popular Software
Favourite Software