| Top |
| gchar * | ide_project_template_get_id () |
| gint | ide_project_template_get_priority () |
| gchar * | ide_project_template_get_name () |
| gchar * | ide_project_template_get_description () |
| GtkWidget * | ide_project_template_get_widget () |
| gchar ** | ide_project_template_get_languages () |
| gchar * | ide_project_template_get_icon_name () |
| void | ide_project_template_expand_async () |
| gboolean | ide_project_template_expand_finish () |
| gint | ide_project_template_compare () |
gint
ide_project_template_get_priority (IdeProjectTemplate *self);
Gets the priority of the template. This can be used to sort the templates in the "new project" view.
Since: 3.28
gchar *
ide_project_template_get_description (IdeProjectTemplate *self);
GtkWidget *
ide_project_template_get_widget (IdeProjectTemplate *self);
Get's the configuration widget for the template if there is one.
gchar **
ide_project_template_get_languages (IdeProjectTemplate *self);
Gets the list of languages that this template can support when generating the project.
gchar *
ide_project_template_get_icon_name (IdeProjectTemplate *self);
void ide_project_template_expand_async (IdeProjectTemplate *self,GHashTable *params,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously requests expansion of the template.
This may involve creating files and directories on disk as well as
expanding files based on the contents of params
.
It is expected that this method is only called once on an IdeProjectTemplate.
gboolean ide_project_template_expand_finish (IdeProjectTemplate *self,GAsyncResult *result,GError **error);
gint ide_project_template_compare (IdeProjectTemplate *a,IdeProjectTemplate *b);
struct IdeProjectTemplateInterface {
GTypeInterface parent;
gchar *(*get_id) (IdeProjectTemplate *self);
gchar *(*get_name) (IdeProjectTemplate *self);
gchar *(*get_description) (IdeProjectTemplate *self);
GtkWidget *(*get_widget) (IdeProjectTemplate *self);
gchar **(*get_languages) (IdeProjectTemplate *self);
gchar *(*get_icon_name) (IdeProjectTemplate *self);
void (*expand_async) (IdeProjectTemplate *self,
GHashTable *params,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean (*expand_finish) (IdeProjectTemplate *self,
GAsyncResult *result,
GError **error);
gint (*get_priority) (IdeProjectTemplate *self);
};