After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 111664 - Add gtk_widget_from_window()
Add gtk_widget_from_window()
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: Other
2.2.x
Other Linux
: Normal enhancement
: Small API
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2003-04-26 20:39 UTC by Owen Taylor
Modified: 2014-03-27 02:44 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Owen Taylor 2003-04-26 20:39:58 UTC
gdk_window_get_user_data() has a weird prototype, and also
isn't type safe, we should add a wrapper and use that.

Also, we might want to have a GtkWidget wrapper for
set_user_data() to encapsulate that operation, though I 
can't think of the right name, maybe something like:

 gtk_set_widget_for_window()

It can't be a GtkWidget method because half the 
set_user_data() in GTK+ are with a widget of NULL.
Comment 1 Matthias Clasen 2014-03-27 02:44:08 UTC
closing out ancient bugs