docs: Document built-in actions on GtkWindow
authorHofer-Julian <julianhofer@gnome.org>
Wed, 29 Dec 2021 10:11:26 +0000 (11:11 +0100)
committerHofer-Julian <julianhofer@gnome.org>
Wed, 29 Dec 2021 14:45:43 +0000 (15:45 +0100)
gtk/gtkwindow.c

index 36abbd3d2f19440ee29c23404df86226ca2da1ae..2ab44a27edd7f1ab977553bb9c6c01250bc2bc7f 100644 (file)
  * # 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 */