~ubuntu-branches/ubuntu/precise/gtk+2.0/precise-updates

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/GtkEntryCompletion.html

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2011-12-01 11:40:06 UTC
  • mfrom: (1.14.11)
  • Revision ID: package-import@ubuntu.com-20111201114006-nrmf6qu3pg512veo
Tags: 2.24.8-0ubuntu1
* New upstream release 
  - gtkfilechooser should be more robust to malformed URIs
    in .gtk-bookmarks (LP: #189494)
* debian/patches/010_make_bg_changes_queue_repaint.patch
  - dropped it introduces performance regressions in some gtk2 
    apps (LP: #889019)
* 101_filechooser.patch, 000git_file_chooser.patch: dropped, upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="NumericEntry.html" title="Numeric/Text Data Entry">
9
9
<link rel="prev" href="GtkEntryBuffer.html" title="GtkEntryBuffer">
10
10
<link rel="next" href="GtkHScale.html" title="GtkHScale">
11
 
<meta name="generator" content="GTK-Doc V1.17.1 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
49
49
#include &lt;gtk/gtk.h&gt;
50
50
 
51
51
struct              <a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion-struct" title="struct GtkEntryCompletion">GtkEntryCompletion</a>;
52
 
<span class="returnvalue">gboolean</span>            (<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletionMatchFunc" title="GtkEntryCompletionMatchFunc ()">*GtkEntryCompletionMatchFunc</a>)      (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
53
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
 
52
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            (<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletionMatchFunc" title="GtkEntryCompletionMatchFunc ()">*GtkEntryCompletionMatchFunc</a>)      (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
 
53
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
54
54
                                                         <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>,
55
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
 
55
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
56
56
<a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="returnvalue">GtkEntryCompletion</span></a> * <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-new" title="gtk_entry_completion_new ()">gtk_entry_completion_new</a>           (<em class="parameter"><code><span class="type">void</span></code></em>);
57
57
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-entry" title="gtk_entry_completion_get_entry ()">gtk_entry_completion_get_entry</a>      (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);
58
58
<span class="returnvalue">void</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-set-model" title="gtk_entry_completion_set_model ()">gtk_entry_completion_set_model</a>      (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
60
60
<a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="returnvalue">GtkTreeModel</span></a> *      <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-model" title="gtk_entry_completion_get_model ()">gtk_entry_completion_get_model</a>      (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);
61
61
<span class="returnvalue">void</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-set-match-func" title="gtk_entry_completion_set_match_func ()">gtk_entry_completion_set_match_func</a> (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
62
62
                                                         <em class="parameter"><code><a class="link" href="GtkEntryCompletion.html#GtkEntryCompletionMatchFunc" title="GtkEntryCompletionMatchFunc ()"><span class="type">GtkEntryCompletionMatchFunc</span></a> func</code></em>,
63
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> func_data</code></em>,
64
 
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> func_notify</code></em>);
 
63
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>,
 
64
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> func_notify</code></em>);
65
65
<span class="returnvalue">void</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-set-minimum-key-length" title="gtk_entry_completion_set_minimum_key_length ()">gtk_entry_completion_set_minimum_key_length</a>
66
66
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
67
 
                                                         <em class="parameter"><code><span class="type">gint</span> length</code></em>);
68
 
<span class="returnvalue">gint</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-minimum-key-length" title="gtk_entry_completion_get_minimum_key_length ()">gtk_entry_completion_get_minimum_key_length</a>
 
67
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>);
 
68
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-minimum-key-length" title="gtk_entry_completion_get_minimum_key_length ()">gtk_entry_completion_get_minimum_key_length</a>
69
69
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);
70
70
<span class="returnvalue">void</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-complete" title="gtk_entry_completion_complete ()">gtk_entry_completion_complete</a>       (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);
71
 
const <span class="returnvalue">gchar</span> *       <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-completion-prefix" title="gtk_entry_completion_get_completion_prefix ()">gtk_entry_completion_get_completion_prefix</a>
 
71
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-completion-prefix" title="gtk_entry_completion_get_completion_prefix ()">gtk_entry_completion_get_completion_prefix</a>
72
72
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);
73
73
<span class="returnvalue">void</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-insert-prefix" title="gtk_entry_completion_insert_prefix ()">gtk_entry_completion_insert_prefix</a>  (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);
74
74
<span class="returnvalue">void</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-insert-action-text" title="gtk_entry_completion_insert_action_text ()">gtk_entry_completion_insert_action_text</a>
75
75
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
76
 
                                                         <em class="parameter"><code><span class="type">gint</span> index_</code></em>,
77
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);
 
