Sha256: 40afe355ddf1d06a2bd12191cd141f2a69746de6a6d0bfb45e619b2c28b74a9a

Contents?: true

Size: 708 Bytes

Versions: 9

Compression:

Stored size: 708 Bytes

Contents

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

require_relative './event'

module WXRuby3

  class Director

    class RibbonGalleryEvent < Event

      def setup
        super
        # map opaque wxRibbonGalleryItem* to an pointer sized integer value
        spec.map 'wxRibbonGalleryItem*' => 'Integer' do
          map_out code: '$result = ULL2NUM(reinterpret_cast<uintptr_t> ($1));'
          map_in code: '$1 = reinterpret_cast<wxRibbonGalleryItem*> ((uintptr_t)NUM2ULL($input));'
        end
        spec.do_not_generate :variables, :enums, :defines, :functions
      end
    end # class RibbonGalleryEvent

  end # class Director

end # module WXRuby3

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3 rakelib/lib/director/ribbon_gallery_event.rb
wxruby3-0.9.0.pre.rc.2 rakelib/lib/director/ribbon_gallery_event.rb
wxruby3-0.9.0.pre.rc.1 rakelib/lib/director/ribbon_gallery_event.rb
wxruby3-0.9.0.pre.beta.14 rakelib/lib/director/ribbon_gallery_event.rb
wxruby3-0.9.0.pre.beta.13 rakelib/lib/director/ribbon_gallery_event.rb
wxruby3-0.9.0.pre.beta.11 rakelib/lib/director/ribbon_gallery_event.rb
wxruby3-0.9.0.pre.beta.10 rakelib/lib/director/ribbon_gallery_event.rb
wxruby3-0.9.0.pre.beta.9 rakelib/lib/director/ribbon_gallery_event.rb
wxruby3-0.9.0.pre.beta.8 rakelib/lib/director/ribbon_gallery_event.rb