# :stopdoc: # This file is automatically generated by the WXRuby3 documentation # generator. Do not alter this file. # :startdoc: module Wx::GRID # # === Events using this class # # The following event-handler methods redirect the events to member method or handler blocks for {Wx::GRID::GridEditorCreatedEvent} events. # Event handler methods: # # - {Wx::EvtHandler#evt_grid_editor_created}(meth = nil, &block): The editor for a cell was created. Processes a {Wx::GRID::EVT_GRID_EDITOR_CREATED} event type. # # - {Wx::EvtHandler#evt_grid_cmd_editor_created}(id, meth = nil, &block): The editor for a cell was created; variant taking a window identifier. Processes a {Wx::GRID::EVT_GRID_EDITOR_CREATED} event type. # # === # # Category: Grid Related Classes, {Wx::Events} # class GridEditorCreatedEvent < CommandEvent # @overload initialize() # Default constructor. # @return [Wx::GRID::GridEditorCreatedEvent] # @overload initialize(id, type, obj, row, col, ctrl) # Constructor for initializing all event attributes. # @param id [Integer] # @param type [Wx::CommandLinkButton::EventType] # @param obj [Wx::Object] # @param row [Integer] # @param col [Integer] # @param ctrl [Wx::Control] # @return [Wx::GRID::GridEditorCreatedEvent] def initialize(*args) end # Returns the column at which the event occurred. # @return [Integer] def get_col; end alias_method :col, :get_col # Returns the edit control. # This function is preserved for compatibility, but {Wx::GRID::GridEditorCreatedEvent#get_window} should be preferred in the new code as the associated window doesn't need to be of a {Wx::Control}-derived class. # Note that if {Wx::GRID::GridEditorCreatedEvent#set_window} had been called with an object not deriving from {Wx::Control}, this method will return NULL. # @return [Wx::Control] def get_control; end alias_method :control, :get_control # Returns the row at which the event occurred. # @return [Integer] def get_row; end alias_method :row, :get_row # Returns the edit window. # @return [Wx::Window] def get_window; end alias_method :window, :get_window # Sets the column at which the event occurred. # @param col [Integer] # @return [void] def set_col(col) end alias_method :col=, :set_col # Sets the edit control. # This function is preserved for compatibility, but {Wx::GRID::GridEditorCreatedEvent#set_window} should be preferred in the new code, see {Wx::GRID::GridEditorCreatedEvent#get_control}. # @param ctrl [Wx::Control] # @return [void] def set_control(ctrl) end alias_method :control=, :set_control # Sets the row at which the event occurred. # @param row [Integer] # @return [void] def set_row(row) end alias_method :row=, :set_row # Sets the edit window. # @param window [Wx::Window] # @return [void] def set_window(window) end alias_method :window=, :set_window end # GridEditorCreatedEvent end