| Top |
GObject
╰── FontManagerJsonProxy
├── FontManagerFamily
├── FontManagerFont
├── FontManagerFontInfo
╰── FontManagerOrthography
FontManagerJsonProxy *
font_manager_json_proxy_new (void);
A newly created FontManagerJsonProxy.
Free the returned object using . g_object_unref()
[transfer full]
gboolean
font_manager_json_proxy_is_valid (FontManagerJsonProxy *self);
The default method returns TRUE if source-object is not NULL.
void font_manager_json_proxy_generate_properties (GParamSpec *pspec[],const FontManagerJsonProxyProperties *properties,gint num_properties);
Automatically generate class properties from an array of FontManagerJsonProxyProperties.
A property with type G_TYPE_BOXED is assumed to be a JsonArray.
A property with type JSON_TYPE_OBJECT is assumed to be the source
-object.
pspec |
(out caller-allocates) :empty array of GParamSpec to store results |
|
properties |
array of FontManagerJsonProxyProperties |
|
num_properties |
number of entries in properties |
typedef struct {
const gchar *name;
const GType type;
const gchar *desc;
} FontManagerJsonProxyProperties;
This struct provides the information required to map a member of a JsonObject to a gobject property in a FontManagerJsonProxy subclass.
#define FONT_MANAGER_TYPE_JSON_PROXY (font_manager_json_proxy_get_type ())
struct FontManagerJsonProxyClass {
GObjectClass parent_class;
gboolean (* is_valid) (FontManagerJsonProxy *self);
};