Class: Wx::GBSpan

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/doc/gen/grid_bag_sizer.rb

Overview

Note:

This class is untracked and should not be derived from nor instances extended!

This class is used to hold the row and column spanning attributes of items in a GridBagSizer.

Category: Window Layout

Instance Method Summary collapse

Constructor Details

#initializeWx::GBSpan #initialize(rowspan, colspan) ⇒ Wx::GBSpan

Returns a new instance of GBSpan.

Overloads:

  • #initializeWx::GBSpan

    Default constructor, setting the rowspan and colspan to (1,1) meaning that the item occupies one cell in each direction.

  • #initialize(rowspan, colspan) ⇒ Wx::GBSpan

    Construct a new Wx::GBSpan, setting the rowspan and colspan.

    Parameters:

    • rowspan (Integer)
    • colspan (Integer)


237
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 237

def initialize(*args) end

Instance Method Details

#==(o) ⇒ Boolean

Compare equality of two Wx::GBSpans.

Parameters:

Returns:

  • (Boolean)


264
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 264

def ==(o) end

#get_colspanInteger Also known as: colspan

Get the current colspan value.

Returns:

  • (Integer)


241
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 241

def get_colspan; end

#get_rowspanInteger Also known as: rowspan

Get the current rowspan value.

Returns:

  • (Integer)


246
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 246

def get_rowspan; end

#set_colspan(colspan) ⇒ void Also known as: colspan=

This method returns an undefined value.

Set a new colspan value.

Parameters:

  • colspan (Integer)


252
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 252

def set_colspan(colspan) end

#set_rowspan(rowspan) ⇒ void Also known as: rowspan=

This method returns an undefined value.

Set a new rowspan value.

Parameters:

  • rowspan (Integer)


258
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 258

def set_rowspan(rowspan) end