Move documentation to inline comments: GtkCellRendererToggle

This commit is contained in:
Javier Jardón 2011-04-11 02:42:54 +01:00
parent f7f7d4eee4
commit fc0e045d92
3 changed files with 13 additions and 127 deletions

View File

@ -13,6 +13,7 @@ gtkcelllayout.sgml
gtkcellrenderer.sgml
gtkcellrendererprogress.sgml
gtkcellrenderertext.sgml
gtkcellrenderertoggle.sgml
gtkcellview.sgml
gtkcolorbutton.sgml
gtkcolorsel.sgml

View File

@ -1,127 +0,0 @@
<!-- ##### SECTION Title ##### -->
GtkCellRendererToggle
<!-- ##### SECTION Short_Description ##### -->
Renders a toggle button in a cell
<!-- ##### SECTION Long_Description ##### -->
<para>
#GtkCellRendererToggle renders a toggle button in a cell. The
button is drawn as a radio- or checkbutton, depending on the
<link linkend="GtkCellRendererToggle--radio">radio</link>
property. When activated, it emits the toggled signal.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### SECTION Image ##### -->
<!-- ##### STRUCT GtkCellRendererToggle ##### -->
<para>
</para>
<!-- ##### SIGNAL GtkCellRendererToggle::toggled ##### -->
<para>
</para>
@cellrenderertoggle: the object which received the signal.
@arg1:
<!-- ##### ARG GtkCellRendererToggle:activatable ##### -->
<para>
</para>
<!-- ##### ARG GtkCellRendererToggle:active ##### -->
<para>
</para>
<!-- ##### ARG GtkCellRendererToggle:inconsistent ##### -->
<para>
</para>
<!-- ##### ARG GtkCellRendererToggle:indicator-size ##### -->
<para>
</para>
<!-- ##### ARG GtkCellRendererToggle:radio ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_cell_renderer_toggle_new ##### -->
<para>
</para>
@void:
@Returns:
<!-- ##### FUNCTION gtk_cell_renderer_toggle_get_radio ##### -->
<para>
</para>
@toggle:
@Returns:
<!-- ##### FUNCTION gtk_cell_renderer_toggle_set_radio ##### -->
<para>
</para>
@toggle:
@radio:
<!-- ##### FUNCTION gtk_cell_renderer_toggle_get_active ##### -->
<para>
</para>
@toggle:
@Returns:
<!-- ##### FUNCTION gtk_cell_renderer_toggle_set_active ##### -->
<para>
</para>
@toggle:
@setting:
<!-- ##### FUNCTION gtk_cell_renderer_toggle_get_activatable ##### -->
<para>
</para>
@toggle:
@Returns:
<!-- ##### FUNCTION gtk_cell_renderer_toggle_set_activatable ##### -->
<para>
</para>
@toggle:
@setting:

View File

@ -26,6 +26,18 @@
#include "gtktreeprivate.h"
/**
* SECTION:gtkcellrenderertoggle
* @Short_description: Renders a toggle button in a cell
* @Title: GtkCellRendererToggle
*
* #GtkCellRendererToggle renders a toggle button in a cell. The
* button is drawn as a radio or a checkbutton, depending on the
* #GtkCellRendererToggle:radio property.
* When activated, it emits the #GtkCellRendererToggle::toggled signal.
*/
static void gtk_cell_renderer_toggle_get_property (GObject *object,
guint param_id,
GValue *value,