GtexDocument
GtexDocument — TeplBuffer subclass
|
|
Object Hierarchy
GObject
╰── GtkTextBuffer
╰── GtkSourceBuffer
╰── TeplBuffer
╰── GtexDocument
Includes
#include <gtex.h>
Functions
gtex_document_get_project ()
GtexProject *
gtex_document_get_project (GtexDocument *doc);
Returns
the current value of the
“project” property.
[transfer none][nullable]
gtex_document_get_main_file ()
GFile *
gtex_document_get_main_file (GtexDocument *doc);
If doc
belongs to a GtexProject, the project main file is returned.
Otherwise, the “location” is returned.
Returns
the main file of doc
.
[transfer none][nullable]
Types and Values
struct GtexDocument
struct GtexDocument;
Property Details
The “project” property
“project” GtexProject *
The GtexProject that the document belongs to.
Owner: GtexDocument
Flags: Read