Class: Wx::GRID::GridSizeEvent

Inherits:
NotifyEvent show all
Defined in:
lib/wx/doc/gen/grid/grid_size_event.rb

Overview

This event class contains information about a row/column resize event.

Events using this class

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

Category: Grid Related Classes, Events

Requires:

  • USE_GRID

Instance Method Summary collapse

Methods inherited from NotifyEvent

#allow, #is_allowed, #veto

Methods inherited from CommandEvent

#client_data, #client_data=, #get_client_data, #get_client_object, #get_int, #get_selection, #get_string, #is_checked, #is_selection, #set_client_data, #set_client_object, #set_extra_long, #set_int, #set_string

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

#initializeWx::GRID::GridSizeEvent #initialize(id, type, obj, rowOrCol = -1, x = -1, y = -1, kbd = (Wx::KeyboardState.new())) ⇒ Wx::GRID::GridSizeEvent

Returns a new instance of GridSizeEvent.

Overloads:

  • #initializeWx::GRID::GridSizeEvent

    Default constructor.

  • #initialize(id, type, obj, rowOrCol = -1, x = -1, y = -1, kbd = (Wx::KeyboardState.new())) ⇒ Wx::GRID::GridSizeEvent

    Constructor for initializing all event attributes.

    Parameters:

    • id (Integer)
    • type (Wx::GenericCollapsiblePane::EventType)
    • obj (Wx::Object)
    • rowOrCol (Integer) (defaults to: -1)
    • x (Integer) (defaults to: -1)
    • y (Integer) (defaults to: -1)
    • kbd (Wx::KeyboardState) (defaults to: (Wx::KeyboardState.new()))


48
# File 'lib/wx/doc/gen/grid/grid_size_event.rb', line 48

def initialize(*args) end

Instance Method Details

#alt_downBoolean

Returns true if the Alt key was down at the time of the event.

Returns:

  • (Boolean)


52
# File 'lib/wx/doc/gen/grid/grid_size_event.rb', line 52

def alt_down; end

#control_downBoolean

Returns true if the Control key was down at the time of the event.

Returns:

  • (Boolean)


56
# File 'lib/wx/doc/gen/grid/grid_size_event.rb', line 56

def control_down; end

#get_positionWx::Point Also known as: position

Position in pixels at which the event occurred.

Returns:



60
# File 'lib/wx/doc/gen/grid/grid_size_event.rb', line 60

def get_position; end

#get_row_or_colInteger Also known as: row_or_col

Row or column at that was resized.

Returns:

  • (Integer)


65
# File 'lib/wx/doc/gen/grid/grid_size_event.rb', line 65

def get_row_or_col; end

#meta_downBoolean

Returns true if the Meta key was down at the time of the event.

Returns:

  • (Boolean)


70
# File 'lib/wx/doc/gen/grid/grid_size_event.rb', line 70

def meta_down; end

#shift_downBoolean

Returns true if the Shift key was down at the time of the event.

Returns:

  • (Boolean)


74
# File 'lib/wx/doc/gen/grid/grid_size_event.rb', line 74

def shift_down; end