Sha256: 6b69e28ccf57047933a1a742ab6bf1d788f39641e8f37c1d315c78dec397ab31

Contents?: true

Size: 1.16 KB

Versions: 4

Compression:

Stored size: 1.16 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

4 entries across 4 versions & 1 rubygems

Version Path
wxruby3-0.9.7-x64-mingw-ucrt lib/wx/doc/controlwithitems.rb
wxruby3-0.9.5-x64-mingw-ucrt lib/wx/doc/controlwithitems.rb
wxruby3-0.9.4-x64-mingw-ucrt lib/wx/doc/controlwithitems.rb
wxruby3-0.9.3-x64-mingw-ucrt lib/wx/doc/controlwithitems.rb