File: classGFC_1_1Gtk_1_1Entry.html

package info (click to toggle)
gfcui 2.3.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 43,420 kB
  • ctags: 18,023
  • sloc: cpp: 53,967; sh: 31,555; makefile: 1,322; perl: 108
file content (834 lines) | stat: -rw-r--r-- 42,892 bytes parent folder | download | duplicates (3)
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
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>GTK+ Foundation Classes</title>
  <link href="gfc.css" rel="stylesheet" type="text/css">
  <meta content="The GFC Development Team" name="author">
  <meta content="Core Library Reference Manual" name="description">
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(243, 244, 248);"
 alink="#000099" link="#000099" vlink="#990099">
<table style="text-align: left; width: 1227px; height: 117px;"
 border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td
 style="text-align: center; background-color: rgb(255, 255, 255); width: 220px; vertical-align: top;"><img
 alt="GFC Logo" src="../images/gfc.png"
 style="width: 207px; height: 92px;"></td>
      <td
 style="text-align: center; background-color: rgb(87, 107, 152); vertical-align: middle;"><img
 alt="GFC Title Logo" src="../images/gfc-title.png"
 style="width: 418px; height: 76px;"><br>
      </td>
    </tr>
    <tr>
      <td
 style="text-align: center; background-color: rgb(65, 77, 104); vertical-align: middle;"><big><span
 style="color: rgb(255, 255, 153); font-weight: bold;">Reference Manual</span></big><br>
      </td>
      <td
 style="text-align: center; background-color: rgb(148, 164, 200); vertical-align: middle;"><small
 style="font-family: helvetica,arial,sans-serif;"><a
 href="../html/index.html">Main Page</a>&nbsp; |&nbsp; <a
 href="../html/namespaces.html">Namespace List</a>&nbsp; |&nbsp; <a
 href="classes.html">Alphabetical List</a>&nbsp; |&nbsp; <a
 href="../html/annotated.html">Class List</a>&nbsp; |&nbsp; <a
 href="../html/files.html">File List</a></small><br>
      </td>
    </tr>
  </tbody>
