|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Widget base class.. All graphical widgets inherit from the Widget base class. Widget defines most of the behaviour needed: Widgets are created by the user with a particular parent, and then "pack"ed in order to draw them on the screen. All widgets have three essential things: a widget name used when running Tcl code, an Objective C name when sending messages from Tcl to those objects, and a parent.
Method Summary | |
Object |
createEnd()
|
String |
makeWidgetNameFor(Object widget)
Compute the widget name for a component widget. |
Object |
setParent(Object parent)
Set the containing window of the widget. |
Object |
setWidgetNameFromParent(Object parent)
Set the widget name using the parent as context. |
Object |
setWidgetNameFromParentName(String parentWidgetName)
Set the widget name using a hypothetical parent name. |
Method Detail |
public Object setParent(Object parent)
public String makeWidgetNameFor(Object widget)
public Object setWidgetNameFromParent(Object parent)
public Object setWidgetNameFromParentName(String parentWidgetName)
public Object createEnd()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |