Class gtk.Form
Extends
gtk.Widget.
Defined in: jsgtk_merge_for_doc.js.
Constructor Attributes | Constructor Name and Description |
---|---|
gtk.Form(attributes)
Form is a class to create form widget
|
Method Attributes | Method Name and Description |
---|---|
add(widget)
A method to add a widget to Form
|
|
A method to get the minimum height of Form
|
|
A method to get the minimum width of Form
|
|
resizeHeightComposite(height)
A method to resize the height of Form
|
|
resizeWidthComposite(width)
A method to resize the width of Form
|
|
setAttribute(attributes)
A method to set the attributes to form
|
- 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, 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.Form(attributes)
Form is a class to create form widget
- Parameters:
- {Object} attributes
- The attributes of theform
Method Detail
add(widget)
A method to add a widget to Form
- Parameters:
- {Widget} widget
- A child widget to be added to Form
{Integer}
getMinHeightComposite()
A method to get the minimum height of Form
- Returns:
- The minimum height of Form
{Integer}
getMinWidthComposite()
A method to get the minimum width of Form
- Returns:
- The minimum width of Form
resizeHeightComposite(height)
A method to resize the height of Form
- Parameters:
- {Interger} height
- The length of width to be resize.
resizeWidthComposite(width)
A method to resize the width of Form
- Parameters:
- {Interger} width
- The length of width to be resize.
setAttribute(attributes)
A method to set the attributes to form
- Parameters:
- {Object} attributes
- The attributes to be set as form's attributes