Sha256: 13b0339224a3d36d47d9c8c4c2987dffc0e1b1aa0e7e2788f0701aaf73de9736

Contents?: true

Size: 1.22 KB

Versions: 16

Compression:

Stored size: 1.22 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

16 entries across 16 versions & 1 rubygems

Version Path
wxruby3-1.4.2 lib/wx/doc/event.rb
wxruby3-1.4.1 lib/wx/doc/event.rb
wxruby3-1.4.0 lib/wx/doc/event.rb
wxruby3-1.3.1 lib/wx/doc/event.rb
wxruby3-1.3.0 lib/wx/doc/event.rb
wxruby3-1.2.1 lib/wx/doc/event.rb
wxruby3-1.2.0 lib/wx/doc/event.rb
wxruby3-1.1.2 lib/wx/doc/event.rb
wxruby3-1.1.1 lib/wx/doc/event.rb
wxruby3-1.1.0 lib/wx/doc/event.rb
wxruby3-1.0.1 lib/wx/doc/event.rb
wxruby3-0.9.8 lib/wx/doc/event.rb
wxruby3-0.9.7 lib/wx/doc/event.rb
wxruby3-0.9.5 lib/wx/doc/event.rb
wxruby3-0.9.4 lib/wx/doc/event.rb
wxruby3-0.9.3 lib/wx/doc/event.rb