************* wx.GBPosition ************* Inheritance diagram for `wx.GBPosition`: | .. inheritance-diagram:: 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. Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `Get <#Get>`_ * `GetCol <#GetCol>`_ * `GetRow <#GetRow>`_ * `Set <#Set>`_ * `SetCol <#SetCol>`_ * `SetRow <#SetRow>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `col <#col>`_ * `row <#row>`_ Class API ========= Methods ^^^^^^^ .. method:: __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 `_ -------- .. method:: Get() `No docstrings available for this method.` -------- .. method:: GetCol() Get the current column value. | **Returns:** `int` -------- .. method:: GetRow() Get the current row value. | **Returns:** `int` -------- .. method:: Set(row=0, col=0) Set a new column and row values. **Parameters:** * `row` (int) * `col` (int) -------- .. method:: SetCol(col) Set a new column value. **Parameters:** * `col` (int) -------- .. method:: SetRow(row) Set a new row value. **Parameters:** * `row` (int) -------- Properties ^^^^^^^^^^ .. attribute:: col See `GetCol <#GetCol>`_ and `SetCol <#SetCol>`_ .. attribute:: row See `GetRow <#GetRow>`_ and `SetRow <#SetRow>`_