# :stopdoc: # This file is automatically generated by the WXRuby3 documentation # generator. Do not alter this file. # :startdoc: module Wx::GRID # Message class used by the grid table to send requests and notifications to the grid view. # A message object of this class must be sent to the grid using {Wx::GRID::Grid#process_table_message} every time the table changes, e.g. rows are added/deleted. The messages are just notifications and don't result in any actual changes but just allow the view to react to changes to the model. # # # @note This class is untracked and should not be derived from nor instances extended! class GridTableMessage < ::Object # @overload initialize() # Default constructor initializes the object to invalid state. # @return [Wx::GRID::GridTableMessage] # @overload initialize(table, id, comInt1=-1, comInt2=-1) # Constructor really initialize the message. # @param table [Wx::GRID::GridTableBase] Pointer to the grid table # @param id [Integer] One of {Wx::GRID::GridTableRequest} enum elements. # @param comInt1 [Integer] For the insert/delete messages, position after which the rows or columns are inserted/deleted. For the append messages, the number of rows or columns that were appended. # @param comInt2 [Integer] For the insert/deleted messages, number of rows or columns to be inserted/deleted. For the append messages, this parameter is not used. # @return [Wx::GRID::GridTableMessage] def initialize(*args) end # Sets the table object. # @param table [Wx::GRID::GridTableBase] # @return [void] def set_table_object(table) end alias_method :table_object=, :set_table_object # Gets the table object. # @return [Wx::GRID::GridTableBase] def get_table_object; end alias_method :table_object, :get_table_object # Sets an id. # @param id [Integer] # @return [void] def set_id(id) end alias_method :id=, :set_id # Gets an id. # @return [Integer] def get_id; end alias_method :id, :get_id # Set the position after which the insertion/deletion occur. # @param comInt1 [Integer] # @return [void] def set_command_int(comInt1) end alias_method :command_int=, :set_command_int # Get the position after which the insertion/deletion occur. # @return [Integer] def get_command_int; end alias_method :command_int, :get_command_int # Set the number of rows to be inserted/deleted. # @param comInt2 [Integer] # @return [void] def set_command_int2(comInt2) end alias_method :command_int2=, :set_command_int2 # Get the number of rows to be inserted/deleted. # @return [Integer] def get_command_int2; end alias_method :command_int2, :get_command_int2 end # GridTableMessage end