This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-gtkentry.html is in python-gtk2-doc 2.24.0-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.Entry</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="class-gtkeditable.html" title="gtk.Editable"><link rel="next" href="class-gtkentrybuffer.html" title="gtk.EntryBuffer"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk.Entry</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkeditable.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkentrybuffer.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.Entry"><a name="class-gtkentry"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.Entry</h2><p>gtk.Entry — a single line text entry field.</p></div><div class="refsect1" title="Synopsis"><a name="id3674050"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.Entry</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a></span></span>, <span class="ooclass"><span class="classname"><a class="link" href="class-gtkeditable.html" title="gtk.Editable">gtk.Editable</a></span></span>, <span class="ooclass"><span class="classname"><a class="link" href="class-gtkcelleditable.html" title="gtk.CellEditable">gtk.CellEditable</a></span></span>):
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkentry.html#constructor-gtkentry" title="Constructor">gtk.Entry</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>max</code></strong></span><span class="initializer">=0</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-visibility" title="gtk.Entry.set_visibility">set_visibility</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>visible</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-visibility" title="gtk.Entry.get_visibility">get_visibility</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-invisible-char" title="gtk.Entry.set_invisible_char">set_invisible_char</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>ch</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-invisible-char" title="gtk.Entry.get_invisible_char">get_invisible_char</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--unset-invisible-char" title="gtk.Entry.unset_invisible_char">unset_invisible_char</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code></code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-has-frame" title="gtk.Entry.set_has_frame">set_has_frame</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>setting</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-has-frame" title="gtk.Entry.get_has_frame">get_has_frame</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-max-length" title="gtk.Entry.set_max_length">set_max_length</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>max</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-max-length" title="gtk.Entry.get_max_length">get_max_length</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-activates-default" title="gtk.Entry.set_activates_default">set_activates_default</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>setting</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-activates-default" title="gtk.Entry.get_activates_default">get_activates_default</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-width-chars" title="gtk.Entry.set_width_chars">set_width_chars</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>n_chars</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-width-chars" title="gtk.Entry.get_width_chars">get_width_chars</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-text" title="gtk.Entry.set_text">set_text</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>text</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-text" title="gtk.Entry.get_text">get_text</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-text-length" title="gtk.Entry.get_text_length">get_text_length</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-layout" title="gtk.Entry.get_layout">get_layout</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-layout-offsets" title="gtk.Entry.get_layout_offsets">get_layout_offsets</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-alignment" title="gtk.Entry.set_alignment">set_alignment</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>xalign</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-alignment" title="gtk.Entry.get_alignment">get_alignment</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-completion" title="gtk.Entry.set_completion">set_completion</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>width_chars</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-completion" title="gtk.Entry.get_completion">get_completion</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-inner-border" title="gtk.Entry.set_inner_border">set_inner_border</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>border</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-inner-border" title="gtk.Entry.get_inner_border">get_inner_border</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-cursor-hadjustment" title="gtk.Entry.set_cursor_hadjustment">set_cursor_hadjustment</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>adjustment</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-cursor-hadjustment" title="gtk.Entry.get_cursor_hadjustment">get_cursor_hadjustment</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-overwrite-mode" title="gtk.Entry.set_overwrite_mode">set_overwrite_mode</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>overwrite</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-overwrite-mode" title="gtk.Entry.get_overwrite_mode">get_overwrite_mode</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code></code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-buffer" title="gtk.Entry.set_buffer">set_buffer</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>buffer</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-buffer" title="gtk.Entry.get_buffer">get_buffer</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code></code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-progress-fraction" title="gtk.Entry.set_progress_fraction">set_progress_fraction</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>fraction</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-progress-fraction" title="gtk.Entry.get_progress_fraction">get_progress_fraction</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code></code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-progress-pulse-step" title="gtk.Entry.set_progress_pulse_step">set_progress_pulse_step</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>fraction</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-progress-pulse-step" title="gtk.Entry.get_progress_pulse_step">get_progress_pulse_step</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code></code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--progress-pulse" title="gtk.Entry.progress_pulse">progress_pulse</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code></code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-icon-from-pixbuf" title="gtk.Entry.set_icon_from_pixbuf">set_icon_from_pixbuf</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>pixbuf</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-icon-from-stock" title="gtk.Entry.set_icon_from_stock">set_icon_from_stock</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>stock_id</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-icon-from-icon-name" title="gtk.Entry.set_icon_from_icon_name">set_icon_from_icon_name</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_name</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-icon-from-gicon" title="gtk.Entry.set_icon_from_gicon">set_icon_from_gicon</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-icon-storage-type" title="gtk.Entry.get_icon_storage_type">get_icon_storage_type</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-icon-pixbuf" title="gtk.Entry.get_icon_pixbuf">get_icon_pixbuf</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-icon-stock" title="gtk.Entry.get_icon_stock">get_icon_stock</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-icon-name" title="gtk.Entry.get_icon_name">get_icon_name</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-icon-gicon" title="gtk.Entry.get_icon_gicon">get_icon_gicon</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-icon-activatable" title="gtk.Entry.set_icon_activatable">set_icon_activatable</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>activatable</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-icon-activatable" title="gtk.Entry.get_icon_activatable">get_icon_activatable</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-icon-sensitive" title="gtk.Entry.set_icon_sensitive">set_icon_sensitive</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>sensitive</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-icon-sensitive" title="gtk.Entry.get_icon_sensitive">get_icon_sensitive</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-icon-at-pos" title="gtk.Entry.get_icon_at_pos">get_icon_at_pos</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>x</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>y</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-icon-tooltip-text" title="gtk.Entry.set_icon_tooltip_text">set_icon_tooltip_text</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>tooltip</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-icon-tooltip-text" title="gtk.Entry.get_icon_tooltip_text">get_icon_tooltip_text</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-icon-tooltip-markup" title="gtk.Entry.set_icon_tooltip_markup">set_icon_tooltip_markup</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>tooltip</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-icon-tooltip-markup" title="gtk.Entry.get_icon_tooltip_markup">get_icon_tooltip_markup</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-icon-drag-source" title="gtk.Entry.set_icon_drag_source">set_icon_drag_source</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>target_list</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>actions</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-current-icon-drag-source" title="gtk.Entry.get_current_icon_drag_source">get_current_icon_drag_source</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code></code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-icon-window" title="gtk.Entry.get_icon_window">get_icon_window</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-text-window" title="gtk.Entry.get_text_window">get_text_window</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code></code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--layout-index-to-text-index" title="gtk.Entry.layout_index_to_text_index">layout_index_to_text_index</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>layout_index</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--text-index-to-layout-index" title="gtk.Entry.text_index_to_layout_index">text_index_to_layout_index</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>text_index</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--im-context-filter-keypress" title="gtk.Entry.im_context_filter_keypress">im_context_filter_keypress</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>event</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--reset-im-context" title="gtk.Entry.reset_im_context">reset_im_context</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code></code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3675849"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
  +-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
    +-- <a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
      +-- <a class="link" href="class-gtkentry.html" title="gtk.Entry">gtk.Entry</a>
