wx.GBSpan

Inheritance diagram for wx.GBSpan:



Description

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

Properties Summary

Class API

Methods

__init__(rowspan=1, colspan=1)

Construct a new wx.GBSpan, optionally setting the rowspan and colspan.

The default is (1, 1), meaning that the item occupies one cell in each direction.

Parameters:

  • rowspan (int)
  • colspan (int)

Returns:

wx.GBSpan


Get()

Returns:

PyObject


GetColspan()

Get the current colspan value.


Returns:

int


GetRowspan()

Get the current rowspan value.


Returns:

int


Set(rowspan=1, colspan=1)

Sets the rowspan and colspan attributes for wx.GBSpan.

Parameters:

  • rowspan (int)
  • colspan (int)

SetColspan(colspan)

Set a new colspan value.

Parameters:

  • colspan (int)

SetRowspan(rowspan)

Set a new rowspan value.

Parameters:

  • rowspan (int)

Properties

colspan
See GetColSpan
rowspan
See GetRowSpan