76
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index_</code></em>,
 
77
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
78
78
<span class="returnvalue">void</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-insert-action-markup" title="gtk_entry_completion_insert_action_markup ()">gtk_entry_completion_insert_action_markup</a>
79
79
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
80
 
                                                         <em class="parameter"><code><span class="type">gint</span> index_</code></em>,
81
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *markup</code></em>);
 
80
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index_</code></em>,
 
81
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *markup</code></em>);
82
82
<span class="returnvalue">void</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-delete-action" title="gtk_entry_completion_delete_action ()">gtk_entry_completion_delete_action</a>  (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
83
 
                                                         <em class="parameter"><code><span class="type">gint</span> index_</code></em>);
 
83
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index_</code></em>);
84
84
<span class="returnvalue">void</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-set-text-column" title="gtk_entry_completion_set_text_column ()">gtk_entry_completion_set_text_column</a>
85
85
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
86
 
                                                         <em class="parameter"><code><span class="type">gint</span> column</code></em>);
87
 
<span class="returnvalue">gint</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-text-column" title="gtk_entry_completion_get_text_column ()">gtk_entry_completion_get_text_column</a>
 
86
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);
 
87
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-text-column" title="gtk_entry_completion_get_text_column ()">gtk_entry_completion_get_text_column</a>
88
88
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);
89
89
<span class="returnvalue">void</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-set-inline-completion" title="gtk_entry_completion_set_inline_completion ()">gtk_entry_completion_set_inline_completion</a>
90
90
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
91
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> inline_completion</code></em>);
92
 
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-inline-completion" title="gtk_entry_completion_get_inline_completion ()">gtk_entry_completion_get_inline_completion</a>
 
91
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> inline_completion</code></em>);
 
92
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-inline-completion" title="gtk_entry_completion_get_inline_completion ()">gtk_entry_completion_get_inline_completion</a>
93
93
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);
94
94
<span class="returnvalue">void</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-set-inline-selection" title="gtk_entry_completion_set_inline_selection ()">gtk_entry_completion_set_inline_selection</a>
95
95
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
96
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> inline_selection</code></em>);
97
 
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-inline-selection" title="gtk_entry_completion_get_inline_selection ()">gtk_entry_completion_get_inline_selection</a>
 
96
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> inline_selection</code></em>);
 
97
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-inline-selection" title="gtk_entry_completion_get_inline_selection ()">gtk_entry_completion_get_inline_selection</a>
98
98
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);
99
99
<span class="returnvalue">void</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-set-popup-completion" title="gtk_entry_completion_set_popup_completion ()">gtk_entry_completion_set_popup_completion</a>
100
100
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
101
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> popup_completion</code></em>);
102
 
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-popup-completion" title="gtk_entry_completion_get_popup_completion ()">gtk_entry_completion_get_popup_completion</a>
 
101
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> popup_completion</code></em>);
 
102
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-popup-completion" title="gtk_entry_completion_get_popup_completion ()">gtk_entry_completion_get_popup_completion</a>
103
103
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);
104
104
<span class="returnvalue">void</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-set-popup-set-width" title="gtk_entry_completion_set_popup_set_width ()">gtk_entry_completion_set_popup_set_width</a>
105
105
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
106
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> popup_set_width</code></em>);
107
 
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-popup-set-width" title="gtk_entry_completion_get_popup_set_width ()">gtk_entry_completion_get_popup_set_width</a>
 
106
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> popup_set_width</code></em>);
 
107
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-popup-set-width" title="gtk_entry_completion_get_popup_set_width ()">gtk_entry_completion_get_popup_set_width</a>
108
108
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);
109
109
<span class="returnvalue">void</span>                <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-set-popup-single-match" title="gtk_entry_completion_set_popup_single_match ()">gtk_entry_completion_set_popup_single_match</a>
110
110
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
111
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> popup_single_match</code></em>);
112
 
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-popup-single-match" title="gtk_entry_completion_get_popup_single_match ()">gtk_entry_completion_get_popup_single_match</a>
 
111
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> popup_single_match</code></em>);
 
112
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkEntryCompletion.html#gtk-entry-completion-get-popup-single-match" title="gtk_entry_completion_get_popup_single_match ()">gtk_entry_completion_get_popup_single_match</a>
113
113
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);
114
114
</pre>
115
115
</div>
116
116
<div class="refsect1">
117
117
<a name="GtkEntryCompletion.object-hierarchy"></a><h2>Object Hierarchy</h2>
118
118
<pre class="synopsis">
119
 
  GObject
 
119
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
120
120
   +----GtkEntryCompletion
