This file is indexed.

/usr/share/gtk-doc/html/libgda-5.0/libgda-5.0-GdauiDataEntry.html is in libgda-5.0-doc 5.2.4-3.

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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GdauiDataEntry: GNOME Data Access 5 manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GNOME Data Access 5 manual">
<link rel="up" href="ch22.html" title="User interface API reference">
<link rel="prev" href="libgda-5.0-UI-plugins.html" title="UI plugins">
<link rel="next" href="libgda-5.0-GdauiDataStore.html" title="GdauiDataStore">
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#libgda-5.0-GdauiDataEntry.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch22.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="libgda-5.0-UI-plugins.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="libgda-5.0-GdauiDataStore.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="libgda-5.0-GdauiDataEntry"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgda-5.0-GdauiDataEntry.top_of_page"></a>GdauiDataEntry</span></h2>
<p>GdauiDataEntry — Data entry widget</p>
</td>
<td class="gallery_image" valign="top" align="right"><img src="vi-data-entry.png"></td>
</tr></table></div>
<div class="refsect1">
<a name="libgda-5.0-GdauiDataEntry.stability-level"></a><h2>Stability Level</h2>
<a href="http://foldoc.org/Stable"><span class="acronym">Stable</span></a>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="libgda-5.0-GdauiDataEntry.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-set-value-type" title="gdaui_data_entry_set_value_type ()">gdaui_data_entry_set_value_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-get-value-type" title="gdaui_data_entry_get_value_type ()">gdaui_data_entry_get_value_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-set-value" title="gdaui_data_entry_set_value ()">gdaui_data_entry_set_value</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-get-value" title="gdaui_data_entry_get_value ()">gdaui_data_entry_get_value</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-content-is-valid" title="gdaui_data_entry_content_is_valid ()">gdaui_data_entry_content_is_valid</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-set-reference-value" title="gdaui_data_entry_set_reference_value ()">gdaui_data_entry_set_reference_value</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-get-reference-value" title="gdaui_data_entry_get_reference_value ()">gdaui_data_entry_get_reference_value</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-set-reference-current" title="gdaui_data_entry_set_reference_current ()">gdaui_data_entry_set_reference_current</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-set-default-value" title="gdaui_data_entry_set_default_value ()">gdaui_data_entry_set_default_value</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-set-attributes" title="gdaui_data_entry_set_attributes ()">gdaui_data_entry_set_attributes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-Gda-Value.html#GdaValueAttribute" title="enum GdaValueAttribute"><span class="returnvalue">GdaValueAttribute</span></a>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-get-attributes" title="gdaui_data_entry_get_attributes ()">gdaui_data_entry_get_attributes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-Default-Data-handlers.html#GdaDataHandler"><span class="returnvalue">GdaDataHandler</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-get-handler" title="gdaui_data_entry_get_handler ()">gdaui_data_entry_get_handler</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-can-expand" title="gdaui_data_entry_can_expand ()">gdaui_data_entry_can_expand</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-set-editable" title="gdaui_data_entry_set_editable ()">gdaui_data_entry_set_editable</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-get-editable" title="gdaui_data_entry_get_editable ()">gdaui_data_entry_get_editable</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-grab-focus" title="gdaui_data_entry_grab_focus ()">gdaui_data_entry_grab_focus</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-set-unknown-color" title="gdaui_data_entry_set_unknown_color ()">gdaui_data_entry_set_unknown_color</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libgda-5.0-GdauiDataEntry.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry">GdauiDataEntry</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libgda-5.0-GdauiDataEntry.description"></a><h2>Description</h2>
<p>The <span class="type">GdaUiDataEntry</span> is an interface for widgets (simple or complex)
which lets the user view and/or modify a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p>
<p>This interface is implemented by widgets which feature data editing (usually composed of an editing
area and a button to have some more control on the value being edited).
The interface allows to control how the widget works and to query the value and the attributes
of the data held by the widget.</p>
<p>The widget can store the original value (to be able to tell if the value has been changed
by the user) and a default value (which will be returned if the user explicitly forces the widget
to be set to the default value).
Control methods allow to set the type of value to be edited (the requested type must be
compatible with what the widget can handle), set the value (which replaces the currently edited
value), set the value and the original value (the value passed as argument is set and is also
considered to be the original value).</p>
<p><span class="type">GdaUiDataEntry</span> widgets are normally created using the <a class="link" href="libgda-5.0-UI-Utility-functions.html#gdaui-new-data-entry" title="gdaui_new_data_entry ()"><code class="function">gdaui_new_data_entry()</code></a> function.</p>
</div>
<div class="refsect1">
<a name="libgda-5.0-GdauiDataEntry.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gdaui-data-entry-set-value-type"></a><h3>gdaui_data_entry_set_value_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdaui_data_entry_set_value_type (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>,
                                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>);</pre>
