forked from AuroraMiddleware/gtk
Move documentation to inline comments: GtkCellRendererCombo
This commit is contained in:
parent
1f50a4d011
commit
3990af227f
1
docs/reference/gtk/tmpl/.gitignore
vendored
1
docs/reference/gtk/tmpl/.gitignore
vendored
@ -12,6 +12,7 @@ gtkcelleditable.sgml
|
||||
gtkcelllayout.sgml
|
||||
gtkcellrenderer.sgml
|
||||
gtkcellrendereraccel.sgml
|
||||
gtkcellrenderercombo.sgml
|
||||
gtkcellrendererprogress.sgml
|
||||
gtkcellrendererspin.sgml
|
||||
gtkcellrenderertext.sgml
|
||||
|
@ -1,78 +0,0 @@
|
||||
<!-- ##### SECTION Title ##### -->
|
||||
GtkCellRendererCombo
|
||||
|
||||
<!-- ##### SECTION Short_Description ##### -->
|
||||
Renders a combobox in a cell
|
||||
|
||||
<!-- ##### SECTION Long_Description ##### -->
|
||||
<para>
|
||||
#GtkCellRendererCombo renders text in a cell like #GtkCellRendererText from
|
||||
which it is derived. But while #GtkCellRendererText offers a simple entry to
|
||||
edit the text, #GtkCellRendererCombo offers a #GtkComboBox or #GtkComboBoxEntry
|
||||
widget to edit the text. The values to display in the combo box are taken from
|
||||
the tree model specified in the
|
||||
<link linkend="GtkCellRendererCombo--model">model</link> property.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The combo cell renderer takes care of adding a text cell renderer to the combo
|
||||
box and sets it to display the column specified by its
|
||||
<link linkend="GtkCellRendererCombo--text-column">text-column</link>
|
||||
property. Further properties of the comnbo box can be set in a handler for the
|
||||
editing-started signal.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The #GtkCellRendererCombo cell renderer was added in GTK+ 2.6.
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION Stability_Level ##### -->
|
||||
|
||||
|
||||
<!-- ##### SECTION Image ##### -->
|
||||
|
||||
|
||||
<!-- ##### STRUCT GtkCellRendererCombo ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### SIGNAL GtkCellRendererCombo::changed ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cellrenderercombo: the object which received the signal.
|
||||
@arg1:
|
||||
@arg2:
|
||||
|
||||
<!-- ##### ARG GtkCellRendererCombo:has-entry ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkCellRendererCombo:model ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkCellRendererCombo:text-column ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### FUNCTION gtk_cell_renderer_combo_new ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@void:
|
||||
@Returns:
|
||||
|
||||
|
@ -30,6 +30,27 @@
|
||||
#include "gtkmarshalers.h"
|
||||
#include "gtkprivate.h"
|
||||
|
||||
|
||||
/**
|
||||
* SECTION:gtkcellrenderercombo
|
||||
* @Short_description: Renders a combobox in a cell
|
||||
* @Title: GtkCellRendererCombo
|
||||
*
|
||||
* #GtkCellRendererCombo renders text in a cell like #GtkCellRendererText from
|
||||
* which it is derived. But while #GtkCellRendererText offers a simple entry to
|
||||
* edit the text, #GtkCellRendererCombo offers a #GtkComboBox or #GtkComboBoxEntry
|
||||
* widget to edit the text. The values to display in the combo box are taken from
|
||||
* the tree model specified in the #GtkCellRendererCombo:model property.
|
||||
*
|
||||
* The combo cell renderer takes care of adding a text cell renderer to the combo
|
||||
* box and sets it to display the column specified by its
|
||||
* #GtkCellRendererCombo:text-column property. Further properties of the comnbo box
|
||||
* can be set in a handler for the #GtkCellRenderer::editing-started signal.
|
||||
*
|
||||
* The #GtkCellRendererCombo cell renderer was added in GTK+ 2.6.
|
||||
*/
|
||||
|
||||
|
||||
struct _GtkCellRendererComboPrivate
|
||||
{
|
||||
GtkTreeModel *model;
|
||||
|
Loading…
Reference in New Issue
Block a user