Sha256: 7866aaf33c78a80919006785dbc7aab3fb60ea92af64099b1436c79a0697a438

Contents?: true

Size: 1.64 KB

Versions: 4

Compression:

Stored size: 1.64 KB

Contents

###
# wxRuby3 wxWidgets interface director
# Copyright (c) M.J.N. Corino, The Netherlands
###

require_relative './event'

module WXRuby3

  class Director

    class Events < Event

      def setup
        super
        spec.items.replace(%w[
          wxIdleEvent wxNotifyEvent wxScrollEvent wxScrollWinEvent wxMouseEvent wxMouseState
          wxSetCursorEvent wxGestureEvent wxPanGestureEvent wxZoomGestureEvent wxRotateGestureEvent
          wxTwoFingerTapEvent wxLongPressEvent wxPressAndTapEvent wxKeyEvent wxKeyboardState
          wxSizeEvent wxMoveEvent wxPaintEvent wxEraseEvent wxFocusEvent wxActivateEvent
          wxInitDialogEvent wxMenuEvent wxCloseEvent wxShowEvent wxIconizeEvent wxMaximizeEvent
          wxFullScreenEvent wxJoystickEvent wxDropFilesEvent wxUpdateUIEvent wxSysColourChangedEvent
          wxMouseCaptureChangedEvent wxMouseCaptureLostEvent wxDisplayChangedEvent wxDPIChangedEvent
          wxPaletteChangedEvent wxQueryNewPaletteEvent wxNavigationKeyEvent wxWindowCreateEvent
          wxWindowDestroyEvent wxHelpEvent wxClipboardTextEvent wxContextMenuEvent wxChildFocusEvent
          ])
        spec.fold_bases('wxMouseEvent' => 'wxMouseState', 'wxKeyEvent' => 'wxKeyboardState')
        spec.set_only_for 'WXWIN_COMPATIBILITY_2_8', 'wxShowEvent::GetShow', 'wxIconizeEvent::Iconized'
        spec.ignore 'wxKeyEvent::GetPosition(wxCoord *,wxCoord *) const'
        spec.ignore 'wxMouseState::GetPosition(int *,int *)'
        spec.ignore 'wxShowEvent::GetShow', 'wxIconizeEvent::Iconized'
        spec.do_not_generate(:variables, :defines, :enums, :functions)
      end

    end # class Events

  end # class Director

end # module WXRuby3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.beta.11 rakelib/lib/director/events.rb
wxruby3-0.9.0.pre.beta.10 rakelib/lib/director/events.rb
wxruby3-0.9.0.pre.beta.9 rakelib/lib/director/events.rb
wxruby3-0.9.0.pre.beta.8 rakelib/lib/director/events.rb