<p>Sets the type of value the GdauiDataEntry will handle. The type must be compatible with what
the widget can handle.</p>
<div class="refsect3">
<a name="gdaui-data-entry-set-value-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>the <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> of the data to be displayed</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-get-value-type"></a><h3>gdaui_data_entry_get_value_type ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>
gdaui_data_entry_get_value_type (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>);</pre>
<p>Fetch the type of data the GdauiDataEntry handles</p>
<div class="refsect3">
<a name="gdaui-data-entry-get-value-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdaui-data-entry-get-value-type.returns"></a><h4>Returns</h4>
<p> the GType type</p>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-set-value"></a><h3>gdaui_data_entry_set_value ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdaui_data_entry_set_value (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>,
                            <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Push a value into the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a>. The value parameter must either be:</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>of type GDA_TYPE_NULL (may be created using <a class="link" href="libgda-5.0-Gda-Value.html#gda-value-new-null" title="gda_value_new_null ()"><code class="function">gda_value_new_null()</code></a>) to 
     represent a NULL value (SQL NULL), or</p></li>
<li class="listitem"><p>of type specified using <a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-set-value-type" title="gdaui_data_entry_set_value_type ()"><code class="function">gdaui_data_entry_set_value_type()</code></a>, or</p></li>
<li class="listitem"><p>NULL to represent an undetermined value (usually an error)</p></li>
</ul></div>
<div class="refsect3">
<a name="gdaui-data-entry-set-value.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p> a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-get-value"></a><h3>gdaui_data_entry_get_value ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> *
gdaui_data_entry_get_value (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>);</pre>
<p>Fetch the value held in the GdauiDataEntry widget. If the value is set to NULL,
the returned value is of type GDA_TYPE_NULL. If the value is set to default,
then the returned value is of type GDA_TYPE_NULL or is the default value if it
has been provided to the widget (and is of the same type as the one provided by <em class="parameter"><code>de</code></em>
).</p>
<div class="refsect3">
<a name="gdaui-data-entry-get-value.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdaui-data-entry-get-value.returns"></a><h4>Returns</h4>
<p> a new <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-content-is-valid"></a><h3>gdaui_data_entry_content_is_valid ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gdaui_data_entry_content_is_valid (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<div class="warning"><p><code class="literal">gdaui_data_entry_content_is_valid</code> has been deprecated since version 5.2 and should not be used in newly-written code.</p></div>
<p>Tests the validity of <em class="parameter"><code>de</code></em>
's contents. The validity is a determined from:</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>the <em class="parameter"><code>de</code></em> widget itself if it is capable of doing it (depending on the implementation)</p></li>
<li class="listitem"><p>the results of the "contents-valid" signal which can be connected from </p></li>
</ul></div>
<p><span class="annotation">[<a href="http://foldoc.org/skip"><span class="acronym">skip</span></a>]</span></p>
<div class="refsect3">
<a name="gdaui-data-entry-content-is-valid.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> a place to store an error, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdaui-data-entry-content-is-valid.returns"></a><h4>Returns</h4>
<p> TRUE if <em class="parameter"><code>de</code></em>
's contents is valid</p>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-set-reference-value"></a><h3>gdaui_data_entry_set_reference_value ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdaui_data_entry_set_reference_value (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>,
                                      <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Push a value into the GdauiDataEntry in the same way as <a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-set-value" title="gdaui_data_entry_set_value ()"><code class="function">gdaui_data_entry_set_value()</code></a> but
also sets this value as the reference value.</p>
<div class="refsect3">
<a name="gdaui-data-entry-set-reference-value.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p> a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-get-reference-value"></a><h3>gdaui_data_entry_get_reference_value ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> *
gdaui_data_entry_get_reference_value (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>);</pre>
<p>Fetch the reference value held in the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> widget</p>
<div class="refsect3">
<a name="gdaui-data-entry-get-reference-value.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdaui-data-entry-get-reference-value.returns"></a><h4>Returns</h4>
<p> the <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> (not modifiable). </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-set-reference-current"></a><h3>gdaui_data_entry_set_reference_current ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdaui_data_entry_set_reference_current
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>);</pre>
<p>Tells that the current value in <em class="parameter"><code>de</code></em>
 is to be considered as the reference value</p>
