Sha256: 39b11f9de4b2e245b59fe06fbb10bcc3f5319d21737fbd0993f17e03568b19f1

Contents?: true

Size: 1.26 KB

Versions: 4

Compression:

Stored size: 1.26 KB

Contents

# :stopdoc:
# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.
# :startdoc:


module Wx

  class Event

    # Constructor
    # @param [Integer] evt_type
    # @param [Integer] id
    # @param [Wx::EventPropagation] prop_level
    def initialize(evt_type = Wx::EVT_NULL, id = 0, prop_level = Wx::EVENT_PROPAGATE_NONE) end

    # Returns a copy of the event.
    # Any event that is posted to the wxRuby event system for later action (via {Wx::EvtHandler#add_pending_event},
    # {Wx::EvtHandler#queue_event} or {Wx::EvtHandler#post_event}) must implement this method.
    # All standard wxRuby events fully implement this method and wxRuby has taken care of correctly handling this
    # for any user defined event classes derived from either Wx::Event or Wx::CommandEvent.
    # Creating user defined event classes derived for other classes than Wx::Event or Wx::CommandEvent is currently
    # *not* supported in wxRuby.
    # @return [Wx::Event]
    def clone; end

  end

  class CommandEvent < Event

    alias :set_client_data :set_client_object

    alias :client_data= :set_client_object

    alias :get_client_data :get_client_object

    alias :client_data :get_client_object

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wxruby3-0.9.7-x64-mingw-ucrt lib/wx/doc/event.rb
wxruby3-0.9.5-x64-mingw-ucrt lib/wx/doc/event.rb
wxruby3-0.9.4-x64-mingw-ucrt lib/wx/doc/event.rb
wxruby3-0.9.3-x64-mingw-ucrt lib/wx/doc/event.rb