121
121
</pre>
122
122
</div>
129
129
<div class="refsect1">
130
130
<a name="GtkEntryCompletion.properties"></a><h2>Properties</h2>
131
131
<pre class="synopsis">
132
 
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--inline-completion" title='The "inline-completion" property'>inline-completion</a>"        <span class="type">gboolean</span>              : Read / Write
133
 
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--inline-selection" title='The "inline-selection" property'>inline-selection</a>"         <span class="type">gboolean</span>              : Read / Write
134
 
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--minimum-key-length" title='The "minimum-key-length" property'>minimum-key-length</a>"       <span class="type">gint</span>                  : Read / Write
 
132
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--inline-completion" title='The "inline-completion" property'>inline-completion</a>"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
133
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--inline-selection" title='The "inline-selection" property'>inline-selection</a>"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
134
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--minimum-key-length" title='The "minimum-key-length" property'>minimum-key-length</a>"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
135
135
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--model" title='The "model" property'>model</a>"                    <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>*         : Read / Write
136
 
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--popup-completion" title='The "popup-completion" property'>popup-completion</a>"         <span class="type">gboolean</span>              : Read / Write
137
 
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--popup-set-width" title='The "popup-set-width" property'>popup-set-width</a>"          <span class="type">gboolean</span>              : Read / Write
138
 
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--popup-single-match" title='The "popup-single-match" property'>popup-single-match</a>"       <span class="type">gboolean</span>              : Read / Write
139
 
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--text-column" title='The "text-column" property'>text-column</a>"              <span class="type">gint</span>                  : Read / Write
 
136
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--popup-completion" title='The "popup-completion" property'>popup-completion</a>"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
137
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--popup-set-width" title='The "popup-set-width" property'>popup-set-width</a>"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
138
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--popup-single-match" title='The "popup-single-match" property'>popup-single-match</a>"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
139
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--text-column" title='The "text-column" property'>text-column</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
140
140
</pre>
141
141
</div>
142
142
<div class="refsect1">
143
143
<a name="GtkEntryCompletion.signals"></a><h2>Signals</h2>
144
144
<pre class="synopsis">
145
 
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion-action-activated" title='The "action-activated" signal'>action-activated</a>"                               : <code class="literal">Run Last</code>
146
 
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion-cursor-on-match" title='The "cursor-on-match" signal'>cursor-on-match</a>"                                : <code class="literal">Run Last</code>
147
 
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion-insert-prefix" title='The "insert-prefix" signal'>insert-prefix</a>"                                  : <code class="literal">Run Last</code>
148
 
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion-match-selected" title='The "match-selected" signal'>match-selected</a>"                                 : <code class="literal">Run Last</code>
 
145
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion-action-activated" title='The "action-activated" signal'>action-activated</a>"                               : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
 
146
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion-cursor-on-match" title='The "cursor-on-match" signal'>cursor-on-match</a>"                                : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
 
147
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion-insert-prefix" title='The "insert-prefix" signal'>insert-prefix</a>"                                  : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
 
148
  "<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion-match-selected" title='The "match-selected" signal'>match-selected</a>"                                 : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
149
149
</pre>
150
150
</div>
151
151
<div class="refsect1">
170
170
By default, the content of the entry is replaced by the text column of the
171
171
model, but this can be overridden by connecting to the ::match-selected signal
172
172
and updating the entry in the signal handler. Note that you should return
173
 
<code class="literal">TRUE</code> from the signal handler to suppress the default behaviour.
 
