Class gtk.PopupWindowDefault
Extends
gtk.Widget, gtk.Widget.
Defined in: jsgtk_merge_for_doc.js.
Constructor Attributes | Constructor Name and Description |
---|---|
gtk.PopupWindowDefault(title, textMessage)
PopupWindowDefault is a class to create pop-up window type Default
|
Field Attributes | Field Name and Description |
---|---|
It allows user to connect to a registered signal event "closed" when click close button
|
|
It allows user to connect to a registered signal event "ok" when click OK button
|
Method Attributes | Method Name and Description |
---|---|
close()
A method to close/remove pop-up window
|
|
draw()
A method to display the pop-up window after it is instantiated
|
|
setBody(textMessage)
A method to set content to the body of the pop-up window
|
|
setFocus()
A method to set focus onto the pop-up window
|
|
setTitle(title)
A method to set title to the header of the pop-up window
|
- 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, resizeHeightComposite, resizeWidthComposite, 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.PopupWindowDefault(title, textMessage)
PopupWindowDefault is a class to create pop-up window type Default
- Parameters:
- {String} title
- The header title of the pop-up window
- {String} textMessage
- The body text/content of the pop-up window
Field Detail
POPUPWINDOWDEFAULT_CLOSED
It allows user to connect to a registered signal event "closed" when click close button
POPUPWINDOWDEFAULT_OK
It allows user to connect to a registered signal event "ok" when click OK button
Method Detail
close()
A method to close/remove pop-up window
draw()
A method to display the pop-up window after it is instantiated
setBody(textMessage)
A method to set content to the body of the pop-up window
- Parameters:
- {String} textMessage
- The text content of the body of the pop-up window to be set type {String}
setFocus()
A method to set focus onto the pop-up window
setTitle(title)
A method to set title to the header of the pop-up window
- Parameters:
- {String} title
- The title of the pop-up window to be set type {String}