Clutter.Margin

Fields

Name

Type

Access

Description

bottom

float

r/w

the margin from the bottom

left

float

r/w

the margin from the left

right

float

r/w

the margin from the right

top

float

r/w

the margin from the top

Methods

class

new ()

copy ()

free ()

Details

class Clutter.Margin

A representation of the components of a margin.

New in version 1.10.

classmethod new()
Returns:

a newly allocated Clutter.Margin. Use Clutter.Margin.free() to free the resources associated with it when done.

Return type:

Clutter.Margin

Creates a new Clutter.Margin.

New in version 1.10.

copy()
Returns:

a copy of the Clutter.Margin.

Return type:

Clutter.Margin

Creates a new Clutter.Margin and copies the contents of self into the newly created structure.

New in version 1.10.

free()

Frees the resources allocated by Clutter.Margin.new() and Clutter.Margin.copy().

New in version 1.10.