Import line: | Pango = imports.gi.Pango; |
GIR File: | Pango-1.0.gir |
C documentation: | Pango.Gravity |
Enum : | Gravity |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number Pango.Gravity.AUTO : 4
|
|
Number Pango.Gravity.EAST : 1
|
|
Number Pango.Gravity.NORTH : 2
|
|
Number Pango.Gravity.SOUTH : 0
|
|
Number Pango.Gravity.WEST : 3
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Pango
Method |
Create a new gravity attribute.
|
Pango
Method |
Finds the gravity that best matches the rotation component in a PangoMatrix.
|
Pango
Method |
Pango.gravity_get_for_script
(Script script, Gravity base_gravity, GravityHint hint)
:
Pango.Gravity
Based on the script, base gravity, and hint, returns actual gravity to use in laying out a single PangoItem.
|
Pango
Method |
Pango.gravity_get_for_script_and_width
(Script script, Boolean wide, Gravity base_gravity, GravityHint hint)
:
Pango.Gravity
Based on the script, East Asian width, base gravity, and hint, returns actual gravity to use in laying out a single character or PangoItem.
|
Pango
Method |
Converts a PangoGravity value to its natural rotation in radians.
|
Pango.Context
Method |
set_base_gravity
(Gravity gravity)
:
none
Sets the base gravity for the context.
|
Pango.Context
Method |
get_base_gravity
()
:
Pango.Gravity
Retrieves the base gravity for the context.
|
Pango.Context
Method |
get_gravity
()
:
Pango.Gravity
Retrieves the gravity for the context.
|
Pango.FontDescription
Method |
set_gravity
(Gravity gravity)
:
none
Sets the gravity field of a font description.
|
Pango.FontDescription
Method |
get_gravity
()
:
Pango.Gravity
Gets the gravity field of a font description.
|