forked from AuroraMiddleware/gtk
Move documentation to inline comments: GtkScaleButton
This commit is contained in:
parent
8e06ef4f63
commit
08bd42cf8d
1
docs/reference/gtk/tmpl/.gitignore
vendored
1
docs/reference/gtk/tmpl/.gitignore
vendored
@ -8,6 +8,7 @@ gtkorientable.sgml
|
||||
gtkpagesetupunixdialog.sgml
|
||||
gtkradioaction.sgml
|
||||
gtkrecentaction.sgml
|
||||
gtkscalebutton.sgml
|
||||
gtkseparator.sgml
|
||||
gtktesting.sgml
|
||||
gtktextiter.sgml
|
||||
|
@ -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:
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user