Class: Wx::ShowEvent
Overview
An event being sent when the window is shown or hidden.
The event is triggered by calls to Window#show, and any user action showing a previously hidden window or vice versa (if allowed by the current platform and/or window manager). Notice that the event is not triggered when the application is iconized (minimized) or restored under WXMSW.
Events using this class
The following event-handler methods redirect the events to member method or handler blocks for ShowEvent events. Event handler methods:
-
EvtHandler#evt_show(meth = nil, &block): Process a EVT_SHOW event.
Category: Events
Instance Method Summary collapse
-
#initialize(winid = 0, show = false) ⇒ Wx::ShowEvent
constructor
Constructor.
-
#is_shown ⇒ Boolean
(also: #shown?)
Return true if the window has been shown, false if it has been hidden.
-
#set_show(show) ⇒ void
(also: #show=)
Set whether the windows was shown or hidden.
Methods inherited from Event
#clone, #get_event_category, #get_event_object, #get_event_type, #get_id, #get_skipped, #get_timestamp, #is_command_event, #resume_propagation, #set_event_object, #set_event_type, #set_id, #set_timestamp, #should_propagate, #skip, #stop_propagation
Methods inherited from Object
#clone, #dup, #is_same_as, #un_share
Constructor Details
#initialize(winid = 0, show = false) ⇒ Wx::ShowEvent
Constructor.
1843 |
# File 'lib/wx/doc/gen/events.rb', line 1843 def initialize(winid=0, show=false) end |
Instance Method Details
#is_shown ⇒ Boolean Also known as: shown?
Return true if the window has been shown, false if it has been hidden.
1853 |
# File 'lib/wx/doc/gen/events.rb', line 1853 def is_shown; end |
#set_show(show) ⇒ void Also known as: show=
This method returns an undefined value.
Set whether the windows was shown or hidden.
1848 |
# File 'lib/wx/doc/gen/events.rb', line 1848 def set_show(show) end |