widget: Add :focus-on-click property

Desktop / GNOME / GTK - Florian Müllner [gnome.org] - 3 November 2015 06:44 UTC

There are currently three widget that implement such a property, and there are other widgets for which the behavior can make sense. It seems like a good time to add the property to GtkWidget itself so subclasses can choose to respect it without adding their own property.

https://bugzilla.gnome.org/show_bug.cgi?id=757269

ebdf5f5 widget: Add :focus-on-click property
gtk/gtkwidget.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++-
gtk/gtkwidget.h | 5 +++
gtk/gtkwidgetprivate.h | 1 +
3 files changed, 87 insertions(+), 1 deletion(-)

Upstream: git.gnome.org


  • Share