enum Gtk::TextViewLayer

Overview

Used to reference the layers of Gtk::TextView for the purpose of customized drawing with the ::snapshot_layer vfunc.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

BelowText = 0_u32

The layer rendered below the text (but above the background).

AboveText = 1_u32

The layer rendered above the text.

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def above_text? #

[View source]
def below_text? #

[View source]