GtexDocument

GtexDocument — TeplBuffer subclass

Functions

Properties

Types and Values

struct GtexDocument

Object Hierarchy

    GObject
    ╰── GtkTextBuffer
        ╰── GtkSourceBuffer
            ╰── TeplBuffer
                ╰── GtexDocument

Includes

#include <gtex.h>

Description

GtexDocument is a subclass of TeplBuffer.

Functions

gtex_document_get_project ()

GtexProject *
gtex_document_get_project (GtexDocument *doc);

Parameters

doc

a GtexDocument.

 

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.

Parameters

doc

a GtexDocument.

 

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