struct Adw::TabView::SetupMenuSignal


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:



Instance Method Summary

Constructor Detail

def, detail = nil) #

Instance Method Detail

def [](detail : String) : self #

def connect(&block : Proc(Adw::TabPage?, Nil)) #

def connect(handler : Proc(Adw::TabPage?, Nil)) #

def connect(handler : Proc(Adw::TabView, Adw::TabPage?, Nil)) #

def connect_after(&block : Proc(Adw::TabPage?, Nil)) #

def connect_after(handler : Proc(Adw::TabPage?, Nil)) #

def connect_after(handler : Proc(Adw::TabView, Adw::TabPage?, Nil)) #

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

def name #