struct Gtk::IMContext::RetrieveSurroundingSignal

Overview

The ::retrieve-surrounding signal is emitted when the input method requires the context surrounding the cursor.

The callback should set the input method surrounding context by calling the Gtk::IMContext#surrounding= method.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/im_context.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 : String? = nil) new

Instance Method Detail

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

def connect(handler : Proc(Bool), *, after : Bool = false) : GObject::SignalConnection #

def connect(handler : Proc(Gtk::IMContext, Bool), *, after : Bool = false) : GObject::SignalConnection #

def emit : Nil #

def name : String #
Description copied from struct GObject::Signal

The signal name