Import line: | Gdk = imports.gi.Gdk; |
GIR File: | Gdk-2.0.gir |
C documentation: | GdkFont |
Struct : | Font |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
ascent : Number
|
Gdk.Font | |
descent : Number
|
Gdk.Font | |
type : Gdk.FontType
|
Gdk.Font |
Method / Constructor | Defined By | |
---|---|---|
new Gdk.Font
()
Create a new Gdk.Font
Create a new Gdk.Font
|
||
Gdk.Font | ||
get_display
()
:
Gdk.Display
|
Gdk.Font | |
id
()
:
Number
Returns the X Font ID for the given font.
Returns the X Font ID for the given font.
|
Gdk.Font |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gdk
Method |
Determines the total height of a given character.
|
Gdk
Method |
Determines the distance from the origin to the rightmost portion of a character when drawn.
|
Gdk
Method |
Determines the width of a given character.
|
Gdk
Method |
Determines the width of a given wide character.
|
Gdk
Method |
Draws a string of characters in the given font or fontset.
|
Gdk
Method |
Gdk.draw_text
(Drawable drawable, Font font, GC gc, Number x, Number y, String text, Number text_length)
:
none
Draws a number of characters in the given font or fontset.
|
Gdk
Method |
Gdk.draw_text_wc
(Drawable drawable, Font font, GC gc, Number x, Number y, Number text, Number text_length)
:
none
Draws a number of wide characters using the given font of fontset.
|
Gdk
Method |
Load a GdkFont based on a Pango font description.
|
Gdk
Method |
Loads a GdkFont based on a Pango font description for use on display.
|
Gdk
Method |
Loads a font.
|
Gdk
Method |
Loads a font for use on display.
|
Gdk
Method |
Loads a fontset.
|
Gdk
Method |
Loads a fontset for use on display.
|
Gdk
Method |
Gets the metrics of a nul-terminated string.
|
Gdk
Method |
Determines the total height of a given nul-terminated string.
|
Gdk
Method |
Determines the distance from the origin to the rightmost portion of a nul-terminated string when drawn.
|
Gdk
Method |
Determines the width of a nul-terminated string.
|
Gdk
Method |
Gets the metrics of a string.
|
Gdk
Method |
Gets the metrics of a string of wide characters.
|
Gdk
Method |
Determines the total height of a given string.
|
Gdk
Method |
Determines the distance from the origin to the rightmost portion of a string when drawn.
|
Gdk
Method |
Determines the width of a given string.
|
Gdk
Method |
Determines the width of a given wide-character string.
|
Gdk.GC
Method |
set_font
(Font font)
:
none
Sets the font for a graphics context.
|
Gtk.FontSelection
Property |
font : Gdk.Font
read only
|
Gtk.FontSelection
Method |
get_font
()
:
Gdk.Font
Gets the currently-selected font.
|
Gtk.FontSelectionDialog
Method |
get_font
()
:
Gdk.Font
Gets the currently-selected font.
|
Gtk.Style
Method |
get_font
()
:
Gdk.Font
Gets the GdkFont to use for the given style.
|
Gtk.Style
Method |
set_font
(Font font)
:
none
Sets the GdkFont to use for a given style.
|