📄 gtkcellrenderercombo.sgml
字号:
<!-- ##### 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 #GtkComboBoxEntrywidget 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 ##### --><!-- ##### STRUCT GtkCellRendererCombo ##### --><para></para><!-- ##### 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>@Returns:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -