struct Adw::TabOverview::CreateTabSignal

Overview

Emitted when a tab needs to be created.

This can happen after the new tab button has been pressed, see [property@TabOverview:enable-new-tab].

The signal handler is expected to create a new page in the corresponding #TabView and return it.

Defined in:

lib/gi-crystal/src/auto/adw-1/tab_overview.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(Adw::TabPage)) : GObject::SignalConnection #

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

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

def emit : Nil #

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

The signal name