GutterRendererPixbuf

open class GutterRendererPixbuf(pointer: <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(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 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: 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 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 getPaintable(): <Error class: unknown class>?

Gets a iface@Gdk.Paintable that was set with method@GutterRendererPixbuf.set_paintable

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

Get the pixbuf of the renderer.

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 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

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