Class: Wx::Position
- Inherits:
-
Object
- Object
- Wx::Position
- Defined in:
- lib/wx/doc/gen/hv_scrolled_window.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 any kind of grid of rows and columns such as GridBagSizer, or HVScrolledWindow.
Category: Data Structures
Instance Method Summary collapse
- #+(*args) ⇒ Object
- #-(*args) ⇒ Object
- #==(pos) ⇒ Boolean
-
#get_col ⇒ Integer
(also: #col)
A synonym for #get_column.
-
#get_column ⇒ Integer
(also: #column)
Get the current row value.
-
#get_row ⇒ Integer
(also: #row)
Get the current row value.
-
#initialize(*args) ⇒ Position
constructor
A new instance of Position.
-
#set_col(column) ⇒ void
(also: #col=)
A synonym for #set_column.
-
#set_column(column) ⇒ void
(also: #column=)
Set a new column value.
-
#set_row(row) ⇒ void
(also: #row=)
Set a new row value.
Constructor Details
#initialize ⇒ Wx::Position #initialize(row, col) ⇒ Wx::Position
Returns a new instance of Position.
685 |
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 685 def initialize(*args) end |
Instance Method Details
#+(pos) ⇒ Wx::Position #+(size) ⇒ Wx::Position
667 |
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 667 def +(*args) end |
#-(pos) ⇒ Wx::Position #-(size) ⇒ Wx::Position
675 |
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 675 def -(*args) end |
#==(pos) ⇒ Boolean
659 |
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 659 def ==(pos) end |
#get_col ⇒ Integer Also known as: col
A synonym for #get_column.
689 |
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 689 def get_col; end |
#get_column ⇒ Integer Also known as: column
Get the current row value.
694 |
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 694 def get_column; end |
#get_row ⇒ Integer Also known as: row
Get the current row value.
699 |
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 699 def get_row; end |
#set_col(column) ⇒ void Also known as: col=
This method returns an undefined value.
A synonym for #set_column.
705 |
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 705 def set_col(column) end |
#set_column(column) ⇒ void Also known as: column=
This method returns an undefined value.
Set a new column value.
711 |
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 711 def set_column(column) end |
#set_row(row) ⇒ void Also known as: row=
This method returns an undefined value.
Set a new row value.
717 |
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 717 def set_row(row) end |