struct Adw::TabView::SetupMenuSignal

Overview

Emitted when a context menu is opened or closed for @page.

If the menu has been closed, @page will be set to NULL.

It can be used to set up menu actions before showing the menu, for example disable actions not applicable to @page.

Defined in:

lib/gi-crystal/src/auto/adw-1/tab_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 : String? = nil) new

Instance Method Detail

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

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

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

def emit(page : Adw::TabPage?) : Nil #

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

The signal name