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
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Fl_Widget Binding Map</title>
<link href="map.css" rel="stylesheet">
</head>
<body>
<h2>Fl_Widget Binding Map</h2>
<table class="package">
<tr><th colspan="2">Package name</th></tr>
<tr>
<td>Fl_Widget</td>
<td>FLTK.Widgets</td>
</tr>
</table>
<table class="type">
<tr><th colspan="2">Types</th></tr>
<tr>
<td>Fl_Widget</td>
<td>Widget</td>
</tr>
<tr>
<td> </td>
<td>Widget_Reference</td>
</tr>
<tr>
<td>Fl_Callback_p</td>
<td>Widget_Callback</td>
</tr>
<tr>
<td>Fl_When</td>
<td>Callback_Flag</td>
</tr>
</table>
<table class="function">
<tr><th colspan="2">Functions and Procedures</th></tr>
<tr>
<td><pre>
Fl_Widget(int x, int y, int w, int h, const char *label=0L);
</pre></td>
<td><pre>
function Create
(X, Y, W, H : in Integer;
Text : in String)
return Widget;
</pre></td>
</tr>
<tr>
<td><pre>
void _clear_fullscreen();
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
void _set_fullscreen();
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
void activate();
</pre></td>
<td><pre>
procedure Activate
(This : in out Widget);
</pre></td>
</tr>
<tr>
<td><pre>
unsigned int active() const;
</pre></td>
<td><pre>
function Is_Active
(This : in Widget)
return Boolean;
</pre></td>
</tr>
<tr>
<td><pre>
int active_r() const;
</pre></td>
<td><pre>
function Is_Tree_Active
(This : in Widget)
return Boolean;
</pre></td>
</tr>
<tr>
<td><pre>
Fl_Align align() const;
</pre></td>
<td><pre>
function Get_Alignment
(This : in Widget)
return Alignment;
</pre></td>
</tr>
<tr>
<td><pre>
void align(Fl_Align alignment);
</pre></td>
<td><pre>
procedure Set_Alignment
(This : in out Widget;
New_Align : in Alignment);
</pre></td>
</tr>
<tr>
<td><pre>
long argument() const;
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
void argument(long v);
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
virtual class Fl_Gl_Window * as_gl_window();
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
virtual Fl_Group * as_group();
</pre></td>
<td>Use runtime tag checks and view conversions instead</td>
</tr>
<tr>
<td><pre>
virtual Fl_Window * as_window();
</pre></td>
<td>Use runtime tag checks and view conversions instead</td>
</tr>
<tr>
<td><pre>
Fl_Boxtype box() const;
</pre></td>
<td><pre>
function Get_Box
(This : in Widget)
return Box_Kind;
</pre></td>
</tr>
<tr>
<td><pre>
void box(Fl_Boxtype new_box);
</pre></td>
<td><pre>
procedure Set_Box
(This : in out Widget;
Box : in Box_Kind);
</pre></td>
</tr>
<tr>
<td><pre>
Fl_Callback_p callback() const;
</pre></td>
<td><pre>
function Get_Callback
(This : in Widget)
return Widget_Callback;
</pre></td>
</tr>
<tr>
<td><pre>
void callback(Fl_Callback *cb, void *p);
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
void callback(Fl_Callback *cb);
void callback(Fl_Callback0 *cb);
</pre></td>
<td><pre>
procedure Set_Callback
(This : in out Widget;
Func : in Widget_Callback);
</pre></td>
</tr>
<tr>
<td><pre>
void callback(Fl_Callback1 *cb, long p=0);
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
unsigned int changed() const;
</pre></td>
<td><pre>
function Has_Changed
(This : in Widget)
return Boolean;
</pre></td>
</tr>
<tr>
<td><pre>
void clear_active();
</pre></td>
<td><pre>
procedure Set_Active
(This : in out Widget;
To : in Boolean);
</pre></td>
</tr>
<tr>
<td><pre>
void clear_changed();
</pre></td>
<td><pre>
procedure Set_Changed
(This : in out Widget;
To : in Boolean);
</pre></td>
</tr>
<tr>
<td><pre>
void clear_damage(uchar c=0);
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
void clear_output();
</pre></td>
<td><pre>
procedure Set_Output_Only
(This : in out Widget;
To : in Boolean);
</pre></td>
</tr>
<tr>
<td><pre>
void clear_visible();
</pre></td>
<td><pre>
procedure Set_Visible
(This : in out Widget;
To : in Boolean);
</pre></td>
</tr>
<tr>
<td><pre>
void clear_visible_focus();
</pre></td>
<td><pre>
procedure Set_Visible_Focus
(This : in out Widget;
To : in Boolean);
</pre></td>
</tr>
<tr>
<td><pre>
Fl_Color color() const;
</pre></td>
<td><pre>
function Get_Background_Color
(This : in Widget)
return Color;
</pre></td>
</tr>
<tr>
<td><pre>
void color(Fl_Color bg);
</pre></td>
<td><pre>
procedure Set_Background_Color
(This : in out Widget;
To : in Color);
</pre></td>
</tr>
<tr>
<td><pre>
void color(Fl_Color bg, Fl_Color sel);
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
Fl_Color color2() const;
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
void color2(unsigned a);
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
int contains(const Fl_Widget *w) const;
</pre></td>
<td><pre>
function Contains
(This : in Widget;
Item : in Widget'Class)
return Boolean;
</pre></td>
</tr>
<tr>
<td><pre>
void copy_label(const char *new_label);
</pre></td>
<td><pre>
procedure Set_Label
(This : in out Widget;
Text : in String);
</pre></td>
</tr>
<tr>
<td><pre>
void copy_tooltip(const char *text);
</pre></td>
<td><pre>
procedure Set_Tooltip
(This : in out Widget;
Text : in String);
</pre></td>
</tr>
<tr>
<td><pre>
uchar damage() const;
</pre></td>
<td><pre>
function Is_Damaged
(This : in Widget)
return Boolean;
</pre></td>
</tr>
<tr>
<td><pre>
void damage(uchar c);
</pre></td>
<td><pre>
procedure Set_Damaged
(This : in out Widget;
To : in Boolean);
</pre></td>
</tr>
<tr>
<td><pre>
void damage(uchar c, int x, int y, int w, int h);
</pre></td>
<td><pre>
procedure Set_Damaged
(This : in out Widget;
To : in Boolean;
X, Y, W, H : in Integer);
</pre></td>
</tr>
<tr>
<td><pre>
int damage_resize(int, int, int, int);
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
void deactivate();
</pre></td>
<td><pre>
procedure Deactivate
(This : in out Widget);
</pre></td>
</tr>
<tr>
<td><pre>
Fl_Image * deimage();
const Fl_Image * deimage() const;
</pre></td>
<td><pre>
function Get_Inactive_Image
(This : in Widget)
return access FLTK.Images.Image'Class;
</pre></td>
</tr>
<tr>
<td><pre>
void deimage(Fl_Image *img);
void deimage(Fl_Image &img);
</pre></td>
<td><pre>
procedure Set_Inactive_Image
(This : in out Widget;
Pic : in out FLTK.Images.Image'Class);
</pre></td>
</tr>
<tr>
<td><pre>
void do_callback();
</pre></td>
<td><pre>
procedure Do_Callback
(This : in out Widget);
</pre></td>
</tr>
<tr>
<td><pre>
void do_callback(Fl_Widget *o, long arg);
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
void do_callback(Fl_Widget *o, void *arg=0);
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
virtual void draw()=0;
</pre></td>
<td><pre>
procedure Draw
(This : in out Widget) is null;
</pre></td>
</tr>
<tr>
<td><pre>
void draw_label(int, int, int, int, Fl_Align) const;
</pre></td>
<td><pre>
procedure Draw_Label
(This : in Widget;
X, Y, W, H : in Integer;
Align : in Alignment);
</pre></td>
</tr>
<tr>
<td><pre>
int h() const;
</pre></td>
<td><pre>
function Get_H
(This : in Widget)
return Integer;
</pre></td>
</tr>
<tr>
<td><pre>
virtual int handle(int event);
</pre></td>
<td><pre>
function Handle
(This : in out Widget;
Event : in Event_Kind)
return Event_Outcome;
</pre></td>
</tr>
<tr>
<td><pre>
virtual void hide();
</pre></td>
<td>See void clear_visible();</td>
</tr>
<tr>
<td><pre>
Fl_Image * image();
const Fl_Image * image() const;
</pre></td>
<td><pre>
function Get_Image
(This : in Widget)
return access FLTK.Images.Image'Class;
</pre></td>
</tr>
<tr>
<td><pre>
void image(Fl_Image *img);
void image(Fl_Image &img);
</pre></td>
<td><pre>
procedure Set_Image
(This : in out Widget;
Pic : in out FLTK.Images.Image'Class);
</pre></td>
</tr>
<tr>
<td><pre>
int inside(const Fl_Widget *wgt) const;
</pre></td>
<td><pre>
function Inside
(This : in Widget;
Parent : in Widget'Class)
return Boolean;
</pre></td>
</tr>
<tr>
<td><pre>
int is_label_copied() const;
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
const char * label() const;
</pre></td>
<td><pre>
function Get_Label
(This : in Widget)
return String;
</pre></td>
</tr>
<tr>
<td><pre>
void label(const char *text);
</pre></td>
<td>See void copy_label(const char *new_label);</td>
</tr>
<tr>
<td><pre>
void label(Fl_Labeltype a, const char *b);
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
Fl_Color labelcolor() const;
</pre></td>
<td><pre>
function Get_Label_Color
(This : in Widget)
return Color;
</pre></td>
</tr>
<tr>
<td><pre>
void labelcolor(Fl_Color c);
</pre></td>
<td><pre>
procedure Set_Label_Color
(This : in out Widget;
Value : in Color);
</pre></td>
</tr>
<tr>
<td><pre>
Fl_Font labelfont() const;
</pre></td>
<td><pre>
function Get_Label_Font
(This : in Widget)
return Font_Kind;
</pre></td>
</tr>
<tr>
<td><pre>
void labelfont(Fl_Font f);
</pre></td>
<td><pre>
procedure Set_Label_Font
(This : in out Widget;
Font : in Font_Kind);
</pre></td>
</tr>
<tr>
<td><pre>
Fl_Fontsize labelsize() const;
</pre></td>
<td><pre>
function Get_Label_Size
(This : in Widget)
return Font_Size;
</pre></td>
</tr>
<tr>
<td><pre>
void labelsize(Fl_Fontsize pix);
</pre></td>
<td><pre>
procedure Set_Label_Size
(This : in out Widget;
Size : in Font_Size);
</pre></td>
</tr>
<tr>
<td><pre>
Fl_Labeltype labeltype() const;
</pre></td>
<td><pre>
function Get_Label_Type
(This : in Widget)
return Label_Kind;
</pre></td>
</tr>
<tr>
<td><pre>
void labeltype(Fl_Labeltype a);
</pre></td>
<td><pre>
procedure Set_Label_Type
(This : in out Widget;
Label : in Label_Kind);
</pre></td>
</tr>
<tr>
<td><pre>
void measure_label(int &ww, int &hh) const;
</pre></td>
<td><pre>
procedure Measure_Label
(This : in Widget;
W, H : out Integer);
</pre></td>
</tr>
<tr>
<td><pre>
unsigned int output() const;
</pre></td>
<td><pre>
function Is_Output_Only
(This : in Widget)
return Boolean;
</pre></td>
</tr>
<tr>
<td><pre>
Fl_Group * parent() const;
</pre></td>
<td><pre>
function Parent
(This : in Widget)
return access FLTK.Widgets.Groups.Group'Class;
</pre></td>
</tr>
<tr>
<td><pre>
void parent(Fl_Group *p);
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
void position(int X, int Y);
</pre></td>
<td><pre>
procedure Reposition
(This : in out Widget;
X, Y : in Integer);
</pre></td>
</tr>
<tr>
<td><pre>
void redraw();
</pre></td>
<td><pre>
procedure Redraw
(This : in out Widget);
</pre></td>
</tr>
<tr>
<td><pre>
void redraw_label();
</pre></td>
<td><pre>
procedure Redraw_Label
(This : in out Widget);
</pre></td>
</tr>
<tr>
<td><pre>
virtual void resize(int x, int y, int w, int h);
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
Fl_Color selection_color() const;
</pre></td>
<td><pre>
function Get_Selection_Color
(This : in Widget)
return Color;
</pre></td>
</tr>
<tr>
<td><pre>
void selection_color(Fl_Color a);
</pre></td>
<td><pre>
procedure Set_Selection_Color
(This : in out Widget;
To : in Color);
</pre></td>
</tr>
<tr>
<td><pre>
void set_active();
</pre></td>
<td>See void clear_active();</td>
</tr>
<tr>
<td><pre>
void set_changed();
</pre></td>
<td>See void clear_changed();</td>
</tr>
<tr>
<td><pre>
void set_output();
</pre></td>
<td>See void clear_output();</td>
</tr>
<tr>
<td><pre>
void set_visible();
</pre></td>
<td>See void clear_visible();</td>
</tr>
<tr>
<td><pre>
void set_visible_focus();
</pre></td>
<td>See void clear_visible_focus();</td>
</tr>
<tr>
<td><pre>
virtual void show();
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
void size(int W, int H);
</pre></td>
<td><pre>
procedure Resize
(This : in out Widget;
W, H : in Integer);
</pre></td>
</tr>
<tr>
<td><pre>
int take_focus();
</pre></td>
<td><pre>
function Take_Focus
(This : in out Widget)
return Boolean;
</pre></td>
</tr>
<tr>
<td><pre>
unsigned int takesevents() const;
</pre></td>
<td><pre>
function Takes_Events
(This : in Widget)
return Boolean;
</pre></td>
</tr>
<tr>
<td><pre>
int test_shortcut();
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
const char * tooltip() const;
</pre></td>
<td><pre>
function Get_Tooltip
(This : in Widget)
return String;
</pre></td>
</tr>
<tr>
<td><pre>
void tooltip(const char *text);
</pre></td>
<td>See void copy_tooltip(const char *text);</td>
</tr>
<tr>
<td><pre>
Fl_Window * top_window() const;
</pre></td>
<td><pre>
function Top_Window
(This : in Widget)
return access FLTK.Widgets.Groups.Windows.Window'Class;
</pre></td>
</tr>
<tr>
<td><pre>
Fl_Window * top_window_offset(int &xoff, int &yoff) const;
</pre></td>
<td><pre>
function Top_Window_Offset
(This : in Widget;
Offset_X, Offset_Y : out Integer)
return access FLTK.Widgets.Groups.Windows.Window'Class;
</pre></td>
</tr>
<tr>
<td><pre>
uchar type() const;
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
void type(uchar t);
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
int use_accents_menu();
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
void * user_data() const;
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
void user_data(void *v);
</pre></td>
<td> </td>
</tr>
<tr>
<td><pre>
unsigned int visible() const;
</pre></td>
<td><pre>
function Is_Visible
(This : in Widget)
return Boolean;
</pre></td>
</tr>
<tr>
<td><pre>
void visible_focus(int v);
</pre></td>
<td>See void clear_visible_focus();</td>
</tr>
<tr>
<td><pre>
unsigned int visible_focus();
</pre></td>
<td><pre>
function Has_Visible_Focus
(This : in Widget)
return Boolean;
</pre></td>
</tr>
<tr>
<td><pre>
int visible_r() const;
</pre></td>
<td><pre>
function Is_Tree_Visible
(This : in Widget)
return Boolean;
</pre></td>
</tr>
<tr>
<td><pre>
int w() const;
</pre></td>
<td><pre>
function Get_W
(This : in Widget)
return Integer;
</pre></td>
</tr>
<tr>
<td><pre>
Fl_When when() const;
</pre></td>
<td><pre>
function Get_When
(This : in Widget)
return Callback_Flag;
</pre></td>
</tr>
<tr>
<td><pre>
void when(uchar i);
</pre></td>
<td><pre>
procedure Set_When
(This : in out Widget;
To : in Callback_Flag);
</pre></td>
</tr>
<tr>
<td><pre>
Fl_Window * window() const;
</pre></td>
<td><pre>
function Nearest_Window
(This : in Widget)
return access FLTK.Widgets.Groups.Windows.Window'Class;
</pre></td>
</tr>
<tr>
<td><pre>
int x() const;
</pre></td>
<td><pre>
function Get_X
(This : in Widget)
return Integer;
</pre></td>
</tr>
<tr>
<td><pre>
int y() const;
</pre></td>
<td><pre>
function Get_Y
(This : in Widget)
return Integer;
</pre></td>
</tr>
</table>
</body>
</html>
|