Class: Wx::FullScreenEvent

Inherits:
Event show all
Defined in:
lib/wx/doc/gen/events.rb

Overview

An event being sent when the user enters or exits full screen mode.

Currently this event is only generated in the WXOSX/Cocoa port when TopLevelWindow#enable_full_screen_view is enabled and the user the user enters or exits full screen. Note that this event is not generated when TopLevelWindow#show_full_screen.

Events using this class

The following event-handler methods redirect the events to member method or handler blocks for FullScreenEvent events. Event handler methods:

Category: Events

Instance Method Summary collapse

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(id = 0, fullscreen = true) ⇒ Wx::FullScreenEvent

Constructor.

Parameters:

  • id (Integer) (defaults to: 0)
  • fullscreen (Boolean) (defaults to: true)


1938
# File 'lib/wx/doc/gen/events.rb', line 1938

def initialize(id=0, fullscreen=true) end

Instance Method Details

#is_full_screenBoolean Also known as: full_screen?

Returns true if the frame entered full screen, false if exited full screen.

Returns:

  • (Boolean)


1942
# File 'lib/wx/doc/gen/events.rb', line 1942

def is_full_screen; end