[gtk+] Document gdk_display_get_setting
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Document gdk_display_get_setting
- Date: Tue, 26 Dec 2017 19:40:45 +0000 (UTC)
commit d3920d17fa6e564dde318c173afe99e14dd98234
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Dec 26 10:21:45 2017 -0500
Document gdk_display_get_setting
New api needs documentation.
gdk/gdkdisplay.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 1d0319a..f7085d5 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -1901,6 +1901,20 @@ gdk_display_emit_opened (GdkDisplay *display)
g_signal_emit (display, signals[OPENED], 0);
}
+/**
+ * gdk_display_get_setting:
+ * @display: a #GdkDisplay
+ * @name: the name of the setting
+ * @value: location to store the value of the setting
+ *
+ * Retrieves a desktop-wide setting such as double-click time
+ * for the @display.
+ *
+ * Returns: %TRUE if the setting existed and a value was stored
+ * in @value, %FALSE otherwise
+ *
+ * Since: 3.94
+ */
gboolean
gdk_display_get_setting (GdkDisplay *display,
const char *name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]