</pre><div class="refsect1" title="Implemented Interfaces"><a name="id3675886"></a><h2>Implemented Interfaces</h2><p>
			<a class="link" href="class-gtkentry.html" title="gtk.Entry"><code class="classname">gtk.Entry</code></a>
			implements
			<a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
            <a class="link" href="class-atkimplementor.html" title="atk.Implementor"><code class="classname">atk.ImplementorIFace</code></a>
            <a class="link" href="class-gtkeditable.html" title="gtk.Editable"><code class="classname">gtk.Editable</code></a>
            <a class="link" href="class-gtkcelleditable.html" title="gtk.CellEditable"><code class="classname">gtk.CellEditable</code></a>
		</p></div></div><div class="refsect1" title="gtk.Entry Properties"><a name="properties-gtkentry"></a><h2>gtk.Entry Properties</h2><p><a class="link" href="class-gtkobject.html#properties-gtkobject" title="gtk.Object Properties">gtk.Object Properties</a></p><p><a class="link" href="class-gtkwidget.html#properties-gtkwidget" title="gtk.Widget Properties">gtk.Widget Properties</a></p><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="3.5in"></colgroup><tbody><tr valign="top"><td valign="top">"activates-default"</td><td valign="top">Read/Write</td><td valign="top">If <code class="literal">True</code> activate the default widget
              (such as the default button in a dialog) when Enter is
              pressed. Default value: <code class="literal">False</code>.</td></tr><tr valign="top"><td valign="top">"buffer"</td><td valign="top">Read/Write/Construct</td><td valign="top"><a class="link" href="class-gtkentrybuffer.html" title="gtk.EntryBuffer"><code class="classname">gtk.EntryBuffer</code></a> object which actually stores entry text.</td></tr><tr valign="top"><td valign="top">"caps-lock-warning"</td><td valign="top">Read/Write</td><td valign="top">Whether password entries will show a warning when Caps Lock is on.
	      Note that the warning is shown using a secondary icon, and thus does not work
	      if you are using the secondary icon position for some other purpose. Default value: <code class="literal">True</code>.
	      This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"cursor-position"</td><td valign="top">Read</td><td valign="top">The current position of the insertion cursor as a
              character index. Allowed values: [0,65535]. Default value:
              0</td></tr><tr valign="top"><td valign="top">"editable"</td><td valign="top">Read/Write</td><td valign="top">If <code class="literal">True</code> the entry contents can be
              edited. Default value: <code class="literal">True</code>.</td></tr><tr valign="top"><td valign="top">"has-frame"</td><td valign="top">Read/Write</td><td valign="top">If <code class="literal">False</code> removes outside bevel from
              entry. Default value: <code class="literal">True</code>.</td></tr><tr valign="top"><td valign="top">"im-module"</td><td valign="top">Read/Write</td><td valign="top">Which IM (input method) module should be used for this entry. See
	      <a class="link" href="class-gtkimcontext.html" title="gtk.IMContext"><code class="classname">gtk.IMContext</code></a>.
	      Setting this to a non-<code class="literal">None</code> value overrides the system-wide
	      IM module setting. See the <a class="link" href="class-gtksettings.html" title="gtk.Settings"><code class="classname">gtk.Settings</code></a>
	      "gtk-im-module" property. Default value: <code class="literal">None</code>.
	      This property is available in GTK+ 2.16 and above.</td></tr><tr valign="top"><td valign="top">"inner-border"</td><td valign="top">Read/Write</td><td valign="top">The text area's border between the text and the frame
              as a gtkBorder. Available in GTK+ 2.10.</td></tr><tr valign="top"><td valign="top">"invisible-char"</td><td valign="top">Read/Write</td><td valign="top">The character to use when masking entry contents (when
              "visibility" is <code class="literal">False</code>). Default value:
              '*'.</td></tr><tr valign="top"><td valign="top">"invisible-char-set"</td><td valign="top">Read/Write</td><td valign="top">
		Whether the invisible char has been set for the GtkEntry.
		Default value: <code class="literal">False</code> This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"max-length"</td><td valign="top">Read/Write</td><td valign="top">The maximum number of characters for this entry. Zero
              if no maximum. Allowed values: [0,65535] Default value:
              0.</td></tr><tr valign="top"><td valign="top">"overwrite-mode"</td><td valign="top">Read/Write</td><td valign="top">If text is overwritten when typing in the GtkEntry.
	      Default value: <code class="literal">False</code>.
	      Available in GTK+ 2.14 and above.</td></tr><tr valign="top"><td valign="top">"primary-icon-activatable"</td><td valign="top">Read/Write</td><td valign="top">
		Whether the primary icon is activatable.
		GTK+ emits the "icon-press" and "icon-release" signals only on sensitive, activatable icons.
		Sensitive, but non-activatable icons can be used for purely informational purposes.
		Default value: <code class="literal">False</code>
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"primary-icon-gicon"</td><td valign="top">Read/Write</td><td valign="top">
		The <PYGTKDOCLINK HREF="class-gioicon"><code class="classname">gio.Icon</code></PYGTKDOCLINK>
		to use for the primary icon for the entry.
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"primary-icon-name"</td><td valign="top">Read/Write</td><td valign="top">
		The icon name to use for the primary icon for the entry.
		Default value: <code class="literal">None</code>
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"primary-icon-pixbuf"</td><td valign="top">Read/Write</td><td valign="top">
		A pixbuf to use as the primary icon for the entry.
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"primary-icon-sensitive"</td><td valign="top">Read/Write</td><td valign="top">
		Whether the primary icon is sensitive.
		An insensitive icon appears grayed out. GTK+ does not emit the
		"icon-press" and "icon-release" signals and does not allow DND from insensitive icons.
		An icon should be set insensitive if the action that would trigger when
		clicked is currently not available. Default value: <code class="literal">True</code>
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"primary-icon-stock"</td><td valign="top">Read/Write</td><td valign="top">
		The stock id to use for the primary icon for the entry.
		Default value: <code class="literal">None</code>
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"primary-icon-storage-type"</td><td valign="top">Read/Write</td><td valign="top">
		The representation which is used for the primary icon of the entry.
		Default value: gtk.IMAGE_EMPTY
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"primary-icon-tooltip-markup"</td><td valign="top">Read/Write</td><td valign="top">
		The contents of the tooltip on the primary icon, which is marked
		up with the Pango text markup language.
		Also see gtk_entry_set_icon_tooltip_markup(). ##FIXME
		Default value: <code class="literal">None</code>.
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"primary-icon-tooltip-text"</td><td valign="top">Read/Write</td><td valign="top">
		The contents of the tooltip on the primary icon.
		Also see gtk_entry_set_icon_tooltip_text(). ##FIXME
		Default value: <code class="literal">None</code>.
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"progress-fraction"</td><td valign="top">Read/Write</td><td valign="top">
		The current fraction of the task that's been completed.
		Allowed values: [0,1] Default value: 0
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"progress-pulse-step"</td><td valign="top">Read/Write</td><td valign="top">
		The fraction of total entry width to move the progress bouncing block
		for each call to gtk_entry_progress_pulse(). ##FIXME
		Allowed values: [0,1] Default value: 0.1
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"scroll-offset"</td><td valign="top">Read</td><td valign="top">The number of pixels of the entry scrolled off the
              screen to the left. Allowed values: &gt;= 0 Default value:
              0.</td></tr><tr valign="top"><td valign="top">"secondary-icon-activatable"</td><td valign="top">Read/Write</td><td valign="top">
		Whether the secondary icon is activatable.
		GTK+ emits the "icon-press" and "icon-release" signals only on sensitive, activatable icons.
		Sensitive, but non-activatable icons can be used for purely informational purposes.
		Default value: <code class="literal">False</code>
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"secondary-icon-gicon"</td><td valign="top">Read/Write</td><td valign="top">
		The <PYGTKDOCLINK HREF="class-gioicon"><code class="classname">gio.Icon</code></PYGTKDOCLINK>
		to use for the secondary icon for the entry.
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"secondary-icon-name"</td><td valign="top">Read/Write</td><td valign="top">
		The icon name to use for the secondary icon for the entry.
		Default value: <code class="literal">None</code>.
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"secondary-icon-pixbuf"</td><td valign="top">Read/Write</td><td valign="top">
		A pixbuf to use as the secondary icon for the entry.
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"secondary-icon-sensitive"</td><td valign="top">Read/Write</td><td valign="top">
		Whether the secondary icon is sensitive.
		An insensitive icon appears grayed out. GTK+ does not emit the
		"icon-press" and "icon-release" signals and does not allow DND from insensitive icons.
		An icon should be set insensitive if the action that would trigger when
		clicked is currently not available.
		Default value: <code class="literal">True</code>.
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"secondary-icon-stock"</td><td valign="top">Read/Write</td><td valign="top">
		The stock id to use for the secondary icon for the entry.
		Default value: <code class="literal">None</code>.
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"secondary-icon-storage-type"</td><td valign="top">Read/Write</td><td valign="top">
		The representation which is used for the secondary icon of the entry.
		Default value: gtk.IMAGE_EMPTY
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"secondary-icon-tooltip-markup"</td><td valign="top">Read/Write</td><td valign="top">
		The contents of the tooltip on the secondary icon, which is marked
		up with the Pango text markup language.
		Also see gtk_entry_set_icon_tooltip_markup(). ##FIXME
		Default value: <code class="literal">None</code>.
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"secondary-icon-tooltip-text"</td><td valign="top">Read/Write</td><td valign="top">
		The contents of the tooltip on the secondary icon.
		Also see gtk_entry_set_icon_tooltip_text(). #àFIXME
		Default value: <code class="literal">None</code>.
		This property is available in GTK+ 2.16 and above.
	      </td></tr><tr valign="top"><td valign="top">"selection-bound"</td><td valign="top">Read</td><td valign="top">The position of the opposite end of the selection from
              the cursor as a character index. Allowed values: [0,65535]
              Default value: 0.</td></tr><tr valign="top"><td valign="top">"shadow-type"</td><td valign="top">Read/Write</td><td valign="top">Which kind of shadow to draw around the entry when
              GtkEntry:has-frame is set to <code class="literal">True</code>.
              Default value: gtk.SHADOW_IN
              Available in GTK+ 2.12 and above.</td></tr><tr valign="top"><td valign="top">"text"</td><td valign="top">Read/Write</td><td valign="top">The contents of the entry. Default value: "".</td></tr><tr valign="top"><td valign="top">"text-length"</td><td valign="top">Read</td><td valign="top">The length of the text in the GtkEntry. Allowed values: [0,65535].
	      Default value: 0. Available in GTK+ 2.14 and above.</td></tr><tr valign="top"><td valign="top">"truncate-multiline"</td><td valign="top">Read/Write</td><td valign="top">If <code class="literal">True</code>, pasted multi-line text is
              truncated to the first line. Default value:
              <code class="literal">False</code>. Available in GTK+ 2.10 and
              above.</td></tr><tr valign="top"><td valign="top">"visibility"</td><td valign="top">Read/Write</td><td valign="top">If <code class="literal">False</code> displays the "invisible
              char" instead of the actual text (e.g. password mode). Default
              value: <code class="literal">True</code>.</td></tr><tr valign="top"><td valign="top">"width-chars"</td><td valign="top">Read/Write</td><td valign="top">The number of characters to leave space for in the
              entry. Allowed values: &gt;= -1. Default value: -1.</td></tr><tr valign="top"><td valign="top">"xalign"</td><td valign="top">Read/Write</td><td valign="top">The horizontal alignment ranging from 0.0 to 1.0
              representing the fraction of freespace to the left (right for
              RTL layouts) of the text. Available in GTK+ 2.4 and
              above.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="gtk.Entry Style Properties"><a name="style-properties-gtkentry"></a><h2>gtk.Entry Style Properties</h2><p><a class="link" href="class-gtkwidget.html#style-properties-gtkwidget" title="gtk.Widget Style Properties">gtk.Widget Style Properties</a></p><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="3.5in"></colgroup><tbody><tr valign="top"><td valign="top">"icon-prelight"</td><td valign="top">Read</td><td valign="top">The prelight style property determines whether activatable icons
	  prelight on mouseover. Default value: <code class="literal">True</code>
          This property is available in GTK+ 2.16 and above.</td></tr><tr valign="top"><td valign="top">"inner-border"</td><td valign="top">Read</td><td valign="top">Sets the text area's border between the text and the frame.
          This property is available in GTK+ 2.10 and above.</td></tr><tr valign="top"><td valign="top">"invisible-char"</td><td valign="top">Read</td><td valign="top">The invisible character is used when masking entry contents (in "password mode"). When
          it is not explicitly set with the "invisible-char" property, GTK+ determines the character to
          use from a list of possible candidates, depending on availability in the current font.
          This property is available in GTK+ 2.18 and above.</td></tr><tr valign="top"><td valign="top">"progress-border"</td><td valign="top">Read</td><td valign="top">The invisible character is used when masking entry contents (in "password mode"). When
          it is not explicitly set with the "invisible-char" property, GTK+ determines the character to
          use from a list of possible candidates, depending on availability in the current font.
          This property is available in GTK+ 2.16 and above.</td></tr><tr valign="top"><td valign="top">"state-hint"</td><td valign="top">Read</td><td valign="top">
	    Indicates whether to pass a proper widget state when drawing the shadow
	    and the widget background. Default value: <code class="literal">False</code>.
	    This property is available in GTK+ 2.16 and above.
	  </td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="gtk.Entry Signal Prototypes"><a name="signal-prototypes-gtkentry"></a><h2>gtk.Entry Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkobject.html#signal-prototypes-gtkobject" title="gtk.Object Signal Prototypes">gtk.Object Signal Prototypes</a></p><p><a class="link" href="class-gtkwidget.html#signal-prototypes-gtkwidget" title="gtk.Widget Signal Prototypes">gtk.Widget Signal Prototypes</a></p><p><a class="link" href="class-gtkeditable.html#signal-prototypes-gtkeditable" title="gtk.Editable Signal Prototypes">gtk.Editable Signal Prototypes</a></p><p><a class="link" href="class-gtkcelleditable.html#signal-prototypes-gtkcelleditable" title="gtk.CellEditable Signal Prototypes">gtk.CellEditable Signal Prototypes</a></p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term">"<a class="link" href="class-gtkentry.html#signal-gtkentry--activate" title='The "activate" gtk.Entry Signal'>activate</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkentry.html#signal-gtkentry--backspace" title='The "backspace" gtk.Entry Signal'>backspace</a></span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkentry.html#signal-gtkentry--copy-clipboard" title='The "copy-clipboard" gtk.Entry Signal'>copy-clipboard</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkentry.html#signal-gtkentry--cut-clipboard" title='The "cut-clipboard" gtk.Entry Signal'>cut-clipboard</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkentry.html#signal-gtkentry--delete-from-cursor" title='The "delete-from-cursor" gtk.Entry Signal'>delete-from-cursor</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>delete_type</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>count</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkentry.html#signal-gtkentry--icon-press" title='The "icon-press" gtk.Entry Signal'>icon-press</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>icon_pos</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>event</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkentry.html#signal-gtkentry--icon-press" title='The "icon-press" gtk.Entry Signal'>icon-release</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>icon_pos</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>event</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkentry.html#signal-gtkentry--insert-at-cursor" title='The "insert-at-cursor" gtk.Entry Signal'>insert-at-cursor</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>string</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkentry.html#signal-gtkentry--move-cursor" title='The "move-cursor" gtk.Entry Signal'>move-cursor</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>step_size</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>count</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>extend_selection</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkentry.html#signal-gtkentry--paste-clipboard" title='The "paste-clipboard" gtk.Entry Signal'>paste-clipboard</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkentry.html#signal-gtkentry--populate-popup" title='The "populate-popup" gtk.Entry Signal'>populate-popup</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>menu</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkentry.html#signal-gtkentry--preedit-changed" title='The "preedit-changed" gtk.Entry Signal'>preedit-changed</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>preedit</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkentry.html#signal-gtkentry--toggle-overwrite" title='The "toggle-overwrite" gtk.Entry Signal'>toggle-overwrite</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr></tbody></table></div><div class="refsect1" title="Description"><a name="id3678307"></a><h2>Description</h2><p>The <a class="link" href="class-gtkentry.html" title="gtk.Entry"><code class="classname">gtk.Entry</code></a> widget is a single line text
    entry widget. A fairly large set of key bindings are supported by default. If the entered text is longer than the
    allocation of the widget, the widget will scroll so that the cursor position is visible.</p><p>When using an entry for passwords and other sensitive information, it can be put into "password mode" using
    <a class="link" href="class-gtkentry.html#method-gtkentry--set-visibility" title="gtk.Entry.set_visibility"><code class="methodname">gtk.Entry.set_visibility</code></a>(). In this mode,
    entered text is displayed using a 'invisible' character. By default, GTK+ picks the best invisible character that is
    available in the current font, but it can be changed with 
    <a class="link" href="class-gtkentry.html#method-gtkentry--set-invisible-char" title="gtk.Entry.set_invisible_char"><code class="methodname">gtk.Entry.set_invisible_char</code></a>().
    Since 2.16, GTK+ displays a warning when Caps Lock or input methods might interfere with entering text in a password entry.
    The warning can be turned off with the "caps-lock-warning" property.</p><p>Since 2.16, <a class="link" href="class-gtkentry.html" title="gtk.Entry"><code class="classname">gtk.Entry</code></a> has the ability to display
    progress or activity information behind the text. To make an entry display such information, use
    <a class="link" href="class-gtkentry.html#method-gtkentry--set-progress-fraction" title="gtk.Entry.set_progress_fraction"><code class="methodname">gtk.Entry.set_progress_fraction</code></a>() or
    <a class="link" href="class-gtkentry.html#method-gtkentry--set-progress-pulse-step" title="gtk.Entry.set_progress_pulse_step"><code class="methodname">gtk.Entry.set_progress_pulse_step</code></a>().</p><p>Additionally, <a class="link" href="class-gtkentry.html" title="gtk.Entry"><code class="classname">gtk.Entry</code></a> can show icons at either side of
    the entry. These icons can be activatable by clicking, can be set up as drag source and can have tooltips. To add an icon, use
    <a class="link" href="class-gtkentry.html#method-gtkentry--set-icon-from-gicon" title="gtk.Entry.set_icon_from_gicon"><code class="methodname">gtk.Entry.set_icon_from_gicon</code></a>() or one of
    the various other functions that set an icon from a stock id, an icon name or a pixbuf. To trigger an action when the user
    clicks an icon, connect to the "icon-press" signal. To allow DND operations from an icon, use
    <a class="link" href="class-gtkentry.html#method-gtkentry--set-icon-drag-source" title="gtk.Entry.set_icon_drag_source"><code class="methodname">gtk.Entry.set_icon_drag_source</code></a>().
    To set a tooltip on an icon, use
    <a class="link" href="class-gtkentry.html#method-gtkentry--set-icon-tooltip-text" title="gtk.Entry.set_icon_tooltip_text"><code class="methodname">gtk.Entry.set_icon_tooltip_text</code></a>()
    or the corresponding function for markup.</p><p>Note that functionality or information that is only available by clicking on an icon in an entry may not be accessible
    at all to users which are not able to use a mouse or other pointing device. It is therefore recommended that any such functionality
    should also be available by other means, e.g. via the context menu of the entry.</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtkentry"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.Entry</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>max</code></strong></span><span class="initializer">=0</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>max</code></strong> :</span></p></td><td>the maximum length of the entry, or 0 for no
