New upstream version 3.23.2
This commit is contained in:
@ -3,12 +3,12 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GtkComboBoxText: GTK+ 3 Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
|
||||
<link rel="up" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
|
||||
<link rel="prev" href="GtkComboBox.html" title="GtkComboBox">
|
||||
<link rel="next" href="GtkMenu.html" title="GtkMenu">
|
||||
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -160,7 +160,7 @@
|
||||
<a name="GtkComboBoxText.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GtkComboBoxText implements
|
||||
AtkImplementor, <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>, <a class="link" href="GtkCellLayout.html" title="GtkCellLayout">GtkCellLayout</a> and <a class="link" href="GtkCellEditable.html" title="GtkCellEditable">GtkCellEditable</a>.</p>
|
||||
AtkImplementorIface, <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>, <a class="link" href="GtkCellLayout.html" title="GtkCellLayout">GtkCellLayout</a> and <a class="link" href="GtkCellEditable.html" title="GtkCellEditable">GtkCellEditable</a>.</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkComboBoxText.includes"></a><h2>Includes</h2>
|
||||
@ -191,27 +191,53 @@ elements for each item. Each <item> element can specify the “id”
|
||||
corresponding to the appended text and also supports the regular
|
||||
translation attributes “translatable”, “context” and “comments”.</p>
|
||||
<p>Here is a UI definition fragment specifying GtkComboBoxText items:</p>
|
||||
<div class="informalexample"><pre class="programlisting">
|
||||
<object class="GtkComboBoxText">
|
||||
<items>
|
||||
<item translatable="yes" id="factory">Factory</item>
|
||||
<item translatable="yes" id="home">Home</item>
|
||||
<item translatable="yes" id="subway">Subway</item>
|
||||
</items>
|
||||
</object>
|
||||
</pre></div>
|
||||
<div class="informalexample">
|
||||
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="listing_lines" align="right"><pre>1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="symbol"><</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkComboBoxText"</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="normal">items</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">item</span><span class="normal"> translatable</span><span class="symbol">=</span><span class="string">"yes"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"factory"</span><span class="symbol">></span><span class="normal">Factory</span><span class="symbol"></</span><span class="normal">item</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">item</span><span class="normal"> translatable</span><span class="symbol">=</span><span class="string">"yes"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"home"</span><span class="symbol">></span><span class="normal">Home</span><span class="symbol"></</span><span class="normal">item</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">item</span><span class="normal"> translatable</span><span class="symbol">=</span><span class="string">"yes"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"subway"</span><span class="symbol">></span><span class="normal">Subway</span><span class="symbol"></</span><span class="normal">item</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"></</span><span class="normal">items</span><span class="symbol">></span>
|
||||
<span class="symbol"></</span><span class="normal">object</span><span class="symbol">></span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<p></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="id-1.3.13.3.8.8"></a><h3>CSS nodes</h3>
|
||||
<div class="informalexample"><pre class="programlisting">
|
||||
combobox
|
||||
╰── box.linked
|
||||
├── entry.combo
|
||||
├── button.combo
|
||||
╰── window.popup
|
||||
</pre></div>
|
||||
<div class="informalexample">
|
||||
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="listing_lines" align="right"><pre>1
|
||||
2
|
||||
3
|
||||
4
|
||||
5</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="normal">combobox</span>
|
||||
<span class="normal">╰── box</span><span class="symbol">.</span><span class="normal">linked</span>
|
||||
<span class="normal"> ├── entry</span><span class="symbol">.</span><span class="normal">combo</span>
|
||||
<span class="normal"> ├── button</span><span class="symbol">.</span><span class="normal">combo</span>
|
||||
<span class="normal"> ╰── window</span><span class="symbol">.</span><span class="normal">popup</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<p></p>
|
||||
<p>GtkComboBoxText has a single CSS node with name combobox. It adds
|
||||
the style class .combo to the main CSS nodes of its entry and button
|
||||
@ -604,6 +630,6 @@ currently active text. Must be freed with <code class="function">g_free()</code>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.27</div>
|
||||
<hr>Generated by GTK-Doc V1.28</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user