173
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> from the signal handler to suppress the default behaviour.
174
174
</p>
175
175
<p>
176
176
To add completion functionality to an entry, use <a class="link" href="GtkEntry.html#gtk-entry-set-completion" title="gtk_entry_set_completion ()"><code class="function">gtk_entry_set_completion()</code></a>.
195
195
<hr>
196
196
<div class="refsect2">
197
197
<a name="GtkEntryCompletionMatchFunc"></a><h3>GtkEntryCompletionMatchFunc ()</h3>
198
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            (*GtkEntryCompletionMatchFunc)      (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
199
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
 
198
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            (*GtkEntryCompletionMatchFunc)      (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
 
199
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
200
200
                                                         <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>,
201
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
 
201
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
202
202
<p>
203
203
A function which decides whether the row indicated by <em class="parameter"><code>iter</code></em> matches a given
204
204
<em class="parameter"><code>key</code></em>, and should be displayed as a possible completion for <em class="parameter"><code>key</code></em>. Note that
205
 
<em class="parameter"><code>key</code></em> is normalized and case-folded (see <code class="function">g_utf8_normalize()</code> and
206
 
<code class="function">g_utf8_casefold()</code>). If this is not appropriate, match functions have access
 
205
<em class="parameter"><code>key</code></em> is normalized and case-folded (see <a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#g-utf8-normalize"><code class="function">g_utf8_normalize()</code></a> and
 
206
<a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#g-utf8-casefold"><code class="function">g_utf8_casefold()</code></a>). If this is not appropriate, match functions have access
207
207
to the unmodified key via <code class="literal">gtk_entry_get_text (GTK_ENTRY (gtk_entry_completion_get_entry ()))</code>.
208
208
</p>
209
209
<div class="variablelist"><table border="0">
230
230
<tr>
231
231
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
232
232
<td>
233
 
<code class="literal">TRUE</code> if <em class="parameter"><code>iter</code></em> should be displayed as a possible completion for <em class="parameter"><code>key</code></em>
 
233
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em> should be displayed as a possible completion for <em class="parameter"><code>key</code></em>
234
234
</td>
235
235
</tr>
236
236
</tbody>
283
283
<p>
284
284
Sets the model for a <a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a>. If <em class="parameter"><code>completion</code></em> already has
285
285
a model set, it will remove it before setting the new model.
286
 
If model is <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, then it will unset the model.
 
286
If model is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then it will unset the model.
287
287
</p>
288
288
<div class="variablelist"><table border="0">
289
289
<col align="left" valign="top">
307
307
<pre class="programlisting"><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="returnvalue">GtkTreeModel</span></a> *      gtk_entry_completion_get_model      (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);</pre>
308
308
<p>
309
309
Returns the model the <a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> is using as data source.
310
 
Returns <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if the model is unset.
 
310
Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the model is unset.
311
311
</p>
312
312
<div class="variablelist"><table border="0">
313
313
<col align="left" valign="top">
318
318
</tr>
319
319
<tr>
320
320
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
321
 
<td>A <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if none
 
321
<td>A <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none
322
322
is currently being used. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
323
323
</td>
324
324
</tr>
331
331
<a name="gtk-entry-completion-set-match-func"></a><h3>gtk_entry_completion_set_match_func ()</h3>
332
332
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_entry_completion_set_match_func (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
333
333
                                                         <em class="parameter"><code><a class="link" href="GtkEntryCompletion.html#GtkEntryCompletionMatchFunc" title="GtkEntryCompletionMatchFunc ()"><span class="type">GtkEntryCompletionMatchFunc</span></a> func</code></em>,
334
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> func_data</code></em>,
335
 
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> func_notify</code></em>);</pre>
 
334
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>,
 
335
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> func_notify</code></em>);</pre>
336
336
<p>
337
337
Sets the match function for <em class="parameter"><code>completion</code></em> to be <em class="parameter"><code>func</code></em>. The match function
338
338
is used to determine if a row should or should not be in the completion
366
366
<a name="gtk-entry-completion-set-minimum-key-length"></a><h3>gtk_entry_completion_set_minimum_key_length ()</h3>
367
367
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_entry_completion_set_minimum_key_length
368
368
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
369
 
                                                         <em class="parameter"><code><span class="type">gint</span> length</code></em>);</pre>
 
369
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>);</pre>
370
370
<p>
371
371
Requires the length of the search key for <em class="parameter"><code>completion</code></em> to be at least
372
372
<em class="parameter"><code>length</code></em>. This is useful for long lists, where completing using a small
391
391
<hr>
392
392
<div class="refsect2">
393
393
<a name="gtk-entry-completion-get-minimum-key-length"></a><h3>gtk_entry_completion_get_minimum_key_length ()</h3>
394
 
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_entry_completion_get_minimum_key_length
 
394
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_entry_completion_get_minimum_key_length
395
395
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);</pre>
396
396
<p>
397
397
Returns the minimum key length as set for <em class="parameter"><code>completion</code></em>.
432
432
<hr>
433
433
<div class="refsect2">
434
434
<a name="gtk-entry-completion-get-completion-prefix"></a><h3>gtk_entry_completion_get_completion_prefix ()</h3>
435
 
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       gtk_entry_completion_get_completion_prefix
 
435
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gtk_entry_completion_get_completion_prefix
436
436
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);</pre>
437
437
<p>
438
438
Get the original text entered by the user that triggered
439
 
the completion or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if there's no completion ongoing.
 
439
the completion or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there's no completion ongoing.
440
440
</p>
441
441
<div class="variablelist"><table border="0">
442
442
<col align="left" valign="top">
476
476
<a name="gtk-entry-completion-insert-action-text"></a><h3>gtk_entry_completion_insert_action_text ()</h3>
477
477
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_entry_completion_insert_action_text
478
478
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
479
 
                                                         <em class="parameter"><code><span class="type">gint</span> index_</code></em>,