maximum. (other than the maximum length of entries.) The value passed in
will be limited to the range 0-65536.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtkentry.html" title="gtk.Entry"><code class="classname">gtk.Entry</code></a>.</td></tr></tbody></table><p>Creates a new <a class="link" href="class-gtkentry.html" title="gtk.Entry"><code class="classname">gtk.Entry</code></a> widget
    with the maximum length specified by <em class="parameter"><code>max</code></em>.</p></div><div class="refsect1" title="Methods"><a name="id3678545"></a><h2>Methods</h2><div class="refsect2" title="gtk.Entry.set_visibility"><a name="method-gtkentry--set-visibility"></a><h3>gtk.Entry.set_visibility</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_visibility</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>visible</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>visible</code></strong> :</span></p></td><td>If False the contents are obscured using the
"invisible-char"</td></tr></tbody></table><p>The <code class="methodname">set_visibility</code>() method sets the
      "visibility" property to the value of
      <em class="parameter"><code>visible</code></em>. If visible is <code class="literal">True</code>
      the contents of the entry are displayed as plain text. If visible is
      <code class="literal">False</code>, the contents are obscured by replacing the
      characters with the invisible character (specified by the
      "invisible-char" property). The characters will also be obscured when
      the text in the entry widget is copied elsewhere. The default
      invisible char is the asterisk '*', but it can be changed with <a class="link" href="class-gtkentry.html#method-gtkentry--set-invisible-char" title="gtk.Entry.set_invisible_char"><code class="methodname">set_invisible_char</code>()</a>.</p></div><div class="refsect2" title="gtk.Entry.get_visibility"><a name="method-gtkentry--get-visibility"></a><h3>gtk.Entry.get_visibility</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_visibility</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if the text is
