Class gtk.HPaned
Extends
gtk.Paned.
Defined in: jsgtk_merge_for_doc.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Separate the paned into two vertical paned
|
Method Attributes | Method Name and Description |
---|---|
autoResize(widget, isDrawer)
shrinken the widget inside each paned
|
|
anble drawer to the right.
|
|
anble drawer to the right.
|
|
restoreStatus(widget)
Restore the shrunk widget and its paned
|
|
setPosition(position)
set position of the left paned x pixel from the left
|
- Methods borrowed from class gtk.Paned:
- pack1, pack2
- Methods borrowed from class gtk.Widget:
- activate, disable, enable, getActivateSignal, getHeight, getMinHeightComposite, getMinWidthComposite, getNode, getParent, getSize, getSizeRequest, getTag, getWidth, hide, hideLoading, hideTooltip, isHidden, refresh, 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
Method Detail
autoResize(widget, isDrawer)
shrinken the widget inside each paned
- Parameters:
- {gtk.Widget} widget
- will be shrinken along with its paned
- {boolean} isDrawer
- if drawer enabled, will show the pooler after paned was shrunk
enableDrawerLeft()
anble drawer to the right. When user click on the drawer, the left paned will be shrunk
enableDrawerRight()
anble drawer to the right. When user click on the drawer, the right paned will be shrunk
restoreStatus(widget)
Restore the shrunk widget and its paned
- Parameters:
- {gtk.Widget} widget
- will be shrinken along with its paned
setPosition(position)
set position of the left paned x pixel from the left
- Parameters:
- {integer} position
- number of pixel from the left