diff options
Diffstat (limited to 'docs/reference/gtk/tmpl/gtkbutton.sgml')
-rw-r--r-- | docs/reference/gtk/tmpl/gtkbutton.sgml | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/docs/reference/gtk/tmpl/gtkbutton.sgml b/docs/reference/gtk/tmpl/gtkbutton.sgml index d3aa683082..b67e1009bf 100644 --- a/docs/reference/gtk/tmpl/gtkbutton.sgml +++ b/docs/reference/gtk/tmpl/gtkbutton.sgml @@ -5,40 +5,40 @@ GtkButton A widget that creates a signal when clicked on. <!-- ##### SECTION Long_Description ##### --> -<para>
-The #GtkButton widget is generally used to attach a function to that
-is called when the button is pressed. The various signals and how to use
-them are outlined below.
-</para>
-<para>
-The #GtkButton widget can hold any valid child widget. That is it can
-hold most any other standard #GtkWidget. The most commonly used child is
-the #GtkLabel.
+<para> +The #GtkButton widget is generally used to attach a function to that +is called when the button is pressed. The various signals and how to use +them are outlined below. +</para> +<para> +The #GtkButton widget can hold any valid child widget. That is it can +hold most any other standard #GtkWidget. The most commonly used child is +the #GtkLabel. </para> <!-- ##### SECTION See_Also ##### --> -<para>
-
+<para> + </para> <!-- ##### STRUCT GtkButton ##### --> -<para>
-This should not be accessed directly. Use the accessor functions below.
+<para> +This should not be accessed directly. Use the accessor functions below. </para> <!-- ##### FUNCTION gtk_button_new ##### --> -<para>
-Creates a new #GtkButton widget.
+<para> +Creates a new #GtkButton widget. </para> @Returns: The newly created #GtkButton widget. <!-- ##### FUNCTION gtk_button_new_with_label ##### --> -<para>
-Creates a #GtkButton widget with a #GtkLabel child containing the given
-text.
+<para> +Creates a #GtkButton widget with a #GtkLabel child containing the given +text. </para> @label: The text you want the #GtkLabel to hold. @@ -64,52 +64,52 @@ text. <!-- ##### FUNCTION gtk_button_pressed ##### --> -<para>
-Emits a #GtkButton::pressed signal to the given #GtkButton.
+<para> +Emits a #GtkButton::pressed signal to the given #GtkButton. </para> @button: The #GtkButton you want to send the signal to. <!-- ##### FUNCTION gtk_button_released ##### --> -<para>
-Emits a #GtkButton::released signal to the given #GtkButton.
+<para> +Emits a #GtkButton::released signal to the given #GtkButton. </para> @button: The #GtkButton you want to send the signal to. <!-- ##### FUNCTION gtk_button_clicked ##### --> -<para>
-Emits a #GtkButton::clicked signal to the given #GtkButton.
+<para> +Emits a #GtkButton::clicked signal to the given #GtkButton. </para> @button: The #GtkButton you want to send the signal to. <!-- ##### FUNCTION gtk_button_enter ##### --> -<para>
-Emits a #GtkButton::enter signal to the given #GtkButton.
+<para> +Emits a #GtkButton::enter signal to the given #GtkButton. </para> @button: The #GtkButton you want to send the signal to. <!-- ##### FUNCTION gtk_button_leave ##### --> -<para>
-Emits a #GtkButton::leave signal to the given #GtkButton.
+<para> +Emits a #GtkButton::leave signal to the given #GtkButton. </para> @button: The #GtkButton you want to send the signal to. <!-- ##### FUNCTION gtk_button_set_relief ##### --> -<para>
-Sets the relief style of the edges of the given #GtkButton widget.
-Three styles exist, GTK_RELIEF_NORMAL, GTK_RELIEF_HALF, GTK_RELIEF_NONE.
-The default style is, as one can guess, GTK_RELIEF_NORMAL.
-
-<!-- FIXME: put pictures of each style -->
+<para> +Sets the relief style of the edges of the given #GtkButton widget. +Three styles exist, GTK_RELIEF_NORMAL, GTK_RELIEF_HALF, GTK_RELIEF_NONE. +The default style is, as one can guess, GTK_RELIEF_NORMAL. + +<!-- FIXME: put pictures of each style --> </para> @button: The #GtkButton you want to set relief styles of. @@ -117,8 +117,8 @@ The default style is, as one can guess, GTK_RELIEF_NORMAL. <!-- ##### FUNCTION gtk_button_get_relief ##### --> -<para>
-Returns the current relief style of the given #GtkButton.
+<para> +Returns the current relief style of the given #GtkButton. </para> @button: The #GtkButton you want the #GtkReliefStyle from. @@ -191,39 +191,39 @@ Returns the current relief style of the given #GtkButton. @button: the object which received the signal. <!-- ##### SIGNAL GtkButton::clicked ##### --> -<para>
-Emitted when a button clicked on by the mouse and the cursor stays on the
-button. If the cursor is not on the button when the mouse button is released,
-the signal is not emitted.
+<para> +Emitted when a button clicked on by the mouse and the cursor stays on the +button. If the cursor is not on the button when the mouse button is released, +the signal is not emitted. </para> @button: the object which received the signal. <!-- ##### SIGNAL GtkButton::enter ##### --> -<para>
-Emitted when the mouse cursor enters the region of the button.
+<para> +Emitted when the mouse cursor enters the region of the button. </para> @button: the object which received the signal. <!-- ##### SIGNAL GtkButton::leave ##### --> -<para>
-Emitted when the mouse cursor leaves the region of the button.
+<para> +Emitted when the mouse cursor leaves the region of the button. </para> @button: the object which received the signal. <!-- ##### SIGNAL GtkButton::pressed ##### --> -<para>
-Emitted when the button is initially pressed.
+<para> +Emitted when the button is initially pressed. </para> @button: the object which received the signal. <!-- ##### SIGNAL GtkButton::released ##### --> -<para>
-Emitted when a button which is pressed is released, no matter where the
-mouse cursor is.
+<para> +Emitted when a button which is pressed is released, no matter where the +mouse cursor is. </para> @button: the object which received the signal. @@ -248,12 +248,12 @@ mouse cursor is. </para> -<!-- ##### ARG GtkButton:default-border ##### --> +<!-- ##### ARG GtkButton:default-outside-border ##### --> <para> </para> -<!-- ##### ARG GtkButton:default-outside-border ##### --> +<!-- ##### ARG GtkButton:default-border ##### --> <para> </para> |