Class Index | File Index

Classes


Class gtk.Tabs


Extends gtk.Widget.

Defined in: jsgtk_merge_for_doc.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
gtk.Tabs(width, height, vspaceWidth)
Tabs is a class to create tab for NoteBook
Field Summary
Field Attributes Field Name and Description
 
A registered signal name 'active'
Method Summary
Method Attributes Method Name and Description
 
activate(index)
Method to set activated given an index value
 
Method to set activated given an object value
 
Method to set activated as default
 
addTab(pageObj)
Method to add new tab given an object value
 
Method to get or return the active tab
 
Method to get/return the active tab
 
Method to get/return all children belong to the class
 
getIndex(tab)
Method to get or return an index value
 
Method to resize width
 
Method to hide loading given tab object
 
insertAt(pageObj, index)
Method to insert a tab in the specific value
 
removeTab(index)
Method to remove tab from body given an index value
 
Method to resize width
 
Method to show loading given tab object
Methods borrowed from class gtk.Widget:
disable, enable, getActivateSignal, getHeight, getMinHeightComposite, getNode, getParent, getSize, getSizeRequest, getTag, getWidth, hide, hideTooltip, isHidden, refresh, resetHeightComposite, resetMinHeight, resetMinSize, resetMinWidth, resetWidthComposite, resizeHeightComposite, setActivateSignal, setBoldTitle, setEnable, setHeight, setParent, setSize, setSizeRequest, setTag, setTooltip, setWidth, show, showTooltip, sizeRequest
Methods borrowed from class gobject.GObject:
connect, disconnect, emit
Class Detail
gtk.Tabs(width, height, vspaceWidth)
Tabs is a class to create tab for NoteBook
Parameters:
{Integer} width
The width of the widget
{Integer} height
The height of the widget
{Integer} vspaceWidth
The vertical space
See:
gtk.NoteBook
gtk.Contents
Field Detail
TABS_ACTIVE
A registered signal name 'active'
Method Detail
activate(index)
Method to set activated given an index value
Parameters:
{Integer} index
The index value of the tab

activateByObject(label)
Method to set activated given an object value
Parameters:
{Object} label
The object value

activateDefault()
Method to set activated as default

addTab(pageObj)
Method to add new tab given an object value
Parameters:
{Object} pageObj
The object value

{Object} getActiveTab()
Method to get or return the active tab
Returns:
{Object} The active object value

{Integer} getActiveTabId()
Method to get/return the active tab
Returns:
{Integer} The index value

{Object} getChildren()
Method to get/return all children belong to the class
Returns:
{Object} The array of objects

{Integer} getIndex(tab)
Method to get or return an index value
Parameters:
tab
Returns:
{Integer} tab The index value of the tab

{Integer} getMinWidthComposite()
Method to resize width
Returns:
{Integer} The width to be passed

hideLoading(tab)
Method to hide loading given tab object
Parameters:
{Object} tab
The object value of the tab content

insertAt(pageObj, index)
Method to insert a tab in the specific value
Parameters:
{Object} pageObj
The object value
{Integer} index
The index value

removeTab(index)
Method to remove tab from body given an index value
Parameters:
{Integer} index
The index value to be removed

resizeWidthComposite(The)
Method to resize width
Parameters:
{Integer} The
width to be passed

showLoading(tab)
Method to show loading given tab object
Parameters:
{Object} tab
The object value of the tab content

Documentation generated by JsDoc Toolkit 2.1.0 on Tue Jul 06 2010 11:13:56 GMT+0700 (ICT)