GutterRendererText

open class GutterRendererText(pointer: <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(pointer: <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: Float

The horizontal alignment of the renderer.

Link copied to clipboard
open var xpad: Int

The left and right padding of the renderer.

Link copied to clipboard
open var yalign: Float

The vertical alignment of the renderer.

Link copied to clipboard
open var ypad: Int

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: Int)

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 connectActivate(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>, <Error class: unknown class>, <Error class: unknown class>, <Error class: unknown class>, nPresses: Int) -> Unit): <Error class: unknown class>

The signal is emitted when the renderer is activated.

Link copied to clipboard
fun connectQueryActivatable(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 connectQueryData(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

Get the alignment mode.

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

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

Link copied to clipboard
open fun getView(): View

Get the view associated to the gutter renderer

Link copied to clipboard
open fun getXalign(): Float

Gets the xalign property.

Link copied to clipboard
open fun getXpad(): Int

Gets the xpad property.

Link copied to clipboard
open fun getYalign(): Float

Gets the yalign property.

Link copied to clipboard
open fun getYpad(): Int

Gets the ypad property.

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

Set the alignment mode. The alignment mode describes the manner in which the renderer is aligned (see property@GutterRenderer:xalign and property@GutterRenderer:yalign).

Link copied to clipboard
open fun setMarkup(markup: String, length: Int)
Link copied to clipboard
open fun setText(text: String, length: Int)
Link copied to clipboard
open fun setXalign(xalign: Float)

Adjusts the xalign property.

Link copied to clipboard
open fun setXpad(xpad: Int)

Adjusts the xpad property.

Link copied to clipboard
open fun setYalign(yalign: Float)

Adjusts the yalign property.

Link copied to clipboard
open fun setYpad(ypad: Int)

Adjusts the ypad property.