# :stopdoc: # This file is automatically generated by the WXRuby3 documentation # generator. Do not alter this file. # :startdoc: module Wx::HTML # This event class is used for the events generated by {Wx::HTML::HtmlWindow}. # === Events using this class # # The following event-handler methods redirect the events to member method or handler blocks for {Wx::HTML::HtmlCellEvent} events. # Event handler methods: # # - {Wx::EvtHandler#evt_html_cell_hover}(id, meth = nil, &block): User moved the mouse over a {Wx::HTML::HtmlCell}. # # - {Wx::EvtHandler#evt_html_cell_clicked}(id, meth = nil, &block): User clicked on a {Wx::HTML::HtmlCell}. When handling this event, remember to use {Wx::HTML::HtmlCell#set_link_clicked(true)} if the cell contains a link. # # === # # Category: {Wx::HTML}, {Wx::Events} # class HtmlCellEvent < CommandEvent # The constructor is not normally used by the user code. # @param commandType [Wx::CommandLinkButton::EventType] # @param id [Integer] # @param cell [Wx::HTML::HtmlCell] # @param point [Array(Integer, Integer), Wx::Point] # @param ev [Wx::MouseEvent] # @return [Wx::HTML::HtmlCellEvent] def initialize(commandType, id, cell, point, ev) end # Returns the {Wx::HTML::HtmlCellEvent} associated with the event. # @return [Wx::HTML::HtmlCell,Wx::HTML::HtmlContainerCell] def get_cell; end alias_method :cell, :get_cell # Returns true if SetLinkClicked(true) has previously been called; false otherwise. # @return [Boolean] def get_link_clicked; end alias_method :link_clicked, :get_link_clicked # Returns the {Wx::Point} associated with the event. # @return [Wx::Point] def get_point; end alias_method :point, :get_point # Returns the {Wx::MouseEvent} associated with the event. # @return [Wx::MouseEvent] def get_mouse_event; end alias_method :mouse_event, :get_mouse_event # Call this function with linkclicked set to true if the cell which has been clicked contained a link or false otherwise (which is the default). # With this function the event handler can return info to the {Wx::HTML::HtmlWindow} which sent the event. # @param linkclicked [Boolean] # @return [void] def set_link_clicked(linkclicked) end alias_method :link_clicked=, :set_link_clicked end # HtmlCellEvent end