Inheritance diagram for FontSelectionDialog:
Public Member Functions | |
this (char *title) | |
Creates a new font selection dialog with a title. | |
String | getFontName () |
This returns the X Logical Font Description fontname, or NULL if no font is selected. | |
bit | setFontName (String fontname) |
This sets the currently displayed font. | |
String | getPreviewText () |
This returns the text in the preview entry. | |
Static Public Member Functions | |
GType | getType () |
gets this class type |
|
This returns the X Logical Font Description fontname, or NULL if no font is selected. Note that there is a slight possibility that the font might not have been loaded OK. You should call gtk_font_selection_dialog_get_font() to see if it has been loaded OK. You should g_free() the returned font name after you're done with it.
|
|
This returns the text in the preview entry. You should copy the returned text if you need it.
|
|
gets this class type
Reimplemented from Dialog. |
|
This sets the currently displayed font. It should be a valid X Logical Font Description font name (anything else will be ignored), e.g. "-adobe-courier-bold-o-normal--25-*-*-*-*-*-*-*"
|
|
Creates a new font selection dialog with a title.
|