<div class="refsect3">
<a name="gdaui-data-entry-set-reference-current.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-set-default-value"></a><h3>gdaui_data_entry_set_default_value ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdaui_data_entry_set_default_value (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>,
                                    <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets the default value for the GdauiDataEntry which gets displayed when the
user forces the default value. If it is not set then it is set to type GDA_TYPE_NULL.
The value parameter must either be:</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>NULL or of type GDA_TYPE_NULL, or</p></li>
<li class="listitem"><p>of type specified using <a class="link" href="libgda-5.0-GdauiDataEntry.html#gdaui-data-entry-set-value-type" title="gdaui_data_entry_set_value_type ()"><code class="function">gdaui_data_entry_set_value_type()</code></a>.</p></li>
</ul></div>
<div class="refsect3">
<a name="gdaui-data-entry-set-default-value.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p> a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-set-attributes"></a><h3>gdaui_data_entry_set_attributes ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdaui_data_entry_set_attributes (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>,
                                 <em class="parameter"><code><a class="link" href="libgda-5.0-Gda-Value.html#GdaValueAttribute" title="enum GdaValueAttribute"><span class="type">GdaValueAttribute</span></a> attrs</code></em>,
                                 <em class="parameter"><code><a class="link" href="libgda-5.0-Gda-Value.html#GdaValueAttribute" title="enum GdaValueAttribute"><span class="type">GdaValueAttribute</span></a> mask</code></em>);</pre>
<p>Sets the parameters of the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a>. Only the attributes corresponding to the
mask are set, the other ones are ignored.</p>
<div class="refsect3">
<a name="gdaui-data-entry-set-attributes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attrs</p></td>
<td class="parameter_description"><p>the attributes to set (OR'ed between them)</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mask</p></td>
<td class="parameter_description"><p>the mask corresponding to the considered attributes</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-get-attributes"></a><h3>gdaui_data_entry_get_attributes ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-Gda-Value.html#GdaValueAttribute" title="enum GdaValueAttribute"><span class="returnvalue">GdaValueAttribute</span></a>
gdaui_data_entry_get_attributes (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>);</pre>
<p>Retrieves the parameters of the GdauiDataEntry widget.</p>
<div class="refsect3">
<a name="gdaui-data-entry-get-attributes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdaui-data-entry-get-attributes.returns"></a><h4>Returns</h4>
<p> the OR'ed bits corresponding to the attributes.</p>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-get-handler"></a><h3>gdaui_data_entry_get_handler ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-Default-Data-handlers.html#GdaDataHandler"><span class="returnvalue">GdaDataHandler</span></a> *
gdaui_data_entry_get_handler (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>);</pre>
<p>Fetch the GdaDataHandler the GdauiDataEntry is using</p>
<div class="refsect3">
<a name="gdaui-data-entry-get-handler.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdaui-data-entry-get-handler.returns"></a><h4>Returns</h4>
<p> the GdaDataHandler object. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-can-expand"></a><h3>gdaui_data_entry_can_expand ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gdaui_data_entry_can_expand (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> horiz</code></em>);</pre>
<div class="warning">
<p><code class="literal">gdaui_data_entry_can_expand</code> has been deprecated since version 5.2 and should not be used in newly-written code.</p>
<p>use the GtkWidget::hexpand, GtkWidget::wexpand or GtkWidget::expand properties</p>
</div>
<p>Used for the layout of <span class="type">GdaDataEntry</span> widgets in containers: queries if <em class="parameter"><code>de</code></em>
 requires
horizontal or vertical expansion, depending on <em class="parameter"><code>horiz</code></em>
</p>
<div class="refsect3">
<a name="gdaui-data-entry-can-expand.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>horiz</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to query horizontal expansion requirements, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for vertical</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdaui-data-entry-can-expand.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the widget requires expansion</p>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-set-editable"></a><h3>gdaui_data_entry_set_editable ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdaui_data_entry_set_editable (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>,
                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> editable</code></em>);</pre>
<p>Set if <em class="parameter"><code>de</code></em>
 can be modified or not by the user</p>
<div class="refsect3">
<a name="gdaui-data-entry-set-editable.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>editable</p></td>
<td class="parameter_description"><p>set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to have an editable data entry</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-get-editable"></a><h3>gdaui_data_entry_get_editable ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gdaui_data_entry_get_editable (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>);</pre>
<p>Tells if <em class="parameter"><code>de</code></em>
 can be edited by the user</p>
<div class="refsect3">
<a name="gdaui-data-entry-get-editable.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdaui-data-entry-get-editable.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>de</code></em>
is editable</p>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-grab-focus"></a><h3>gdaui_data_entry_grab_focus ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdaui_data_entry_grab_focus (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>);</pre>
<p>Makes <em class="parameter"><code>de</code></em>
 grab the focus for the window it's in</p>
<div class="refsect3">
<a name="gdaui-data-entry-grab-focus.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gdaui-data-entry-set-unknown-color"></a><h3>gdaui_data_entry_set_unknown_color ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdaui_data_entry_set_unknown_color (<em class="parameter"><code><a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> *de</code></em>,
                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> red</code></em>,
                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> green</code></em>,
                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> blue</code></em>,
                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> alpha</code></em>);</pre>
<p>Defines the color to be used when <em class="parameter"><code>de</code></em>
 displays an invalid value. Any value not
between 0. and 1. will result in the default hard coded values to be used (grayish).</p>
<div class="refsect3">
<a name="gdaui-data-entry-set-unknown-color.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>de</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span> object which implements the <a class="link" href="libgda-5.0-GdauiDataEntry.html#GdauiDataEntry" title="GdauiDataEntry"><span class="type">GdauiDataEntry</span></a> interface</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>red</p></td>
<td class="parameter_description"><p>the red component of a color</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>green</p></td>
<td class="parameter_description"><p>the green component of a color</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>blue</p></td>
<td class="parameter_description"><p>the blue component of a color</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>alpha</p></td>
<td class="parameter_description"><p>the alpha component of a color</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 5.0.3</p>
</div>
</div>
<div class="refsect1">
<a name="libgda-5.0-GdauiDataEntry.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GdauiDataEntry"></a><h3>GdauiDataEntry</h3>
<pre class="programlisting">typedef struct _GdauiDataEntry GdauiDataEntry;</pre>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25</div>
</body>
</html>