-
public unowned string get_font_name ()
Retrieves the name of the currently selected font. This name includes style and size information as
well. If you want to render something with the font, use this string with
from_string . If you're interested in peeking
certain values (family name, style, size, weight) just query these properties from the
FontDescription object.
-
public bool get_show_size ()
Returns whether the font size will be shown in the label.
-
public bool get_show_style ()
Returns whether the name of the font style will be shown in the label.
-
public unowned string get_title ()
Retrieves the title of the font selection dialog.
-
public bool get_use_font ()
Returns whether the selected font is used in the label.
-
public bool get_use_size ()
Returns whether the selected size is used in the label.
-
public bool set_font_name (string fontname)
Sets or updates the currently-displayed font in font picker dialog.
-
public void set_show_size (bool show_size)
If show_size is true, the font size will be displayed along with the name of
the selected font.
-
public void set_show_style (bool show_style)
If show_style is true, the font style will be displayed along with name of the
selected font.
-
public void set_title (string title)
Sets the title for the font selection dialog.
-
public void set_use_font (bool use_font)
If use_font is true, the font name will be written using the selected font.
-
public void set_use_size (bool use_size)
If use_size is true, the font name will be written using the selected size.