struct Adw::TabView::SetupMenuSignal
- Adw::TabView::SetupMenuSignal
- GObject::Signal
- Struct
- Value
- Object
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.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Adw::TabPage?, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Adw::TabPage?, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Adw::TabView, Adw::TabPage?, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(page : Adw::TabPage?) : 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(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
#