diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-02-02 00:29:00 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-02-02 00:30:27 -0500 |
commit | 09d1b28249af38448be0b52d00dd9924adac5d1c (patch) | |
tree | 9a303e4d610a4b3c5ab71e7155f021807f1b43fe /gtk/gtkscrollable.c | |
parent | 16e38946bdd3ee69d76f658afbfee272af1f52ab (diff) | |
download | gtk+-09d1b28249af38448be0b52d00dd9924adac5d1c.tar.gz |
docs: Convert to markdown
Specifically, switch to using markdown syntax for sections.
Diffstat (limited to 'gtk/gtkscrollable.c')
-rw-r--r-- | gtk/gtkscrollable.c | 55 |
1 files changed, 19 insertions, 36 deletions
diff --git a/gtk/gtkscrollable.c b/gtk/gtkscrollable.c index 3c7c76fcc6..0ed52e785f 100644 --- a/gtk/gtkscrollable.c +++ b/gtk/gtkscrollable.c @@ -26,44 +26,27 @@ * To implement this interface you should override the * #GtkScrollable:hadjustment and #GtkScrollable:vadjustment properties. * - * <refsect2> - * <title>Creating a scrollable widget</title> - * <para> + * ## Creating a scrollable widget + * * All scrollable widgets should do the following. * - * <orderedlist> - * <listitem> - * <para> - * When a parent widget sets the scrollable child widget's adjustments, the widget should populate the adjustments' - * #GtkAdjustment:lower, #GtkAdjustment:upper, - * #GtkAdjustment:step-increment, #GtkAdjustment:page-increment and - * #GtkAdjustment:page-size properties and connect to the - * #GtkAdjustment::value-changed signal. - * </para> - * </listitem> - * <listitem> - * <para> - * Because its preferred size is the size for a fully expanded widget, - * the scrollable widget must be able to cope with underallocations. - * This means that it must accept any value passed to its - * #GtkWidgetClass.size_allocate() function. - * </para> - * </listitem> - * <listitem> - * <para> - * When the parent allocates space to the scrollable child widget, the widget should update - * the adjustments' properties with new values. - * </para> - * </listitem> - * <listitem> - * <para> - * When any of the adjustments emits the #GtkAdjustment::value-changed signal, - * the scrollable widget should scroll its contents. - * </para> - * </listitem> - * </orderedlist> - * </para> - * </refsect2> + * - When a parent widget sets the scrollable child widget's adjustments, + * the widget should populate the adjustments' + * #GtkAdjustment:lower, #GtkAdjustment:upper, + * #GtkAdjustment:step-increment, #GtkAdjustment:page-increment and + * #GtkAdjustment:page-size properties and connect to the + * #GtkAdjustment::value-changed signal. + * + * - Because its preferred size is the size for a fully expanded widget, + * the scrollable widget must be able to cope with underallocations. + * This means that it must accept any value passed to its + * #GtkWidgetClass.size_allocate() function. + * + * - When the parent allocates space to the scrollable child widget, + * the widget should update the adjustments' properties with new values. + * + * - When any of the adjustments emits the #GtkAdjustment::value-changed signal, + * the scrollable widget should scroll its contents. */ #include "config.h" |