ide-snippet-types

ide-snippet-types

Properties

GtkTextBuffer * buffer Read
char * description Read / Write
char * language Read / Write
GtkTextMark * mark-begin Read
GtkTextMark * mark-end Read
int tab-stop Read
char * trigger Read / Write
IdeSnippetContext * context Read / Write
char * spec Read / Write
int tab-stop Read / Write
char * text Read / Write
gboolean text-set Read / Write

Signals

Types and Values

Object Hierarchy

    GObject
    ├── IdeObject
       ╰── IdeSnippetStorage
    ├── IdeSnippet
    ├── IdeSnippetChunk
    ├── IdeSnippetContext
    ╰── IdeSnippetParser

Implemented Interfaces

IdeSnippetStorage implements GAsyncInitable.

Description

Functions

Types and Values

IdeSnippet

typedef struct _IdeSnippet IdeSnippet;

IdeSnippetChunk

typedef struct _IdeSnippetChunk IdeSnippetChunk;

IdeSnippetContext

typedef struct _IdeSnippetContext IdeSnippetContext;

IdeSnippetParser

typedef struct _IdeSnippetParser IdeSnippetParser;

IdeSnippetStorage

typedef struct _IdeSnippetStorage IdeSnippetStorage;

Property Details

The “buffer” property

  “buffer”                   GtkTextBuffer *

The GtkTextBuffer for the snippet.

Owner: IdeSnippet

Flags: Read


The “description” property

  “description”              char *

The description for the snippet.

Owner: IdeSnippet

Flags: Read / Write

Default value: NULL


The “language” property

  “language”                 char *

The language for the snippet.

Owner: IdeSnippet

Flags: Read / Write

Default value: NULL


The “mark-begin” property

  “mark-begin”               GtkTextMark *

The beginning text mark.

Owner: IdeSnippet

Flags: Read


The “mark-end” property

  “mark-end”                 GtkTextMark *

The ending text mark.

Owner: IdeSnippet

Flags: Read


The “tab-stop” property

  “tab-stop”                 int

The current tab stop.

Owner: IdeSnippet

Flags: Read

Allowed values: >= -1

Default value: -1


The “trigger” property

  “trigger”                  char *

The trigger for the snippet.

Owner: IdeSnippet

Flags: Read / Write

Default value: NULL


The “context” property

  “context”                  IdeSnippetContext *

The snippet context.

Owner: IdeSnippetChunk

Flags: Read / Write


The “spec” property

  “spec”                     char *

The specification to expand using the context.

Owner: IdeSnippetChunk

Flags: Read / Write

Default value: NULL


The “tab-stop” property

  “tab-stop”                 int

The tab stop for the chunk.

Owner: IdeSnippetChunk

Flags: Read / Write

Allowed values: >= -1

Default value: -1


The “text” property

  “text”                     char *

The text for the chunk.

Owner: IdeSnippetChunk

Flags: Read / Write

Default value: NULL


The “text-set” property

  “text-set”                 gboolean

If the text property has been manually set.

Owner: IdeSnippetChunk

Flags: Read / Write

Default value: FALSE

Signal Details

The “changed” signal

void
user_function (IdeSnippetContext *idesnippetcontext,
               gpointer           user_data)

Flags: Run First


The “parsing-error” signal

void
user_function (IdeSnippetParser *idesnippetparser,
               GFile            *arg1,
               guint             arg2,
               char             *arg3,
               gpointer          user_data)

Flags: Run Last