currently visible</td></tr></tbody></table><p>The <code class="methodname">get_visibility</code>() method retrieves
      the value of the "visibility" property that determines whether the
      text in <em class="parameter"><code>entry</code></em> is visible. See <a class="link" href="class-gtkentry.html#method-gtkentry--set-visibility" title="gtk.Entry.set_visibility"><code class="methodname">set_visibility</code>()</a>.</p></div><div class="refsect2" title="gtk.Entry.set_invisible_char"><a name="method-gtkentry--set-invisible-char"></a><h3>gtk.Entry.set_invisible_char</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_invisible_char</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>ch</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>ch</code></strong> :</span></p></td><td>a Unicode character</td></tr></tbody></table><p>The <code class="methodname">set_invisible_char</code>() method sets
      the "invisible-char" property with the value of
      <em class="parameter"><code>ch</code></em>.  The "invisible-char" is the character to
      use in place of the actual text when <a class="link" href="class-gtkentry.html#method-gtkentry--set-visibility" title="gtk.Entry.set_visibility"><code class="methodname">set_visibility</code>()</a>
      has been called to set text visibility to
      <code class="literal">False</code>. i.e.  this is the character used in
      "password mode" to show the user how many characters have been
      typed. The default invisible character is an asterisk ('*').  If you
      set the invisible character to 0, then the user will get no feedback
      at all; there will be no text on the screen as they type.</p></div><div class="refsect2" title="gtk.Entry.get_invisible_char"><a name="method-gtkentry--get-invisible-char"></a><h3>gtk.Entry.get_invisible_char</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_invisible_char</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the current invisible char, or 0, if the entry
does not show invisible text at all.</td></tr></tbody></table><p>The get_invisible_char() method retrieves the value of the
      "invisible-char" property. The "invisible-char" is the character
      displayed in place of the real characters for entries with visibility
      set to <code class="literal">False</code>. See <a class="link" href="class-gtkentry.html#method-gtkentry--set-invisible-char" title="gtk.Entry.set_invisible_char"><code class="methodname">set_invisible_char</code>()</a>.</p></div><div class="refsect2" title="gtk.Entry.unset_invisible_char"><a name="method-gtkentry--unset-invisible-char"></a><h3>gtk.Entry.unset_invisible_char</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">unset_invisible_char</span>(<span class="methodparam"></span>)</code></pre><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">unset_invisible_char</code>() method unsets the invisible char previously set with
      <a class="link" href="class-gtkentry.html#method-gtkentry--set-invisible-char" title="gtk.Entry.set_invisible_char"><code class="methodname">set_invisible_char</code>()</a>
      so that the default invisible char is used again.</p></div><div class="refsect2" title="gtk.Entry.set_has_frame"><a name="method-gtkentry--set-has-frame"></a><h3>gtk.Entry.set_has_frame</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_has_frame</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>setting</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>setting</code></strong> :</span></p></td><td>If True the entry is displayed with a beveled
frame around it.</td></tr></tbody></table><p>The <code class="methodname">set_has_frame</code>() method sets the
      "has-frame" property to the value of <em class="parameter"><code>setting</code></em>.
      If <em class="parameter"><code>setting</code></em> is <code class="literal">True</code> the entry
      is displayed with a beveled frame around it.</p></div><div class="refsect2" title="gtk.Entry.get_has_frame"><a name="method-gtkentry--get-has-frame"></a><h3>gtk.Entry.get_has_frame</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_has_frame</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>whether the entry has a beveled
frame</td></tr></tbody></table><p>The <code class="methodname">get_has_frame</code>() method gets the
      value of the "has-frame" property. If "has-frame" is
      <code class="literal">True</code> the entry will be displayed with a beveled
      frame around it.</p></div><div class="refsect2" title="gtk.Entry.set_max_length"><a name="method-gtkentry--set-max-length"></a><h3>gtk.Entry.set_max_length</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_max_length</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>max</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>max</code></strong> :</span></p></td><td>the maximum length of the entry, or 0 for no
	  maximum. (other than the maximum length of entries.) The value
	  passed in will be clamped to the range
	  0-65536.</td></tr></tbody></table><p>The <code class="methodname">set_max_length</code>() method sets the
      "max-length" property to the value of <em class="parameter"><code>max</code></em>.  The
      "max-length" property sets the maximum allowed length of the contents
      of the widget. If the current contents are longer than the given
      length, then they will be truncated to fit. If max is 0 then there is
      no maximum length (other than 65536).</p></div><div class="refsect2" title="gtk.Entry.get_max_length"><a name="method-gtkentry--get-max-length"></a><h3>gtk.Entry.get_max_length</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_max_length</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the maximum allowed number of characters in
<a class="link" href="class-gtkentry.html" title="gtk.Entry"><code class="classname">gtk.Entry</code></a>, or 0
if there is no maximum.</td></tr></tbody></table><p>The <code class="methodname">get_max_length</code>() method retrieves
      the value of the "max-length" property that specifies the maximum
      allowed length of the text in the entry. See <a class="link" href="class-gtkentry.html#method-gtkentry--set-max-length" title="gtk.Entry.set_max_length"><code class="methodname">set_max_length</code>()</a>.</p></div><div class="refsect2" title="gtk.Entry.set_activates_default"><a name="method-gtkentry--set-activates-default"></a><h3>gtk.Entry.set_activates_default</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_activates_default</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>setting</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>setting</code></strong> :</span></p></td><td>If <code class="literal">True</code> activate the
window's default widget on an <span class="keycap"><strong>Enter</strong></span>
key press</td></tr></tbody></table><p>The <code class="methodname">set_activates_default</code>() method sets
      the "activates-default" property to the value of
      <em class="parameter"><code>setting</code></em>. If <em class="parameter"><code>setting</code></em> is
      <code class="literal">True</code>, pressing the <span class="keycap"><strong>Enter</strong></span> key in
      the entry will activate the default widget for the window containing
      the entry.  This usually means that the dialog box containing the
      entry will be closed, since the default widget is usually one of the
      dialog buttons.</p><p>(For experts: if <em class="parameter"><code>setting</code></em> is
      <code class="literal">True</code>, the entry calls <a class="link" href="class-gtkwindow.html#method-gtkwindow--activate-default" title="gtk.Window.activate_default"><code class="methodname">gtk.Window.activate_default</code>()</a>
      on the window containing the entry, in the default handler for the
      "activate" signal.)</p></div><div class="refsect2" title="gtk.Entry.get_activates_default"><a name="method-gtkentry--get-activates-default"></a><h3>gtk.Entry.get_activates_default</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_activates_default</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if the entry will
activate the default widget</td></tr></tbody></table><p>The <code class="methodname">get_activates_default</code>() method
      retrieves the value of the "activates-default" property which is set
      by <a class="link" href="class-gtkentry.html#method-gtkentry--set-activates-default" title="gtk.Entry.set_activates_default"><code class="methodname">set_activates_default</code>()</a>.
      If "activates-default" is <code class="literal">True</code> pressing the
      <span class="keycap"><strong>Enter</strong></span> key in the entry will activate the default
      widget for the window containing the entry.</p></div><div class="refsect2" title="gtk.Entry.set_width_chars"><a name="method-gtkentry--set-width-chars"></a><h3>gtk.Entry.set_width_chars</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_width_chars</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>n_chars</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>n_chars</code></strong> :</span></p></td><td>width in chars</td></tr></tbody></table><p>The <code class="methodname">set_width_chars</code>() method sets the
      "width-chars" property to the value of <em class="parameter"><code>n_char</code></em>.
      Setting the "width-chars" property changes the size request of the
      entry to be about the right size for <em class="parameter"><code>n_chars</code></em>
      characters. Note that it only changes the size
      <span class="emphasis"><em>request</em></span>, the size can still be affected by how
      you pack the widget into containers. If <em class="parameter"><code>n_chars</code></em>
      is -1, the size reverts to the default entry size.</p></div><div class="refsect2" title="gtk.Entry.get_width_chars"><a name="method-gtkentry--get-width-chars"></a><h3>gtk.Entry.get_width_chars</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_width_chars</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>number of chars to request space for, or
negative if unset</td></tr></tbody></table><p>The <code class="methodname">get_width_chars</code>() method gets the
      value of the "width-chars" property which is set by the <a class="link" href="class-gtkentry.html#method-gtkentry--set-width-chars" title="gtk.Entry.set_width_chars"><code class="methodname">set_width_chars</code>()</a>
      method.</p></div><div class="refsect2" title="gtk.Entry.set_text"><a name="method-gtkentry--set-text"></a><h3>gtk.Entry.set_text</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_text</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>text</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>text</code></strong> :</span></p></td><td>a string to use as the new contents of the
entry</td></tr></tbody></table><p>The <code class="methodname">set_text</code>() method sets the "text"
      property to the value of <em class="parameter"><code>text</code></em>. The string in
      <em class="parameter"><code>text</code></em> replaces the current contents of the
      entry.</p></div><div class="refsect2" title="gtk.Entry.get_text"><a name="method-gtkentry--get-text"></a><h3>gtk.Entry.get_text</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_text</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the contents of the entry as a
