--- a/gntbox.h Wed Aug 28 16:44:51 2019 -0400
+++ b/gntbox.h Wed Aug 28 17:25:18 2019 -0400
@@ -86,19 +86,36 @@
G_DECLARE_DERIVABLE_TYPE(GntBox, gnt_box, GNT, BOX, GntWidget)
+ * @homogeneous: If %TRUE, all the widgets in it will have the same width. + * Create a new horizontal box. + * Returns: The new box. +#define gnt_hbox_new(homogeneous) gnt_box_new(homogeneous, FALSE) + * @homogeneous: If %TRUE, all the widgets in it will have the same height. + * Create a new vertical box. + * Returns: The new box. #define gnt_vbox_new(homogeneous) gnt_box_new(homogeneous, TRUE)
-#define gnt_hbox_new(homogeneous) gnt_box_new(homogeneous, FALSE)
- * @homogeneous: If %TRUE, all the widgets in it will have the same width (or
+ * @homogeneous: If %TRUE, all the widgets in it will have the same height (or * @vert: Whether the widgets in it should be stacked vertically (if %TRUE) or
* horizontally (if %FALSE).
- * Returns: The new GntBox.
+ * Returns: The new box. GntWidget *gnt_box_new(gboolean homogeneous, gboolean vert);
--- a/gntline.h Wed Aug 28 16:44:51 2019 -0400
+++ b/gntline.h Wed Aug 28 17:25:18 2019 -0400
@@ -45,14 +45,30 @@
G_DECLARE_FINAL_TYPE(GntLine, gnt_line, GNT, LINE, GntWidget)
+ * Create new horizontal line. + * Returns: The newly created line. #define gnt_hline_new() gnt_line_new(FALSE)
+ * Create new vertical line. + * Returns: The newly created line. #define gnt_vline_new() gnt_line_new(TRUE)
- * @vertical: %TRUE if the line should be vertical, %FALSE for a horizontal line.
+ * @vertical: %TRUE if the line should be vertical, %FALSE for a horizontal
* Returns: The newly created line.
--- a/gntslider.h Wed Aug 28 16:44:51 2019 -0400
+++ b/gntslider.h Wed Aug 28 17:25:18 2019 -0400
@@ -66,18 +66,42 @@
+ * @max: The maximum value for the slider. + * @min: The minimum value for the slider. + * Create a new horizontal slider. + * Returns: The newly created slider. #define gnt_hslider_new(max, min) gnt_slider_new(FALSE, max, min)
+ * @max: The maximum value for the slider. + * @min: The minimum value for the slider. + * Create a new vertical slider. + * Returns: The newly created slider. #define gnt_vslider_new(max, min) gnt_slider_new(TRUE, max, min)
- * @orient: A vertical slider is created if %TRUE, otherwise the slider is horizontal.
- * @max: The maximum value for the slider
- * @min: The minimum value for the slider
+ * @orient: A vertical slider is created if %TRUE, otherwise the slider is + * @max: The maximum value for the slider. + * @min: The minimum value for the slider. - * Returns: The newly created slider
+ * Returns: The newly created slider. --- a/gntwindow.h Wed Aug 28 16:44:51 2019 -0400
+++ b/gntwindow.h Wed Aug 28 17:25:18 2019 -0400
@@ -75,8 +75,27 @@
G_DECLARE_DERIVABLE_TYPE(GntWindow, gnt_window, GNT, WINDOW, GntBox)
+ * @homogeneous: %TRUE if the widgets inside the window should have the same + * Create a new window with widgets stacked horizontally. + * Returns: The newly created window. +#define gnt_hwindow_new(homogeneous) gnt_window_box_new(homogeneous, FALSE) + * @homogeneous: %TRUE if the widgets inside the window should have the same + * Create a new window with widgets stacked vertically. + * Returns: The newly created window. #define gnt_vwindow_new(homogeneous) gnt_window_box_new(homogeneous, TRUE)
-#define gnt_hwindow_new(homogeneous) gnt_window_box_new(homogeneous, FALSE)