struct Adw::TabView::PageDetachedSignal
- Adw::TabView::PageDetachedSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted when a page has been removed or transferred to another view.
A typical reason to connect to this signal would be to disconnect signal handlers connected in the [signal@TabView::page-attached] handler.
It is important not to try and destroy the page child in the handler of
this function as the child might merely be moved to another window; use
child dispose handler for that or do it in sync with your
TabView::close_page_finish
calls.
Defined in:
lib/gi-crystal/src/auto/adw-1/tab_view.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Adw::TabPage, Int32, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Adw::TabPage, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Adw::TabView, Adw::TabPage, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(page : Adw::TabPage, position : Int32) : 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, Int32, Nil)) : GObject::SignalConnection
#
def connect(handler : Proc(Adw::TabPage, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Adw::TabView, Adw::TabPage, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
#