Sha256: 16138e8ca5a062854491379486437fb4904c8b9c8b0d52c4c0154ee4d9efabda

Contents?: true

Size: 1.12 KB

Versions: 13

Compression:

Stored size: 1.12 KB

Contents

# :stopdoc:
# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.
# :startdoc:


module Wx

  class ControlWithItems

    alias :get_client_data :get_client_object

    alias :set_client_data :set_client_object

    alias :has_client_data :has_client_object_data

    alias :has_client_data? :has_client_object_data

    # Yield each string to the given block.
    # Returns an Enumerator if no block given.
    # @yieldparam [String] string the string yielded
    # @return [Object,Enumerator] last result of block or Enumerator if no block given.
    def each_string; end

    # Returns true if the items in the control are sorted
    # (style Wx::LB_SORT for list boxes or Wx::CB_SORT for combo boxes).
    # This method is mostly meant for internal use only.
    # @return [Boolean] true is sorted, false otherwise
    def is_sorted; end
    alias :sorted? :is_sorted

    alias :get_list_selection :get_selection

    alias :set_list_selection :set_selection

    alias :get_list_string_selection :get_string_selection

    alias :set_list_string_selection :set_string_selection

  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
wxruby3-1.3.1 lib/wx/doc/controlwithitems.rb
wxruby3-1.3.0 lib/wx/doc/controlwithitems.rb
wxruby3-1.2.1 lib/wx/doc/controlwithitems.rb
wxruby3-1.2.0 lib/wx/doc/controlwithitems.rb
wxruby3-1.1.2 lib/wx/doc/controlwithitems.rb
wxruby3-1.1.1 lib/wx/doc/controlwithitems.rb
wxruby3-1.1.0 lib/wx/doc/controlwithitems.rb
wxruby3-1.0.1 lib/wx/doc/controlwithitems.rb
wxruby3-0.9.8 lib/wx/doc/controlwithitems.rb
wxruby3-0.9.7 lib/wx/doc/controlwithitems.rb
wxruby3-0.9.5 lib/wx/doc/controlwithitems.rb
wxruby3-0.9.4 lib/wx/doc/controlwithitems.rb
wxruby3-0.9.3 lib/wx/doc/controlwithitems.rb