struct Gtk::TextView::MoveViewportSignal
- Gtk::TextView::MoveViewportSignal
- GObject::Signal
- Struct
- Value
- Object
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.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Gtk::ScrollStep, Int32, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::ScrollStep, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::TextView, Gtk::ScrollStep, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(step : Gtk::ScrollStep, count : Int32) : Nil
-
#name : String
The signal name
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 : String? = nil)
new
Instance Method Detail
def connect(*, after : Bool = false, &block : Proc(Gtk::ScrollStep, Int32, Nil)) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::ScrollStep, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::TextView, Gtk::ScrollStep, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
#