Class wtNotebookPage
Object
|
+--wtObject
|
+--wtNotebookPage
- class
wtNotebookPage
- extends wtObject
A tabbed page container for use with wtNotebook. Available signals:
Defined in wt_widget.js
See:
|
Constructor Summary |
wtNotebookPage(<wtNotebook> notebook, <String|wtWidget> title)
Constructs a tabbed page container for use with wtNotebook.
|
|
Method Summary |
void
|
addWidget(<wtWidget|String> widget)
Adds a widget into the notebook page.
|
void
|
clearAll()
Clears the contents of the notebook page.
|
void
|
deselect()
Deselects the notebook page.
|
void
|
removeSelf()
Removes a notebook page.
|
void
|
select()
Selects a notebook page and makes it the page being displayed in the wtNotebook.
|
void
|
setTitle(<String|wtWidget> title)
Sets the tab caption of the notebook page.
|
| Methods inherited from class wtObject |
startProxy, endProxy, toString, connect, disconnect, emit, setSlot, removeSlot, setSignal, removeSignal, get, set, addDependency
|
wtNotebookPage
wtNotebookPage(<wtNotebook> notebook, <String|wtWidget> title)
Constructs a tabbed page container for use with wtNotebook.
Parameters:
notebook - The parent wtNotebook container.
title - The tab caption of this notebook page.
addWidget
void addWidget(<wtWidget|String> widget)
Adds a widget into the notebook page.
Parameters:
widget - The wtWidget to be added. Alternatively, you may add a string to be displayed inside the notebook.
clearAll
void clearAll()
Clears the contents of the notebook page.
deselect
void deselect()
Deselects the notebook page. This sets the wtNotebook to display nothing.
removeSelf
void removeSelf()
select
void select()
Selects a notebook page and makes it the page being displayed in the wtNotebook.
setTitle
void setTitle(<String|wtWidget> title)
Sets the tab caption of the notebook page.
Parameters:
title - The new tab caption of this notebook page.
Documentation generated by
JSDoc on Tue Apr 10 22:43:45 2007