Foundry.SimpleTextBuffer

g Foundry.SimpleTextBuffer Foundry.SimpleTextBuffer Foundry.TextBuffer Foundry.TextBuffer Foundry.TextBuffer->Foundry.SimpleTextBuffer GObject.GInterface GObject.GInterface GObject.GInterface->Foundry.TextBuffer GObject.Object GObject.Object GObject.Object->Foundry.SimpleTextBuffer

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Foundry.TextBuffer (10)

Structs:

GObject.ObjectClass (5)

class

new ()

class

new_for_string (string, len)

set_language_id (language_id)

set_text (text, text_len)

Virtual Methods

Inherited:

GObject.Object (7), Foundry.TextBuffer (8)

Properties

Inherited:

Foundry.TextBuffer (2)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Foundry.SimpleTextBuffer(**kwargs)
Bases:

GObject.Object, Foundry.TextBuffer

Abstract:

No

Structure:

Foundry.SimpleTextBufferClass

Simple implementation of a text buffer.

Foundry.SimpleTextBuffer provides a basic text buffer implementation that stores content as a string and provides text editing operations. It implements the Foundry.TextBuffer interface and serves as a lightweight alternative to more complex text buffer implementations.

classmethod new()
Return type:

Foundry.TextBuffer

classmethod new_for_string(string, len)
Parameters:
  • string (str) –

  • len (int) –

Return type:

Foundry.TextBuffer

set_language_id(language_id)
Parameters:

language_id (str) –

set_text(text, text_len)
Parameters:
  • text (str) –

  • text_len (int) –