GutterRendererText

open class GutterRendererText(val gtksourceGutterRendererTextPointer: <Error class: unknown class><<Error class: unknown class>>) : GutterRenderer

Renders text in the gutter.

A GtkSourceGutterRendererText can be used to render text in a cell of class@Gutter.

Skipped during bindings generation

  • parameter width: width: Out parameter is not supported

  • parameter width: width: Out parameter is not supported

  • method markup: Property has no getter nor setter

  • method text: Property has no getter nor setter

Constructors

Link copied to clipboard
constructor()

Create a new #GtkSourceGutterRendererText.

constructor(gtksourceGutterRendererTextPointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The alignment mode of the renderer.

Link copied to clipboard
open override val gtkAccessiblePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val gtkBuildablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val gtkConstraintTargetPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gtksourceGutterRendererPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gtksourceGutterRendererTextPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val view: View

The view on which the renderer is placed.

Link copied to clipboard
open var xalign: <Error class: unknown class>

The horizontal alignment of the renderer.

Link copied to clipboard
open var xpad: <Error class: unknown class>

The left and right padding of the renderer.

Link copied to clipboard
open var yalign: <Error class: unknown class>

The vertical alignment of the renderer.

Link copied to clipboard
open var ypad: <Error class: unknown class>

The top and bottom padding of the renderer.

Functions

Link copied to clipboard
open fun activate(iter: <Error class: unknown class>, area: <Error class: unknown class>, button: <Error class: unknown class>, state: <Error class: unknown class>, nPresses: <Error class: unknown class>)

Emits the signal@GutterRenderer::activate signal of the renderer. This is called from class@Gutter and should never have to be called manually.

Link copied to clipboard
fun emitActivate(iter: <Error class: unknown class>, area: <Error class: unknown class>, button: <Error class: unknown class>, state: <Error class: unknown class>, nPresses: <Error class: unknown class>)

Emits the "activate" signal. See onActivate.

Link copied to clipboard
fun emitQueryData(object: <Error class: unknown class>, p0: <Error class: unknown class>)

Emits the "query-data" signal. See onQueryData.

Link copied to clipboard
open fun getBuffer(): Buffer?

Gets the class@Buffer for which the gutter renderer is drawing.

Link copied to clipboard
fun onActivate(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>, <Error class: unknown class>, <Error class: unknown class>, <Error class: unknown class>, <Error class: unknown class>) -> Unit): <Error class: unknown class>

The signal is emitted when the renderer is activated.

Link copied to clipboard
fun onQueryActivatable(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>, <Error class: unknown class>) -> Boolean): <Error class: unknown class>

The signal is emitted when the renderer can possibly be activated.

Link copied to clipboard
fun onQueryData(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>, <Error class: unknown class>) -> Unit): <Error class: unknown class>
Link copied to clipboard
open fun queryActivatable(iter: <Error class: unknown class>, area: <Error class: unknown class>): Boolean

Get whether the renderer is activatable at the location provided. This is called from class@Gutter to determine whether a renderer is activatable using the mouse pointer.

Link copied to clipboard
open fun setMarkup(markup: String, length: <Error class: unknown class>)
Link copied to clipboard
open fun setText(text: String, length: <Error class: unknown class>)