[gtk: 1/4] docs: Document built-in actions on GtkWindow




commit acdadab61703f20cdf3c95e2bbc39e735df5fd5a
Author: Hofer-Julian <julianhofer gnome org>
Date:   Wed Dec 29 11:11:26 2021 +0100

    docs: Document built-in actions on GtkWindow

 gtk/gtkwindow.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 36abbd3d2f..2ab44a27ed 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -148,7 +148,15 @@
  * # Accessibility
  *
  * `GtkWindow` uses the %GTK_ACCESSIBLE_ROLE_WINDOW role.
- */
+ * 
+ * # Actions
+ * 
+ * `GtkWindow` defines a set of built-in actions:
+ * - `default.activate`: Activate the default widget.
+ * - `window.minimize`: Minimize the window.
+ * - `window.toggle-maximized`: Maximize or restore the window.
+ * - `window.close`: Close the window.
+ /
 
 #define MENU_BAR_ACCEL GDK_KEY_F10
 #define RESIZE_HANDLE_SIZE 12 /* Width of resize borders */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]