# :stopdoc:
# This file is automatically generated by the WXRuby3 documentation 
# generator. Do not alter this file.
# :startdoc:


module Wx

  # A composite control containing a {Wx::RearrangeList} and the buttons allowing to move the items in it.
  # This control is in fact a panel containing the {Wx::RearrangeList} control and the "Up" and "Down" buttons to move the currently selected item up or down. It is used as the main part of a {Wx::RearrangeDialog}.
  # 
  # === 
  # 
  # Category:  {Wx::Controls}  <div class='appearance'><span class='appearance'>Appearance:</span><table class='appearance'><tr><td> Generic Appearance
  #   </td></tr></table></div>
  # 
  class RearrangeCtrl < Panel
  
    # @overload initialize()
    #   Default constructor.
    #   {Wx::RearrangeCtrl#create} must be called later to effectively create the control.
    #   @return [Wx::RearrangeCtrl]
    # @overload initialize(parent, id, pos, size, order, items, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RearrangeListNameStr)
    #   Constructor really creating the control.
    #   Please see {Wx::RearrangeCtrl#create} for the parameters description.
    #   @param parent [Wx::Window] 
    #   @param id [Integer] 
    #   @param pos [Array(Integer, Integer), Wx::Point] 
    #   @param size [Array(Integer, Integer), Wx::Size] 
    #   @param order [Array<Integer>] 
    #   @param items [Array<String>] 
    #   @param style [Integer] 
    #   @param validator [Wx::Validator] 
    #   @param name [String] 
    #   @return [Wx::RearrangeCtrl]
    def initialize(*args) end
    
    # Effectively creates the window for an object created using the default constructor.
    # The parameters of this method are the same as for {Wx::RearrangeList#create}.
    # @param parent [Wx::Window] 
    # @param id [Integer] 
    # @param pos [Array(Integer, Integer), Wx::Point] 
    # @param size [Array(Integer, Integer), Wx::Size] 
    # @param order [Array<Integer>] 
    # @param items [Array<String>] 
    # @param style [Integer] 
    # @param validator [Wx::Validator] 
    # @param name [String] 
    # @return [Boolean]
    def create(parent, id, pos, size, order, items, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RearrangeListNameStr) end
    
    # Return the listbox which is the main part of this control.
    # @return [Wx::RearrangeList]
    def get_list; end
    alias_method :list, :get_list
    
  end # RearrangeCtrl
  

end