Class gtk.Panel
Extends
gtk.Widget, gtk.Widget.
Defined in: jsgtk_merge_for_doc.js.
Constructor Attributes | Constructor Name and Description |
---|---|
gtk.Panel(title, padding)
Panel is a class to create a container called panel
|
Field Attributes | Field Name and Description |
---|---|
'closed' signal
|
|
'minimzed' signal
|
|
'minimizedpanelmouseovered' signal
|
|
'minimizedpanelmouseovered' signal
|
|
'restored' signal
|
Method Attributes | Method Name and Description |
---|---|
appendChild(widget)
A method to append or add a new child into the panel
|
|
A method to flush the child inside the panel
|
|
A method to get/return body height of the panel
|
|
A method to get/return the minimum composite height
|
|
A method to get/return the minimum composite width
|
|
getTitle()
A method to get/return the title of the panel
|
|
A method to hide/remove close button from panel
|
|
A method to hide the minimized button from the panel
|
|
minimize()
A method to call setting the panel to minimized state
|
|
resize(width, height)
A method to resize both width and height the panel
|
|
A method to resize its composite height
|
|
resizeWidthComposite(The)
A method to resize its composite width
|
|
restore()
A method to restore the state of the panel to the previsous state
|
|
setBoldTitle(bold)
A method to set the panel title to bold
|
|
setCloseButton(isClose)
|
|
setTitle(title, xalign)
A method to set the new title to the panel
|
|
setTitleJustify(justify)
A method to justified title of the panel
|
|
setTopMost(isTop)
A method to set the top most given a boolean value
|
- Methods borrowed from class gtk.Widget:
- activate, disable, enable, getActivateSignal, getHeight, getNode, getParent, getSize, getSizeRequest, getTag, getWidth, hide, hideLoading, hideTooltip, isHidden, refresh, resetHeightComposite, resetMinHeight, resetMinSize, resetMinWidth, resetWidthComposite, setActivateSignal, setEnable, setHeight, setParent, setSize, setSizeRequest, setTag, setTooltip, setWidth, show, showLoading, showTooltip, sizeRequest
- Methods borrowed from class gobject.GObject:
- connect, disconnect, emit
Class Detail
gtk.Panel(title, padding)
Panel is a class to create a container called panel
- Parameters:
- {String} title
- The header title of the panel
- {Integer} padding
- The integer value of padding of the panel
Field Detail
PANEL_CLOSED
'closed' signal
PANEL_MINIMIZED
'minimzed' signal
PANEL_MINIMIZEDPANEL_MOUSEOUT
'minimizedpanelmouseovered' signal
PANEL_MINIMIZEDPANEL_MOUSEOVERED
'minimizedpanelmouseovered' signal
PANEL_RESTORED
'restored' signal
Method Detail
appendChild(widget)
A method to append or add a new child into the panel
- Parameters:
- {Dom} widget
- The dom widget to be passed for adding
flushChild()
A method to flush the child inside the panel
{Integer}
getBodyHeight()
A method to get/return body height of the panel
- Returns:
- {Integer} The body height of the panel
{Integer}
getMinHeightComposite()
A method to get/return the minimum composite height
- Returns:
- {Integer} The minimum composite height of the panel
{Integer}
getMinWidthComposite()
A method to get/return the minimum composite width
- Returns:
- {Integer} The minimum composite width of the panel
{String}
getTitle()
A method to get/return the title of the panel
- Returns:
- {String} The name of the panel
hideCloseButton()
A method to hide/remove close button from panel
hideMinimizeButton()
A method to hide the minimized button from the panel
minimize()
A method to call setting the panel to minimized state
resize(width, height)
A method to resize both width and height the panel
- Parameters:
- {Integer} width
- The integer width value to be set
- {Integer} height
- The integer height value to be set
resizeHeightComposite(The)
A method to resize its composite height
- Parameters:
- {Integer} The
- composite height to be set
resizeWidthComposite(The)
A method to resize its composite width
- Parameters:
- {Integer} The
- composite width to be set
restore()
A method to restore the state of the panel to the previsous state
setBoldTitle(bold)
A method to set the panel title to bold
- Parameters:
- {Boolean} bold
- The boolean value to display bold or not
setCloseButton(isClose)
- Parameters:
- isClose
setTitle(title, xalign)
A method to set the new title to the panel
- Parameters:
- {String} title
- The string title of the panel
- {String} xalign
- The constant variable of jsgtk
setTitleJustify(justify)
A method to justified title of the panel
- Parameters:
- {String} justify
- The contant varaiable of gtk
setTopMost(isTop)
A method to set the top most given a boolean value
- Parameters:
- {Boolean} isTop
- The boolean value to be topmost of not