Sha256: fb51dc4c9e36ad7a84a04aa4e0117688d39b34468894e53a3703a17cc8058857

Contents?: true

Size: 758 Bytes

Versions: 1

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_untracked 'wxTextCompleter', 'wxTextCompleterSimple'
        spec.gc_as_untracked '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

1 entries across 1 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.1 rakelib/lib/director/text_entry.rb