# :stopdoc: # This file is automatically generated by the WXRuby3 documentation # generator. Do not alter this file. # :startdoc: module Wx # # HD_ALLOW_REORDER = 1 # # HD_ALLOW_HIDE = 2 # # HD_BITMAP_ON_RIGHT = 4 # # HD_DEFAULT_STYLE = 1 # # EVT_HEADER_CLICK = 10157 # # EVT_HEADER_RIGHT_CLICK = 10158 # # EVT_HEADER_MIDDLE_CLICK = 10159 # # EVT_HEADER_DCLICK = 10160 # # EVT_HEADER_RIGHT_DCLICK = 10161 # # EVT_HEADER_MIDDLE_DCLICK = 10162 # # EVT_HEADER_SEPARATOR_DCLICK = 10163 # # EVT_HEADER_BEGIN_RESIZE = 10164 # # EVT_HEADER_RESIZING = 10165 # # EVT_HEADER_END_RESIZE = 10166 # # EVT_HEADER_BEGIN_REORDER = 10167 # # EVT_HEADER_END_REORDER = 10168 # # EVT_HEADER_DRAGGING_CANCELLED = 10169 # Event class representing the events generated by {Wx::HeaderCtrl}. # === # # Category: {Wx::Events} # @see Wx::HeaderCtrl # # class HeaderCtrlEvent < NotifyEvent # @overload initialize(commandType=Wx::EVT_NULL, winid=0) # @param commandType [Wx::CommandLinkButton::EventType] # @param winid [Integer] # @return [Wx::HeaderCtrlEvent] # @overload initialize(event) # @param event [Wx::HeaderCtrlEvent] # @return [Wx::HeaderCtrlEvent] def initialize(*args) end # Return the index of the column affected by this event. # This method can be called for all header control events. # @return [Integer] def get_column; end alias_method :column, :get_column # @param col [Integer] # @return [void] def set_column(col) end alias_method :column=, :set_column # Return the current width of the column. # This method can only be called for the dragging events. # @return [Integer] def get_width; end alias_method :width, :get_width # @param width [Integer] # @return [void] def set_width(width) end alias_method :width=, :set_width # Return the new order of the column. # This method can only be called for a reorder event for which it indicates the tentative new position for the column {Wx::HeaderCtrlEvent#get_column} selected by the user. If the event is not vetoed, this will become the new column position in {Wx::HeaderCtrl#get_columns_order}. # @return [Integer] def get_new_order; end alias_method :new_order, :get_new_order # @param order [Integer] # @return [void] def set_new_order(order) end alias_method :new_order=, :set_new_order end # HeaderCtrlEvent end