Class gtk.RadioButton
Extends
gtk.Widget.
Defined in: jsgtk_merge_for_doc.js.
Constructor Attributes | Constructor Name and Description |
---|---|
gtk.RadioButton(group, label)
RadioButton is a class to create a radio button
|
Method Attributes | Method Name and Description |
---|---|
A method to get/return the state of radio button whether it is activated or not
|
|
getGroup()
A method to get the group
|
|
getName()
A method to get the name of group that it belongs to
|
|
resizeHeightComposite(height)
A method to resize its composite height of gtk.Radiobutton
|
|
resizeWidthComposite(width)
A method to resize its composite width of gtk.Radiobutton
|
|
setActive(isActive)
A method to set active onto the radio button
|
|
setFocus()
A method to set focus onto the gtk.RadioButton
|
|
setName(name)
A method to set the name of group that it is to belongs to
|
|
setTabindex(index)
A method to set the tab index value onto the gtk.RadioButton
|
- 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, 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.RadioButton(group, label)
RadioButton is a class to create a radio button
- Parameters:
- {gtk.RadioButton} group
- The group name that it belongs to
- {string} label
- The text of radio button
Method Detail
{Boolean}
getActive()
A method to get/return the state of radio button whether it is activated or not
- Returns:
- {Boolean} The state as true or false
{gtk.RadioButton}
getGroup()
A method to get the group
- Returns:
- {gtk.RadioButton} The group name as an object of gtk.RadioButton
{String}
getName()
A method to get the name of group that it belongs to
- Returns:
- {String} The name of the gtk.RadioButton belongs to
resizeHeightComposite(height)
A method to resize its composite height of gtk.Radiobutton
- Parameters:
- {Integer} height
- The integer value as height to be set
resizeWidthComposite(width)
A method to resize its composite width of gtk.Radiobutton
- Parameters:
- {Integer} width
- The integer value as width to be set
setActive(isActive)
A method to set active onto the radio button
- Parameters:
- {Boolean} isActive
- The state to define whether it is true or false
setFocus()
A method to set focus onto the gtk.RadioButton
setName(name)
A method to set the name of group that it is to belongs to
- Parameters:
- {String} name
- The name of the group
setTabindex(index)
A method to set the tab index value onto the gtk.RadioButton
- Parameters:
- {integer} index
- The integer index value to be set