Class: Wx::Position
- Inherits:
-
Object
- Object
- Wx::Position
- Defined in:
- lib/wx/doc/gen/h_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.
524 |
# File 'lib/wx/doc/gen/h_scrolled_window.rb', line 524 def initialize(*args) end |
Instance Method Details
#+(pos) ⇒ Wx::Position #+(size) ⇒ Wx::Position
506 |
# File 'lib/wx/doc/gen/h_scrolled_window.rb', line 506 def +(*args) end |
#-(pos) ⇒ Wx::Position #-(size) ⇒ Wx::Position
514 |
# File 'lib/wx/doc/gen/h_scrolled_window.rb', line 514 def -(*args) end |
#==(pos) ⇒ Boolean
498 |
# File 'lib/wx/doc/gen/h_scrolled_window.rb', line 498 def ==(pos) end |
#get_col ⇒ Integer Also known as: col
A synonym for #get_column.
528 |
# File 'lib/wx/doc/gen/h_scrolled_window.rb', line 528 def get_col; end |
#get_column ⇒ Integer Also known as: column
Get the current row value.
533 |
# File 'lib/wx/doc/gen/h_scrolled_window.rb', line 533 def get_column; end |
#get_row ⇒ Integer Also known as: row
Get the current row value.
538 |
# File 'lib/wx/doc/gen/h_scrolled_window.rb', line 538 def get_row; end |
#set_col(column) ⇒ void Also known as: col=
This method returns an undefined value.
A synonym for #set_column.
544 |
# File 'lib/wx/doc/gen/h_scrolled_window.rb', line 544 def set_col(column) end |
#set_column(column) ⇒ void Also known as: column=
This method returns an undefined value.
Set a new column value.
550 |
# File 'lib/wx/doc/gen/h_scrolled_window.rb', line 550 def set_column(column) end |
#set_row(row) ⇒ void Also known as: row=
This method returns an undefined value.
Set a new row value.
556 |
# File 'lib/wx/doc/gen/h_scrolled_window.rb', line 556 def set_row(row) end |