CQCC::IOPtkWidget - Base class for IOPtk widgets supporting Perl/Tk
This class provides common utility functions for the IOPtk component widgets supporting the IOPerlTK user interface class. It provides basic support for initialization and destruction, common attribute handling, event callbacks, and named object management and lookup.
The IOPerlTK class provides a front end to creating and managing IOPtkWidget objects so that the Trigger classes do not need to directly use this class or its subclasses.
SUPPORT POLICY: See TriggerCQCC.pm for the Rational Support Policy.
DESTROY()
DoCallback(itemName, itemCmd)
If the object has a CALLBACK_OBJECT attribute, the itemCmd is interpreted as a method call to that object with optional arguments. itemCmd can be either an array reference to provide arguments or as a string name with the name of the method.
If the object has no CALLBACK_OBJECT attribute, itemCmd is evaluated directly.
new CQCC::IOPtkWidget(name, parent, type, key-value pairs)
All IOPtk* widgets should be created through the appropriate constructor functions in CQCC::IOPerlTK and not through direct calls to new().
newSubType()
@list = PackArgs( {default pack arguments} )
pack()
call, either using the default pack
arguments being passed in or the PACK attribute list (preferred)
provided by the new call.
TKoptions()
TKSubWidget(subwidgetName)
Subwidget names vary depending on the particular IOPtkWidget class. This method also supports ``TOP'' to get the outermost widget used in the IOPtkWidget implementation.
WidgetLookup(name, noreport)