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)


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.

Parameters:

Returns:

  • (Boolean)


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

def ==(p) end

#get_colInteger Also known as: col

Get the current column value.

Returns:

  • (Integer)


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

def get_col; end

#get_rowInteger Also known as: row

Get the current row value.

Returns:

  • (Integer)


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.

Parameters:

  • col (Integer)


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.

Parameters:

  • row (Integer)


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

def set_row(row) end