[gtk+] window: Document GtkWindow::set-focus
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] window: Document GtkWindow::set-focus
- Date: Fri, 3 Jan 2014 01:04:58 +0000 (UTC)
commit 93bcca7f023d2767f589e0641fc1923ce880c3d5
Author: Colin Walters <walters verbum org>
Date: Thu Jan 2 18:40:17 2014 -0500
window: Document GtkWindow::set-focus
Not sure why this was never documented.
gtk/gtkwindow.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index ecb5a8b..2c758ec 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -1118,6 +1118,16 @@ gtk_window_class_init (GtkWindowClass *klass)
GTK_TYPE_APPLICATION,
GTK_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+ /**
+ * GtkWindow:set-focus:
+ * @window: the window which received the signal
+ * @widget: the newly focused widget (or %NULL for no focus)
+ *
+ * This signal is emitted whenever the currently focused widget in
+ * this window changes.
+ *
+ * Since: 2.24
+ */
window_signals[SET_FOCUS] =
g_signal_new (I_("set-focus"),
G_TYPE_FROM_CLASS (gobject_class),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]