wxRuby Documentation Home

Wx::GBSpan

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

Derived from

No base class

Methods

GBSpan.new

GBSpan.new(%(arg-type)Integer% rowspan, Integer colspan)

Construct a new GBSpan, optionally setting the rowspan and colspan.
The default is (1,1). (Meaning that the item occupies one cell in
each direction.

GBSpan#get_colspan

Integer get_colspan()

Get the current colspan value.

GBSpan#get_rowspan

Integer get_rowspan()

Get the current rowspan value.

GBSpan#set_colspan

set_colspan(%(arg-type)Integer% colspan)

Set a new colspan value.

GBSpan#set_rowspan

set_rowspan(%(arg-type)Integer% rowspan)

Set a new rowspan value.

GBSpan::operator!

Boolean operator!(%(arg-type)GBSpan% o)

Is the GBSpan valid? (An invalid GBSpan is (-1,-1). )

GBSpan::operator==

bool operator operator==(%(arg-type)GBSpan% o)

Compare equality of two GBSpans.

[This page automatically generated from the Textile source at 2023-06-03 08:07:32 +0000]