string</td></tr></tbody></table><p>The <code class="methodname">get_text</code>() method returns the value
      of the "text" property which is a string containing the contents of
      the entry.</p></div><div class="refsect2" title="gtk.Entry.get_text_length"><a name="method-gtkentry--get-text-length"></a><h3>gtk.Entry.get_text_length</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_text_length</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the current number of characters in GtkEntry, or 0 if there are none.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.14 and above.</p></div><p>
        The <code class="methodname">get_text_length</code>() method retrieves the current length of the text in entry.
      </p></div><div class="refsect2" title="gtk.Entry.get_layout"><a name="method-gtkentry--get-layout"></a><h3>gtk.Entry.get_layout</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_layout</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the <a class="link" href="class-pangolayout.html" title="pango.Layout"><code class="classname">pango.Layout</code></a> for
this entry</td></tr></tbody></table><p>The <code class="methodname">get_layout</code>() method gets the <a class="link" href="class-pangolayout.html" title="pango.Layout"><code class="classname">pango.Layout</code></a>
      used to display the entry. The layout is useful to e.g. convert text
      positions to pixel positions, in combination with <a class="link" href="class-gtkentry.html#method-gtkentry--get-layout-offsets" title="gtk.Entry.get_layout_offsets"><code class="methodname">get_layout_offsets</code>()</a>.</p></div><div class="refsect2" title="gtk.Entry.get_layout_offsets"><a name="method-gtkentry--get-layout-offsets"></a><h3>gtk.Entry.get_layout_offsets</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_layout_offsets</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a tuple containing the X and Y offsets of the
