|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--gtk.Object | +--gtk.Widget | +--gtk.Container | +--gtk.Bin | +--gtk.Button
Defined in jsgtk_min.js
Constructor Summary | |
gtk.Button(label, stock)
|
Method Summary | |
Object
|
getImage()
Returns the value of the "image" property |
Object
|
getLabel()
Retrieves the text from the label of the button |
void
|
setButtonShape(image)
|
void
|
setImage(<gtk.Widget> image)
Sets the "image" property to the value of image |
void
|
setLabel(label)
Sets the text of the button label to label |
Methods inherited from class gtk.Container |
add, remove, getBorderWidth, setBorderWidth
|
Methods inherited from class gtk.Widget |
setBoldTitle, getNode, show, hide, activate, setActivateSignal, getActivateSignal, setSizeRequest, setSize, setWidth, getWidth, setHeight, getHeight, getSizeRequest, sizeRequest, getSize, getMinWidthComposite, getMinHeightComposite, resetHeightComposite, resetWidthComposite
|
Constructor Detail |
gtk.Button(label, stock)
Method Detail |
Object getImage()
Object getLabel()
void setButtonShape(image)
void setImage(<gtk.Widget> image)
image
- Sets the "image" property to the value of image
void setLabel(label)
A
- label to be set as the text in the button label
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |