mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 03:40:10 +00:00
Updates.
2006-03-22 Matthias Clasen <mclasen@redhat.com> * gtk/tmpl/gtkcellrendererspin.sgml: * gtk/tmpl/gtkcellrendererprogress.sgml: * gtk/tmpl/gtkcellrenderercombo.sgml: * gtk/tmpl/gtkcellrendereraccel.sgml: Updates.
This commit is contained in:
parent
f98506b1f3
commit
9489f4caaa
@ -1,5 +1,10 @@
|
||||
2006-03-22 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/tmpl/gtkcellrendererspin.sgml:
|
||||
* gtk/tmpl/gtkcellrendererprogress.sgml:
|
||||
* gtk/tmpl/gtkcellrenderercombo.sgml:
|
||||
* gtk/tmpl/gtkcellrendereraccel.sgml: Updates.
|
||||
|
||||
* gtk/gtk-sections.txt: Additions
|
||||
|
||||
2006-03-20 Matthias Clasen <mclasen@redhat.com>
|
||||
|
@ -138,6 +138,7 @@
|
||||
<!ENTITY GtkCellRendererCombo SYSTEM "xml/gtkcellrenderercombo.xml">
|
||||
<!ENTITY GtkCellRendererPixbuf SYSTEM "xml/gtkcellrendererpixbuf.xml">
|
||||
<!ENTITY GtkCellRendererProgress SYSTEM "xml/gtkcellrendererprogress.xml">
|
||||
<!ENTITY GtkCellRendererSpin SYSTEM "xml/gtkcellrendererspin.xml">
|
||||
<!ENTITY GtkCellRendererText SYSTEM "xml/gtkcellrenderertext.xml">
|
||||
<!ENTITY GtkCellRendererToggle SYSTEM "xml/gtkcellrenderertoggle.xml">
|
||||
<!ENTITY GtkCellView SYSTEM "xml/gtkcellview.xml">
|
||||
@ -418,6 +419,7 @@ that is, GUI components such as <link linkend="GtkButton">GtkButton</link> or
|
||||
&GtkCellRendererCombo;
|
||||
&GtkCellRendererPixbuf;
|
||||
&GtkCellRendererProgress;
|
||||
&GtkCellRendererSpin;
|
||||
&GtkCellRendererText;
|
||||
&GtkCellRendererToggle;
|
||||
&GtkListStore;
|
||||
|
79
docs/reference/gtk/tmpl/gtkcellrendereraccel.sgml
Normal file
79
docs/reference/gtk/tmpl/gtkcellrendereraccel.sgml
Normal file
@ -0,0 +1,79 @@
|
||||
<!-- ##### SECTION Title ##### -->
|
||||
GtkCellRendererAccel
|
||||
|
||||
<!-- ##### SECTION Short_Description ##### -->
|
||||
Renders a keyboard accelerator in a cell
|
||||
|
||||
<!-- ##### SECTION Long_Description ##### -->
|
||||
<para>
|
||||
#GtkCellRendererAccel displays a keyboard accelerator (i.e. a
|
||||
key combination like <Control>-a). If the cell renderer is editable, the
|
||||
accelerator can be changed by simply typing the new combination.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The #GtkCellRendererAccel cell renderer was added in GTK+ 2.10.
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### SECTION Stability_Level ##### -->
|
||||
|
||||
|
||||
<!-- ##### STRUCT GtkCellRendererAccel ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### SIGNAL GtkCellRendererAccel::accel-cleared ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cellrendereraccel: the object which received the signal.
|
||||
@arg1:
|
||||
|
||||
<!-- ##### SIGNAL GtkCellRendererAccel::accel-edited ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cellrendereraccel: the object which received the signal.
|
||||
@arg1:
|
||||
@arg2:
|
||||
@arg3:
|
||||
@arg4:
|
||||
|
||||
<!-- ##### ARG GtkCellRendererAccel:accel-key ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkCellRendererAccel:accel-mode ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkCellRendererAccel:accel-mods ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkCellRendererAccel:keycode ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### FUNCTION gtk_cell_renderer_accel_new ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@Returns:
|
||||
|
||||
|
@ -6,18 +6,24 @@ 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.
|
||||
#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
|
||||
cell renderers can be added in a handler for the editing-started signal.
|
||||
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 ##### -->
|
||||
|
@ -6,7 +6,12 @@ Renders numbers as progress bars
|
||||
|
||||
<!-- ##### SECTION Long_Description ##### -->
|
||||
<para>
|
||||
#GtkCellRendererProgress renders a numeric value as a progress par in a cell.
|
||||
Additionally, it can display a text on top of the progress bar.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The #GtkCellRendererProgress cell renderer was added in GTK+ 2.6.
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
|
52
docs/reference/gtk/tmpl/gtkcellrendererspin.sgml
Normal file
52
docs/reference/gtk/tmpl/gtkcellrendererspin.sgml
Normal file
@ -0,0 +1,52 @@
|
||||
<!-- ##### SECTION Title ##### -->
|
||||
GtkCellRendererSpin
|
||||
|
||||
<!-- ##### SECTION Short_Description ##### -->
|
||||
Renders a spin button in a cell
|
||||
|
||||
<!-- ##### SECTION Long_Description ##### -->
|
||||
<para>
|
||||
#GtkCellRendererSpin renders text in a cell like #GtkCellRendererText from
|
||||
which it is derived. But while #GtkCellRendererText offers a simple entry to
|
||||
edit the text, #GtkCellRendererSpin offers a #GtkSpinButton widget. Of course,
|
||||
that means that the text has to be parseable as a floating point number.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The range of the spinbutton is taken from the adjustment property of the
|
||||
cell renderer, which can be set explicitly or mapped to a column in the
|
||||
tree model, like all properties of cell renders. #GtkCellRendererSpin
|
||||
also has properties for the climb rante and the number of digits to
|
||||
display. Other #GtkSpinButton properties can be set in a handler for the
|
||||
start-editing signal.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The #GtkCellRendererSpin cell renderer was added in GTK+ 2.10.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
<para>
|
||||
#GtkCellRendererText, #GtkSpinButton
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### SECTION Stability_Level ##### -->
|
||||
|
||||
|
||||
<!-- ##### STRUCT GtkCellRendererSpin ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@parent:
|
||||
|
||||
<!-- ##### FUNCTION gtk_cell_renderer_spin_new ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@Returns:
|
||||
|
||||
|
@ -40,6 +40,11 @@ the #GtkCellRendererText allows to edit its text using an entry.
|
||||
@arg1:
|
||||
@arg2:
|
||||
|
||||
<!-- ##### ARG GtkCellRendererText:alignment ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkCellRendererText:attributes ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -49,6 +49,11 @@ property. When activated, it emits the toggled signal.
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkCellRendererToggle:indicator-size ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkCellRendererToggle:radio ##### -->
|
||||
<para>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user