[329:7] extends: object
Generated low-level callback wrapper for GIR callback tag-changed.
TextTagTableTagchangedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, tag, size_changed, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[401:7] extends: object
Generated low-level callback wrapper for GIR callback tag-removed.
TextTagTableTagremovedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, tag, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[258:7] extends: object
Generated low-level callback wrapper for GIR callback tag-added.
TextTagTableTagaddedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, tag, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[472:14] static extends: object
Generated metadata helpers for TextTagTable class surfaces.
signals ()
Returns signal metadata for
TextTagTable.
A list.[20:7] extends: object
Collects the tags in a GtkTextBuffer. You may wish to begin by reading the
text widget conceptual overview, which gives an
overview of all the objects and data types related to the text widget and how
they work together. # GtkTextTagTables as GtkBuildable The GtkTextTagTable
implementation of the GtkBuildable interface supports adding tags by
specifying “tag” as the “type” attribute of a <child> element. An example
of a UI definition fragment specifying tags: xml <object class="GtkTextTagTable"> <child type="tag"> <object class="GtkTextTag"/> </child> </object>
TextTagTable (Handle = null)
Creates a new
GtkTextTagTable. The table contains no tags by default.
Handle is an optional native handle or wrapper whose handle to adopt; when the native constructor is called.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asObject ()
Wraps this handle as
Object.
A Object object.asBuildable ()
Wraps this handle as
Buildable.
A Buildable object.connectSignal (string Name, CallbackObj)
Connects one generated callback wrapper to a named signal.
Name is the signal name.CallbackObj is the generated callback wrapper to connect.The connected handler id.disconnectSignalHandler (int HandlerId)
Disconnects one retained signal handler id.
HandlerId is the signal handler id to disconnect.None.setOnTagadded (callback Fn, UserData = null)
Emitted every time a new tag is added in the
GtkTextTagTable.
Fn is the Aussom callback.Fn is called with (TextTagTable Self, TextTag Tag).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnTagchanged (callback Fn, UserData = null)
Emitted every time a tag in the
GtkTextTagTablechanges.
Fn is the Aussom callback.Fn is called with (TextTagTable Self, TextTag Tag, bool Size_changed).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnTagremoved (callback Fn, UserData = null)
Emitted every time a tag is removed from the
GtkTextTagTable. The @tag is still valid by the time the signal is emitted, but it is not associated with a tag table any more.
Fn is the Aussom callback.Fn is called with (TextTagTable Self, TextTag Tag).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.add (object tag)
Add a tag to the table. The tag is assigned the highest priority in the table. @tag must not be in a tag table already, and may not have the same name as an already-added tag.
tag is a GtkTextTag.%TRUE on success..get_size ()
Returns the size of the table (number of tags)
number of tags in @table.lookup (string name)
Look up a named tag.
name is name of a tag.The tag.remove (object tag)
Remove a tag from the table. If a
GtkTextBufferhas @table as its tag table, the tag is removed from the buffer. The table’s reference to the tag is removed, so the tag will end up destroyed if you don’t have a reference to it.
tag is a GtkTextTag.None.