struct Gtk::TextView::MoveViewportSignal

Overview

Gets emitted to move the viewport.

The ::move-viewport signal is a keybinding signal, which can be bound to key combinations to allow the user to move the viewport, i.e. change what part of the text view is visible in a containing scrolled window.

There are no default bindings for this signal.

Defined in:

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

Instance Method Summary

Instance methods inherited from struct GObject::Signal

[](detail : String) : self [], name : String name

Constructor methods inherited from struct GObject::Signal

new(source : GObject::Object, detail : Nil | String = nil) new

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(Gtk::ScrollStep, Int32, Nil)) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gtk::ScrollStep, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gtk::TextView, Gtk::ScrollStep, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def emit(step : Gtk::ScrollStep, count : Int32) : Nil #

[View source]
def name : String #
Description copied from struct GObject::Signal

The signal name


[View source]