Move documentation to inline comments: GtkScaleButton

This commit is contained in:
Javier Jardón 2010-05-16 00:32:05 +02:00
parent 8e06ef4f63
commit 08bd42cf8d
3 changed files with 14 additions and 158 deletions

View File

@ -8,6 +8,7 @@ gtkorientable.sgml
gtkpagesetupunixdialog.sgml
gtkradioaction.sgml
gtkrecentaction.sgml
gtkscalebutton.sgml
gtkseparator.sgml
gtktesting.sgml
gtktextiter.sgml

View File

@ -1,158 +0,0 @@
<!-- ##### SECTION Title ##### -->
GtkScaleButton
<!-- ##### SECTION Short_Description ##### -->
A button which pops up a scale
<!-- ##### SECTION Long_Description ##### -->
<para>
#GtkScaleButton provides a button which pops up a scale widget.
This kind of widget is commonly used for volume controls in multimedia
applications, and GTK+ provides a #GtkVolumeButton subclass that
is tailored for this use case.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### SECTION Image ##### -->
<!-- ##### STRUCT GtkScaleButton ##### -->
<para>
</para>
<!-- ##### SIGNAL GtkScaleButton::popdown ##### -->
<para>
</para>
@scalebutton: the object which received the signal.
<!-- ##### SIGNAL GtkScaleButton::popup ##### -->
<para>
</para>
@scalebutton: the object which received the signal.
<!-- ##### SIGNAL GtkScaleButton::value-changed ##### -->
<para>
</para>
@scalebutton: the object which received the signal.
@arg1:
<!-- ##### ARG GtkScaleButton:adjustment ##### -->
<para>
</para>
<!-- ##### ARG GtkScaleButton:icons ##### -->
<para>
</para>
<!-- ##### ARG GtkScaleButton:size ##### -->
<para>
</para>
<!-- ##### ARG GtkScaleButton:value ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_scale_button_new ##### -->
<para>
</para>
@size:
@min:
@max:
@step:
@icons:
@Returns:
<!-- ##### FUNCTION gtk_scale_button_set_adjustment ##### -->
<para>
</para>
@button:
@adjustment:
<!-- ##### FUNCTION gtk_scale_button_set_icons ##### -->
<para>
</para>
@button:
@icons:
<!-- ##### FUNCTION gtk_scale_button_set_value ##### -->
<para>
</para>
@button:
@value:
<!-- ##### FUNCTION gtk_scale_button_get_adjustment ##### -->
<para>
</para>
@button:
@Returns:
<!-- ##### FUNCTION gtk_scale_button_get_value ##### -->
<para>
</para>
@button:
@Returns:
<!-- ##### FUNCTION gtk_scale_button_get_popup ##### -->
<para>
</para>
@button:
@Returns:
<!-- ##### FUNCTION gtk_scale_button_get_plus_button ##### -->
<para>
</para>
@button:
@Returns:
<!-- ##### FUNCTION gtk_scale_button_get_minus_button ##### -->
<para>
</para>
@button:
@Returns:

View File

@ -60,6 +60,19 @@
#include "gtkintl.h"
#include "gtkalias.h"
/**
* SECTION:gtkscalebutton
* @Short_description: A button which pops up a scale
* @Title: GtkScaleButton
*
* #GtkScaleButton provides a button which pops up a scale widget.
* This kind of widget is commonly used for volume controls in multimedia
* applications, and GTK+ provides a #GtkVolumeButton subclass that
* is tailored for this use case.
*/
#define SCALE_SIZE 100
#define CLICK_TIMEOUT 250