Class gtk.PopupWindow
Defined in: jsgtk_merge_for_doc.js.
Constructor Attributes | Constructor Name and Description |
---|---|
gtk.PopupWindow(title, textMessage, type)
PopupWindow is a class to create pop-up window to appear on the top most of the screen.
|
Class Detail
gtk.PopupWindow(title, textMessage, type)
PopupWindow is a class to create pop-up window to appear on the top most of the screen.
There are five types: Window Default, Window Confirm, Window Warning, Window Info, and Window Error or Critical
- Parameters:
- {String} title
- The header title of the pop-up window
- {String} textMessage
- The body text/content of the pop-up window
- {String} type
- It must be a constant variable to create pop-up window:
These are the constant values to be passed:
- gtk.WINDOW_CONFIRM The flag constant value to define as Window Confirm
- gtk.WINDOW_WARNING The flag constant value to define as Window Warning
- gtk.WINDOW_INFO The flag constant value to define as Window Info
- gtk.WINDOW_ERROR The flag constant value to define as Window Error
- gtk.WINDOW_Default The flag constant value to define as Window Default