wx.GBPosition

Inheritance diagram for wx.GBPosition:



Description

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

wxPython has typemaps that will automatically convert from a 2-element sequence of integers to a wx.GBPosition, so you can use the more pythonic representation of the position nearly transparently in Python code.

Properties Summary

Class API

Methods

__init__(row=0, col=0)

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

wxPython has typemaps that will automatically convert from a 2-element sequence of integers to a wx.GBPosition, so you can use the more pythonic representation of the position nearly transparently in Python code.

Parameters:

  • row (int)
  • col (int)

Returns:

wx.GBPosition


Get()
No docstrings available for this method.

GetCol()

Get the current column value.


Returns:

int


GetRow()

Get the current row value.


Returns:

int


Set(row=0, col=0)

Set a new column and row values.

Parameters:

  • row (int)
  • col (int)

SetCol(col)

Set a new column value.

Parameters:

  • col (int)

SetRow(row)

Set a new row value.

Parameters:

  • row (int)

Properties

col
See GetCol and SetCol
row
See GetRow and SetRow