Class gtk.Accordion
Extends
gtk.Widget.
Defined in: jsgtk_merge_for_doc.js.
Constructor Attributes | Constructor Name and Description |
---|---|
gtk.Accordion(The)
Accordion is a class to create an accordion widget
|
Field Attributes | Field Name and Description |
---|---|
A registered signal name 'activated'
|
|
A registered signal name 'deactivated'
|
Method Attributes | Method Name and Description |
---|---|
activate(The)
Method to set activation unto any tab of accordion
|
|
appendChild(title, childWidget)
Method to add or append content to to each tab of accordion
|
|
deActivate(index)
Method to set deactivation unto any tab of accordion
|
|
Method to get minimum height of childNodeHolder
|
|
Method to get minimum width of childNodeHolder
|
|
resizeHeightComposite(height)
Method to resize height composite of it
|
|
resizeWidthComposite(width)
Method to resize width composite of it
|
- Methods borrowed from class gtk.Widget:
- disable, enable, getActivateSignal, getHeight, 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.Accordion(The)
Accordion is a class to create an accordion widget
- Parameters:
- {Boolean} The
- boolean value true or false is to define whether all children have the same width or height
Field Detail
ACCORDION_ACTIVATED
A registered signal name 'activated'
ACCORDION_DEACTIVATED
A registered signal name 'deactivated'
Method Detail
activate(The)
Method to set activation unto any tab of accordion
- Parameters:
- {Integer} The
- index value of the accordion tab
appendChild(title, childWidget)
Method to add or append content to to each tab of accordion
- Parameters:
- {String} title
- The title of the accordion tab
- {Object} childWidget
- The DOM object of the child content
deActivate(index)
Method to set deactivation unto any tab of accordion
- Parameters:
- {Integer} index
- The index value of the accordion tab
{Integer}
getMinHeightComposite()
Method to get minimum height of childNodeHolder
- Returns:
- {Integer} The minimum height of it
{Integer}
getMinWidthComposite()
Method to get minimum width of childNodeHolder
- Returns:
- {Integer} The minimum width of it
resizeHeightComposite(height)
Method to resize height composite of it
- Parameters:
- {Integer} height
- The new height needs setting to the widget
resizeWidthComposite(width)
Method to resize width composite of it
- Parameters:
- {Integer} width
- The new width needs setting to the widget