# ---------------------------------------------------------------------------- # This file is automatically generated by the WXRuby3 documentation # generator. Do not alter this file. # ---------------------------------------------------------------------------- module Wx class EvtHandler # @!group RTC Event handler methods # Process a {Wx::RTC::EVT_RICHTEXT_LEFT_CLICK} event, generated when the user releases the left mouse button over an object. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_left_click(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_RIGHT_CLICK} event, generated when the user releases the right mouse button over an object. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_right_click(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_MIDDLE_CLICK} event, generated when the user releases the middle mouse button over an object. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_middle_click(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_LEFT_DCLICK} event, generated when the user double-clicks an object. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_left_dclick(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_RETURN} event, generated when the user presses the return key. Valid event functions: GetFlags, GetPosition. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_return(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_CHARACTER} event, generated when the user presses a character key. Valid event functions: GetFlags, GetPosition, GetCharacter. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_character(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_CONSUMING_CHARACTER} event, generated when the user presses a character key but before it is processed and inserted into the control. Call Veto to prevent normal processing. Valid event functions: GetFlags, GetPosition, GetCharacter, Veto. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_consuming_character(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_DELETE} event, generated when the user presses the backspace or delete key. Valid event functions: GetFlags, GetPosition. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_delete(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_STYLE_CHANGED} event, generated when styling has been applied to the control. Valid event functions: GetPosition, GetRange. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_style_changed(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_STYLESHEET_CHANGING} event, generated when the control's stylesheet has changed, for example the user added, edited or deleted a style. Valid event functions: GetRange, GetPosition. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_stylesheet_changed(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_STYLESHEET_REPLACING} event, generated when the control's stylesheet is about to be replaced, for example when a file is loaded into the control. Valid event functions: Veto, GetOldStyleSheet, GetNewStyleSheet. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_stylesheet_replacing(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_STYLESHEET_REPLACED} event, generated when the control's stylesheet has been replaced, for example when a file is loaded into the control. Valid event functions: GetOldStyleSheet, GetNewStyleSheet. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_stylesheet_replaced(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_PROPERTIES_CHANGED} event, generated when properties have been applied to the control. Valid event functions: GetPosition, GetRange. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_properties_changed(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_CONTENT_INSERTED} event, generated when content has been inserted into the control. Valid event functions: GetPosition, GetRange. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_content_inserted(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_CONTENT_DELETED} event, generated when content has been deleted from the control. Valid event functions: GetPosition, GetRange. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_content_deleted(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_BUFFER_RESET} event, generated when the buffer has been reset by deleting all content. You can use this to set a default style for the first new paragraph. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_buffer_reset(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_SELECTION_CHANGED} event, generated when the selection range has changed. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_selection_changed(id, meth = nil, &block) end # Process a {Wx::RTC::EVT_RICHTEXT_FOCUS_OBJECT_CHANGED} event, generated when the current focus object has changed. # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc # @yieldparam [Wx::RTC::RichTextEvent] event the event to handle def evt_richtext_focus_object_changed(id, meth = nil, &block) end # @!endgroup end end