Class: Wx::GBPosition
- Inherits:
-
Object
- Object
- Wx::GBPosition
- Defined in:
- lib/wx/doc/gen/grid_bag_sizer.rb
Overview
Note:
This class is untracked and should not be derived from nor instances extended!
This class represents the position of an item in a virtual grid of rows and columns managed by a GridBagSizer.
Category: Window Layout
Instance Method Summary collapse
-
#==(p) ⇒ Boolean
Compare equality of two GBPositions.
-
#get_col ⇒ Integer
(also: #col)
Get the current column value.
-
#get_row ⇒ Integer
(also: #row)
Get the current row value.
-
#initialize(*args) ⇒ GBPosition
constructor
A new instance of GBPosition.
-
#set_col(col) ⇒ void
(also: #col=)
Set a new column value.
-
#set_row(row) ⇒ void
(also: #row=)
Set a new row value.
Constructor Details
#initialize ⇒ Wx::GBPosition #initialize(row, col) ⇒ Wx::GBPosition
Returns a new instance of GBPosition.
284 |
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 284 def initialize(*args) end |
Instance Method Details
#==(p) ⇒ Boolean
Compare equality of two Wx::GBPositions.
311 |
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 311 def ==(p) end |
#get_col ⇒ Integer Also known as: col
Get the current column value.
288 |
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 288 def get_col; end |
#get_row ⇒ Integer Also known as: row
Get the current row value.
293 |
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 293 def get_row; end |
#set_col(col) ⇒ void Also known as: col=
This method returns an undefined value.
Set a new column value.
299 |
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 299 def set_col(col) end |
#set_row(row) ⇒ void Also known as: row=
This method returns an undefined value.
Set a new row value.
305 |
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 305 def set_row(row) end |