Sha256: d5cfa60b6c3457349463ded107a0c245689e12b8a75e284e01684b45f7d21618

Contents?: true

Size: 758 Bytes

Versions: 6

Compression:

Stored size: 758 Bytes

Contents

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

module WXRuby3

  class Director

    class TextEntry < Director

      def setup
        super
        spec.items << 'wxTextCompleter' << 'wxTextCompleterSimple'
        spec.gc_as_temporary 'wxTextCompleter', 'wxTextCompleterSimple'
        spec.gc_as_temporary 'wxTextEntry' # actually no GC control necessary as this is a mixin only
        # turn wxTextEntry into a mixin module
        spec.make_mixin 'wxTextEntry'
        spec.disown 'wxTextCompleter *completer' # managed by wxWidgets after passing in
        spec.map_apply 'long * OUTPUT' => 'long *' # for GetSelection
      end
    end # class TextEntry

  end # class Director

end # module WXRuby3

Version data entries

6 entries across 6 versions & 1 rubygems

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