wxRuby Documentation Home

Wx::GBPosition

This class represents the position of an item in a virtual grid of rows and columns managed by a GridBagSizer.

Derived from

No base class

Methods

GBPosition.new

GBPosition.new(Integer row,  Integer col)

Construct a new GBPosition, optionally setting the row and column. The default is (0,0).

GBPosition#get_col

Integer get_col()

Get the current column value.

GBPosition#get_row

Integer get_row()

Get the current row value.

GBPosition#set_col

set_col(Integer col)

Set a new column value.

GBPosition#set_row

set_row(Integer row)

Set a new row value.

GBPosition::operator!

Boolean operator!(GBPosition p)

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

GBPosition::operator==

bool operator operator==(GBPosition p)

Compare equality of two GBPositions.

[This page automatically generated from the Textile source at Fri Oct 31 16:06:42 +0000 2008]