480
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);</pre>
 
479
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index_</code></em>,
 
480
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
481
481
<p>
482
482
Inserts an action in <em class="parameter"><code>completion</code></em>'s action item list at position <em class="parameter"><code>index_</code></em>
483
483
with text <em class="parameter"><code>text</code></em>. If you want the action item to have markup, use
507
507
<a name="gtk-entry-completion-insert-action-markup"></a><h3>gtk_entry_completion_insert_action_markup ()</h3>
508
508
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_entry_completion_insert_action_markup
509
509
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
510
 
                                                         <em class="parameter"><code><span class="type">gint</span> index_</code></em>,
511
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *markup</code></em>);</pre>
 
510
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index_</code></em>,
 
511
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *markup</code></em>);</pre>
512
512
<p>
513
513
Inserts an action in <em class="parameter"><code>completion</code></em>'s action item list at position <em class="parameter"><code>index_</code></em>
514
514
with markup <em class="parameter"><code>markup</code></em>.
536
536
<div class="refsect2">
537
537
<a name="gtk-entry-completion-delete-action"></a><h3>gtk_entry_completion_delete_action ()</h3>
538
538
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_entry_completion_delete_action  (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
539
 
                                                         <em class="parameter"><code><span class="type">gint</span> index_</code></em>);</pre>
 
539
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index_</code></em>);</pre>
540
540
<p>
541
541
Deletes the action at <em class="parameter"><code>index_</code></em> from <em class="parameter"><code>completion</code></em>'s action list.
542
542
</p>
560
560
<a name="gtk-entry-completion-set-text-column"></a><h3>gtk_entry_completion_set_text_column ()</h3>
561
561
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_entry_completion_set_text_column
562
562
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
563
 
                                                         <em class="parameter"><code><span class="type">gint</span> column</code></em>);</pre>
 
563
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);</pre>
564
564
<p>
565
565
Convenience function for setting up the most used case of this code: a
566
566
completion list with just strings. This function will set up <em class="parameter"><code>completion</code></em>
570
570
<p>
571
571
This functions creates and adds a <a class="link" href="GtkCellRendererText.html" title="GtkCellRendererText"><span class="type">GtkCellRendererText</span></a> for the selected 
572
572
column. If you need to set the text column, but don't want the cell 
573
 
renderer, use <code class="function">g_object_set()</code> to set the ::text_column property directly.
 
573
renderer, use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set"><code class="function">g_object_set()</code></a> to set the ::text_column property directly.
574
574
</p>
575
575
<div class="variablelist"><table border="0">
576
576
<col align="left" valign="top">
590
590
<hr>
591
591
<div class="refsect2">
592
592
<a name="gtk-entry-completion-get-text-column"></a><h3>gtk_entry_completion_get_text_column ()</h3>
593
 
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_entry_completion_get_text_column
 
593
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_entry_completion_get_text_column
594
594
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);</pre>
595
595
<p>
596
596
Returns the column in the model of <em class="parameter"><code>completion</code></em> to get strings from.
616
616
<a name="gtk-entry-completion-set-inline-completion"></a><h3>gtk_entry_completion_set_inline_completion ()</h3>
617
617
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_entry_completion_set_inline_completion
618
618
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
619
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> inline_completion</code></em>);</pre>
 
619
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> inline_completion</code></em>);</pre>
620
620
<p>
621
621
Sets whether the common prefix of the possible completions should
622
622
be automatically inserted in the entry.
632
632
<tr>
633
633
<td><p><span class="term"><em class="parameter"><code>inline_completion</code></em> :</span></p></td>
634
634
<td>
635
 
<code class="literal">TRUE</code> to do inline completion</td>
 
635
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to do inline completion</td>
636
636
</tr>
637
637
</tbody>
638
638
</table></div>
641
641
<hr>
642
642
<div class="refsect2">
643
643
<a name="gtk-entry-completion-get-inline-completion"></a><h3>gtk_entry_completion_get_inline_completion ()</h3>
644
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_entry_completion_get_inline_completion
 
644
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_entry_completion_get_inline_completion
645
645
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);</pre>
646
646
<p>
647
647
Returns whether the common prefix of the possible completions should
658
658
<tr>
659
659
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
660
660
<td>
661
 
<code class="literal">TRUE</code> if inline completion is turned on</td>
 
