[gtk/ebassi/gidocgen: 302/483] menubutton: Put images in a table
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk/ebassi/gidocgen: 302/483] menubutton: Put images in a table
- Date: Sun,  7 Mar 2021 16:13:20 +0000 (UTC)
commit e519c8420d3e92ca39c0b2811ac95747a23c3764
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 27 19:48:14 2021 -0500
    menubutton: Put images in a table
 gtk/gtkmenubutton.c | 67 +++++++----------------------------------------------
 1 file changed, 9 insertions(+), 58 deletions(-)
---
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c
index a2cc304605..4c1e1afbde 100644
--- a/gtk/gtkmenubutton.c
+++ b/gtk/gtkmenubutton.c
@@ -21,7 +21,7 @@
 /**
  * GtkMenuButton:
  *
- * The `GtkMenuButton` widget is used to display a popup when clicked on.
+ * The `GtkMenuButton` widget is used to display a popup when clicked.
  *
  * 
  *
@@ -47,70 +47,21 @@
  * menu is popped up above the button instead. If the alignment would move
  * part of the menu offscreen, it is “pushed in”.
  *
- * ## Direction = Down
- *
- * - halign = start
- *
- *     
- *
- * - halign = center
- *
- *     
- *
- * - halign = end
- *
- *     
- *
- * ## Direction = Up
- *
- * - halign = start
- *
- *     
- *
- * - halign = center
- *
- *     
- *
- * - halign = end
- *
- *     
- *
- * ## Direction = Left
- *
- * - valign = start
- *
- *     
- *
- * - valign = center
- *
- *     
- *
- * - valign = end
- *
- *     
- *
- * ## Direction = Right
- *
- * - valign = start
- *
- *     
- *
- * - valign = center
- *
- *     
- *
- * - valign = end
- *
- *     
+ * |           | start                | center                | end                |
+ * | -         | ---                  | ---                   | ---                |
+ * | **down**  |   |   |   |
+ * | **up**    |     |     |     |
+ * | **left**  |   |   |   |
+ * | **right** |  |  |  |
  *
  * # CSS nodes
  *
- * |[<!-- language="plain" -->
+ * ```
  * menubutton
  * ╰── button.toggle
  *     ╰── <content>
  *          ╰── [arrow]
- *]|
+ * ```
  *
  * `GtkMenuButton` has a single CSS node with name menubutton
  * which contains a toggle button node.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]