Package ch.bailu.gtk.gtk
Class TextChildAnchor
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.gtk.TextChildAnchor
- All Implemented Interfaces:
PointerInterface
A `GtkTextChildAnchor` is a spot in a `GtkTextBuffer` where child widgets can
be “anchored”.
The anchor can have multiple widgets anchored, to allow for multiple views.
be “anchored”.
The anchor can have multiple widgets anchored, to allow for multiple views.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Field Summary
Fields inherited from class ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Constructor Summary
ConstructorDescriptionCreates a new `GtkTextChildAnchor`.TextChildAnchor
(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
boolean
Determines whether a child anchor has been deleted from
the buffer.static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
static TextChildAnchor
newWithReplacementTextChildAnchor
(Str character) Creates a new `GtkTextChildAnchor` with the given replacement character.static TextChildAnchor
newWithReplacementTextChildAnchor
(String character) Creates a new `GtkTextChildAnchor` with the given replacement character.Methods inherited from class ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
TextChildAnchor
-
TextChildAnchor
public TextChildAnchor()Creates a new `GtkTextChildAnchor`.
Usually you would then insert it into a `GtkTextBuffer` with
[method@Gtk.TextBuffer.insert_child_anchor]. To perform the
creation and insertion in one step, use the convenience
function [method@Gtk.TextBuffer.create_child_anchor].
-
-
Method Details
-
getClassHandler
-
newWithReplacementTextChildAnchor
Creates a new `GtkTextChildAnchor` with the given replacement character.
Usually you would then insert it into a `GtkTextBuffer` with
[method@Gtk.TextBuffer.insert_child_anchor].- Parameters:
character
-- Returns:
- a new `GtkTextChildAnchor`
-
newWithReplacementTextChildAnchor
Creates a new `GtkTextChildAnchor` with the given replacement character.
Usually you would then insert it into a `GtkTextBuffer` with
[method@Gtk.TextBuffer.insert_child_anchor].- Parameters:
character
-- Returns:
- a new `GtkTextChildAnchor`
-
getDeleted
public boolean getDeleted()Determines whether a child anchor has been deleted from
the buffer.
Keep in mind that the child anchor will be unreferenced
when removed from the buffer, so you need to hold your own
reference (with g_object_ref()) if you plan to use this
function — otherwise all deleted child anchors will also
be finalized.- Returns:
- %TRUE if the child anchor has been deleted from its buffer
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-