661
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if inline completion is turned on</td>
662
662
</tr>
663
663
</tbody>
664
664
</table></div>
669
669
<a name="gtk-entry-completion-set-inline-selection"></a><h3>gtk_entry_completion_set_inline_selection ()</h3>
670
670
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_entry_completion_set_inline_selection
671
671
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
672
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> inline_selection</code></em>);</pre>
 
672
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> inline_selection</code></em>);</pre>
673
673
<p>
674
674
Sets whether it is possible to cycle through the possible completions
675
675
inside the entry.
685
685
<tr>
686
686
<td><p><span class="term"><em class="parameter"><code>inline_selection</code></em> :</span></p></td>
687
687
<td>
688
 
<code class="literal">TRUE</code> to do inline selection</td>
 
688
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to do inline selection</td>
689
689
</tr>
690
690
</tbody>
691
691
</table></div>
694
694
<hr>
695
695
<div class="refsect2">
696
696
<a name="gtk-entry-completion-get-inline-selection"></a><h3>gtk_entry_completion_get_inline_selection ()</h3>
697
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_entry_completion_get_inline_selection
 
697
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_entry_completion_get_inline_selection
698
698
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);</pre>
699
699
<p>
700
 
Returns <code class="literal">TRUE</code> if inline-selection mode is turned on.
 
700
Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if inline-selection mode is turned on.
701
701
</p>
702
702
<div class="variablelist"><table border="0">
703
703
<col align="left" valign="top">
710
710
<tr>
711
711
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
712
712
<td>
713
 
<code class="literal">TRUE</code> if inline-selection mode is on</td>
 
713
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if inline-selection mode is on</td>
714
714
</tr>
715
715
</tbody>
716
716
</table></div>
721
721
<a name="gtk-entry-completion-set-popup-completion"></a><h3>gtk_entry_completion_set_popup_completion ()</h3>
722
722
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_entry_completion_set_popup_completion
723
723
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
724
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> popup_completion</code></em>);</pre>
 
724
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> popup_completion</code></em>);</pre>
725
725
<p>
726
726
Sets whether the completions should be presented in a popup window.
727
727
</p>
736
736
<tr>
737
737
<td><p><span class="term"><em class="parameter"><code>popup_completion</code></em> :</span></p></td>
738
738
<td>
739
 
<code class="literal">TRUE</code> to do popup completion</td>
 
739
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to do popup completion</td>
740
740
</tr>
741
741
</tbody>
742
742
</table></div>
745
745
<hr>
746
746
<div class="refsect2">
747
747
<a name="gtk-entry-completion-get-popup-completion"></a><h3>gtk_entry_completion_get_popup_completion ()</h3>
748
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_entry_completion_get_popup_completion
 
748
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_entry_completion_get_popup_completion
749
749
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);</pre>
750
750
<p>
751
751
Returns whether the completions should be presented in a popup window.
761
761
<tr>
762
762
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
763
763
<td>
764
 
<code class="literal">TRUE</code> if popup completion is turned on</td>
 
764
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if popup completion is turned on</td>
765
765
</tr>
766
766
</tbody>
767
767
</table></div>
772
772
<a name="gtk-entry-completion-set-popup-set-width"></a><h3>gtk_entry_completion_set_popup_set_width ()</h3>
773
773
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_entry_completion_set_popup_set_width
774
774
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
775
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> popup_set_width</code></em>);</pre>
 
775
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> popup_set_width</code></em>);</pre>
776
776
<p>
777
777
Sets whether the completion popup window will be resized to be the same
778
778
width as the entry.
788
788
<tr>
789
789
<td><p><span class="term"><em class="parameter"><code>popup_set_width</code></em> :</span></p></td>
790
790
<td>
791
 
<code class="literal">TRUE</code> to make the width of the popup the same as the entry</td>
 
791
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to make the width of the popup the same as the entry</td>
792
792
</tr>
793
793
</tbody>
794
794
</table></div>
797
797
<hr>
798
798
<div class="refsect2">
799
799
<a name="gtk-entry-completion-get-popup-set-width"></a><h3>gtk_entry_completion_get_popup_set_width ()</h3>
800
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_entry_completion_get_popup_set_width
 
800
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_entry_completion_get_popup_set_width
801
801
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);</pre>
802
802
<p>
803
803
Returns whether the  completion popup window will be resized to the 
814
814
<tr>
815
815
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
816
816
<td>
817
 
<code class="literal">TRUE</code> if the popup window will be resized to the width of
 
817
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the popup window will be resized to the width of
818
818
the entry</td>
819
819
</tr>
820
820
</tbody>
826
826
<a name="gtk-entry-completion-set-popup-single-match"></a><h3>gtk_entry_completion_set_popup_single_match ()</h3>
827
827
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_entry_completion_set_popup_single_match
828
828
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>,
829
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> popup_single_match</code></em>);</pre>
 
