diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2023-05-10 08:39:58 +0000 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2023-05-10 08:39:58 +0000 |
commit | eee38850776033e3bb880cc7c9efcb66344ec895 (patch) | |
tree | ddfd36e6e3c18bb64aaf1fc01dbc295cfa7edd2b /docs/reference/gobject/tut_gsignal.xml | |
parent | 329213f74206ae5275335fdd78d162edfbd456a1 (diff) | |
parent | 8a68b795c12ce853d610ef759c2b9bb42faf45b9 (diff) | |
download | glib-eee38850776033e3bb880cc7c9efcb66344ec895.tar.gz |
Merge branch 'gtk-plus' into 'main'
Rename GTK+ to GTK (mostly comments and documentation)
See merge request GNOME/glib!3429
Diffstat (limited to 'docs/reference/gobject/tut_gsignal.xml')
-rw-r--r-- | docs/reference/gobject/tut_gsignal.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/reference/gobject/tut_gsignal.xml b/docs/reference/gobject/tut_gsignal.xml index 5559673cb..d690d1690 100644 --- a/docs/reference/gobject/tut_gsignal.xml +++ b/docs/reference/gobject/tut_gsignal.xml @@ -10,7 +10,7 @@ <para> Closures are central to the concept of asynchronous signal delivery - which is widely used throughout GTK+ and GNOME applications. A closure is an + which is widely used throughout GTK and GNOME applications. A closure is an abstraction, a generic representation of a callback. It is a small structure which contains three objects: <itemizedlist> @@ -37,9 +37,9 @@ return_type function_callback (… , gpointer user_data); <footnote><para> In practice, closures sit at the boundary of language runtimes: if you are writing Python code and one of your Python callbacks receives a signal from - a GTK+ widget, the C code in GTK+ needs to execute your Python - code. The closure invoked by the GTK+ object invokes the Python callback: - it behaves as a normal C object for GTK+ and as a normal Python object for + a GTK widget, the C code in GTK needs to execute your Python + code. The closure invoked by the GTK object invokes the Python callback: + it behaves as a normal C object for GTK and as a normal Python object for Python code. </para></footnote> The GObject library provides a simple <link linkend="GCClosure"><type>GCClosure</type></link> type which @@ -179,8 +179,8 @@ g_cclosure_marshal_VOID__INT (GClosure *closure, <para> GObject's signals have nothing to do with standard UNIX signals: they connect arbitrary application-specific events with any number of listeners. - For example, in GTK+, every user event (keystroke or mouse move) is received - from the windowing system and generates a GTK+ event in the form of a signal emission + For example, in GTK, every user event (keystroke or mouse move) is received + from the windowing system and generates a GTK event in the form of a signal emission on the widget object instance. </para> |