|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--gtk.Object | +--gtk.Widget
Defined in jsgtk_min.js
Constructor Summary | |
gtk.Widget()
gtk.Widget class : the base class of all widget |
Method Summary | |
void
|
_resizeHeight(<integer> height)
_resizeHeight() method : Resize the height of widget's dom object and height |
void
|
_resizeWidth(width)
_resizeWidth() method : Resize the width of widget's dom object and width |
Object
|
activate()
The activate() method emits the "activate" signal on the widget that activates it (if it can be activated). |
Object
|
getActivateSignal()
The get_activate_signal() method returns the name of the signal that is emitted when the widget is activated. |
integer
|
getHeight()
getHeight() method : return the current height to widget |
Object
|
getMinHeightComposite()
|
Object
|
getMinWidthComposite()
|
Object
|
getNode()
|
void
|
getSize()
getSize() method : return an array of current width and height |
array
|
getSizeRequest()
getSizeRequest() method : return the min widht and min height of widget |
integer
|
getWidth()
getWidth() method : return the current width to widget |
void
|
hide()
show() method : turn the widget off |
void
|
resetHeightComposite()
|
void
|
resetWidthComposite()
|
void
|
resizeHeightComposite(height)
|
void
|
resizeWidthComposite(width)
|
Object
|
setActivateSignal(signal)
The get_activate_signal() method returns the name of the signal that is emitted when the widget is activated. |
void
|
setBoldTitle(bold)
setBoldTitle() method : option bold title |
void
|
setHeight(<integer> height)
setHeight() method : set new height to widget |
void
|
setSize(<integer> width, <integer> height)
setSize() method : set the width and height of widget and emit signal 'bubble' signal 'bubble' will inform this widget's parent about it new size |
void
|
setSizeRequest(<integer> width, <integer> height)
setSizeRequest() method : reset the min width and min height of widget : and emit 'sizerequest' signal |
void
|
setWidth(<integer> width)
setWidth() method : set new width to widget |
void
|
show()
show() method : turn the widget on |
void
|
sizeRequest()
|
Constructor Detail |
gtk.Widget()
Method Detail |
void _resizeHeight(<integer> height)
height
- : the new of height of widget
void _resizeWidth(width)
height
- : the new of height of widget
Object activate()
Object getActivateSignal()
integer getHeight()
Object getMinHeightComposite()
Object getMinWidthComposite()
Object getNode()
void getSize()
size
- : array of width and height
array getSizeRequest()
integer getWidth()
void hide()
void resetHeightComposite()
void resetWidthComposite()
void resizeHeightComposite(height)
void resizeWidthComposite(width)
Object setActivateSignal(signal)
void setBoldTitle(bold)
boolen
-
void setHeight(<integer> height)
height
- : the height of widget
void setSize(<integer> width, <integer> height)
width
- : new width of widget
height
- : new height of widget
void setSizeRequest(<integer> width, <integer> height)
width
- : new width of widget
height
- : new height of widget
void setWidth(<integer> width)
width
- : new width of widget
void show()
void sizeRequest()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |