TmplTemplateLocator
TmplTemplateLocator
|
|
Object Hierarchy
GObject
╰── TmplTemplateLocator
Functions
tmpl_template_locator_append_search_path ()
void
tmpl_template_locator_append_search_path
(TmplTemplateLocator *self
,
const gchar *path
);
tmpl_template_locator_prepend_search_path ()
void
tmpl_template_locator_prepend_search_path
(TmplTemplateLocator *self
,
const gchar *path
);
tmpl_template_locator_locate ()
GInputStream *
tmpl_template_locator_locate (TmplTemplateLocator *self
,
const gchar *path
,
GError **error
);
This will resolve the relative path using the search paths found within
the template loader.
tmpl_template_locator_get_search_path ()
gchar **
tmpl_template_locator_get_search_path (TmplTemplateLocator *self
);
Gets the current search path used by the template locator.
Returns
A NULL
-terminated array of strings.
[transfer full]
Types and Values
TMPL_TYPE_TEMPLATE_LOCATOR
#define TMPL_TYPE_TEMPLATE_LOCATOR (tmpl_template_locator_get_type())
struct TmplTemplateLocatorClass
struct TmplTemplateLocatorClass {
GObjectClass parent_instance;
GInputStream *(*locate) (TmplTemplateLocator *self,
const gchar *path,
GError **error);
};
TmplTemplateLocator
typedef struct _TmplTemplateLocator TmplTemplateLocator;