pango layout</td></tr></tbody></table><p>The <code class="methodname">get_layout_offsets</code>() method obtains
      the position of the <a class="link" href="class-pangolayout.html" title="pango.Layout"><code class="classname">pango.Layout</code></a>
      used to render text in the entry, in widget coordinates and returns it
      as a tuple. This method is used to line up the text in an entry with
      some other text, e.g. when using the entry to implement editable cells
      in a sheet widget. It is also useful to convert mouse events into
      coordinates inside the <a class="link" href="class-pangolayout.html" title="pango.Layout"><code class="classname">pango.Layout</code></a>,
      e.g.  to take some action if some part of the entry text is
      clicked.</p><p>Note that as the user scrolls around in the entry the offsets
      will change; you'll need to connect to the "notify::scroll_offset"
      signal to track this.</p></div><div class="refsect2" title="gtk.Entry.set_alignment"><a name="method-gtkentry--set-alignment"></a><h3>gtk.Entry.set_alignment</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_alignment</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>xalign</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>xalign</code></strong> :</span></p></td><td>The horizontal alignment ranging from 0.0 to
	  1.0 representing the freespace to the left (right for RTL layouts)
	  of the text.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">set_alignment</code>() method sets the
      "xalign" property to the value of <em class="parameter"><code>xalign</code></em>. The
      alignment controls the horizontal positioning of the contents when the
      displayed text is shorter than the width of the entry. The value of
      <em class="parameter"><code>xalign</code></em> is the fraction of freespace to the left
      (right in RTL layouts) of the text.</p></div><div class="refsect2" title="gtk.Entry.get_alignment"><a name="method-gtkentry--get-alignment"></a><h3>gtk.Entry.get_alignment</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_alignment</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>The horizontal alignment ranging from 0.0 to
	  1.0 representing the freespace to the left (right for RTL layouts)
	  of the text.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">get_alignment</code>() method returns the
      value of the "xalign" property which is the fraction of freespace (if
      any) to the left (right in RTL layouts) of the text.</p></div><div class="refsect2" title="gtk.Entry.set_completion"><a name="method-gtkentry--set-completion"></a><h3>gtk.Entry.set_completion</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_completion</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>completion</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>completion</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkentrycompletion.html" title="gtk.EntryCompletion"><code class="classname">gtk.EntryCompletion</code></a></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">set_completion</code>() method sets the
      <a class="link" href="class-gtkentrycompletion.html" title="gtk.EntryCompletion"><code class="classname">gtk.EntryCompletion</code></a>
      specified by <em class="parameter"><code>completion</code></em> to be the auxiliary
      completion object to use with the entry. All further configuration of
      the completion mechanism is done using
      <em class="parameter"><code>completion</code></em> and the <a class="link" href="class-gtkentrycompletion.html" title="gtk.EntryCompletion"><code class="classname">gtk.EntryCompletion</code></a>
      methods.</p></div><div class="refsect2" title="gtk.Entry.get_completion"><a name="method-gtkentry--get-completion"></a><h3>gtk.Entry.get_completion</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_completion</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the auxiliary completion object</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">get_completion</code>() method returns the
     <a class="link" href="class-gtkentrycompletion.html" title="gtk.EntryCompletion"><code class="classname">gtk.EntryCompletion</code></a>
     object currently in use by the entry.</p></div><div class="refsect2" title="gtk.Entry.set_inner_border"><a name="method-gtkentry--set-inner-border"></a><h3>gtk.Entry.set_inner_border</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_inner_border</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>border</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>border</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkborder.html" title="gtk.Border"><code class="classname">gtk.Border</code></a>,
          or <code class="literal">None</code></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>The <code class="methodname">set_inner_border</code>() method sets the
      entry's "inner-border" property to the value specified by
      <em class="parameter"><code>border</code></em>, or clears it if <code class="literal">None</code>
      is passed. The "inner-border" is the area around the entry's text, but
      inside its frame.</p><p>If set, this property overrides the inner-border style property.
      Overriding the style-provided border is useful when you want to do
      in-place editing of some text in a canvas or list widget, where
      pixel-exact positioning of the entry is important.</p></div><div class="refsect2" title="gtk.Entry.get_inner_border"><a name="method-gtkentry--get-inner-border"></a><h3>gtk.Entry.get_inner_border</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_inner_border</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the entry's <a class="link" href="class-gtkborder.html" title="gtk.Border"><code class="classname">gtk.Border</code></a>,
          or <code class="literal">None</code> if none was set.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>The <code class="methodname">get_inner_border</code>() method returns
      the value of the entry's "inner-border" property. See <a class="link" href="class-gtkentry.html#method-gtkentry--set-inner-border" title="gtk.Entry.set_inner_border"><code class="methodname">set_inner_border</code>()</a>
      for more information.</p></div><div class="refsect2" title="gtk.Entry.set_cursor_hadjustment"><a name="method-gtkentry--set-cursor-hadjustment"></a><h3>gtk.Entry.set_cursor_hadjustment</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_cursor_hadjustment</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>adjustment</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>adjustment</code></strong> :</span></p></td><td>An adjustment which should be adjusted when
          the cursor is moved, or <code class="literal">None</code>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.12 and above.</p></div><p>
        The <code class="methodname">set_cursor_hadjustment</code>() method hooks up an adjustment
        to the cursor position in an entry, so that when the cursor is moved, the adjustment
        is scrolled to show that position. See
        <a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--get-hadjustment" title="gtk.ScrolledWindow.get_hadjustment">gtk.ScrolledWindow.get_hadjustment</a>
        for a typical way of obtaining the adjustment.
        The adjustment has to be in pixel units and in the same coordinate system as the entry.
      </p></div><div class="refsect2" title="gtk.Entry.get_cursor_hadjustment"><a name="method-gtkentry--get-cursor-hadjustment"></a><h3>gtk.Entry.get_cursor_hadjustment</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_cursor_hadjustment</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>The horizontal cursor adjustment, or
          <code class="literal">None</code> if none has been set.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.12 and above.</p></div><p>
        The <code class="methodname">get_cursor_hadjustment</code>() method retrieves the horizontal
        cursor adjustment for the entry. See
        <a class="link" href="class-gtkentry.html#method-gtkentry--set-cursor-hadjustment" title="gtk.Entry.set_cursor_hadjustment">set_cursor_hadjustment</a>.
      </p></div><div class="refsect2" title="gtk.Entry.set_overwrite_mode"><a name="method-gtkentry--set-overwrite-mode"></a><h3>gtk.Entry.set_overwrite_mode</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_overwrite_mode</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>overwrite</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>overwrite</code></strong> :</span></p></td><td>new value.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.14 and above.</p></div><p>The <code class="methodname">set_overwrite_mode</code>() method sets whether the text
      is overwritten when typing in the Entry.</p></div><div class="refsect2" title="gtk.Entry.get_overwrite_mode"><a name="method-gtkentry--get-overwrite-mode"></a><h3>gtk.Entry.get_overwrite_mode</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_overwrite_mode</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>whether text is overwritten when typing in the Entry.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.14 and above.</p></div><p>The <code class="methodname">get_overwrite_mode</code>() method gets the value set by
      <code class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-overwrite-mode" title="gtk.Entry.set_overwrite_mode">gtk.Entry.set_overwrite_mode</a></code>().</p></div><div class="refsect2" title="gtk.Entry.set_buffer"><a name="method-gtkentry--set-buffer"></a><h3>gtk.Entry.set_buffer</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_buffer</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>buffer</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>buffer</code></strong> :</span></p></td><td>a <code class="classname"><a class="link" href="class-gtkentrybuffer.html" title="gtk.EntryBuffer">gtk.EntryBuffer</a></code>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.22 and above.</p></div><p>The <code class="methodname">set_buffer</code>() method sets the
      <code class="classname"><a class="link" href="class-gtkentrybuffer.html" title="gtk.EntryBuffer">gtk.EntryBuffer</a></code>
      object which holds the text for this widget.</p></div><div class="refsect2" title="gtk.Entry.get_buffer"><a name="method-gtkentry--get-buffer"></a><h3>gtk.Entry.get_buffer</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_buffer</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a <code class="classname"><a class="link" href="class-gtkentrybuffer.html" title="gtk.EntryBuffer">gtk.EntryBuffer</a></code> object.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.22 and above.</p></div><p>The <code class="methodname">get_buffer</code>() method gets the
      <code class="classname"><a class="link" href="class-gtkentrybuffer.html" title="gtk.EntryBuffer">gtk.EntryBuffer</a></code>
      which holds the text for this widget.</p></div><div class="refsect2" title="gtk.Entry.set_progress_fraction"><a name="method-gtkentry--set-progress-fraction"></a><h3>gtk.Entry.set_progress_fraction</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_progress_fraction</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>fraction</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>fraction</code></strong> :</span></p></td><td>fraction of the task that's been completed.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">set_progress_fraction</code>() method causes the entry's progress
      indicator to "fill in" the given fraction of the bar. The fraction should be between 0.0 and 1.0, inclusive.</p></div><div class="refsect2" title="gtk.Entry.get_progress_fraction"><a name="method-gtkentry--get-progress-fraction"></a><h3>gtk.Entry.get_progress_fraction</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_progress_fraction</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a fraction from 0.0 to 1.0.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">get_progress_fraction</code>() method returns the current fraction of the task that's been
      completed. See <code class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-progress-fraction" title="gtk.Entry.set_progress_fraction">gtk.Entry.set_progress_fraction</a></code>().</p></div><div class="refsect2" title="gtk.Entry.set_progress_pulse_step"><a name="method-gtkentry--set-progress-pulse-step"></a><h3>gtk.Entry.set_progress_pulse_step</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_progress_pulse_step</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>fraction</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>fraction</code></strong> :</span></p></td><td>fraction between 0.0 and 1.0.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">set_progress_pulse_step</code>() method sets the fraction of
      total entry width to move the progress bouncing block for each call to
      <code class="methodname"><PYGTKDOCLINK HREF="method-gtkentry--set-progress-pulse">gtk.Entry.progress_pulse</PYGTKDOCLINK></code>().</p></div><div class="refsect2" title="gtk.Entry.get_progress_pulse_step"><a name="method-gtkentry--get-progress-pulse-step"></a><h3>gtk.Entry.get_progress_pulse_step</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_progress_pulse_step</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a fraction from 0.0 to 1.0.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">get_progress_pulse_step</code>() method retrieves the pulse step set with
      <code class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-progress-pulse-step" title="gtk.Entry.set_progress_pulse_step">gtk.Entry.set_progress_pulse_step</a></code>().</p></div><div class="refsect2" title="gtk.Entry.progress_pulse"><a name="method-gtkentry--progress-pulse"></a><h3>gtk.Entry.progress_pulse</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">progress_pulse</span>(<span class="methodparam"></span>)</code></pre><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">progress_pulse</code>() method indicates that some progress is made, but you don't know how
      much. Causes the entry's progress indicator to enter "activity mode," where a block bounces back and forth. Each call to
      <code class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--progress-pulse" title="gtk.Entry.progress_pulse">gtk.Entry.progress_pulse</a></code>()
      causes the block to move by a little bit (the amount of movement per pulse is determined by
      <code class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--set-progress-pulse-step" title="gtk.Entry.set_progress_pulse_step">gtk.Entry.set_progress_pulse_step</a></code>()).</p></div><div class="refsect2" title="gtk.Entry.set_icon_from_pixbuf"><a name="method-gtkentry--set-icon-from-pixbuf"></a><h3>gtk.Entry.set_icon_from_pixbuf</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_icon_from_pixbuf</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>pixbuf</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>The position at which to set the icon.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>pixbuf</code></strong> :</span></p></td><td>A <a class="link" href="class-gdkpixbuf.html" title="gtk.gdk.Pixbuf"><code class="classname">gtk.gdk.Pixbuf</code></a>, or <code class="literal">None</code>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">set_icon_from_pixbuf</code>() method sets
      the icon shown in the specified position using a pixbuf.</p><p>If <em class="parameter"><code>pixbuf</code></em> is <code class="literal">None</code>, no
      icon will be shown in the specified position.</p></div><div class="refsect2" title="gtk.Entry.set_icon_from_stock"><a name="method-gtkentry--set-icon-from-stock"></a><h3>gtk.Entry.set_icon_from_stock</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_icon_from_stock</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>stock_id</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>The position at which to set the icon.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>stock_id</code></strong> :</span></p></td><td>The name of the stock item, or <code class="literal">None</code>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">set_icon_from_stock</code>() method sets
      the icon shown in the entry at the specified position from a stock image.</p><p>If <em class="parameter"><code>stock_id</code></em> is <code class="literal">None</code>, no
      icon will be shown in the specified position.</p></div><div class="refsect2" title="gtk.Entry.set_icon_from_icon_name"><a name="method-gtkentry--set-icon-from-icon-name"></a><h3>gtk.Entry.set_icon_from_icon_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_icon_from_icon_name</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_name</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>The position at which to set the icon.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>icon_name</code></strong> :</span></p></td><td>An icon name, or <code class="literal">None</code>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">set_icon_from_icon_name</code>() method sets
      the icon shown in the entry at the specified position from the current icon theme.</p><p>If <em class="parameter"><code>icon_name</code></em> is <code class="literal">None</code>, no
      icon will be shown in the specified position.</p></div><div class="refsect2" title="gtk.Entry.set_icon_from_gicon"><a name="method-gtkentry--set-icon-from-gicon"></a><h3>gtk.Entry.set_icon_from_gicon</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_icon_from_gicon</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>The position at which to set the icon.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>icon</code></strong> :</span></p></td><td>The icon to set, or <code class="literal">None</code>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">set_icon_from_gicon</code>() method sets the icon shown in
      the entry at the specified position from the current icon theme. If the icon isn't known,
      a "broken image" icon will be displayed instead.</p><p>If <em class="parameter"><code>icon</code></em> is <code class="literal">None</code>, no
      icon will be shown in the specified position.</p></div><div class="refsect2" title="gtk.Entry.get_icon_storage_type"><a name="method-gtkentry--get-icon-storage-type"></a><h3>gtk.Entry.get_icon_storage_type</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_icon_storage_type</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>Icon position.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the image representation being used.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">get_icon_storage_type</code>() method gets the type of
      representation being used by the icon to store image data. If the icon has no image
      data, the return value will be <code class="literal">gtk.IMAGE_EMPTY</code>.</p></div><div class="refsect2" title="gtk.Entry.get_icon_pixbuf"><a name="method-gtkentry--get-icon-pixbuf"></a><h3>gtk.Entry.get_icon_pixbuf</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_icon_pixbuf</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>Icon position.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>A <a class="link" href="class-gdkpixbuf.html" title="gtk.gdk.Pixbuf"><code class="classname">gtk.gdk.Pixbuf</code></a>, or <code class="literal">None</code> if no icon is set for this position.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">get_icon_pixbuf</code>() method retrieves the image used for the icon.</p><p>Unlike the other methods of setting and getting icon data, this method will work regardless of whether the icon was set using
      a <a class="link" href="class-gdkpixbuf.html" title="gtk.gdk.Pixbuf"><code class="classname">gtk.gdk.Pixbuf</code></a>, 
      a <PYGTKDOCLINK HREF="class-gioicon"><code class="classname">gio.Icon</code></PYGTKDOCLINK>, a stock item, or an icon name.</p></div><div class="refsect2" title="gtk.Entry.get_icon_stock"><a name="method-gtkentry--get-icon-stock"></a><h3>gtk.Entry.get_icon_stock</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_icon_stock</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>Icon position.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>A stock id, or <code class="literal">None</code> if no icon is set or if the icon wasn't set from a stock id.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">get_icon_stock</code>() method retrieves the stock id used for the icon,
      or <code class="literal">None</code> if there is no icon or if the icon was set by some other method
      (e.g. by pixbuf, icon name or gicon).</p></div><div class="refsect2" title="gtk.Entry.get_icon_name"><a name="method-gtkentry--get-icon-name"></a><h3>gtk.Entry.get_icon_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_icon_name</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>Icon position.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>An icon name, or <code class="literal">None</code> if no icon is set or if the icon wasn't set from an icon name.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">get_icon_name</code>() method retrieves the icon name used for the icon,
      or <code class="literal">None</code> if there is no icon or if the icon was set by some other method
      (e.g. by pixbuf, stock or gicon). </p></div><div class="refsect2" title="gtk.Entry.get_icon_gicon"><a name="method-gtkentry--get-icon-gicon"></a><h3>gtk.Entry.get_icon_gicon</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_icon_gicon</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>Icon position.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>A <PYGTKDOCLINK HREF="class-gioicon"><code class="classname">gio.Icon</code></PYGTKDOCLINK>,
          or <code class="literal">None</code> if no icon is set or if the icon is not a
          <PYGTKDOCLINK HREF="class-gioicon"><code class="classname">gio.Icon</code></PYGTKDOCLINK>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">get_icon_gicon</code>() method retrieves the
      <PYGTKDOCLINK HREF="class-gioicon"><code class="classname">gio.Icon</code></PYGTKDOCLINK> used for the icon,
      or <code class="literal">None</code> if there is no icon or if the icon was set by some other
      method (e.g. by stock, pixbuf, or icon name).</p></div><div class="refsect2" title="gtk.Entry.set_icon_activatable"><a name="method-gtkentry--set-icon-activatable"></a><h3>gtk.Entry.set_icon_activatable</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_icon_activatable</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>activatable</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>Icon position.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>activatable</code></strong> :</span></p></td><td><code class="literal">True</code> if the icon should be activatable.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">set_icon_activatable</code>() method sets whether the icon is activatable.</p></div><div class="refsect2" title="gtk.Entry.get_icon_activatable"><a name="method-gtkentry--get-icon-activatable"></a><h3>gtk.Entry.get_icon_activatable</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_icon_activatable</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>Icon position.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if the icon is activatable, <code class="literal">False</code> otherwise.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">get_icon_activatable</code>() method returns whether the icon is activatable.</p></div><div class="refsect2" title="gtk.Entry.set_icon_sensitive"><a name="method-gtkentry--set-icon-sensitive"></a><h3>gtk.Entry.set_icon_sensitive</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_icon_sensitive</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>sensitive</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>Icon position.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>sensitive</code></strong> :</span></p></td><td><code class="literal">True</code> if the icon should appear sensitive, <code class="literal">False</code> if the icon should appear insensitive.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">set_icon_sensitive</code>() method sets the sensitivity for the specified icon.</p></div><div class="refsect2" title="gtk.Entry.get_icon_sensitive"><a name="method-gtkentry--get-icon-sensitive"></a><h3>gtk.Entry.get_icon_sensitive</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_icon_sensitive</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>Icon position.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if the icon appears sensitive, <code class="literal">False</code> if the icon appears insensitive.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">get_icon_sensitive</code>() method returns whether the icon appears sensitive or insensitive. .</p></div><div class="refsect2" title="gtk.Entry.get_icon_at_pos"><a name="method-gtkentry--get-icon-at-pos"></a><h3>gtk.Entry.get_icon_at_pos</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_icon_at_pos</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>x</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>y</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>x</code></strong> :</span></p></td><td>the x coordinate of the position to find.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>y</code></strong> :</span></p></td><td>the y coordinate of the position to find.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the index of the icon at the given position, or -1.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">get_icon_at_pos</code>() method finds the icon at the given
      position and return its index. If x, y doesn't lie inside an icon, -1 is returned. This
      function is intended for use in a "query-tooltip" signal handler.</p></div><div class="refsect2" title="gtk.Entry.set_icon_tooltip_text"><a name="method-gtkentry--set-icon-tooltip-text"></a><h3>gtk.Entry.set_icon_tooltip_text</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_icon_tooltip_text</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>tooltip</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>the icon position.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>tooltip</code></strong> :</span></p></td><td>the contents of the tooltip for the icon, or <code class="literal">None</code>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">set_icon_tooltip_text</code>() method sets
      <em class="parameter"><code>tooltip</code></em> as the contents of the tooltip for the
      icon at the specified position.</p></div><div class="refsect2" title="gtk.Entry.get_icon_tooltip_text"><a name="method-gtkentry--get-icon-tooltip-text"></a><h3>gtk.Entry.get_icon_tooltip_text</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_icon_tooltip_text</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>the icon position.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the tooltip text, or <code class="literal">None</code>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">get_icon_tooltip_text</code>() method gets the contents of the tooltip on the icon at the specified position in the entry.</p></div><div class="refsect2" title="gtk.Entry.set_icon_tooltip_markup"><a name="method-gtkentry--set-icon-tooltip-markup"></a><h3>gtk.Entry.set_icon_tooltip_markup</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_icon_tooltip_markup</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>tooltip</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>the icon position.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>tooltip</code></strong> :</span></p></td><td>the contents of the tooltip for the icon, or <code class="literal">None</code>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">set_icon_tooltip_markup</code>() method sets tooltip as the contents of the tooltip for the icon at the specified position.
      <em class="parameter"><code>tooltip</code></em> is assumed to be marked up with the Pango text markup language.</p></div><div class="refsect2" title="gtk.Entry.get_icon_tooltip_markup"><a name="method-gtkentry--get-icon-tooltip-markup"></a><h3>gtk.Entry.get_icon_tooltip_markup</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_icon_tooltip_markup</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>the icon position.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the tooltip text, or <code class="literal">None</code>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">get_icon_tooltip_markup</code>() method gets the contents of the tooltip on the icon at the specified position in the entry.</p></div><div class="refsect2" title="gtk.Entry.set_icon_drag_source"><a name="method-gtkentry--set-icon-drag-source"></a><h3>gtk.Entry.set_icon_drag_source</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_icon_drag_source</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>target_list</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>actions</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>icon position.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>target_list</code></strong> :</span></p></td><td>the targets (data formats) in which the data can be provided.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>actions</code></strong> :</span></p></td><td>a bitmask of the allowed drag actions.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">set_icon_drag_source</code>() method sets up the icon at the given position
      so that GTK+ will start a drag operation when the user clicks and drags the icon.</p><p>To handle the drag operation, you need to connect to the usual "drag-data-get" (or possibly "drag-data-delete") signal, and use 
      <code class="methodname"><a class="link" href="class-gtkentry.html#method-gtkentry--get-current-icon-drag-source" title="gtk.Entry.get_current_icon_drag_source">gtk.Entry.get_current_icon_drag_source</a></code>())
      in your signal handler to find out if the drag was started from an icon.</p><p>By default, GTK+ uses the icon as the drag icon. You can use the "drag-begin" signal to set a different icon. Note that you have to use
      <PYGTKDOCLINK HREF="method-gobject--connect-after"><code class="methodname">gobject.connect_after</code>()</PYGTKDOCLINK>
      to ensure that your signal handler gets executed after the default handler.</p></div><div class="refsect2" title="gtk.Entry.get_current_icon_drag_source"><a name="method-gtkentry--get-current-icon-drag-source"></a><h3>gtk.Entry.get_current_icon_drag_source</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_current_icon_drag_source</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the index of the icon which is the source of the current DND operation, or -1.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">get_current_icon_drag_source</code>() method returns the index
      of the icon which is the source of the current DND operation, or -1.</p><p>This function is meant to be used in a "drag-data-get" callback.</p></div><div class="refsect2" title="gtk.Entry.get_icon_window"><a name="method-gtkentry--get-icon-window"></a><h3>gtk.Entry.get_icon_window</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_icon_window</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_pos</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>icon_pos</code></strong> :</span></p></td><td>Icon position.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the entry's icon window at <em class="parameter"><code>icon_pos</code></em>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.22 and above.</p></div><p>The <code class="methodname">get_icon_window</code>() method returns the
      <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a>
      which contains the entry's icon at <em class="parameter"><code>icon_pos</code></em>. This
      function is useful when drawing something to the entry in an "expose-event"
      callback because it enables the callback to distinguish between the text
      window and entry's icon windows.</p></div><div class="refsect2" title="gtk.Entry.get_text_window"><a name="method-gtkentry--get-text-window"></a><h3>gtk.Entry.get_text_window</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_text_window</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the entry's text window.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.22 and above.</p></div><p>The <code class="methodname">get_text_window</code>() method returns the
      <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a>
      which contains the text. This function is useful when drawing something to the
      entry in an "expose-event" callback because it enables the callback to distinguish
      between the text window and entry's icon windows.</p></div><div class="refsect2" title="gtk.Entry.layout_index_to_text_index"><a name="method-gtkentry--layout-index-to-text-index"></a><h3>gtk.Entry.layout_index_to_text_index</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">layout_index_to_text_index</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>layout_index</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>layout_index</code></strong> :</span></p></td><td>index of the entry layout text.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>index of the entry contents.</td></tr></tbody></table><p>The <code class="methodname">layout_index_to_text_index</code>() method converts from a position in the entry contents (returned by
      <a class="link" href="class-gtkentry.html#method-gtkentry--get-text" title="gtk.Entry.get_text"><code class="methodname">gtk.Entry.get_text</code></a>()) to a position in the entry's
      <a class="link" href="class-pangolayout.html" title="pango.Layout"><code class="classname">pango.Layout</code></a>
      (returned by <a class="link" href="class-gtkentry.html#method-gtkentry--get-layout" title="gtk.Entry.get_layout"><code class="methodname">gtk.Entry.get_layout</code></a>(),
      with text retrieved via <a class="link" href="class-pangolayout.html#method-pangolayout--get-text" title="pango.Layout.get_text"><code class="methodname">pango.Layout.get_text</code></a>()).</p></div><div class="refsect2" title="gtk.Entry.text_index_to_layout_index"><a name="method-gtkentry--text-index-to-layout-index"></a><h3>gtk.Entry.text_index_to_layout_index</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">text_index_to_layout_index</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>text_index</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>text_index</code></strong> :</span></p></td><td>index of the entry contents.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>index of the entry layout text.</td></tr></tbody></table><p>The <code class="methodname">text_index_to_layout_index</code>() method converts from a position in the entry contents (returned by
      <a class="link" href="class-gtkentry.html#method-gtkentry--get-text" title="gtk.Entry.get_text"><code class="methodname">gtk.Entry.get_text</code></a>()) to a position in the entry's
      <a class="link" href="class-pangolayout.html" title="pango.Layout"><code class="classname">pango.Layout</code></a>
      (returned by <a class="link" href="class-gtkentry.html#method-gtkentry--get-layout" title="gtk.Entry.get_layout"><code class="methodname">gtk.Entry.get_layout</code></a>(),
      with text retrieved via <a class="link" href="class-pangolayout.html#method-pangolayout--get-text" title="pango.Layout.get_text"><code class="methodname">pango.Layout.get_text</code></a>()).</p></div><div class="refsect2" title="gtk.Entry.im_context_filter_keypress"><a name="method-gtkentry--im-context-filter-keypress"></a><h3>gtk.Entry.im_context_filter_keypress</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">im_context_filter_keypress</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>event</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>event</code></strong> :</span></p></td><td>The key event.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.22 and above.</p></div><p>
        The <code class="methodname">im_context_filter_keypress</code>() method allows the
        <a class="link" href="class-gtkentry.html" title="gtk.Entry"><code class="classname">gtk.Entry</code></a> input method to internally handle key
        press and release events. If this function returns <code class="literal">True</code>, then no further processing should be done
        for this key event. See <a class="link" href="class-gtkimcontext.html#method-gtkimcontext--filter-keypress" title="gtk.IMContext.filter_keypress"><code class="methodname">gtk.IMContext.filter_keypress</code></a>().
      </p><p>
        Note that you are expected to call this function from your handler when overriding key event handling. This
        is needed in the case when you need to insert your own key handling between the input method and the default
        key event handling of the <a class="link" href="class-gtkentry.html" title="gtk.Entry"><code class="classname">gtk.Entry</code></a>.
      </p></div><div class="refsect2" title="gtk.Entry.reset_im_context"><a name="method-gtkentry--reset-im-context"></a><h3>gtk.Entry.reset_im_context</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">reset_im_context</span>(<span class="methodparam"></span>)</code></pre><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.22 and above.</p></div><p>
        The <code class="methodname">reset_im_context</code>() method resets the input method context of the entry if needed.
      </p><p>
        This can be necessary in the case where modifying the buffer would confuse on-going input method behavior.
      </p></div></div><div class="refsect1" title="Signals"><a name="id3685147"></a><h2>Signals</h2><div class="refsect2" title='The "activate" gtk.Entry Signal'><a name="signal-gtkentry--activate"></a><h3>The "activate" gtk.Entry Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td><td>the entry that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>The "activate" signal is emitted when the entry is activated
      either by user action (pressing the <span class="keycap"><strong>Enter</strong></span> key) or
      programmatically with the <a class="link" href="class-gtkwidget.html#method-gtkwidget--activate" title="gtk.Widget.activate"><code class="methodname">gtk.Widget.activate</code>()</a>
      method</p></div><div class="refsect2" title='The "backspace" gtk.Entry Signal'><a name="signal-gtkentry--backspace"></a><h3>The "backspace" gtk.Entry Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td><td>the object which received the signal.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
          with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
          method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if any)</td></tr></tbody></table><p>The "backspace" signal is emitted when the
      <span class="keysym">Backspace</span> key is entered from the keyboard.</p></div><div class="refsect2" title='The "copy-clipboard" gtk.Entry Signal'><a name="signal-gtkentry--copy-clipboard"></a><h3>The "copy-clipboard" gtk.Entry Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td><td>the entry that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>The "copy-clipboard" signal is emitted when the selection text
      in the entry is copied to the clipboard.</p></div><div class="refsect2" title='The "cut-clipboard" gtk.Entry Signal'><a name="signal-gtkentry--cut-clipboard"></a><h3>The "cut-clipboard" gtk.Entry Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td><td>the entry that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>The "cut-clipboard" signal is emitted when the selection in the
      entry is cut (removed from the entry) and placed in the
      clipboard.</p></div><div class="refsect2" title='The "delete-from-cursor" gtk.Entry Signal'><a name="signal-gtkentry--delete-from-cursor"></a><h3>The "delete-from-cursor" gtk.Entry Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>delete_type</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>count</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td><td>the entry that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>delete_type</code></em> :</span></p></td><td>the type of deletion</td></tr><tr><td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td><td>the number of deletions of the type to
