| class TK_TOPLEVEL < $TK_WIDGET |
|---|
| $TK_WIDGET |
| act_on(i: INT,args: ARRAY{STR}) |
|---|
| create(np: STR, cf: TK_TOPLEVEL_CFG): SAME |
|---|
| create: SAME |
|---|
| **** | Create a new toplevel with default options under the root window |
| root_window: TK_TOPLEVEL |
|---|
| **** | Dedicating one special object as the root window. This root window does not comply with the regular creation process, so do something sepcial here. |
| widget_name: STR |
|---|
| default_config: TK_TOPLEVEL_CFG |
|---|
| init(np: STR,cf: TK_TOPLEVEL_CFG) |
|---|
| shared the_root_window: TK_TOPLEVEL; |
|---|
| **** | The dedicated object will be stored here. |
| shared the_root_window: TK_TOPLEVEL; |
|---|
| **** | The dedicated object will be stored here. |
| tk_widget_type: STR |
|---|
| **** | Returns the tk_widget type. As the root window is also a toplevel but has a different type name, there has a distinction to be made. |