829
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> popup_single_match</code></em>);</pre>
830
830
<p>
831
831
Sets whether the completion popup window will appear even if there is
832
 
only a single match. You may want to set this to <code class="literal">FALSE</code> if you
 
832
only a single match. You may want to set this to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if you
833
833
are using <a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--inline-completion" title='The "inline-completion" property'>inline
834
834
completion</a>.
835
835
</p>
844
844
<tr>
845
845
<td><p><span class="term"><em class="parameter"><code>popup_single_match</code></em> :</span></p></td>
846
846
<td>
847
 
<code class="literal">TRUE</code> if the popup should appear even for a single
 
847
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the popup should appear even for a single
848
848
match</td>
849
849
</tr>
850
850
</tbody>
854
854
<hr>
855
855
<div class="refsect2">
856
856
<a name="gtk-entry-completion-get-popup-single-match"></a><h3>gtk_entry_completion_get_popup_single_match ()</h3>
857
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_entry_completion_get_popup_single_match
 
857
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_entry_completion_get_popup_single_match
858
858
                                                        (<em class="parameter"><code><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *completion</code></em>);</pre>
859
859
<p>
860
860
Returns whether the completion popup window will appear even if there is
871
871
<tr>
872
872
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
873
873
<td>
874
 
<code class="literal">TRUE</code> if the popup window will appear regardless of the
 
874
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the popup window will appear regardless of the
875
875
number of matches.</td>
876
876
</tr>
877
877
</tbody>
883
883
<a name="GtkEntryCompletion.property-details"></a><h2>Property Details</h2>
884
884
<div class="refsect2">
885
885
<a name="GtkEntryCompletion--inline-completion"></a><h3>The <code class="literal">"inline-completion"</code> property</h3>
886
 
<pre class="programlisting">  "inline-completion"        <span class="type">gboolean</span>              : Read / Write</pre>
 
886
<pre class="programlisting">  "inline-completion"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
887
887
<p>
888
888
Determines whether the common prefix of the possible completions
889
889
should be inserted automatically in the entry. Note that this
896
896
<hr>
897
897
<div class="refsect2">
898
898
<a name="GtkEntryCompletion--inline-selection"></a><h3>The <code class="literal">"inline-selection"</code> property</h3>
899
 
<pre class="programlisting">  "inline-selection"         <span class="type">gboolean</span>              : Read / Write</pre>
 
899
<pre class="programlisting">  "inline-selection"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
900
900
<p>
901
901
Determines whether the possible completions on the popup
902
902
will appear in the entry as you navigate through them.
907
907
<hr>
908
908
<div class="refsect2">
909
909
<a name="GtkEntryCompletion--minimum-key-length"></a><h3>The <code class="literal">"minimum-key-length"</code> property</h3>
910
 
<pre class="programlisting">  "minimum-key-length"       <span class="type">gint</span>                  : Read / Write</pre>
 
910
<pre class="programlisting">  "minimum-key-length"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
911
911
<p>Minimum length of the search key in order to look up matches.</p>
912
912
<p>Allowed values: &gt;= 0</p>
913
913
<p>Default value: 1</p>
921
921
<hr>
922
922
<div class="refsect2">
923
923
<a name="GtkEntryCompletion--popup-completion"></a><h3>The <code class="literal">"popup-completion"</code> property</h3>
924
 
<pre class="programlisting">  "popup-completion"         <span class="type">gboolean</span>              : Read / Write</pre>
 
924
<pre class="programlisting">  "popup-completion"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
925
925
<p>
926
926
Determines whether the possible completions should be 
927
927
shown in a popup window.
932
932
<hr>
933
933
<div class="refsect2">
934
934
<a name="GtkEntryCompletion--popup-set-width"></a><h3>The <code class="literal">"popup-set-width"</code> property</h3>
935
 
<pre class="programlisting">  "popup-set-width"          <span class="type">gboolean</span>              : Read / Write</pre>
 
935
<pre class="programlisting">  "popup-set-width"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
936
936
<p>
937
937
Determines whether the completions popup window will be
938
938
resized to the width of the entry.
943
943
<hr>
944
944
<div class="refsect2">
945
945
<a name="GtkEntryCompletion--popup-single-match"></a><h3>The <code class="literal">"popup-single-match"</code> property</h3>
946
 
<pre class="programlisting">  "popup-single-match"       <span class="type">gboolean</span>              : Read / Write</pre>
 
946
<pre class="programlisting">  "popup-single-match"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
947
947
<p>
948
948
Determines whether the completions popup window will shown
949
949
for a single possible completion. You probably want to set
950
 
