GutterRendererPixbuf

open class GutterRendererPixbuf(val gtksourceGutterRendererPixbufPointer: <Error class: unknown class><<Error class: unknown class>>) : GutterRenderer

Renders a pixbuf in the gutter.

A GtkSourceGutterRendererPixbuf can be used to render an image in a cell of class@Gutter.

Skipped during bindings generation

  • method gicon: Property TypeInfo of getter and setter do not match

  • method icon-name: Property TypeInfo of getter and setter do not match

  • method pixbuf: Property TypeInfo of getter and setter do not match

Constructors

Link copied to clipboard
constructor()

Create a new #GtkSourceGutterRendererPixbuf.

constructor(gtksourceGutterRendererPixbufPointer: <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 gtksourceGutterRendererPixbufPointer: <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
open var paintable: <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
open fun getGicon(): <Error class: unknown class>

Get the gicon of the renderer

Link copied to clipboard
open fun getIconName(): String
Link copied to clipboard
open fun getPixbuf(): <Error class: unknown class>

Get the pixbuf of the renderer.

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 overlayPaintable(paintable: <Error class: unknown class>)

Allows overlaying a paintable on top of any other image that has been set for the pixbuf. This will be applied when the widget is next snapshot.

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 setGicon(icon: <Error class: unknown class>? = null)
Link copied to clipboard
open fun setIconName(iconName: String? = null)
Link copied to clipboard
open fun setPixbuf(pixbuf: <Error class: unknown class>? = null)