forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_popup
reduz edited this page May 6, 2014
·
11 revisions
####Inherits: Control ####Category: Core
Base container control for popups and dialogs.
- void popup_centered ( Vector2 size=Vector2(0,0) )
- void popup_centered_ratio ( float ratio=0.75 )
- void popup_centered_minsize ( Vector2 minsize=Vector2(0,0) )
- void popup ( )
- void set_exclusive ( bool enable )
- bool is_exclusive ( ) const
- popup_hide ( )
- about_to_show ( )
- NOTIFICATION_POST_POPUP = 80
- NOTIFICATION_POPUP_HIDE = 81
PopUp is a base Control used to show dialogs and popups. It's a subwindow and modal by default (see Control) and has helpers for custom popup behavior.
- void popup_centered ( Vector2 size=Vector2(0,0) )
Popup (show the control in modal form) in the center of the screen, at the curent size, or at a size determined by "size".
- void popup_centered_ratio ( float ratio=0.75 )
Popup (show the control in modal form) in the center of the screen, scalled at a ratio of size of the screen.
- void popup ( )
Popup (show the control in modal form).