Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | display | |
Module | widgets | |
Tool | combobox |
Bind an X event to the combobox entry.
Synopsis
bind(xevent, eventname)
Arguments
xevent
The X event to be bound.
Allowed:
An X event in glishtk syntax
eventname
The name which will be associated with this event.
Allowed:
A string
Description
This event will be bound to the combobox entry. Events having the
name eventname will be emitted from the agent returned by the
agent member function each time this X event occurs within the
combobox entry.
Example
cb.bind('<KeyPress>','keypress')
whenever cb.agent()->keypress do {
print 'Key pressed in combobox entry : ', $value;
}
Next: combobox.cursor - Function
Up: combobox - Tool
Previous: combobox.autoinserorder - Function
  Contents
  Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc.,
Washington, D.C.
Return to AIPS++ Home Page
2006-10-15