Class: Wx::GBPosition

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

Constructor Details

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

Returns a new instance of GBPosition.

Overloads:

  • #initializeWx::GBPosition

    Default constructor, setting the row and column to (0,0).

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

    Construct a new Wx::GBPosition, setting the row and column.

    Parameters:

    • row (Integer)
    • col (Integer)


291
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 291

def initialize(*args) end

Instance Method Details

#==(p) ⇒ Boolean

Compare equality of two Wx::GBPositions.

Parameters:

Returns:

  • (Boolean)


318
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 318

def ==(p) end

#get_colInteger Also known as: col

Get the current column value.

Returns:

  • (Integer)


295
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 295

def get_col; end

#get_rowInteger Also known as: row

Get the current row value.

Returns:

  • (Integer)


300
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 300

def get_row; end

#set_col(col) ⇒ void Also known as: col=

This method returns an undefined value.

Set a new column value.

Parameters:

  • col (Integer)


306
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 306

def set_col(col) end

#set_row(row) ⇒ void Also known as: row=

This method returns an undefined value.

Set a new row value.

Parameters:

  • row (Integer)


312
# File 'lib/wx/doc/gen/grid_bag_sizer.rb', line 312

def set_row(row) end