Maeomm Reference Documentation: hildonsmm |
It contains three tabs with the different font formatting information, and is ideally used in text editors and other applications where the font style can be selected.
Users can select font name, size, style, etc. Users can also preview text in the selected font.
The details of the chosen font can be retrieved as properties, such as "size".
Public Member Functions | ||||
FontSelectionDialog (Gtk::Window& parent, const Glib::ustring& title) | ||||
FontSelectionDialog (const Glib::ustring& title) | ||||
Glib::ustring | get_preview_text () const | |||
Gets the text in preview dialog, which does not include the reference text. | ||||
const HildonFontSelectionDialog* | gobj () const | |||
Provides access to the underlying C GtkObject. | ||||
HildonFontSelectionDialog* | gobj () | |||
Provides access to the underlying C GtkObject. | ||||
void | set_preview_text (const Glib::ustring& text) | |||
The default preview text is "The quick brown fox jumped over the lazy dogs". | ||||
virtual | ~FontSelectionDialog () | |||
Related Functions | ||||
(Note that these are not member functions.) | ||||
Hildon::FontSelectionDialog* | wrap (HildonFontSelectionDialog* object, bool take_copy=false) | |||
|
virtual Hildon::FontSelectionDialog::~FontSelectionDialog | ( | ) | [virtual] |
Hildon::FontSelectionDialog::FontSelectionDialog | ( | const Glib::ustring & | title | ) | [explicit] |
Hildon::FontSelectionDialog::FontSelectionDialog | ( | Gtk::Window & | parent, | |
const Glib::ustring & | title | |||
) |
Glib::ustring Hildon::FontSelectionDialog::get_preview_text | ( | ) | const |
Gets the text in preview dialog, which does not include the reference text.
const HildonFontSelectionDialog* Hildon::FontSelectionDialog::gobj | ( | ) | const [inline] |
HildonFontSelectionDialog* Hildon::FontSelectionDialog::gobj | ( | ) | [inline] |
void Hildon::FontSelectionDialog::set_preview_text | ( | const Glib::ustring & | text | ) |
The default preview text is "The quick brown fox jumped over the lazy dogs".
text | The text to be displayed in the preview dialog. |
Hildon::FontSelectionDialog* wrap | ( | HildonFontSelectionDialog * | object, | |
bool | take_copy = false | |||
) | [related] |
object | The C instance |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |