| Import line: | Pango = imports.gi.Pango; |
| GIR File: | Pango-1.0.gir |
| C documentation: | Pango.Color |
| Struct : | Color |
| Show / Hide Inherited methods, properties and signals |
| Properties | Defined By | |
|---|---|---|
|
blue : Number
|
Pango.Color | |
|
green : Number
|
Pango.Color | |
|
red : Number
|
Pango.Color | |
| Method / Constructor | Defined By | |
|---|---|---|
|
new Pango.Color
()
Create a new Pango.Color
Create a new Pango.Color
|
||
|
copy
()
:
Pango.Color
Creates a copy of src, which should be freed with pango_color_free().
Creates a copy of src, which should be freed with pango_color_free(). Primarily used by language bindings, not that useful otherwise (since colors can just be copied by assignment in C). be freed with pango_color_free(), or NULL if src was NULL.
|
Pango.Color | |
|
free
()
:
none
Frees a color allocated by pango_color_copy().
Frees a color allocated by pango_color_copy().
|
Pango.Color | |
|
Fill in the fields of a color from a string specification.
Fill in the fields of a color from a string specification. The string can either one of a large set of standard names. (Taken from the X11
|
Pango.Color | |
|
to_string
()
:
String
Returns a textual specification of color in the hexadecimal form
Returns a textual specification of color in the hexadecimal form
|
Pango.Color | |
| None |
| Class / Namespace | Method / Signal / Properties |
|---|---|
|
Pango.Renderer
Method |
set_color
(RenderPart part, Color color)
:
none
Sets the color for part of the rendering.
|
|
Pango.Renderer
Method |
get_color
(RenderPart part)
:
Pango.Color
Gets the current rendering color for the specified part.
|
|
PangoXft.Renderer
Method |
set_default_color
(Color default_color)
:
none
Sets the default foreground color for a XftRenderer.
|