mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
droptarget: Improve the docs
Add the signal connection to the example.
This commit is contained in:
parent
eadc94e0a1
commit
9a872f059f
@ -80,6 +80,7 @@
|
||||
* GDK_TYPE_PIXBUF,
|
||||
* }, 2);
|
||||
*
|
||||
* g_signal_connect (target, "drop", G_CALLBACK (on_drop), self);
|
||||
* gtk_widget_add_controller (GTK_WIDGET (self), GTK_EVENT_CONTROLLER (target));
|
||||
* }
|
||||
* ```
|
||||
|
Loading…
Reference in New Issue
Block a user