2 parents b6a255e + 184c270 commit 3ecb1d4Copy full SHA for 3ecb1d4
1 file changed
source/basics.txt
@@ -53,6 +53,14 @@ has been connected to.
53
54
widget.disconnect(handler_id)
55
56
+If you have lost the "handler_id" for some reason (for example the handlers
57
+were installed using :func:`Gtk.Builder.connect_sinals`), you can still
58
+disconnect a specific callback using the function :func:`disconnect_by_func`:
59
+
60
+.. code-block:: python
61
62
+ widget.disconnect_by_func(callback)
63
64
Almost all applications will connect to the "delete-event" signal of the
65
top-level window. It is emitted if a user requests that a toplevel window is
66
closed. The default handler for this signal destroys the window, but does
0 commit comments