</table>
<small> </small>
</body>
</html>
<!-- Generated by Doxygen 1.3.8 -->
<h1>GFC::Gtk::Entry Class Reference</h1>A GtkEntry C++ wrapper class.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="entry_8hh-source.html">gfc/gtk/entry.hh</a>&gt;</code>
<p>
<p>Inheritance diagram for GFC::Gtk::Entry:
<p><center><img src="classGFC_1_1Gtk_1_1Entry.png" usemap="#GFC::Gtk::Entry_map" border="0" alt=""></center>
<map name="GFC::Gtk::Entry_map">
<area href="classGFC_1_1Gtk_1_1Widget.html" alt="GFC::Gtk::Widget" shape="rect" coords="73,224,210,248">
<area href="classGFC_1_1Gtk_1_1Editable.html" alt="GFC::Gtk::Editable" shape="rect" coords="294,224,431,248">
<area href="classGFC_1_1Gtk_1_1CellEditable.html" alt="GFC::Gtk::CellEditable" shape="rect" coords="441,224,578,248">
<area href="classGFC_1_1Gtk_1_1Object.html" alt="GFC::Gtk::Object" shape="rect" coords="0,168,137,192">
<area href="classGFC_1_1Atk_1_1Implementor.html" alt="GFC::Atk::Implementor" shape="rect" coords="147,168,284,192">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInterface.html" alt="GFC::G::TypeInterface" shape="rect" coords="294,168,431,192">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInterface.html" alt="GFC::G::TypeInterface" shape="rect" coords="441,168,578,192">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html" alt="GFC::G::Object" shape="rect" coords="0,112,137,136">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInterface.html" alt="GFC::G::TypeInterface" shape="rect" coords="147,112,284,136">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInstance.html" alt="GFC::G::TypeInstance" shape="rect" coords="294,112,431,136">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInstance.html" alt="GFC::G::TypeInstance" shape="rect" coords="441,112,578,136">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInstance.html" alt="GFC::G::TypeInstance" shape="rect" coords="0,56,137,80">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInstance.html" alt="GFC::G::TypeInstance" shape="rect" coords="147,56,284,80">
<area doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html" alt="GFC::Trackable" shape="rect" coords="294,56,431,80">
<area doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html" alt="GFC::Trackable" shape="rect" coords="441,56,578,80">
<area doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html" alt="GFC::Trackable" shape="rect" coords="0,0,137,24">
<area doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html" alt="GFC::Trackable" shape="rect" coords="147,0,284,24">
<area href="classGFC_1_1Gtk_1_1SpinButton.html" alt="GFC::Gtk::SpinButton" shape="rect" coords="294,336,431,360">
</map>
<a href="classGFC_1_1Gtk_1_1Entry-members.html">List of all members.</a><h2>Signal Prototypes</h2>
<ul>
<li>const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">PopulatePopupSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z497_6">populate_popup_signal</a>
<dl class="el"><dd class="mdescRight">Populate popup signal (see <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z501_0">sig_populate_popup()</a>).  <a href="#z497_6"></a><br></dl><li>const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">ActviateSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z497_7">activate_signal</a>
<dl class="el"><dd class="mdescRight">Actviate signal (see <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z501_1">sig_activate()</a>).  <a href="#z497_7"></a><br></dl><li>const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">InsertAtCursorSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z497_8">insert_at_cursor_signal</a>
<dl class="el"><dd class="mdescRight">Insert at cursor signal (see <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z501_2">sig_insert_at_cursor()</a>).  <a href="#z497_8"></a><br></dl></ul>
<h2>Public Member Functions</h2>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<ul>
<li><a class="anchor" name="z498_0" doxytag="GFC::Gtk::Entry::Entry" ></a>
<a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z498_0">Entry</a> ()
<dl class="el"><dd class="mdescRight">Construct a new <a class="el" href="classGFC_1_1Gtk_1_1Entry.html">Entry</a>. <br></dl><li><a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z498_1">Entry</a> (int max_length)
<dl class="el"><dd class="mdescRight">Construct a new <a class="el" href="classGFC_1_1Gtk_1_1Entry.html">Entry</a> that accepts at most max_length characters.  <a href="#z498_1"></a><br></dl><li><a class="anchor" name="z498_2" doxytag="GFC::Gtk::Entry::~Entry" ></a>
virtual <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z498_2">~Entry</a> ()
<dl class="el"><dd class="mdescRight">Destructor. <br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<ul>
<li><a class="anchor" name="z499_0" doxytag="GFC::Gtk::Entry::gtk_entry" ></a>
GtkEntry * <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z499_0">gtk_entry</a> () const
<dl class="el"><dd class="mdescRight">Get a pointer to the GtkEntry structure. <br></dl><li><a class="anchor" name="z499_1" doxytag="GFC::Gtk::Entry::operator GtkEntry *" ></a>
<a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z499_1">operator GtkEntry *</a> () const
<dl class="el"><dd class="mdescRight">Conversion operator; safely converts an <a class="el" href="classGFC_1_1Gtk_1_1Entry.html">Entry</a> to a GtkEntry pointer. <br></dl><li><a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z499_2">get_text</a> () const
<dl class="el"><dd class="mdescRight">Retrieves the contents of the widget (see also <a class="el" href="classGFC_1_1Gtk_1_1Editable.html#z491_3">Gtk::Editable::get_chars()</a>).  <a href="#z499_2"></a><br></dl><li><a class="anchor" name="z499_3" doxytag="GFC::Gtk::Entry::get_visibility" ></a>
bool <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z499_3">get_visibility</a> () const
<dl class="el"><dd class="mdescRight">Returns true if the text in the widget is visible (see <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_0">set_visibility()</a>). <br></dl><li><a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Unichar.html">G::Unichar</a> <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z499_4">get_invisible_char</a> () const
<dl class="el"><dd class="mdescRight">Retrieves the character displayed in place of the real characters for entries with visisbility set to false (see <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_1">set_invisible_char()</a>).  <a href="#z499_4"></a><br></dl><li><a class="anchor" name="z499_5" doxytag="GFC::Gtk::Entry::get_has_frame" ></a>
bool <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z499_5">get_has_frame</a> () const
<dl class="el"><dd class="mdescRight">Returns true if the entry has a beveled frame (see <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_2">set_has_frame()</a>). <br></dl><li><a class="anchor" name="z499_6" doxytag="GFC::Gtk::Entry::get_activates_default" ></a>
bool <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z499_6">get_activates_default</a> () const
<dl class="el"><dd class="mdescRight">Returns true if the entry will activate the default widget (see <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_8">set_activates_default()</a>). <br></dl><li><a class="anchor" name="z499_7" doxytag="GFC::Gtk::Entry::get_width_chars" ></a>
int <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z499_7">get_width_chars</a> () const
<dl class="el"><dd class="mdescRight">Retrieves the number of chars to request space for, or negative if unset (see <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_9">set_width_chars()</a>). <br></dl><li><a class="anchor" name="z499_8" doxytag="GFC::Gtk::Entry::get_max_length" ></a>
int <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z499_8">get_max_length</a> () const
<dl class="el"><dd class="mdescRight">Returns the maximum allowed length of the text in the <a class="el" href="classGFC_1_1Gtk_1_1Entry.html">Entry</a>, or 0 if there is no maximum (see <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_3">set_max_length()</a>). <br></dl><li><a class="el" href="classGFC_1_1Pango_1_1Layout.html">Pango::Layout</a> * <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z499_9">get_layout</a> () const
<dl class="el"><dd class="mdescRight">Gets the <a class="el" href="classGFC_1_1Pango_1_1Layout.html">Pango::Layout</a> used to display the entry.  <a href="#z499_9"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z499_10">get_layout_offsets</a> (int *x, int *y) const
<dl class="el"><dd class="mdescRight">Obtains the position of the <a class="el" href="classGFC_1_1Pango_1_1Layout.html">Pango::Layout</a> used to render text in the entry, in widget coordinates.  <a href="#z499_10"></a><br></dl><li>float <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z499_11">get_alignment</a> () const
<dl class="el"><dd class="mdescRight">Gets the value set by <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_6">set_alignment()</a>.  <a href="#z499_11"></a><br></dl><li><a class="el" href="classGFC_1_1Gtk_1_1EntryCompletion.html">EntryCompletion</a> * <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z499_12">get_completion</a> () const
<dl class="el"><dd class="mdescRight">Gets the auxiliary completion object currently in use by the entry.  <a href="#z499_12"></a><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Methods</div></td></tr>
<ul>
<li>void <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_0">set_visibility</a> (bool visible)
<dl class="el"><dd class="mdescRight">Sets whether the contents of the entry are visible or not.  <a href="#z500_0"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_1">set_invisible_char</a> (<a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Unichar.html">G::Unichar</a> ch)
<dl class="el"><dd class="mdescRight">Sets the character to use in place of the actual text when <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_0">set_visibility()</a> has been called to set text visibility to false.  <a href="#z500_1"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_2">set_has_frame</a> (bool setting)
<dl class="el"><dd class="mdescRight">Sets whether the entry has a beveled frame around it.  <a href="#z500_2"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_3">set_max_length</a> (int max)
<dl class="el"><dd class="mdescRight">Sets the maximum allowed length of the contents of the widget.  <a href="#z500_3"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_5">set_text</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;text)
<dl class="el"><dd class="mdescRight">Sets the text in the widget to the given value, replacing the current contents.  <a href="#z500_5"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_6">set_alignment</a> (float xalign)
<dl class="el"><dd class="mdescRight">Sets the alignment for the contents of the entry.  <a href="#z500_6"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_7">set_completion</a> (<a class="el" href="classGFC_1_1Gtk_1_1EntryCompletion.html">EntryCompletion</a> *completion)
<dl class="el"><dd class="mdescRight">Sets <em>completion</em> to be the auxiliary completion object to use with the entry.  <a href="#z500_7"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_8">set_activates_default</a> (bool setting)
<dl class="el"><dd class="mdescRight">If setting is true, pressing Enter in the entry will activate the default widget for the window containing the entry.  <a href="#z500_8"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_9">set_width_chars</a> (int n_chars)
<dl class="el"><dd class="mdescRight">Changes the size request of the entry to be about the right size for n_chars characters.  <a href="#z500_9"></a><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Signal Proxies</div></td></tr>
<ul>
<li><a class="anchor" name="z501_0" doxytag="GFC::Gtk::Entry::sig_populate_popup" ></a>
const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">PopulatePopupSignalProxy</a> <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z501_0">sig_populate_popup</a> ()
<dl class="el"><dd class="mdescRight">Connect to the populate_popup_signal; emitted when the <a class="el" href="classGFC_1_1Gtk_1_1Entry.html">Entry</a> displays its context-sensitive menu. <br></dl><li><a class="anchor" name="z501_1" doxytag="GFC::Gtk::Entry::sig_activate" ></a>
const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">ActviateSignalProxy</a> <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z501_1">sig_activate</a> ()
<dl class="el"><dd class="mdescRight">Connect to the activate_signal; emitted when the <a class="el" href="classGFC_1_1Gtk_1_1Entry.html">Entry</a> is activated by pressing the enter key. <br></dl><li><a class="anchor" name="z501_2" doxytag="GFC::Gtk::Entry::sig_insert_at_cursor" ></a>
const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">InsertAtCursorSignalProxy</a> <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z501_2">sig_insert_at_cursor</a> ()
<dl class="el"><dd class="mdescRight">Connect to the insert_at_cursor_signal; emitted when text is inserted into the <a class="el" href="classGFC_1_1Gtk_1_1Entry.html">Entry</a> at the current cursor position. <br></dl></ul>
<h2>Protected Member Functions</h2>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<ul>
<li><a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z496_0">Entry</a> (GtkEntry *entry, bool <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html#z143_1">owns_reference</a>=false)
<dl class="el"><dd class="mdescRight">Construct a new <a class="el" href="classGFC_1_1Gtk_1_1Entry.html">Entry</a> from an existing GtkEntry.  <a href="#z496_0"></a><br></dl></ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A GtkEntry C++ wrapper class. 
<p>
The <a class="el" href="classGFC_1_1Gtk_1_1Entry.html">Entry</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. <a class="el" href="classGFC_1_1Gtk_1_1Entry.html">Entry</a> implements the <a class="el" href="classGFC_1_1Gtk_1_1Editable.html">Editable</a> and <a class="el" href="classGFC_1_1Gtk_1_1CellEditable.html">CellEditable</a> interfaces 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="z496_0" doxytag="GFC::Gtk::Entry::Entry" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GFC::Gtk::Entry::Entry           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">GtkEntry *&nbsp;</td>
          <td class="mdname" nowrap> <em>entry</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>owns_reference</em> = <code>false</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [explicit, protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Construct a new <a class="el" href="classGFC_1_1Gtk_1_1Entry.html">Entry</a> from an existing GtkEntry. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>entry</em>&nbsp;</td><td>A pointer to a GtkEntry. </td></tr>
    <tr><td></td><td valign=top><em>owns_reference</em>&nbsp;</td><td>Set false if the initial reference count is floating, set true if it's not.</td></tr>
  </table>
</dl>
<br>
The <em>entry</em> can be a newly created GtkEntry or an existing GtkEntry (see <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html#z68_0">G::Object::Object</a>).     </td>
  </tr>
</table>
<a class="anchor" name="z498_1" doxytag="GFC::Gtk::Entry::Entry" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GFC::Gtk::Entry::Entry           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>max_length</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [explicit]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Construct a new <a class="el" href="classGFC_1_1Gtk_1_1Entry.html">Entry</a> that accepts at most max_length characters. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>max_length</em>&nbsp;</td><td>The maximum length of the entry, or 0 for no maximum.</td></tr>
  </table>
</dl>
<br>
The value passed <em>max_length</em> in will be clamped to the range 0-65536.     </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="z499_11" doxytag="GFC::Gtk::Entry::get_alignment" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> float GFC::Gtk::Entry::get_alignment           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the value set by <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_6">set_alignment()</a>. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The alignment. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z499_12" doxytag="GFC::Gtk::Entry::get_completion" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGFC_1_1Gtk_1_1EntryCompletion.html">EntryCompletion</a>* GFC::Gtk::Entry::get_completion           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the auxiliary completion object currently in use by the entry. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The auxiliary completion object currently in use by entry. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z499_4" doxytag="GFC::Gtk::Entry::get_invisible_char" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Unichar.html">G::Unichar</a> GFC::Gtk::Entry::get_invisible_char           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the character displayed in place of the real characters for entries with visisbility set to false (see <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_1">set_invisible_char()</a>). 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The current invisible char, or 0, if the entry does not show invisible text at all. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z499_9" doxytag="GFC::Gtk::Entry::get_layout" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGFC_1_1Pango_1_1Layout.html">Pango::Layout</a>* GFC::Gtk::Entry::get_layout           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the <a class="el" href="classGFC_1_1Pango_1_1Layout.html">Pango::Layout</a> used to display the entry. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The PangoLayout for this entry.</dd></dl>
<br>
The layout is useful to e.g. convert text positions to pixel positions, in combination with <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z499_10">get_layout_offsets()</a>. The returned layout is owned by the entry and must not be unreferenced by the caller.     </td>
  </tr>
</table>
<a class="anchor" name="z499_10" doxytag="GFC::Gtk::Entry::get_layout_offsets" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Entry::get_layout_offsets           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int *&nbsp;</td>
          <td class="mdname" nowrap> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>int *&nbsp;</td>
          <td class="mdname" nowrap> <em>y</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Obtains the position of the <a class="el" href="classGFC_1_1Pango_1_1Layout.html">Pango::Layout</a> used to render text in the entry, in widget coordinates. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>x</em>&nbsp;</td><td>The location to store the X offset of the layout, or null. </td></tr>
    <tr><td></td><td valign=top><em>y</em>&nbsp;</td><td>The location to store the Y offset of the layout, or null.</td></tr>
  </table>
</dl>
<br>
Useful if you want 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. Also useful to convert mouse events into coordinates inside the <a class="el" href="classGFC_1_1Pango_1_1Layout.html">Pango::Layout</a>, e.g. to take some action if some part of the entry text is clicked.     </td>
  </tr>
</table>
<a class="anchor" name="z499_2" doxytag="GFC::Gtk::Entry::get_text" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> GFC::Gtk::Entry::get_text           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the contents of the widget (see also <a class="el" href="classGFC_1_1Gtk_1_1Editable.html#z491_3">Gtk::Editable::get_chars()</a>). 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>A <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> that contains the contents of the widget. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z500_8" doxytag="GFC::Gtk::Entry::set_activates_default" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Entry::set_activates_default           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>setting</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
If setting is true, pressing Enter in the entry will activate the default widget for the window containing the entry. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>setting</em>&nbsp;</td><td><em>true</em> to activate the default widget on Enter keypress.</td></tr>
  </table>
</dl>
<br>
If setting is true, this usually means that the dialog box containing the entry will be closed, since the default widget is usually one of the dialog buttons.     </td>
  </tr>
</table>
<a class="anchor" name="z500_6" doxytag="GFC::Gtk::Entry::set_alignment" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Entry::set_alignment           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">float&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>xalign</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the alignment for the contents of the entry. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>xalign</em>&nbsp;</td><td>The horizontal alignment, from 0 (left) to 1 (right).</td></tr>
  </table>
</dl>
<br>
This controls the horizontal positioning of the contents when the displayed text is shorter than the width of the entry. The alignment is reversed for RTL layouts.     </td>
  </tr>
</table>
<a class="anchor" name="z500_7" doxytag="GFC::Gtk::Entry::set_completion" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Entry::set_completion           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGFC_1_1Gtk_1_1EntryCompletion.html">EntryCompletion</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>completion</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets <em>completion</em> to be the auxiliary completion object to use with the entry. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>completion</em>&nbsp;</td><td>The <a class="el" href="classGFC_1_1Gtk_1_1EntryCompletion.html">EntryCompletion</a>.</td></tr>
  </table>
</dl>
<br>
All further configuration of the completion mechanism is done on <em>completion</em> using the <a class="el" href="classGFC_1_1Gtk_1_1EntryCompletion.html">Gtk::EntryCompletion</a> API.     </td>
  </tr>
</table>
<a class="anchor" name="z500_2" doxytag="GFC::Gtk::Entry::set_has_frame" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Entry::set_has_frame           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>setting</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets whether the entry has a beveled frame around it. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>setting</em>&nbsp;</td><td>The new value. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z500_1" doxytag="GFC::Gtk::Entry::set_invisible_char" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Entry::set_invisible_char           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Unichar.html">G::Unichar</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>ch</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the character to use in place of the actual text when <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_0">set_visibility()</a> has been called to set text visibility to false. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>ch</em>&nbsp;</td><td>A Unicode character.</td></tr>
  </table>
</dl>
<br>
The <em>ch</em> character is used in "password mode" to show the user how many characters have been typed. The default invisible char is an asterisk ('*'). If you set the invisible char to 0, then the user will get no feedback at all; there will be no text on the screen as they type.     </td>
  </tr>
</table>
<a class="anchor" name="z500_3" doxytag="GFC::Gtk::Entry::set_max_length" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Entry::set_max_length           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>max</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the maximum allowed length of the contents of the widget. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>max</em>&nbsp;</td><td>The maximum length of the entry, or 0 for no maximum.</td></tr>
  </table>
</dl>
<br>
The value passed in will be clamped to the range 0-65536. If the current contents are longer than the given length, then they will be truncated to fit.     </td>
  </tr>
</table>
<a class="anchor" name="z500_5" doxytag="GFC::Gtk::Entry::set_text" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Entry::set_text           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>text</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the text in the widget to the given value, replacing the current contents. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>text</em>&nbsp;</td><td>The new text. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z500_0" doxytag="GFC::Gtk::Entry::set_visibility" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Entry::set_visibility           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>visible</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets whether the contents of the entry are visible or not. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>visible</em>&nbsp;</td><td><em>true</em> if the contents of the entry are displayed as plain text.</td></tr>
  </table>
</dl>
<br>
When visibility is set to false, characters are displayed as the invisible char, and will also appear that way 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="el" href="classGFC_1_1Gtk_1_1Entry.html#z500_1">set_invisible_char()</a>.     </td>
  </tr>
</table>
<a class="anchor" name="z500_9" doxytag="GFC::Gtk::Entry::set_width_chars" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Entry::set_width_chars           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>n_chars</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Changes the size request of the entry to be about the right size for n_chars characters. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>n_chars</em>&nbsp;</td><td>The width in chars.</td></tr>
  </table>
</dl>
<br>
Note that this method changes the size request, the size can still be affected by how you pack the widget into containers. If n_chars is -1, the size reverts to the default entry size.     </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="z497_7" doxytag="GFC::Gtk::Entry::activate_signal" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">ActviateSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z497_7">GFC::Gtk::Entry::activate_signal</a><code> [static, protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Actviate signal (see <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z501_1">sig_activate()</a>). 
<p>
Calls a slot with the signature: <div class="fragment"><pre>             <span class="keywordtype">void</span> function();
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="z497_8" doxytag="GFC::Gtk::Entry::insert_at_cursor_signal" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">InsertAtCursorSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z497_8">GFC::Gtk::Entry::insert_at_cursor_signal</a><code> [static, protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Insert at cursor signal (see <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z501_2">sig_insert_at_cursor()</a>). 
<p>
Calls a slot with the signature: <div class="fragment"><pre>             <span class="keywordtype">void</span> function(<span class="keyword">const</span> String&amp; text);
             <span class="comment">// text: The new text to insert.</span>
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="z497_6" doxytag="GFC::Gtk::Entry::populate_popup_signal" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">PopulatePopupSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z497_6">GFC::Gtk::Entry::populate_popup_signal</a><code> [static, protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Populate popup signal (see <a class="el" href="classGFC_1_1Gtk_1_1Entry.html#z501_0">sig_populate_popup()</a>). 
<p>
Calls a slot with the signature: <div class="fragment"><pre>             <span class="keywordtype">void</span> function(Gtk::Menu&amp; menu);
             <span class="comment">// menu: The popup menu.</span>
</pre></div>    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="entry_8hh-source.html">entry.hh</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Aug 24 00:34:39 2004 for GFC-UI by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>