| Top |
| GtexProject * | gtex_project_new () |
| GFile * | gtex_project_get_directory () |
| GFile * | gtex_project_get_main_file () |
| gboolean | gtex_project_set_main_file () |
| gboolean | gtex_project_conflict () |
| gboolean | gtex_project_file_belongs_to () |
| gchar * | gtex_project_get_directory_path_for_display () |
| gchar * | gtex_project_to_xml () |
GtexProject * gtex_project_new (GFile *directory,GFile *main_file);
a new GtexProject with a reference
count of one, or NULL if main_file
doesn't belong to the project as
represented by directory
.
[transfer full][nullable]
gboolean gtex_project_set_main_file (GtexProject *project,GFile *main_file);
Changes the main file of project
.
For this operation to be successful, main_file
needs to belong to the
project
.
gboolean gtex_project_conflict (GtexProject *project1,GtexProject *project2);
Checks the projects' directories. There are no concepts of sub-projects, so there is a conflict when a project is inside another, or when their directories are equal.
If project1
and project2
reference the same GtexProject object, FALSE is
returned.
gboolean gtex_project_file_belongs_to (GtexProject *project,GFile *file);
gchar *
gtex_project_get_directory_path_for_display
(GtexProject *project);