Back to Seed Clases

Gdk


Classes

Interfaces

Structs

Unions

Enums

Struct Gdk.Font

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
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
 
new Gdk.Font ()
Create a new Gdk.Font
Create a new Gdk.Font
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gdk
Method
Gdk.char_height (Font font, Number character) : Number
Determines the total height of a given character.
Gdk
Method
Gdk.char_measure (Font font, Number character) : Number
Determines the distance from the origin to the rightmost portion of a character when drawn.
Gdk
Method
Gdk.char_width (Font font, Number character) : Number
Determines the width of a given character.
Gdk
Method
Gdk.char_width_wc (Font font, Number character) : Number
Determines the width of a given wide character.
Gdk
Method
Gdk.draw_string (Drawable drawable, Font font, GC gc, Number x, Number y, String string) : none
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
Gdk.font_from_description (FontDescription font_desc) : Gdk.Font
Load a GdkFont based on a Pango font description.
Gdk
Method
Gdk.font_from_description_for_display (Display display, FontDescription font_desc) : Gdk.Font
Loads a GdkFont based on a Pango font description for use on display.
Gdk
Method
Gdk.font_load (String font_name) : Gdk.Font
Loads a font.
Gdk
Method
Gdk.font_load_for_display (Display display, String font_name) : Gdk.Font
Loads a font for use on display.
Gdk
Method
Gdk.fontset_load (String fontset_name) : Gdk.Font
Loads a fontset.
Gdk
Method
Gdk.fontset_load_for_display (Display display, String fontset_name) : Gdk.Font
Loads a fontset for use on display.
Gdk
Method
Gdk.string_extents (Font font, String string) : Object
Gets the metrics of a nul-terminated string.
Gdk
Method
Gdk.string_height (Font font, String string) : Number
Determines the total height of a given nul-terminated string.
Gdk
Method
Gdk.string_measure (Font font, String string) : Number
Determines the distance from the origin to the rightmost portion of a nul-terminated string when drawn.
Gdk
Method
Gdk.string_width (Font font, String string) : Number
Determines the width of a nul-terminated string.
Gdk
Method
Gdk.text_extents (Font font, String text, Number text_length) : Object
Gets the metrics of a string.
Gdk
Method
Gdk.text_extents_wc (Font font, Number text, Number text_length) : Object
Gets the metrics of a string of wide characters.
Gdk
Method
Gdk.text_height (Font font, String text, Number text_length) : Number
Determines the total height of a given string.
Gdk
Method
Gdk.text_measure (Font font, String text, Number text_length) : Number
Determines the distance from the origin to the rightmost portion of a string when drawn.
Gdk
Method
Gdk.text_width (Font font, String text, Number text_length) : Number
Determines the width of a given string.
Gdk
Method
Gdk.text_width_wc (Font font, Number text, Number text_length) : Number
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.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:33:25 GMT+0800 (HKT)