perform</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>The "delete-from-cursor" signal is emitted when the a deletion
      from the cursor i.e. removal o text at the cursor position, either
      before it (negative <em class="parameter"><code>count</code></em>) or after it
      (positive <em class="parameter"><code>count</code></em>). The value of
      <em class="parameter"><code>delete_type</code></em> can be one of:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">gtk.DELETE_CHARS</li><li class="listitem">gtk.DELETE_WORD_ENDS</li><li class="listitem">  gtk.DELETE_WORDS</li><li class="listitem">  gtk.DELETE_DISPLAY_LINES</li><li class="listitem">  gtk.DELETE_DISPLAY_LINE_ENDS</li><li class="listitem">  gtk.DELETE_PARAGRAPH_ENDS</li><li class="listitem">  gtk.DELETE_PARAGRAPHS</li><li class="listitem">  gtk.DELETE_WHITESPACE</li></ul></div></div><div class="refsect2" title='The "icon-press" gtk.Entry Signal'><a name="signal-gtkentry--icon-press"></a><h3>The "icon-press" gtk.Entry Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>icon_pos</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>event</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td><td>the entry that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>icon_pos</code></em> :</span></p></td><td>The position of the clicked icon.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td><td>The button press event.
	  </td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>
	The "icon-press" signal is emitted when an activatable icon is clicked.
      </p></div><div class="refsect2" title='The "icon-release" gtk.Entry Signal'><a name="signal-gtkentry--icon-release"></a><h3>The "icon-release" gtk.Entry Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>icon_pos</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>event</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td><td>the entry that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>icon_pos</code></em> :</span></p></td><td>The position of the clicked icon.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td><td>The button press event.
	  </td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>
	The "icon-press" signal is emitted when the button release from a mouse
	click over an activatable icon.
      </p></div><div class="refsect2" title='The "insert-at-cursor" gtk.Entry Signal'><a name="signal-gtkentry--insert-at-cursor"></a><h3>The "insert-at-cursor" gtk.Entry Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>string</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td><td>the entry that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td><td>the text being inserted in the
