Class gtk.LiquidBox
Extends
gtk.Widget.
Defined in: jsgtk_merge_for_doc.js.
Constructor Attributes | Constructor Name and Description |
---|---|
gtk.LiquidBox(width, space)
|
Field Attributes | Field Name and Description |
---|---|
'refreshed' signal
|
Method Attributes | Method Name and Description |
---|---|
appendChild(childWidget, options)
Append child widget into liquidbox
|
|
Return the length of chidren
|
|
insertBefore(newChildWidget, oldChildWidget, options)
Append child widget into liquidbox
|
|
refresh()
Refresh the gtk.LiquidBox
|
|
removeByIndex(index)
Remove child from gtk.LiquidBox by index
|
|
removeChild(widget)
Remove child from gtk.LiquidBox
|
- Methods borrowed from class gtk.Widget:
- activate, disable, enable, getActivateSignal, getHeight, getMinHeightComposite, getMinWidthComposite, getNode, getParent, getSize, getSizeRequest, getTag, getWidth, hide, hideLoading, hideTooltip, isHidden, resetHeightComposite, resetMinHeight, resetMinSize, resetMinWidth, resetWidthComposite, resizeHeightComposite, resizeWidthComposite, 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.LiquidBox(width, space)
- Parameters:
- {integer} width
- of liquidboxWidget
- {integer} space
- between child widget
Field Detail
LIQUIDBOX_REFRESHED
'refreshed' signal
Method Detail
appendChild(childWidget, options)
Append child widget into liquidbox
- Parameters:
- {gtk.Widget} childWidget
- {object} options
- {'fill': true || false, 'padding': any number}
{integer}
getChildrenLength()
Return the length of chidren
- Returns:
- {integer}
insertBefore(newChildWidget, oldChildWidget, options)
Append child widget into liquidbox
- Parameters:
- {gtk.Widget} newChildWidget
- {gtk.Widget} oldChildWidget
- {object} options
- {'fill': true || false, 'padding': any number}
refresh()
Refresh the gtk.LiquidBox
removeByIndex(index)
Remove child from gtk.LiquidBox by index
- Parameters:
- {integer} index
removeChild(widget)
Remove child from gtk.LiquidBox
- Parameters:
- {gtk.Widget} widget