Parent

Methods

Files

Wx::Sizer

Class for automatically managing layouts

Constants

ADD_ITEM_PARAMS
Generic method to add items, supporting positional and named arguments

Public Instance Methods

add_item(item, *mixed_args) click to toggle source

(Not documented)

# File wx/classes/sizer.rb, line 11
  def add_item(item, *mixed_args)
    args = Wx::args_as_list(ADD_ITEM_PARAMS, *mixed_args)

    # Call add to append if default position
    idx = args.shift
    if idx == -1
      add(item, *args)
    else
      insert(idx, item, *args)
    end
  end

Disabled; run with $DEBUG to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.