GridLayoutChild

class GridLayoutChild(**properties: Any)

Superclasses: LayoutChild, Object

GtkLayoutChild subclass for children in a GtkGridLayout.

Methods

class GridLayoutChild
get_column() int

Retrieves the column number to which child attaches its left side.

get_column_span() int

Retrieves the number of columns that child spans to.

get_row() int

Retrieves the row number to which child attaches its top side.

get_row_span() int

Retrieves the number of rows that child spans to.

set_column(column: int) None

Sets the column number to attach the left side of child.

Parameters:

column – the attach point for child

set_column_span(span: int) None

Sets the number of columns child spans to.

Parameters:

span – the span of child

set_row(row: int) None

Sets the row to place child in.

Parameters:

row – the row for child

set_row_span(span: int) None

Sets the number of rows child spans to.

Parameters:

span – the span of child

Properties

class GridLayoutChild
props.column: int

The column to place the child in.

props.column_span: int

The number of columns the child spans to.

props.row: int

The row to place the child in.

props.row_span: int

The number of rows the child spans to.