Sha256: 8bcf7b549d02248e988f62be238eac339be0a7abc8c1febb62c7321afd2ea77c

Contents?: true

Size: 1.65 KB

Versions: 10

Compression:

Stored size: 1.65 KB

Contents

# :stopdoc:
# This file is automatically generated by the WXRuby3 documentation 
# generator. Do not alter this file.
# :startdoc:


module Wx

  # This event class is used for the events generated by {Wx::SpinButton} and {Wx::SpinCtrl}.
  # === Events using this class
  # 
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::SpinEvent} events.
  # Event handler methods:
  # - {Wx::EvtHandler#evt_spin}(id, meth = nil, &block): Generated whenever an arrow is pressed. 
  # - {Wx::EvtHandler#evt_spin_up}(id, meth = nil, &block): Generated when left/up arrow is pressed. 
  # - {Wx::EvtHandler#evt_spin_down}(id, meth = nil, &block): Generated when right/down arrow is pressed. 
  # 
  # Note that if you handle both SPIN and UP or DOWN events, you will be notified about each of them twice: first the UP/DOWN event will be received and then, if it wasn't vetoed, the SPIN event will be sent.
  # === 
  # 
  # Category:  {Wx::Events}
  # @see Wx::SpinButton and Wx::SpinCtrl 
  # 
  # 
  class SpinEvent < NotifyEvent
  
    # The constructor is not normally used by the user code.
    # @param commandType [Integer] 
    # @param id [Integer] 
    # @return [SpinEvent]
    def initialize(commandType=Wx::EVT_NULL, id=0) end
    
    # Retrieve the current spin button or control value.
    # @return [Integer]
    def get_position; end
    alias_method :position, :get_position
    
    # Set the value associated with the event.
    # @param pos [Integer] 
    # @return [void]
    def set_position(pos) end
    alias_method :position=, :set_position
    
  end # SpinEvent
  

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.2-x64-mingw-ucrt lib/wx/doc/gen/spin_event.rb
wxruby3-0.9.0.pre.rc.1-x64-mingw-ucrt lib/wx/doc/gen/spin_event.rb
wxruby3-0.9.0.pre.beta.14-x64-mingw-ucrt lib/wx/doc/gen/spin_event.rb
wxruby3-0.9.0.pre.beta.13-x64-mingw-ucrt lib/wx/doc/gen/spin_event.rb
wxruby3-0.9.0.pre.beta.11-x64-mingw-ucrt lib/wx/doc/gen/spin_event.rb
wxruby3-0.9.0.pre.beta.10-x64-mingw-ucrt lib/wx/doc/gen/spin_event.rb
wxruby3-0.9.0.pre.beta.9-x64-mingw-ucrt lib/wx/doc/gen/spin_event.rb
wxruby3-0.9.0.pre.beta.8-x64-mingw-ucrt lib/wx/doc/gen/spin_event.rb
wxruby3-0.9.0.pre.beta.2-x64-mingw-ucrt-3.2-3.2.2 lib/wx/doc/gen/spin_event.rb
wxruby3-0.9.0.pre.beta.1-x64-mingw-ucrt-3.2 lib/wx/doc/gen/spin_event.rb