A Pango::Fontset is used to represent a set of fonts.
More...
#include <pangomm/fontset.h>
|
virtual | ~Fontset () |
|
PangoFontset* | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const PangoFontset* | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
PangoFontset* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
Glib::RefPtr< Font > | get_font (guint wc) const |
| Returns the font in the fontset that contains the best glyph for the Unicode character wc. More...
|
|
FontMetrics | get_metrics () const |
| Get overall metric information for the fonts in the fontset. More...
|
|
void | foreach (const ForeachSlot& slot) |
| Iterates through all the fonts in a fontset, calling slot for each one. More...
|
|
void * | get_data (const QueryQuark &key) |
|
void | set_data (const Quark &key, void *data) |
|
void | set_data (const Quark &key, void *data, DestroyNotify notify) |
|
void | remove_data (const QueryQuark &quark) |
|
void * | steal_data (const QueryQuark &quark) |
|
Glib::RefPtr< Glib::Object > | wrap (GObject *object, bool take_copy=false) |
|
void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) |
|
void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const |
|
void | set_property (const Glib::ustring &property_name, const PropertyType &value) |
|
void | get_property (const Glib::ustring &property_name, PropertyType &value) const |
|
void | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void > &slot) |
|
sigc::connection | connect_property_changed_with_return (const Glib::ustring &property_name, const sigc::slot< void > &slot) |
|
void | freeze_notify () |
|
void | thaw_notify () |
|
virtual void | reference () const |
|
virtual void | unreference () const |
|
GObject * | gobj () |
|
const GObject * | gobj () const |
|
GObject * | gobj_copy () const |
|
| trackable () |
|
| trackable (const trackable &src) |
|
| ~trackable () |
|
void | add_destroy_notify_callback (void *data, func_destroy_notify func) const |
|
void | notify_callbacks () |
|
trackable & | operator= (const trackable &src) |
|
void | remove_destroy_notify_callback (void *data) const |
|
|
static GType | get_type () |
| Get the GType for this class, for use with the underlying GObject type system. More...
|
|
A Pango::Fontset is used to represent a set of fonts.
For instance, bool on_foreach(const Glib::RefPtr<Pango::Font>& font);.
virtual Pango::Fontset::~Fontset |
( |
| ) |
|
|
virtual |
void Pango::Fontset::foreach |
( |
const ForeachSlot& |
slot | ) |
|
Iterates through all the fonts in a fontset, calling slot for each one.
If slot returns true, that stops the iteration.
- Since
- -1.4
- Parameters
-
Returns the font in the fontset that contains the best glyph for the Unicode character wc.
- Parameters
-
- Returns
- A Pango::Font. The caller must call g_object_unref when finished with the font.
Get overall metric information for the fonts in the fontset.
- Returns
- A Pango::FontMetrics object. The caller must call Pango::FontMetrics::unref() when finished using the object.
static GType Pango::Fontset::get_type |
( |
| ) |
|
|
static |
Get the GType for this class, for use with the underlying GObject type system.
PangoFontset* Pango::Fontset::gobj |
( |
| ) |
|
|
inline |
Provides access to the underlying C GObject.
const PangoFontset* Pango::Fontset::gobj |
( |
| ) |
const |
|
inline |
Provides access to the underlying C GObject.
PangoFontset* Pango::Fontset::gobj_copy |
( |
| ) |
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
A Glib::wrap() method for this object.
- Parameters
-
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. |
- Returns
- A C++ instance that wraps this C instance.