Import line: | Pango = imports.gi.Pango; |
GIR File: | Pango-1.0.gir |
C documentation: | Pango.GravityHint |
Enum : | GravityHint |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number Pango.GravityHint.LINE : 2
|
|
Number Pango.GravityHint.NATURAL : 0
|
|
Number Pango.GravityHint.STRONG : 1
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Pango
Method |
Create a new gravity hint attribute.
|
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.Context
Method |
set_gravity_hint
(GravityHint hint)
:
none
Sets the gravity hint for the context.
|
Pango.Context
Method |
get_gravity_hint
()
:
Pango.GravityHint
Retrieves the gravity hint for the context.
|