Gtk.GridLayoutChild

g GObject.Object GObject.Object Gtk.LayoutChild Gtk.LayoutChild GObject.Object->Gtk.LayoutChild Gtk.GridLayoutChild Gtk.GridLayoutChild Gtk.LayoutChild->Gtk.GridLayoutChild

Subclasses:

None

Methods

Inherited:

Gtk.LayoutChild (2), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_column ()

get_column_span ()

get_row ()

get_row_span ()

set_column (column)

set_column_span (span)

set_row (row)

set_row_span (span)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

Gtk.LayoutChild (2)

Name

Type

Flags

Short Description

column

int

r/w/en

column-span

int

r/w/en

row

int

r/w/en

row-span

int

r/w/en

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Gtk.GridLayoutChild(**kwargs)
Bases:

Gtk.LayoutChild

Abstract:

No

Structure:

Gtk.GridLayoutChildClass

GtkLayoutChild subclass for children in a GtkGridLayout.

get_column()[source]
Returns:

the column number

Return type:

int

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

get_column_span()[source]
Returns:

the number of columns

Return type:

int

Retrieves the number of columns that self spans to.

get_row()[source]
Returns:

the row number

Return type:

int

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

get_row_span()[source]
Returns:

the number of row

Return type:

int

Retrieves the number of rows that self spans to.

set_column(column)[source]
Parameters:

column (int) – the attach point for self

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

set_column_span(span)[source]
Parameters:

span (int) – the span of self

Sets the number of columns self spans to.

set_row(row)[source]
Parameters:

row (int) – the row for self

Sets the row to place self in.

set_row_span(span)[source]
Parameters:

span (int) – the span of self

Sets the number of rows self spans to.

Property Details

Gtk.GridLayoutChild.props.column
Name:

column

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The column to place the child in.

Gtk.GridLayoutChild.props.column_span
Name:

column-span

Type:

int

Default Value:

1

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The number of columns the child spans to.

Gtk.GridLayoutChild.props.row
Name:

row

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The row to place the child in.

Gtk.GridLayoutChild.props.row_span
Name:

row-span

Type:

int

Default Value:

1

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The number of rows the child spans to.