entry</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>The "insert-at-cursor" signal is emitted when text is being
      inserted in the entry.</p></div><div class="refsect2" title='The "move-cursor" gtk.Entry Signal'><a name="signal-gtkentry--move-cursor"></a><h3>The "move-cursor" gtk.Entry Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>step</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>count</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>extend_selection</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td><td>the entry that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>step</code></em> :</span></p></td><td>the size of the step to move the
cursor</td></tr><tr><td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td><td>the number of steps to move the
cursor</td></tr><tr><td><p><span class="term"><em class="parameter"><code>extend_selection</code></em> :</span></p></td><td>if True extend the selection as well as moving
the cursor</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>The "move-cursor" signal is emitted when the cursor is being
      moved by <em class="parameter"><code>count</code></em> steps of size
      <em class="parameter"><code>step</code></em>. If
      <em class="parameter"><code>extend_selection</code></em> is <code class="literal">True</code> the
      selection is extended as the cursor is being moved. The value of
      <em class="parameter"><code>step</code></em> can be one of:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">gtk.MOVEMENT_LOGICAL_POSITIONS</li><li class="listitem">gtk.MOVEMENT_VISUAL_POSITIONS</li><li class="listitem">  gtk.MOVEMENT_WORDS</li><li class="listitem">  gtk.MOVEMENT_DISPLAY_LINES</li><li class="listitem">  gtk.MOVEMENT_DISPLAY_LINE_ENDS</li><li class="listitem">  gtk.MOVEMENT_PARAGRAPH_ENDS</li><li class="listitem">  gtk.MOVEMENT_PARAGRAPHS</li><li class="listitem">  gtk.MOVEMENT_PAGES</li><li class="listitem">  gtk.MOVEMENT_BUFFER_ENDS</li></ul></div></div><div class="refsect2" title='The "paste-clipboard" gtk.Entry Signal'><a name="signal-gtkentry--paste-clipboard"></a><h3>The "paste-clipboard" gtk.Entry Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td><td>the entry that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>The "paste-clipboard" signal is emitted when the contents of the
      clipboard are pasted into the entry.</p></div><div class="refsect2" title='The "populate-popup" gtk.Entry Signal'><a name="signal-gtkentry--populate-popup"></a><h3>The "populate-popup" gtk.Entry Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>menu</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td><td>the entry that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td><td>the menu that needs
populating</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>The "populate-popup" signal is emitted when the
      <em class="parameter"><code>menu</code></em> needs populating.</p></div><div class="refsect2" title='The "preedit-changed" gtk.Entry Signal'><a name="signal-gtkentry--preedit-changed"></a><h3>The "preedit-changed" gtk.Entry Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>preedit</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td><td>the entry that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>preedit</code></em> :</span></p></td><td>the current preedit string</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>The "preedit-changed" signal is emitted when an input method is used, the typed text will not
      immediately be committed to the buffer. So if you are interested in the text, connect to this signal.</p></div><div class="refsect2" title='The "toggle-overwrite" gtk.Entry Signal'><a name="signal-gtkentry--toggle-overwrite"></a><h3>The "toggle-overwrite" gtk.Entry Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>entry</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td><td>the entry that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><p>The "toggle-overwrite" signal is emitted when the internal entry
      attribute "overwrite_mode" is toggled by pressing the
      <span class="keycap"><strong>Insert</strong></span> key.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkeditable.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtkentrybuffer.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.Editable </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.EntryBuffer</td></tr></table></div></body></html>