GNOME Bugzilla – Bug 631695
[GSEAL] no API to get event_window from GtkRange
Last modified: 2013-11-08 10:42:37 UTC
Created attachment 171960 [details] [review] Add gtk_range_get_event_window to get the event_window for a GtkRange Here is a patch to add an API to get the event_window from a GtkRange. This is useful when you try to build your own widget based on GtkRange and then, should access to the GdkWindow. Here is a git format patch to add it. I based it on GtkButton and the API made to access to it, I'm opened to comments :)
Created attachment 173527 [details] [review] GTK3 version: add gtk_range_get_event_window to get the event_window for a GtkRange patch for gtk3 this time :)
What use does your widget make of the event window ? Not sure I see what you could do with it that would not break the range functionality to some extent.
Related for GtkNotebook: bug #632890
We're using it for implementing button-press/release events on a child widget.
I don't follow - GtkRange is not a container...
Sorry, I meant a derivative widget.
Did this make it into GTK+3? Is this bug still relevant?
This patch was used in Ubuntu's sound menu to rewrite the event window for incoming events when using GtkRange as a child of a GtkMenuItem. It hasn't been used for that purpose since gtk 3.