this to <code class="literal">FALSE</code> if you are using 
 
950
this to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if you are using 
951
951
<a class="link" href="GtkEntryCompletion.html#GtkEntryCompletion--inline-completion" title='The "inline-completion" property'>inline 
952
952
completion</a>.
953
953
</p>
957
957
<hr>
958
958
<div class="refsect2">
959
959
<a name="GtkEntryCompletion--text-column"></a><h3>The <code class="literal">"text-column"</code> property</h3>
960
 
<pre class="programlisting">  "text-column"              <span class="type">gint</span>                  : Read / Write</pre>
 
960
<pre class="programlisting">  "text-column"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
961
961
<p>
962
962
The column of the model containing the strings.
963
963
Note that the strings must be UTF-8.
972
972
<div class="refsect2">
973
973
<a name="GtkEntryCompletion-action-activated"></a><h3>The <code class="literal">"action-activated"</code> signal</h3>
974
974
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *widget,
975
 
                                                        <span class="type">gint</span>                index,
976
 
                                                        <span class="type">gpointer</span>            user_data)      : <code class="literal">Run Last</code></pre>
 
975
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                index,
 
976
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>            user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
977
977
<p>
978
978
Gets emitted when an action is activated.
979
979
</p>
999
999
<hr>
1000
1000
<div class="refsect2">
1001
1001
<a name="GtkEntryCompletion-cursor-on-match"></a><h3>The <code class="literal">"cursor-on-match"</code> signal</h3>
1002
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            user_function                      (<a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *widget,
 
1002
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            user_function                      (<a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *widget,
1003
1003
                                                        <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>       *model,
1004
1004
                                                        <a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a>        *iter,
1005
 
                                                        <span class="type">gpointer</span>            user_data)      : <code class="literal">Run Last</code></pre>
 
1005
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>            user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
1006
1006
<p>
1007
1007
Gets emitted when a match from the cursor is on a match
1008
1008
of the list.The default behaviour is to replace the contents
1031
1031
<tr>
1032
1032
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1033
1033
<td>
1034
 
<code class="literal">TRUE</code> if the signal has been handled</td>
 
1034
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the signal has been handled</td>
1035
1035
</tr>
1036
1036
</tbody>
1037
1037
</table></div>
1040
1040
<hr>
1041
1041
<div class="refsect2">
1042
1042
<a name="GtkEntryCompletion-insert-prefix"></a><h3>The <code class="literal">"insert-prefix"</code> signal</h3>
1043
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            user_function                      (<a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *widget,
1044
 
                                                        <span class="type">gchar</span>              *prefix,
1045
 
                                                        <span class="type">gpointer</span>            user_data)      : <code class="literal">Run Last</code></pre>
 
1043
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            user_function                      (<a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *widget,
 
1044
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>              *prefix,
 
1045
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>            user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
1046
1046
<p>
1047
1047
Gets emitted when the inline autocompletion is triggered. 
1048
1048
The default behaviour is to make the entry display the 
1072
1072
<tr>
1073
1073
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1074
1074
<td>
1075
 
<code class="literal">TRUE</code> if the signal has been handled</td>
 
1075
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the signal has been handled</td>
1076
1076
</tr>
1077
1077
</tbody>
1078
1078
</table></div>
1081
1081
<hr>
1082
1082
<div class="refsect2">
1083
1083
<a name="GtkEntryCompletion-match-selected"></a><h3>The <code class="literal">"match-selected"</code> signal</h3>
1084
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            user_function                      (<a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *widget,
 
1084
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            user_function                      (<a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> *widget,
1085
1085
                                                        <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>       *model,
1086
1086
                                                        <a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a>        *iter,
1087
 
                                                        <span class="type">gpointer</span>            user_data)      : <code class="literal">Run Last</code></pre>
 
1087
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>            user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
1088
1088
<p>
1089
1089
Gets emitted when a match from the list is selected. 
1090
1090
The default behaviour is to replace the contents of the 
1113
1113
<tr>
1114
1114
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1115
1115
<td>
1116
 
<code class="literal">TRUE</code> if the signal has been handled</td>
 
1116
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the signal has been handled</td>
1117
1117
</tr>
1118
1118
</tbody>
1119
1119
</table></div>
1123
1123
</div>
1124
1124
<div class="footer">
1125
1125
<hr>
1126
 
          Generated by GTK-Doc V1.17.1</div>
 
1126
          Generated by GTK-Doc V1.17</div>
1127
1127
</body>
1128
1128
</html>
 
 
b'\\ No newline at end of file'