Class Index | File Index

Classes


Class gtk.Contents


Extends gtk.Widget.

Defined in: jsgtk_merge_for_doc.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
gtk.Contents(width, height)
Contents is a class to create contents for NoteBook
Method Summary
Method Attributes Method Name and Description
 
activate(index)
Method to set activated by index value
 
Method to set activated by object value
 
Method to set activated its content
 
Method to set activated as default
 
addChild(contentObj)
Method to add child object into its body
 
Method to get/return active content
 
Method to get or return all children
 
Method to get or return minimum composite height
 
Method to get/return minimum composite width
 
Method to hide border of widget
 
insertAt(contentObj, index)
Method to insert an object value at a specific position
 
removeChild(index)
Method to remove child from it body given an index value
 
Method to resize height
 
Method to resize width
 
Method to show border of widget
 
updateContent(content, index)
Method to update its content
Methods borrowed from class gtk.Widget:
disable, enable, getActivateSignal, getHeight, getMinWidthComposite, getNode, getParent, getSize, getSizeRequest, getTag, getWidth, hide, hideLoading, hideTooltip, isHidden, refresh, resetHeightComposite, resetMinHeight, resetMinSize, resetMinWidth, resetWidthComposite, setActivateSignal, setBoldTitle, setEnable, setHeight, setParent, setSize, setSizeRequest, setTag, setTooltip, setWidth, show, showLoading, showTooltip, sizeRequest
Methods borrowed from class gobject.GObject:
connect, disconnect, emit
Class Detail
gtk.Contents(width, height)
Contents is a class to create contents for NoteBook
Parameters:
{Integer} width
The width of the widget to be set
{Integer} height
The height of the widget
Method Detail
activate(index)
Method to set activated by index value
Parameters:
{Integer} index
The index value to be set

activateByObject(content)
Method to set activated by object value
Parameters:
{Object} content
The object value to be passed

activateContent(id)
Method to set activated its content
Parameters:
{Integer} id
The id value as integer

activateDefault()
Method to set activated as default

addChild(contentObj)
Method to add child object into its body
Parameters:
{Object} contentObj
The object value of the content

{Object} getActiveContent()
Method to get/return active content
Returns:
{Object} The active object value

{Object} getChildren()
Method to get or return all children
Returns:
{Object} The array objects of its contents or children

{Integer} getMinHeightComposite()
Method to get or return minimum composite height
Returns:
{Integer} The minimum composite height of the content

{Integer} getMinWidthComposiste()
Method to get/return minimum composite width
Returns:
{Integer} The minimum composite width of the content

hideBorder()
Method to hide border of widget

insertAt(contentObj, index)
Method to insert an object value at a specific position
Parameters:
{Object} contentObj
The object value of the content
{Integer} index
The index value of the content tab

removeChild(index)
Method to remove child from it body given an index value
Parameters:
{Integer} index
The index value to be set

resizeHeightComposite(height)
Method to resize height
Parameters:
{Integer} height
The height to be passed

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

showBorder()
Method to show border of widget

updateContent(content, index)
Method to update its content
Parameters:
{Object} content
The object value of the content
{Integer} index
The integer value of the content tab index

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