Class gtk.NoteBook
Object
|
+--gtk.Object
|
+--gtk.Widget
|
+--gtk.Container
|
+--gtk.NoteBook
- class
gtk.NoteBook
- extends gtk.Container
Defined in jsgtk_min.js
Constructor Summary |
gtk.NoteBook()
A tabbed notebook container
|
Methods inherited from class gtk.Widget |
setBoldTitle, getNode, show, hide, activate, setActivateSignal, getActivateSignal, setSizeRequest, setSize, setWidth, getWidth, setHeight, getHeight, getSizeRequest, sizeRequest, getSize
|
gtk.NoteBook
gtk.NoteBook()
A tabbed notebook container
_appendChild
void _appendChild(contents, tabs, hBar)
_connectChildrenSignal
void _connectChildrenSignal()
_getMaxSize
void _getMaxSize()
_resizeHeight
void _resizeHeight(<integer> height)
_resizeHeight() method : Resize the height of widget's dom object and height
Parameters:
height
- : the new of height of widget
_resizeWidth
void _resizeWidth(width)
_resizeWidth() method : Resize the width of widget's dom object and width
Parameters:
height
- : the new of height of widget
appendPage
integer appendPage(<object> child, <object> label)
Appends a page to the notebook using the widget specified by child and the widget specified by tab_label as the label on the tab.
Parameters:
child
- - widget as the contents of the page.
label
- - widget as the label for the page.
Returns:
index - index number of the page in the notebook
appendPages
void appendPages(<object> pages)
Appends pages to the notebook using the widget specified by child and the widget specified by tab_label as the label on the tab.
Parameters:
pages
- - array: [{child, labels}, ... ]
getMinHeightComposite
Object getMinHeightComposite()
getMinWidthComposite
Object getMinWidthComposite()
resetHeightComposite
void resetHeightComposite()
resetWidthComposite
void resetWidthComposite()
resize
void resize(width, height)
resizeHeightComposite
void resizeHeightComposite(height)
resizeWidthComposite
void resizeWidthComposite(width)
Documentation generated by
JSDoc on Thu Jan 21 18:07:55 2010