Class: Wx::Position

Inherits:
Object
  • Object
show all
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

See Also:

Instance Method Summary collapse

Constructor Details

#initializeWx::Position #initialize(row, col) ⇒ Wx::Position

Returns a new instance of Position.

Overloads:

  • #initializeWx::Position

    Construct a new Wx::Position, setting the row and column to the default value of (0, 0).

  • #initialize(row, col) ⇒ Wx::Position

    Construct a new Wx::Position, setting the row and column to the value of (row, col).

    Parameters:

    • row (Integer)
    • col (Integer)


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

Overloads:



667
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 667

def +(*args) end

#-(pos) ⇒ Wx::Position #-(size) ⇒ Wx::Position

Overloads:



675
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 675

def -(*args) end

#==(pos) ⇒ Boolean

Parameters:

Returns:

  • (Boolean)


659
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 659

def ==(pos) end

#get_colInteger Also known as: col

A synonym for #get_column.

Returns:

  • (Integer)


689
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 689

def get_col; end

#get_columnInteger Also known as: column

Get the current row value.

Returns:

  • (Integer)


694
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 694

def get_column; end

#get_rowInteger Also known as: row

Get the current row value.

Returns:

  • (Integer)


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.

Parameters:

  • column (Integer)


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.

Parameters:

  • column (Integer)


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.

Parameters:

  • row (Integer)


717
# File 'lib/wx/doc/gen/hv_scrolled_window.rb', line 717

def set_row(row) end