fltk_sys/
menu.rs

1/* automatically generated by rust-bindgen 0.71.1 */
2
3#[repr(C)]
4#[derive(Debug, Copy, Clone)]
5pub struct Fl_Widget {
6    _unused: [u8; 0],
7}
8pub type Fl_Callback = ::core::option::Option<
9    unsafe extern "C" fn(arg1: *mut Fl_Widget, arg2: *mut ::core::ffi::c_void),
10>;
11pub type custom_handler_callback = ::core::option::Option<
12    unsafe extern "C" fn(
13        arg1: *mut Fl_Widget,
14        arg2: ::core::ffi::c_int,
15        arg3: *mut ::core::ffi::c_void,
16    ) -> ::core::ffi::c_int,
17>;
18pub type custom_draw_callback = ::core::option::Option<
19    unsafe extern "C" fn(arg1: *mut Fl_Widget, arg2: *mut ::core::ffi::c_void),
20>;
21#[repr(C)]
22#[derive(Debug, Copy, Clone)]
23pub struct Fl_Menu_Item {
24    _unused: [u8; 0],
25}
26#[repr(C)]
27#[derive(Debug, Copy, Clone)]
28pub struct Fl_Menu_Bar {
29    _unused: [u8; 0],
30}
31extern "C" {
32    pub fn Fl_Menu_Bar_new(
33        x: ::core::ffi::c_int,
34        y: ::core::ffi::c_int,
35        width: ::core::ffi::c_int,
36        height: ::core::ffi::c_int,
37        title: *const ::core::ffi::c_char,
38    ) -> *mut Fl_Menu_Bar;
39}
40extern "C" {
41    pub fn Fl_Menu_Bar_x(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_int;
42}
43extern "C" {
44    pub fn Fl_Menu_Bar_y(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_int;
45}
46extern "C" {
47    pub fn Fl_Menu_Bar_width(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_int;
48}
49extern "C" {
50    pub fn Fl_Menu_Bar_height(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_int;
51}
52extern "C" {
53    pub fn Fl_Menu_Bar_label(arg1: *mut Fl_Menu_Bar) -> *const ::core::ffi::c_char;
54}
55extern "C" {
56    pub fn Fl_Menu_Bar_set_label(arg1: *mut Fl_Menu_Bar, title: *const ::core::ffi::c_char);
57}
58extern "C" {
59    pub fn Fl_Menu_Bar_redraw(arg1: *mut Fl_Menu_Bar);
60}
61extern "C" {
62    pub fn Fl_Menu_Bar_show(arg1: *mut Fl_Menu_Bar);
63}
64extern "C" {
65    pub fn Fl_Menu_Bar_hide(arg1: *mut Fl_Menu_Bar);
66}
67extern "C" {
68    pub fn Fl_Menu_Bar_activate(arg1: *mut Fl_Menu_Bar);
69}
70extern "C" {
71    pub fn Fl_Menu_Bar_deactivate(arg1: *mut Fl_Menu_Bar);
72}
73extern "C" {
74    pub fn Fl_Menu_Bar_redraw_label(arg1: *mut Fl_Menu_Bar);
75}
76extern "C" {
77    pub fn Fl_Menu_Bar_resize(
78        arg1: *mut Fl_Menu_Bar,
79        x: ::core::ffi::c_int,
80        y: ::core::ffi::c_int,
81        width: ::core::ffi::c_int,
82        height: ::core::ffi::c_int,
83    );
84}
85extern "C" {
86    pub fn Fl_Menu_Bar_widget_resize(
87        arg1: *mut Fl_Menu_Bar,
88        x: ::core::ffi::c_int,
89        y: ::core::ffi::c_int,
90        width: ::core::ffi::c_int,
91        height: ::core::ffi::c_int,
92    );
93}
94extern "C" {
95    pub fn Fl_Menu_Bar_tooltip(arg1: *mut Fl_Menu_Bar) -> *const ::core::ffi::c_char;
96}
97extern "C" {
98    pub fn Fl_Menu_Bar_set_tooltip(arg1: *mut Fl_Menu_Bar, txt: *const ::core::ffi::c_char);
99}
100extern "C" {
101    pub fn Fl_Menu_Bar_get_type(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_int;
102}
103extern "C" {
104    pub fn Fl_Menu_Bar_set_type(arg1: *mut Fl_Menu_Bar, typ: ::core::ffi::c_int);
105}
106extern "C" {
107    pub fn Fl_Menu_Bar_color(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_uint;
108}
109extern "C" {
110    pub fn Fl_Menu_Bar_set_color(arg1: *mut Fl_Menu_Bar, color: ::core::ffi::c_uint);
111}
112extern "C" {
113    pub fn Fl_Menu_Bar_measure_label(
114        arg1: *const Fl_Menu_Bar,
115        arg2: *mut ::core::ffi::c_int,
116        arg3: *mut ::core::ffi::c_int,
117    );
118}
119extern "C" {
120    pub fn Fl_Menu_Bar_label_color(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_uint;
121}
122extern "C" {
123    pub fn Fl_Menu_Bar_set_label_color(arg1: *mut Fl_Menu_Bar, color: ::core::ffi::c_uint);
124}
125extern "C" {
126    pub fn Fl_Menu_Bar_label_font(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_int;
127}
128extern "C" {
129    pub fn Fl_Menu_Bar_set_label_font(arg1: *mut Fl_Menu_Bar, font: ::core::ffi::c_int);
130}
131extern "C" {
132    pub fn Fl_Menu_Bar_label_size(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_int;
133}
134extern "C" {
135    pub fn Fl_Menu_Bar_set_label_size(arg1: *mut Fl_Menu_Bar, sz: ::core::ffi::c_int);
136}
137extern "C" {
138    pub fn Fl_Menu_Bar_label_type(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_int;
139}
140extern "C" {
141    pub fn Fl_Menu_Bar_set_label_type(arg1: *mut Fl_Menu_Bar, typ: ::core::ffi::c_int);
142}
143extern "C" {
144    pub fn Fl_Menu_Bar_box(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_int;
145}
146extern "C" {
147    pub fn Fl_Menu_Bar_set_box(arg1: *mut Fl_Menu_Bar, typ: ::core::ffi::c_int);
148}
149extern "C" {
150    pub fn Fl_Menu_Bar_changed(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_int;
151}
152extern "C" {
153    pub fn Fl_Menu_Bar_set_changed(arg1: *mut Fl_Menu_Bar);
154}
155extern "C" {
156    pub fn Fl_Menu_Bar_clear_changed(arg1: *mut Fl_Menu_Bar);
157}
158extern "C" {
159    pub fn Fl_Menu_Bar_align(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_int;
160}
161extern "C" {
162    pub fn Fl_Menu_Bar_set_align(arg1: *mut Fl_Menu_Bar, typ: ::core::ffi::c_int);
163}
164extern "C" {
165    pub fn Fl_Menu_Bar_delete(arg1: *mut Fl_Menu_Bar);
166}
167extern "C" {
168    pub fn Fl_Menu_Bar_set_image(arg1: *mut Fl_Menu_Bar, arg2: *mut ::core::ffi::c_void);
169}
170extern "C" {
171    pub fn Fl_Menu_Bar_handle(
172        self_: *mut Fl_Menu_Bar,
173        cb: custom_handler_callback,
174        data: *mut ::core::ffi::c_void,
175    );
176}
177extern "C" {
178    pub fn Fl_Menu_Bar_handle_event(
179        self_: *mut Fl_Menu_Bar,
180        event: ::core::ffi::c_int,
181    ) -> ::core::ffi::c_int;
182}
183extern "C" {
184    pub fn Fl_Menu_Bar_draw(
185        self_: *mut Fl_Menu_Bar,
186        cb: custom_draw_callback,
187        data: *mut ::core::ffi::c_void,
188    );
189}
190extern "C" {
191    pub fn Fl_Menu_Bar_resize_callback(
192        self_: *mut Fl_Menu_Bar,
193        cb: ::core::option::Option<
194            unsafe extern "C" fn(
195                arg1: *mut Fl_Widget,
196                x: ::core::ffi::c_int,
197                y: ::core::ffi::c_int,
198                w: ::core::ffi::c_int,
199                h: ::core::ffi::c_int,
200                arg2: *mut ::core::ffi::c_void,
201            ),
202        >,
203        data: *mut ::core::ffi::c_void,
204    );
205}
206extern "C" {
207    pub fn Fl_Menu_Bar_set_when(arg1: *mut Fl_Menu_Bar, arg2: ::core::ffi::c_int);
208}
209extern "C" {
210    pub fn Fl_Menu_Bar_when(arg1: *const Fl_Menu_Bar) -> ::core::ffi::c_int;
211}
212extern "C" {
213    pub fn Fl_Menu_Bar_image(arg1: *const Fl_Menu_Bar) -> *const ::core::ffi::c_void;
214}
215extern "C" {
216    pub fn Fl_Menu_Bar_parent(self_: *const Fl_Menu_Bar) -> *mut ::core::ffi::c_void;
217}
218extern "C" {
219    pub fn Fl_Menu_Bar_selection_color(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_uint;
220}
221extern "C" {
222    pub fn Fl_Menu_Bar_set_selection_color(arg1: *mut Fl_Menu_Bar, color: ::core::ffi::c_uint);
223}
224extern "C" {
225    pub fn Fl_Menu_Bar_do_callback(arg1: *mut Fl_Menu_Bar);
226}
227extern "C" {
228    pub fn Fl_Menu_Bar_inside(
229        self_: *const Fl_Menu_Bar,
230        arg1: *mut ::core::ffi::c_void,
231    ) -> ::core::ffi::c_int;
232}
233extern "C" {
234    pub fn Fl_Menu_Bar_window(arg1: *const Fl_Menu_Bar) -> *mut ::core::ffi::c_void;
235}
236extern "C" {
237    pub fn Fl_Menu_Bar_top_window(arg1: *const Fl_Menu_Bar) -> *mut ::core::ffi::c_void;
238}
239extern "C" {
240    pub fn Fl_Menu_Bar_takes_events(arg1: *const Fl_Menu_Bar) -> ::core::ffi::c_int;
241}
242extern "C" {
243    pub fn Fl_Menu_Bar_user_data(arg1: *const Fl_Menu_Bar) -> *mut ::core::ffi::c_void;
244}
245extern "C" {
246    pub fn Fl_Menu_Bar_take_focus(self_: *mut Fl_Menu_Bar) -> ::core::ffi::c_int;
247}
248extern "C" {
249    pub fn Fl_Menu_Bar_set_visible_focus(self_: *mut Fl_Menu_Bar);
250}
251extern "C" {
252    pub fn Fl_Menu_Bar_clear_visible_focus(self_: *mut Fl_Menu_Bar);
253}
254extern "C" {
255    pub fn Fl_Menu_Bar_visible_focus(self_: *mut Fl_Menu_Bar, v: ::core::ffi::c_int);
256}
257extern "C" {
258    pub fn Fl_Menu_Bar_has_visible_focus(self_: *mut Fl_Menu_Bar) -> ::core::ffi::c_uint;
259}
260extern "C" {
261    pub fn Fl_Menu_Bar_set_user_data(arg1: *mut Fl_Menu_Bar, data: *mut ::core::ffi::c_void);
262}
263extern "C" {
264    pub fn Fl_Menu_Bar_draw_data(self_: *const Fl_Menu_Bar) -> *mut ::core::ffi::c_void;
265}
266extern "C" {
267    pub fn Fl_Menu_Bar_handle_data(self_: *const Fl_Menu_Bar) -> *mut ::core::ffi::c_void;
268}
269extern "C" {
270    pub fn Fl_Menu_Bar_set_draw_data(self_: *mut Fl_Menu_Bar, data: *mut ::core::ffi::c_void);
271}
272extern "C" {
273    pub fn Fl_Menu_Bar_set_handle_data(self_: *mut Fl_Menu_Bar, data: *mut ::core::ffi::c_void);
274}
275extern "C" {
276    pub fn Fl_Menu_Bar_damage(self_: *const Fl_Menu_Bar) -> ::core::ffi::c_uchar;
277}
278extern "C" {
279    pub fn Fl_Menu_Bar_set_damage(self_: *mut Fl_Menu_Bar, flag: ::core::ffi::c_uchar);
280}
281extern "C" {
282    pub fn Fl_Menu_Bar_set_damage_area(
283        self_: *mut Fl_Menu_Bar,
284        flag: ::core::ffi::c_uchar,
285        x: ::core::ffi::c_int,
286        y: ::core::ffi::c_int,
287        w: ::core::ffi::c_int,
288        h: ::core::ffi::c_int,
289    );
290}
291extern "C" {
292    pub fn Fl_Menu_Bar_clear_damage(self_: *mut Fl_Menu_Bar);
293}
294extern "C" {
295    pub fn Fl_Menu_Bar_as_window(self_: *mut Fl_Menu_Bar) -> *mut ::core::ffi::c_void;
296}
297extern "C" {
298    pub fn Fl_Menu_Bar_as_group(self_: *mut Fl_Menu_Bar) -> *mut ::core::ffi::c_void;
299}
300extern "C" {
301    pub fn Fl_Menu_Bar_set_deimage(arg1: *mut Fl_Menu_Bar, arg2: *mut ::core::ffi::c_void);
302}
303extern "C" {
304    pub fn Fl_Menu_Bar_deimage(arg1: *const Fl_Menu_Bar) -> *const ::core::ffi::c_void;
305}
306extern "C" {
307    pub fn Fl_Menu_Bar_set_callback(
308        arg1: *mut Fl_Menu_Bar,
309        arg2: Fl_Callback,
310        arg3: *mut ::core::ffi::c_void,
311    );
312}
313extern "C" {
314    pub fn Fl_Menu_Bar_visible(self_: *const Fl_Menu_Bar) -> ::core::ffi::c_int;
315}
316extern "C" {
317    pub fn Fl_Menu_Bar_visible_r(self_: *const Fl_Menu_Bar) -> ::core::ffi::c_int;
318}
319extern "C" {
320    pub fn Fl_Menu_Bar_active(self_: *const Fl_Menu_Bar) -> ::core::ffi::c_uint;
321}
322extern "C" {
323    pub fn Fl_Menu_Bar_active_r(self_: *const Fl_Menu_Bar) -> ::core::ffi::c_int;
324}
325extern "C" {
326    pub fn Fl_Menu_Bar_callback(self_: *const Fl_Menu_Bar) -> Fl_Callback;
327}
328extern "C" {
329    pub fn Fl_Menu_Bar_set_deletion_callback(
330        self_: *mut Fl_Menu_Bar,
331        arg1: ::core::option::Option<
332            unsafe extern "C" fn(arg1: *mut Fl_Widget, arg2: *mut ::core::ffi::c_void),
333        >,
334        data: *mut ::core::ffi::c_void,
335    );
336}
337extern "C" {
338    pub fn Fl_Menu_Bar_from_dyn_ptr(ptr: *mut Fl_Widget) -> *mut Fl_Menu_Bar;
339}
340extern "C" {
341    pub fn Fl_Menu_Bar_from_derived_dyn_ptr(ptr: *mut Fl_Widget) -> *mut Fl_Menu_Bar;
342}
343extern "C" {
344    pub fn Fl_Menu_Bar_super_draw(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
345}
346extern "C" {
347    pub fn Fl_Menu_Bar_super_draw_first(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
348}
349extern "C" {
350    pub fn Fl_Menu_Bar_super_handle_first(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
351}
352extern "C" {
353    pub fn Fl_Menu_Bar_add(
354        arg1: *mut Fl_Menu_Bar,
355        name: *const ::core::ffi::c_char,
356        shortcut: ::core::ffi::c_int,
357        arg2: Fl_Callback,
358        arg3: *mut ::core::ffi::c_void,
359        arg4: ::core::ffi::c_int,
360    ) -> ::core::ffi::c_int;
361}
362extern "C" {
363    pub fn Fl_Menu_Bar_insert(
364        arg1: *mut Fl_Menu_Bar,
365        index: ::core::ffi::c_int,
366        name: *const ::core::ffi::c_char,
367        shortcut: ::core::ffi::c_int,
368        arg2: Fl_Callback,
369        arg3: *mut ::core::ffi::c_void,
370        arg4: ::core::ffi::c_int,
371    ) -> ::core::ffi::c_int;
372}
373extern "C" {
374    pub fn Fl_Menu_Bar_get_item(
375        arg1: *mut Fl_Menu_Bar,
376        name: *const ::core::ffi::c_char,
377    ) -> *mut Fl_Menu_Item;
378}
379extern "C" {
380    pub fn Fl_Menu_Bar_set_item(
381        arg1: *mut Fl_Menu_Bar,
382        item: *mut Fl_Menu_Item,
383    ) -> ::core::ffi::c_int;
384}
385extern "C" {
386    pub fn Fl_Menu_Bar_text_font(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_int;
387}
388extern "C" {
389    pub fn Fl_Menu_Bar_set_text_font(arg1: *mut Fl_Menu_Bar, c: ::core::ffi::c_int);
390}
391extern "C" {
392    pub fn Fl_Menu_Bar_text_size(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_int;
393}
394extern "C" {
395    pub fn Fl_Menu_Bar_set_text_size(arg1: *mut Fl_Menu_Bar, c: ::core::ffi::c_int);
396}
397extern "C" {
398    pub fn Fl_Menu_Bar_text_color(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_uint;
399}
400extern "C" {
401    pub fn Fl_Menu_Bar_set_text_color(arg1: *mut Fl_Menu_Bar, c: ::core::ffi::c_uint);
402}
403extern "C" {
404    pub fn Fl_Menu_Bar_add_choice(
405        arg1: *mut Fl_Menu_Bar,
406        arg2: *const ::core::ffi::c_char,
407    ) -> ::core::ffi::c_int;
408}
409extern "C" {
410    pub fn Fl_Menu_Bar_get_choice(arg1: *mut Fl_Menu_Bar) -> *const ::core::ffi::c_char;
411}
412extern "C" {
413    pub fn Fl_Menu_Bar_value(arg1: *mut Fl_Menu_Bar) -> ::core::ffi::c_int;
414}
415extern "C" {
416    pub fn Fl_Menu_Bar_set_value(
417        arg1: *mut Fl_Menu_Bar,
418        v: ::core::ffi::c_int,
419    ) -> ::core::ffi::c_int;
420}
421extern "C" {
422    pub fn Fl_Menu_Bar_clear(arg1: *mut Fl_Menu_Bar);
423}
424extern "C" {
425    pub fn Fl_Menu_Bar_clear_submenu(
426        arg1: *mut Fl_Menu_Bar,
427        index: ::core::ffi::c_int,
428    ) -> ::core::ffi::c_int;
429}
430extern "C" {
431    pub fn Fl_Menu_Bar_size(arg1: *const Fl_Menu_Bar) -> ::core::ffi::c_int;
432}
433extern "C" {
434    pub fn Fl_Menu_Bar_text(
435        arg1: *const Fl_Menu_Bar,
436        idx: ::core::ffi::c_int,
437    ) -> *const ::core::ffi::c_char;
438}
439extern "C" {
440    pub fn Fl_Menu_Bar_at(arg1: *const Fl_Menu_Bar, idx: ::core::ffi::c_int)
441        -> *const Fl_Menu_Item;
442}
443extern "C" {
444    pub fn Fl_Menu_Bar_set_mode(
445        self_: *mut Fl_Menu_Bar,
446        i: ::core::ffi::c_int,
447        fl: ::core::ffi::c_int,
448    );
449}
450extern "C" {
451    pub fn Fl_Menu_Bar_mode(self_: *const Fl_Menu_Bar, i: ::core::ffi::c_int)
452        -> ::core::ffi::c_int;
453}
454extern "C" {
455    pub fn Fl_Menu_Bar_find_index(
456        self_: *const Fl_Menu_Bar,
457        label: *const ::core::ffi::c_char,
458    ) -> ::core::ffi::c_int;
459}
460extern "C" {
461    pub fn Fl_Menu_Bar_menu(self_: *const Fl_Menu_Bar) -> *const Fl_Menu_Item;
462}
463extern "C" {
464    pub fn Fl_Menu_Bar_set_menu(self_: *mut Fl_Menu_Bar, item: *const Fl_Menu_Item);
465}
466extern "C" {
467    pub fn Fl_Menu_Bar_remove(self_: *mut Fl_Menu_Bar, idx: ::core::ffi::c_int);
468}
469extern "C" {
470    pub fn Fl_Menu_Bar_set_down_box(self_: *mut Fl_Menu_Bar, box_: ::core::ffi::c_int);
471}
472extern "C" {
473    pub fn Fl_Menu_Bar_down_box(self_: *const Fl_Menu_Bar) -> ::core::ffi::c_int;
474}
475extern "C" {
476    pub fn Fl_Menu_Bar_global(self_: *mut Fl_Menu_Bar);
477}
478extern "C" {
479    pub fn Fl_Menu_Bar_item_pathname(
480        self_: *const Fl_Menu_Bar,
481        pathname: *mut ::core::ffi::c_char,
482        pathnamelen: ::core::ffi::c_int,
483        item: *const Fl_Menu_Item,
484    ) -> ::core::ffi::c_int;
485}
486extern "C" {
487    pub fn Fl_Menu_Bar_set_menu_box(self_: *mut Fl_Menu_Bar, b: ::core::ffi::c_int);
488}
489extern "C" {
490    pub fn Fl_Menu_Bar_menu_box(self_: *const Fl_Menu_Bar) -> ::core::ffi::c_int;
491}
492extern "C" {
493    pub fn Fl_Menu_Bar_mvalue(arg1: *const Fl_Menu_Bar) -> *mut Fl_Menu_Item;
494}
495extern "C" {
496    pub fn Fl_Menu_Bar_prev_mvalue(arg1: *const Fl_Menu_Bar) -> *mut Fl_Menu_Item;
497}
498#[repr(C)]
499#[derive(Debug, Copy, Clone)]
500pub struct Fl_Menu_Button {
501    _unused: [u8; 0],
502}
503extern "C" {
504    pub fn Fl_Menu_Button_new(
505        x: ::core::ffi::c_int,
506        y: ::core::ffi::c_int,
507        width: ::core::ffi::c_int,
508        height: ::core::ffi::c_int,
509        title: *const ::core::ffi::c_char,
510    ) -> *mut Fl_Menu_Button;
511}
512extern "C" {
513    pub fn Fl_Menu_Button_x(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_int;
514}
515extern "C" {
516    pub fn Fl_Menu_Button_y(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_int;
517}
518extern "C" {
519    pub fn Fl_Menu_Button_width(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_int;
520}
521extern "C" {
522    pub fn Fl_Menu_Button_height(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_int;
523}
524extern "C" {
525    pub fn Fl_Menu_Button_label(arg1: *mut Fl_Menu_Button) -> *const ::core::ffi::c_char;
526}
527extern "C" {
528    pub fn Fl_Menu_Button_set_label(arg1: *mut Fl_Menu_Button, title: *const ::core::ffi::c_char);
529}
530extern "C" {
531    pub fn Fl_Menu_Button_redraw(arg1: *mut Fl_Menu_Button);
532}
533extern "C" {
534    pub fn Fl_Menu_Button_show(arg1: *mut Fl_Menu_Button);
535}
536extern "C" {
537    pub fn Fl_Menu_Button_hide(arg1: *mut Fl_Menu_Button);
538}
539extern "C" {
540    pub fn Fl_Menu_Button_activate(arg1: *mut Fl_Menu_Button);
541}
542extern "C" {
543    pub fn Fl_Menu_Button_deactivate(arg1: *mut Fl_Menu_Button);
544}
545extern "C" {
546    pub fn Fl_Menu_Button_redraw_label(arg1: *mut Fl_Menu_Button);
547}
548extern "C" {
549    pub fn Fl_Menu_Button_resize(
550        arg1: *mut Fl_Menu_Button,
551        x: ::core::ffi::c_int,
552        y: ::core::ffi::c_int,
553        width: ::core::ffi::c_int,
554        height: ::core::ffi::c_int,
555    );
556}
557extern "C" {
558    pub fn Fl_Menu_Button_widget_resize(
559        arg1: *mut Fl_Menu_Button,
560        x: ::core::ffi::c_int,
561        y: ::core::ffi::c_int,
562        width: ::core::ffi::c_int,
563        height: ::core::ffi::c_int,
564    );
565}
566extern "C" {
567    pub fn Fl_Menu_Button_tooltip(arg1: *mut Fl_Menu_Button) -> *const ::core::ffi::c_char;
568}
569extern "C" {
570    pub fn Fl_Menu_Button_set_tooltip(arg1: *mut Fl_Menu_Button, txt: *const ::core::ffi::c_char);
571}
572extern "C" {
573    pub fn Fl_Menu_Button_get_type(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_int;
574}
575extern "C" {
576    pub fn Fl_Menu_Button_set_type(arg1: *mut Fl_Menu_Button, typ: ::core::ffi::c_int);
577}
578extern "C" {
579    pub fn Fl_Menu_Button_color(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_uint;
580}
581extern "C" {
582    pub fn Fl_Menu_Button_set_color(arg1: *mut Fl_Menu_Button, color: ::core::ffi::c_uint);
583}
584extern "C" {
585    pub fn Fl_Menu_Button_measure_label(
586        arg1: *const Fl_Menu_Button,
587        arg2: *mut ::core::ffi::c_int,
588        arg3: *mut ::core::ffi::c_int,
589    );
590}
591extern "C" {
592    pub fn Fl_Menu_Button_label_color(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_uint;
593}
594extern "C" {
595    pub fn Fl_Menu_Button_set_label_color(arg1: *mut Fl_Menu_Button, color: ::core::ffi::c_uint);
596}
597extern "C" {
598    pub fn Fl_Menu_Button_label_font(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_int;
599}
600extern "C" {
601    pub fn Fl_Menu_Button_set_label_font(arg1: *mut Fl_Menu_Button, font: ::core::ffi::c_int);
602}
603extern "C" {
604    pub fn Fl_Menu_Button_label_size(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_int;
605}
606extern "C" {
607    pub fn Fl_Menu_Button_set_label_size(arg1: *mut Fl_Menu_Button, sz: ::core::ffi::c_int);
608}
609extern "C" {
610    pub fn Fl_Menu_Button_label_type(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_int;
611}
612extern "C" {
613    pub fn Fl_Menu_Button_set_label_type(arg1: *mut Fl_Menu_Button, typ: ::core::ffi::c_int);
614}
615extern "C" {
616    pub fn Fl_Menu_Button_box(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_int;
617}
618extern "C" {
619    pub fn Fl_Menu_Button_set_box(arg1: *mut Fl_Menu_Button, typ: ::core::ffi::c_int);
620}
621extern "C" {
622    pub fn Fl_Menu_Button_changed(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_int;
623}
624extern "C" {
625    pub fn Fl_Menu_Button_set_changed(arg1: *mut Fl_Menu_Button);
626}
627extern "C" {
628    pub fn Fl_Menu_Button_clear_changed(arg1: *mut Fl_Menu_Button);
629}
630extern "C" {
631    pub fn Fl_Menu_Button_align(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_int;
632}
633extern "C" {
634    pub fn Fl_Menu_Button_set_align(arg1: *mut Fl_Menu_Button, typ: ::core::ffi::c_int);
635}
636extern "C" {
637    pub fn Fl_Menu_Button_delete(arg1: *mut Fl_Menu_Button);
638}
639extern "C" {
640    pub fn Fl_Menu_Button_set_image(arg1: *mut Fl_Menu_Button, arg2: *mut ::core::ffi::c_void);
641}
642extern "C" {
643    pub fn Fl_Menu_Button_handle(
644        self_: *mut Fl_Menu_Button,
645        cb: custom_handler_callback,
646        data: *mut ::core::ffi::c_void,
647    );
648}
649extern "C" {
650    pub fn Fl_Menu_Button_handle_event(
651        self_: *mut Fl_Menu_Button,
652        event: ::core::ffi::c_int,
653    ) -> ::core::ffi::c_int;
654}
655extern "C" {
656    pub fn Fl_Menu_Button_draw(
657        self_: *mut Fl_Menu_Button,
658        cb: custom_draw_callback,
659        data: *mut ::core::ffi::c_void,
660    );
661}
662extern "C" {
663    pub fn Fl_Menu_Button_resize_callback(
664        self_: *mut Fl_Menu_Button,
665        cb: ::core::option::Option<
666            unsafe extern "C" fn(
667                arg1: *mut Fl_Widget,
668                x: ::core::ffi::c_int,
669                y: ::core::ffi::c_int,
670                w: ::core::ffi::c_int,
671                h: ::core::ffi::c_int,
672                arg2: *mut ::core::ffi::c_void,
673            ),
674        >,
675        data: *mut ::core::ffi::c_void,
676    );
677}
678extern "C" {
679    pub fn Fl_Menu_Button_set_when(arg1: *mut Fl_Menu_Button, arg2: ::core::ffi::c_int);
680}
681extern "C" {
682    pub fn Fl_Menu_Button_when(arg1: *const Fl_Menu_Button) -> ::core::ffi::c_int;
683}
684extern "C" {
685    pub fn Fl_Menu_Button_image(arg1: *const Fl_Menu_Button) -> *const ::core::ffi::c_void;
686}
687extern "C" {
688    pub fn Fl_Menu_Button_parent(self_: *const Fl_Menu_Button) -> *mut ::core::ffi::c_void;
689}
690extern "C" {
691    pub fn Fl_Menu_Button_selection_color(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_uint;
692}
693extern "C" {
694    pub fn Fl_Menu_Button_set_selection_color(
695        arg1: *mut Fl_Menu_Button,
696        color: ::core::ffi::c_uint,
697    );
698}
699extern "C" {
700    pub fn Fl_Menu_Button_do_callback(arg1: *mut Fl_Menu_Button);
701}
702extern "C" {
703    pub fn Fl_Menu_Button_inside(
704        self_: *const Fl_Menu_Button,
705        arg1: *mut ::core::ffi::c_void,
706    ) -> ::core::ffi::c_int;
707}
708extern "C" {
709    pub fn Fl_Menu_Button_window(arg1: *const Fl_Menu_Button) -> *mut ::core::ffi::c_void;
710}
711extern "C" {
712    pub fn Fl_Menu_Button_top_window(arg1: *const Fl_Menu_Button) -> *mut ::core::ffi::c_void;
713}
714extern "C" {
715    pub fn Fl_Menu_Button_takes_events(arg1: *const Fl_Menu_Button) -> ::core::ffi::c_int;
716}
717extern "C" {
718    pub fn Fl_Menu_Button_user_data(arg1: *const Fl_Menu_Button) -> *mut ::core::ffi::c_void;
719}
720extern "C" {
721    pub fn Fl_Menu_Button_take_focus(self_: *mut Fl_Menu_Button) -> ::core::ffi::c_int;
722}
723extern "C" {
724    pub fn Fl_Menu_Button_set_visible_focus(self_: *mut Fl_Menu_Button);
725}
726extern "C" {
727    pub fn Fl_Menu_Button_clear_visible_focus(self_: *mut Fl_Menu_Button);
728}
729extern "C" {
730    pub fn Fl_Menu_Button_visible_focus(self_: *mut Fl_Menu_Button, v: ::core::ffi::c_int);
731}
732extern "C" {
733    pub fn Fl_Menu_Button_has_visible_focus(self_: *mut Fl_Menu_Button) -> ::core::ffi::c_uint;
734}
735extern "C" {
736    pub fn Fl_Menu_Button_set_user_data(arg1: *mut Fl_Menu_Button, data: *mut ::core::ffi::c_void);
737}
738extern "C" {
739    pub fn Fl_Menu_Button_draw_data(self_: *const Fl_Menu_Button) -> *mut ::core::ffi::c_void;
740}
741extern "C" {
742    pub fn Fl_Menu_Button_handle_data(self_: *const Fl_Menu_Button) -> *mut ::core::ffi::c_void;
743}
744extern "C" {
745    pub fn Fl_Menu_Button_set_draw_data(self_: *mut Fl_Menu_Button, data: *mut ::core::ffi::c_void);
746}
747extern "C" {
748    pub fn Fl_Menu_Button_set_handle_data(
749        self_: *mut Fl_Menu_Button,
750        data: *mut ::core::ffi::c_void,
751    );
752}
753extern "C" {
754    pub fn Fl_Menu_Button_damage(self_: *const Fl_Menu_Button) -> ::core::ffi::c_uchar;
755}
756extern "C" {
757    pub fn Fl_Menu_Button_set_damage(self_: *mut Fl_Menu_Button, flag: ::core::ffi::c_uchar);
758}
759extern "C" {
760    pub fn Fl_Menu_Button_set_damage_area(
761        self_: *mut Fl_Menu_Button,
762        flag: ::core::ffi::c_uchar,
763        x: ::core::ffi::c_int,
764        y: ::core::ffi::c_int,
765        w: ::core::ffi::c_int,
766        h: ::core::ffi::c_int,
767    );
768}
769extern "C" {
770    pub fn Fl_Menu_Button_clear_damage(self_: *mut Fl_Menu_Button);
771}
772extern "C" {
773    pub fn Fl_Menu_Button_as_window(self_: *mut Fl_Menu_Button) -> *mut ::core::ffi::c_void;
774}
775extern "C" {
776    pub fn Fl_Menu_Button_as_group(self_: *mut Fl_Menu_Button) -> *mut ::core::ffi::c_void;
777}
778extern "C" {
779    pub fn Fl_Menu_Button_set_deimage(arg1: *mut Fl_Menu_Button, arg2: *mut ::core::ffi::c_void);
780}
781extern "C" {
782    pub fn Fl_Menu_Button_deimage(arg1: *const Fl_Menu_Button) -> *const ::core::ffi::c_void;
783}
784extern "C" {
785    pub fn Fl_Menu_Button_set_callback(
786        arg1: *mut Fl_Menu_Button,
787        arg2: Fl_Callback,
788        arg3: *mut ::core::ffi::c_void,
789    );
790}
791extern "C" {
792    pub fn Fl_Menu_Button_visible(self_: *const Fl_Menu_Button) -> ::core::ffi::c_int;
793}
794extern "C" {
795    pub fn Fl_Menu_Button_visible_r(self_: *const Fl_Menu_Button) -> ::core::ffi::c_int;
796}
797extern "C" {
798    pub fn Fl_Menu_Button_active(self_: *const Fl_Menu_Button) -> ::core::ffi::c_uint;
799}
800extern "C" {
801    pub fn Fl_Menu_Button_active_r(self_: *const Fl_Menu_Button) -> ::core::ffi::c_int;
802}
803extern "C" {
804    pub fn Fl_Menu_Button_callback(self_: *const Fl_Menu_Button) -> Fl_Callback;
805}
806extern "C" {
807    pub fn Fl_Menu_Button_set_deletion_callback(
808        self_: *mut Fl_Menu_Button,
809        arg1: ::core::option::Option<
810            unsafe extern "C" fn(arg1: *mut Fl_Widget, arg2: *mut ::core::ffi::c_void),
811        >,
812        data: *mut ::core::ffi::c_void,
813    );
814}
815extern "C" {
816    pub fn Fl_Menu_Button_from_dyn_ptr(ptr: *mut Fl_Widget) -> *mut Fl_Menu_Button;
817}
818extern "C" {
819    pub fn Fl_Menu_Button_from_derived_dyn_ptr(ptr: *mut Fl_Widget) -> *mut Fl_Menu_Button;
820}
821extern "C" {
822    pub fn Fl_Menu_Button_super_draw(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
823}
824extern "C" {
825    pub fn Fl_Menu_Button_super_draw_first(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
826}
827extern "C" {
828    pub fn Fl_Menu_Button_super_handle_first(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
829}
830extern "C" {
831    pub fn Fl_Menu_Button_popup(self_: *mut Fl_Menu_Button) -> *const Fl_Menu_Item;
832}
833extern "C" {
834    pub fn Fl_Menu_Button_add(
835        arg1: *mut Fl_Menu_Button,
836        name: *const ::core::ffi::c_char,
837        shortcut: ::core::ffi::c_int,
838        arg2: Fl_Callback,
839        arg3: *mut ::core::ffi::c_void,
840        arg4: ::core::ffi::c_int,
841    ) -> ::core::ffi::c_int;
842}
843extern "C" {
844    pub fn Fl_Menu_Button_insert(
845        arg1: *mut Fl_Menu_Button,
846        index: ::core::ffi::c_int,
847        name: *const ::core::ffi::c_char,
848        shortcut: ::core::ffi::c_int,
849        arg2: Fl_Callback,
850        arg3: *mut ::core::ffi::c_void,
851        arg4: ::core::ffi::c_int,
852    ) -> ::core::ffi::c_int;
853}
854extern "C" {
855    pub fn Fl_Menu_Button_get_item(
856        arg1: *mut Fl_Menu_Button,
857        name: *const ::core::ffi::c_char,
858    ) -> *mut Fl_Menu_Item;
859}
860extern "C" {
861    pub fn Fl_Menu_Button_set_item(
862        arg1: *mut Fl_Menu_Button,
863        item: *mut Fl_Menu_Item,
864    ) -> ::core::ffi::c_int;
865}
866extern "C" {
867    pub fn Fl_Menu_Button_text_font(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_int;
868}
869extern "C" {
870    pub fn Fl_Menu_Button_set_text_font(arg1: *mut Fl_Menu_Button, c: ::core::ffi::c_int);
871}
872extern "C" {
873    pub fn Fl_Menu_Button_text_size(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_int;
874}
875extern "C" {
876    pub fn Fl_Menu_Button_set_text_size(arg1: *mut Fl_Menu_Button, c: ::core::ffi::c_int);
877}
878extern "C" {
879    pub fn Fl_Menu_Button_text_color(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_uint;
880}
881extern "C" {
882    pub fn Fl_Menu_Button_set_text_color(arg1: *mut Fl_Menu_Button, c: ::core::ffi::c_uint);
883}
884extern "C" {
885    pub fn Fl_Menu_Button_add_choice(
886        arg1: *mut Fl_Menu_Button,
887        arg2: *const ::core::ffi::c_char,
888    ) -> ::core::ffi::c_int;
889}
890extern "C" {
891    pub fn Fl_Menu_Button_get_choice(arg1: *mut Fl_Menu_Button) -> *const ::core::ffi::c_char;
892}
893extern "C" {
894    pub fn Fl_Menu_Button_value(arg1: *mut Fl_Menu_Button) -> ::core::ffi::c_int;
895}
896extern "C" {
897    pub fn Fl_Menu_Button_set_value(
898        arg1: *mut Fl_Menu_Button,
899        v: ::core::ffi::c_int,
900    ) -> ::core::ffi::c_int;
901}
902extern "C" {
903    pub fn Fl_Menu_Button_clear(arg1: *mut Fl_Menu_Button);
904}
905extern "C" {
906    pub fn Fl_Menu_Button_clear_submenu(
907        arg1: *mut Fl_Menu_Button,
908        index: ::core::ffi::c_int,
909    ) -> ::core::ffi::c_int;
910}
911extern "C" {
912    pub fn Fl_Menu_Button_size(arg1: *const Fl_Menu_Button) -> ::core::ffi::c_int;
913}
914extern "C" {
915    pub fn Fl_Menu_Button_text(
916        arg1: *const Fl_Menu_Button,
917        idx: ::core::ffi::c_int,
918    ) -> *const ::core::ffi::c_char;
919}
920extern "C" {
921    pub fn Fl_Menu_Button_at(
922        arg1: *const Fl_Menu_Button,
923        idx: ::core::ffi::c_int,
924    ) -> *const Fl_Menu_Item;
925}
926extern "C" {
927    pub fn Fl_Menu_Button_set_mode(
928        self_: *mut Fl_Menu_Button,
929        i: ::core::ffi::c_int,
930        fl: ::core::ffi::c_int,
931    );
932}
933extern "C" {
934    pub fn Fl_Menu_Button_mode(
935        self_: *const Fl_Menu_Button,
936        i: ::core::ffi::c_int,
937    ) -> ::core::ffi::c_int;
938}
939extern "C" {
940    pub fn Fl_Menu_Button_find_index(
941        self_: *const Fl_Menu_Button,
942        label: *const ::core::ffi::c_char,
943    ) -> ::core::ffi::c_int;
944}
945extern "C" {
946    pub fn Fl_Menu_Button_menu(self_: *const Fl_Menu_Button) -> *const Fl_Menu_Item;
947}
948extern "C" {
949    pub fn Fl_Menu_Button_set_menu(self_: *mut Fl_Menu_Button, item: *const Fl_Menu_Item);
950}
951extern "C" {
952    pub fn Fl_Menu_Button_remove(self_: *mut Fl_Menu_Button, idx: ::core::ffi::c_int);
953}
954extern "C" {
955    pub fn Fl_Menu_Button_set_down_box(self_: *mut Fl_Menu_Button, box_: ::core::ffi::c_int);
956}
957extern "C" {
958    pub fn Fl_Menu_Button_down_box(self_: *const Fl_Menu_Button) -> ::core::ffi::c_int;
959}
960extern "C" {
961    pub fn Fl_Menu_Button_global(self_: *mut Fl_Menu_Button);
962}
963extern "C" {
964    pub fn Fl_Menu_Button_item_pathname(
965        self_: *const Fl_Menu_Button,
966        pathname: *mut ::core::ffi::c_char,
967        pathnamelen: ::core::ffi::c_int,
968        item: *const Fl_Menu_Item,
969    ) -> ::core::ffi::c_int;
970}
971extern "C" {
972    pub fn Fl_Menu_Button_set_menu_box(self_: *mut Fl_Menu_Button, b: ::core::ffi::c_int);
973}
974extern "C" {
975    pub fn Fl_Menu_Button_menu_box(self_: *const Fl_Menu_Button) -> ::core::ffi::c_int;
976}
977extern "C" {
978    pub fn Fl_Menu_Button_mvalue(arg1: *const Fl_Menu_Button) -> *mut Fl_Menu_Item;
979}
980extern "C" {
981    pub fn Fl_Menu_Button_prev_mvalue(arg1: *const Fl_Menu_Button) -> *mut Fl_Menu_Item;
982}
983#[repr(C)]
984#[derive(Debug, Copy, Clone)]
985pub struct Fl_Choice {
986    _unused: [u8; 0],
987}
988extern "C" {
989    pub fn Fl_Choice_new(
990        x: ::core::ffi::c_int,
991        y: ::core::ffi::c_int,
992        width: ::core::ffi::c_int,
993        height: ::core::ffi::c_int,
994        title: *const ::core::ffi::c_char,
995    ) -> *mut Fl_Choice;
996}
997extern "C" {
998    pub fn Fl_Choice_x(arg1: *mut Fl_Choice) -> ::core::ffi::c_int;
999}
1000extern "C" {
1001    pub fn Fl_Choice_y(arg1: *mut Fl_Choice) -> ::core::ffi::c_int;
1002}
1003extern "C" {
1004    pub fn Fl_Choice_width(arg1: *mut Fl_Choice) -> ::core::ffi::c_int;
1005}
1006extern "C" {
1007    pub fn Fl_Choice_height(arg1: *mut Fl_Choice) -> ::core::ffi::c_int;
1008}
1009extern "C" {
1010    pub fn Fl_Choice_label(arg1: *mut Fl_Choice) -> *const ::core::ffi::c_char;
1011}
1012extern "C" {
1013    pub fn Fl_Choice_set_label(arg1: *mut Fl_Choice, title: *const ::core::ffi::c_char);
1014}
1015extern "C" {
1016    pub fn Fl_Choice_redraw(arg1: *mut Fl_Choice);
1017}
1018extern "C" {
1019    pub fn Fl_Choice_show(arg1: *mut Fl_Choice);
1020}
1021extern "C" {
1022    pub fn Fl_Choice_hide(arg1: *mut Fl_Choice);
1023}
1024extern "C" {
1025    pub fn Fl_Choice_activate(arg1: *mut Fl_Choice);
1026}
1027extern "C" {
1028    pub fn Fl_Choice_deactivate(arg1: *mut Fl_Choice);
1029}
1030extern "C" {
1031    pub fn Fl_Choice_redraw_label(arg1: *mut Fl_Choice);
1032}
1033extern "C" {
1034    pub fn Fl_Choice_resize(
1035        arg1: *mut Fl_Choice,
1036        x: ::core::ffi::c_int,
1037        y: ::core::ffi::c_int,
1038        width: ::core::ffi::c_int,
1039        height: ::core::ffi::c_int,
1040    );
1041}
1042extern "C" {
1043    pub fn Fl_Choice_widget_resize(
1044        arg1: *mut Fl_Choice,
1045        x: ::core::ffi::c_int,
1046        y: ::core::ffi::c_int,
1047        width: ::core::ffi::c_int,
1048        height: ::core::ffi::c_int,
1049    );
1050}
1051extern "C" {
1052    pub fn Fl_Choice_tooltip(arg1: *mut Fl_Choice) -> *const ::core::ffi::c_char;
1053}
1054extern "C" {
1055    pub fn Fl_Choice_set_tooltip(arg1: *mut Fl_Choice, txt: *const ::core::ffi::c_char);
1056}
1057extern "C" {
1058    pub fn Fl_Choice_get_type(arg1: *mut Fl_Choice) -> ::core::ffi::c_int;
1059}
1060extern "C" {
1061    pub fn Fl_Choice_set_type(arg1: *mut Fl_Choice, typ: ::core::ffi::c_int);
1062}
1063extern "C" {
1064    pub fn Fl_Choice_color(arg1: *mut Fl_Choice) -> ::core::ffi::c_uint;
1065}
1066extern "C" {
1067    pub fn Fl_Choice_set_color(arg1: *mut Fl_Choice, color: ::core::ffi::c_uint);
1068}
1069extern "C" {
1070    pub fn Fl_Choice_measure_label(
1071        arg1: *const Fl_Choice,
1072        arg2: *mut ::core::ffi::c_int,
1073        arg3: *mut ::core::ffi::c_int,
1074    );
1075}
1076extern "C" {
1077    pub fn Fl_Choice_label_color(arg1: *mut Fl_Choice) -> ::core::ffi::c_uint;
1078}
1079extern "C" {
1080    pub fn Fl_Choice_set_label_color(arg1: *mut Fl_Choice, color: ::core::ffi::c_uint);
1081}
1082extern "C" {
1083    pub fn Fl_Choice_label_font(arg1: *mut Fl_Choice) -> ::core::ffi::c_int;
1084}
1085extern "C" {
1086    pub fn Fl_Choice_set_label_font(arg1: *mut Fl_Choice, font: ::core::ffi::c_int);
1087}
1088extern "C" {
1089    pub fn Fl_Choice_label_size(arg1: *mut Fl_Choice) -> ::core::ffi::c_int;
1090}
1091extern "C" {
1092    pub fn Fl_Choice_set_label_size(arg1: *mut Fl_Choice, sz: ::core::ffi::c_int);
1093}
1094extern "C" {
1095    pub fn Fl_Choice_label_type(arg1: *mut Fl_Choice) -> ::core::ffi::c_int;
1096}
1097extern "C" {
1098    pub fn Fl_Choice_set_label_type(arg1: *mut Fl_Choice, typ: ::core::ffi::c_int);
1099}
1100extern "C" {
1101    pub fn Fl_Choice_box(arg1: *mut Fl_Choice) -> ::core::ffi::c_int;
1102}
1103extern "C" {
1104    pub fn Fl_Choice_set_box(arg1: *mut Fl_Choice, typ: ::core::ffi::c_int);
1105}
1106extern "C" {
1107    pub fn Fl_Choice_changed(arg1: *mut Fl_Choice) -> ::core::ffi::c_int;
1108}
1109extern "C" {
1110    pub fn Fl_Choice_set_changed(arg1: *mut Fl_Choice);
1111}
1112extern "C" {
1113    pub fn Fl_Choice_clear_changed(arg1: *mut Fl_Choice);
1114}
1115extern "C" {
1116    pub fn Fl_Choice_align(arg1: *mut Fl_Choice) -> ::core::ffi::c_int;
1117}
1118extern "C" {
1119    pub fn Fl_Choice_set_align(arg1: *mut Fl_Choice, typ: ::core::ffi::c_int);
1120}
1121extern "C" {
1122    pub fn Fl_Choice_delete(arg1: *mut Fl_Choice);
1123}
1124extern "C" {
1125    pub fn Fl_Choice_set_image(arg1: *mut Fl_Choice, arg2: *mut ::core::ffi::c_void);
1126}
1127extern "C" {
1128    pub fn Fl_Choice_handle(
1129        self_: *mut Fl_Choice,
1130        cb: custom_handler_callback,
1131        data: *mut ::core::ffi::c_void,
1132    );
1133}
1134extern "C" {
1135    pub fn Fl_Choice_handle_event(
1136        self_: *mut Fl_Choice,
1137        event: ::core::ffi::c_int,
1138    ) -> ::core::ffi::c_int;
1139}
1140extern "C" {
1141    pub fn Fl_Choice_draw(
1142        self_: *mut Fl_Choice,
1143        cb: custom_draw_callback,
1144        data: *mut ::core::ffi::c_void,
1145    );
1146}
1147extern "C" {
1148    pub fn Fl_Choice_resize_callback(
1149        self_: *mut Fl_Choice,
1150        cb: ::core::option::Option<
1151            unsafe extern "C" fn(
1152                arg1: *mut Fl_Widget,
1153                x: ::core::ffi::c_int,
1154                y: ::core::ffi::c_int,
1155                w: ::core::ffi::c_int,
1156                h: ::core::ffi::c_int,
1157                arg2: *mut ::core::ffi::c_void,
1158            ),
1159        >,
1160        data: *mut ::core::ffi::c_void,
1161    );
1162}
1163extern "C" {
1164    pub fn Fl_Choice_set_when(arg1: *mut Fl_Choice, arg2: ::core::ffi::c_int);
1165}
1166extern "C" {
1167    pub fn Fl_Choice_when(arg1: *const Fl_Choice) -> ::core::ffi::c_int;
1168}
1169extern "C" {
1170    pub fn Fl_Choice_image(arg1: *const Fl_Choice) -> *const ::core::ffi::c_void;
1171}
1172extern "C" {
1173    pub fn Fl_Choice_parent(self_: *const Fl_Choice) -> *mut ::core::ffi::c_void;
1174}
1175extern "C" {
1176    pub fn Fl_Choice_selection_color(arg1: *mut Fl_Choice) -> ::core::ffi::c_uint;
1177}
1178extern "C" {
1179    pub fn Fl_Choice_set_selection_color(arg1: *mut Fl_Choice, color: ::core::ffi::c_uint);
1180}
1181extern "C" {
1182    pub fn Fl_Choice_do_callback(arg1: *mut Fl_Choice);
1183}
1184extern "C" {
1185    pub fn Fl_Choice_inside(
1186        self_: *const Fl_Choice,
1187        arg1: *mut ::core::ffi::c_void,
1188    ) -> ::core::ffi::c_int;
1189}
1190extern "C" {
1191    pub fn Fl_Choice_window(arg1: *const Fl_Choice) -> *mut ::core::ffi::c_void;
1192}
1193extern "C" {
1194    pub fn Fl_Choice_top_window(arg1: *const Fl_Choice) -> *mut ::core::ffi::c_void;
1195}
1196extern "C" {
1197    pub fn Fl_Choice_takes_events(arg1: *const Fl_Choice) -> ::core::ffi::c_int;
1198}
1199extern "C" {
1200    pub fn Fl_Choice_user_data(arg1: *const Fl_Choice) -> *mut ::core::ffi::c_void;
1201}
1202extern "C" {
1203    pub fn Fl_Choice_take_focus(self_: *mut Fl_Choice) -> ::core::ffi::c_int;
1204}
1205extern "C" {
1206    pub fn Fl_Choice_set_visible_focus(self_: *mut Fl_Choice);
1207}
1208extern "C" {
1209    pub fn Fl_Choice_clear_visible_focus(self_: *mut Fl_Choice);
1210}
1211extern "C" {
1212    pub fn Fl_Choice_visible_focus(self_: *mut Fl_Choice, v: ::core::ffi::c_int);
1213}
1214extern "C" {
1215    pub fn Fl_Choice_has_visible_focus(self_: *mut Fl_Choice) -> ::core::ffi::c_uint;
1216}
1217extern "C" {
1218    pub fn Fl_Choice_set_user_data(arg1: *mut Fl_Choice, data: *mut ::core::ffi::c_void);
1219}
1220extern "C" {
1221    pub fn Fl_Choice_draw_data(self_: *const Fl_Choice) -> *mut ::core::ffi::c_void;
1222}
1223extern "C" {
1224    pub fn Fl_Choice_handle_data(self_: *const Fl_Choice) -> *mut ::core::ffi::c_void;
1225}
1226extern "C" {
1227    pub fn Fl_Choice_set_draw_data(self_: *mut Fl_Choice, data: *mut ::core::ffi::c_void);
1228}
1229extern "C" {
1230    pub fn Fl_Choice_set_handle_data(self_: *mut Fl_Choice, data: *mut ::core::ffi::c_void);
1231}
1232extern "C" {
1233    pub fn Fl_Choice_damage(self_: *const Fl_Choice) -> ::core::ffi::c_uchar;
1234}
1235extern "C" {
1236    pub fn Fl_Choice_set_damage(self_: *mut Fl_Choice, flag: ::core::ffi::c_uchar);
1237}
1238extern "C" {
1239    pub fn Fl_Choice_set_damage_area(
1240        self_: *mut Fl_Choice,
1241        flag: ::core::ffi::c_uchar,
1242        x: ::core::ffi::c_int,
1243        y: ::core::ffi::c_int,
1244        w: ::core::ffi::c_int,
1245        h: ::core::ffi::c_int,
1246    );
1247}
1248extern "C" {
1249    pub fn Fl_Choice_clear_damage(self_: *mut Fl_Choice);
1250}
1251extern "C" {
1252    pub fn Fl_Choice_as_window(self_: *mut Fl_Choice) -> *mut ::core::ffi::c_void;
1253}
1254extern "C" {
1255    pub fn Fl_Choice_as_group(self_: *mut Fl_Choice) -> *mut ::core::ffi::c_void;
1256}
1257extern "C" {
1258    pub fn Fl_Choice_set_deimage(arg1: *mut Fl_Choice, arg2: *mut ::core::ffi::c_void);
1259}
1260extern "C" {
1261    pub fn Fl_Choice_deimage(arg1: *const Fl_Choice) -> *const ::core::ffi::c_void;
1262}
1263extern "C" {
1264    pub fn Fl_Choice_set_callback(
1265        arg1: *mut Fl_Choice,
1266        arg2: Fl_Callback,
1267        arg3: *mut ::core::ffi::c_void,
1268    );
1269}
1270extern "C" {
1271    pub fn Fl_Choice_visible(self_: *const Fl_Choice) -> ::core::ffi::c_int;
1272}
1273extern "C" {
1274    pub fn Fl_Choice_visible_r(self_: *const Fl_Choice) -> ::core::ffi::c_int;
1275}
1276extern "C" {
1277    pub fn Fl_Choice_active(self_: *const Fl_Choice) -> ::core::ffi::c_uint;
1278}
1279extern "C" {
1280    pub fn Fl_Choice_active_r(self_: *const Fl_Choice) -> ::core::ffi::c_int;
1281}
1282extern "C" {
1283    pub fn Fl_Choice_callback(self_: *const Fl_Choice) -> Fl_Callback;
1284}
1285extern "C" {
1286    pub fn Fl_Choice_set_deletion_callback(
1287        self_: *mut Fl_Choice,
1288        arg1: ::core::option::Option<
1289            unsafe extern "C" fn(arg1: *mut Fl_Widget, arg2: *mut ::core::ffi::c_void),
1290        >,
1291        data: *mut ::core::ffi::c_void,
1292    );
1293}
1294extern "C" {
1295    pub fn Fl_Choice_from_dyn_ptr(ptr: *mut Fl_Widget) -> *mut Fl_Choice;
1296}
1297extern "C" {
1298    pub fn Fl_Choice_from_derived_dyn_ptr(ptr: *mut Fl_Widget) -> *mut Fl_Choice;
1299}
1300extern "C" {
1301    pub fn Fl_Choice_super_draw(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
1302}
1303extern "C" {
1304    pub fn Fl_Choice_super_draw_first(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
1305}
1306extern "C" {
1307    pub fn Fl_Choice_super_handle_first(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
1308}
1309extern "C" {
1310    pub fn Fl_Choice_add(
1311        arg1: *mut Fl_Choice,
1312        name: *const ::core::ffi::c_char,
1313        shortcut: ::core::ffi::c_int,
1314        arg2: Fl_Callback,
1315        arg3: *mut ::core::ffi::c_void,
1316        arg4: ::core::ffi::c_int,
1317    ) -> ::core::ffi::c_int;
1318}
1319extern "C" {
1320    pub fn Fl_Choice_insert(
1321        arg1: *mut Fl_Choice,
1322        index: ::core::ffi::c_int,
1323        name: *const ::core::ffi::c_char,
1324        shortcut: ::core::ffi::c_int,
1325        arg2: Fl_Callback,
1326        arg3: *mut ::core::ffi::c_void,
1327        arg4: ::core::ffi::c_int,
1328    ) -> ::core::ffi::c_int;
1329}
1330extern "C" {
1331    pub fn Fl_Choice_get_item(
1332        arg1: *mut Fl_Choice,
1333        name: *const ::core::ffi::c_char,
1334    ) -> *mut Fl_Menu_Item;
1335}
1336extern "C" {
1337    pub fn Fl_Choice_set_item(arg1: *mut Fl_Choice, item: *mut Fl_Menu_Item) -> ::core::ffi::c_int;
1338}
1339extern "C" {
1340    pub fn Fl_Choice_text_font(arg1: *mut Fl_Choice) -> ::core::ffi::c_int;
1341}
1342extern "C" {
1343    pub fn Fl_Choice_set_text_font(arg1: *mut Fl_Choice, c: ::core::ffi::c_int);
1344}
1345extern "C" {
1346    pub fn Fl_Choice_text_size(arg1: *mut Fl_Choice) -> ::core::ffi::c_int;
1347}
1348extern "C" {
1349    pub fn Fl_Choice_set_text_size(arg1: *mut Fl_Choice, c: ::core::ffi::c_int);
1350}
1351extern "C" {
1352    pub fn Fl_Choice_text_color(arg1: *mut Fl_Choice) -> ::core::ffi::c_uint;
1353}
1354extern "C" {
1355    pub fn Fl_Choice_set_text_color(arg1: *mut Fl_Choice, c: ::core::ffi::c_uint);
1356}
1357extern "C" {
1358    pub fn Fl_Choice_add_choice(
1359        arg1: *mut Fl_Choice,
1360        arg2: *const ::core::ffi::c_char,
1361    ) -> ::core::ffi::c_int;
1362}
1363extern "C" {
1364    pub fn Fl_Choice_get_choice(arg1: *mut Fl_Choice) -> *const ::core::ffi::c_char;
1365}
1366extern "C" {
1367    pub fn Fl_Choice_value(arg1: *mut Fl_Choice) -> ::core::ffi::c_int;
1368}
1369extern "C" {
1370    pub fn Fl_Choice_set_value(arg1: *mut Fl_Choice, v: ::core::ffi::c_int) -> ::core::ffi::c_int;
1371}
1372extern "C" {
1373    pub fn Fl_Choice_clear(arg1: *mut Fl_Choice);
1374}
1375extern "C" {
1376    pub fn Fl_Choice_clear_submenu(
1377        arg1: *mut Fl_Choice,
1378        index: ::core::ffi::c_int,
1379    ) -> ::core::ffi::c_int;
1380}
1381extern "C" {
1382    pub fn Fl_Choice_size(arg1: *const Fl_Choice) -> ::core::ffi::c_int;
1383}
1384extern "C" {
1385    pub fn Fl_Choice_text(
1386        arg1: *const Fl_Choice,
1387        idx: ::core::ffi::c_int,
1388    ) -> *const ::core::ffi::c_char;
1389}
1390extern "C" {
1391    pub fn Fl_Choice_at(arg1: *const Fl_Choice, idx: ::core::ffi::c_int) -> *const Fl_Menu_Item;
1392}
1393extern "C" {
1394    pub fn Fl_Choice_set_mode(self_: *mut Fl_Choice, i: ::core::ffi::c_int, fl: ::core::ffi::c_int);
1395}
1396extern "C" {
1397    pub fn Fl_Choice_mode(self_: *const Fl_Choice, i: ::core::ffi::c_int) -> ::core::ffi::c_int;
1398}
1399extern "C" {
1400    pub fn Fl_Choice_find_index(
1401        self_: *const Fl_Choice,
1402        label: *const ::core::ffi::c_char,
1403    ) -> ::core::ffi::c_int;
1404}
1405extern "C" {
1406    pub fn Fl_Choice_menu(self_: *const Fl_Choice) -> *const Fl_Menu_Item;
1407}
1408extern "C" {
1409    pub fn Fl_Choice_set_menu(self_: *mut Fl_Choice, item: *const Fl_Menu_Item);
1410}
1411extern "C" {
1412    pub fn Fl_Choice_remove(self_: *mut Fl_Choice, idx: ::core::ffi::c_int);
1413}
1414extern "C" {
1415    pub fn Fl_Choice_set_down_box(self_: *mut Fl_Choice, box_: ::core::ffi::c_int);
1416}
1417extern "C" {
1418    pub fn Fl_Choice_down_box(self_: *const Fl_Choice) -> ::core::ffi::c_int;
1419}
1420extern "C" {
1421    pub fn Fl_Choice_global(self_: *mut Fl_Choice);
1422}
1423extern "C" {
1424    pub fn Fl_Choice_item_pathname(
1425        self_: *const Fl_Choice,
1426        pathname: *mut ::core::ffi::c_char,
1427        pathnamelen: ::core::ffi::c_int,
1428        item: *const Fl_Menu_Item,
1429    ) -> ::core::ffi::c_int;
1430}
1431extern "C" {
1432    pub fn Fl_Choice_set_menu_box(self_: *mut Fl_Choice, b: ::core::ffi::c_int);
1433}
1434extern "C" {
1435    pub fn Fl_Choice_menu_box(self_: *const Fl_Choice) -> ::core::ffi::c_int;
1436}
1437extern "C" {
1438    pub fn Fl_Choice_mvalue(arg1: *const Fl_Choice) -> *mut Fl_Menu_Item;
1439}
1440extern "C" {
1441    pub fn Fl_Choice_prev_mvalue(arg1: *const Fl_Choice) -> *mut Fl_Menu_Item;
1442}
1443#[repr(C)]
1444#[derive(Debug, Copy, Clone)]
1445pub struct Fl_Sys_Menu_Bar {
1446    _unused: [u8; 0],
1447}
1448extern "C" {
1449    pub fn Fl_Sys_Menu_Bar_new(
1450        x: ::core::ffi::c_int,
1451        y: ::core::ffi::c_int,
1452        width: ::core::ffi::c_int,
1453        height: ::core::ffi::c_int,
1454        title: *const ::core::ffi::c_char,
1455    ) -> *mut Fl_Sys_Menu_Bar;
1456}
1457extern "C" {
1458    pub fn Fl_Sys_Menu_Bar_x(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1459}
1460extern "C" {
1461    pub fn Fl_Sys_Menu_Bar_y(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1462}
1463extern "C" {
1464    pub fn Fl_Sys_Menu_Bar_width(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1465}
1466extern "C" {
1467    pub fn Fl_Sys_Menu_Bar_height(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1468}
1469extern "C" {
1470    pub fn Fl_Sys_Menu_Bar_label(arg1: *mut Fl_Sys_Menu_Bar) -> *const ::core::ffi::c_char;
1471}
1472extern "C" {
1473    pub fn Fl_Sys_Menu_Bar_set_label(arg1: *mut Fl_Sys_Menu_Bar, title: *const ::core::ffi::c_char);
1474}
1475extern "C" {
1476    pub fn Fl_Sys_Menu_Bar_redraw(arg1: *mut Fl_Sys_Menu_Bar);
1477}
1478extern "C" {
1479    pub fn Fl_Sys_Menu_Bar_show(arg1: *mut Fl_Sys_Menu_Bar);
1480}
1481extern "C" {
1482    pub fn Fl_Sys_Menu_Bar_hide(arg1: *mut Fl_Sys_Menu_Bar);
1483}
1484extern "C" {
1485    pub fn Fl_Sys_Menu_Bar_activate(arg1: *mut Fl_Sys_Menu_Bar);
1486}
1487extern "C" {
1488    pub fn Fl_Sys_Menu_Bar_deactivate(arg1: *mut Fl_Sys_Menu_Bar);
1489}
1490extern "C" {
1491    pub fn Fl_Sys_Menu_Bar_redraw_label(arg1: *mut Fl_Sys_Menu_Bar);
1492}
1493extern "C" {
1494    pub fn Fl_Sys_Menu_Bar_resize(
1495        arg1: *mut Fl_Sys_Menu_Bar,
1496        x: ::core::ffi::c_int,
1497        y: ::core::ffi::c_int,
1498        width: ::core::ffi::c_int,
1499        height: ::core::ffi::c_int,
1500    );
1501}
1502extern "C" {
1503    pub fn Fl_Sys_Menu_Bar_widget_resize(
1504        arg1: *mut Fl_Sys_Menu_Bar,
1505        x: ::core::ffi::c_int,
1506        y: ::core::ffi::c_int,
1507        width: ::core::ffi::c_int,
1508        height: ::core::ffi::c_int,
1509    );
1510}
1511extern "C" {
1512    pub fn Fl_Sys_Menu_Bar_tooltip(arg1: *mut Fl_Sys_Menu_Bar) -> *const ::core::ffi::c_char;
1513}
1514extern "C" {
1515    pub fn Fl_Sys_Menu_Bar_set_tooltip(arg1: *mut Fl_Sys_Menu_Bar, txt: *const ::core::ffi::c_char);
1516}
1517extern "C" {
1518    pub fn Fl_Sys_Menu_Bar_get_type(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1519}
1520extern "C" {
1521    pub fn Fl_Sys_Menu_Bar_set_type(arg1: *mut Fl_Sys_Menu_Bar, typ: ::core::ffi::c_int);
1522}
1523extern "C" {
1524    pub fn Fl_Sys_Menu_Bar_color(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_uint;
1525}
1526extern "C" {
1527    pub fn Fl_Sys_Menu_Bar_set_color(arg1: *mut Fl_Sys_Menu_Bar, color: ::core::ffi::c_uint);
1528}
1529extern "C" {
1530    pub fn Fl_Sys_Menu_Bar_measure_label(
1531        arg1: *const Fl_Sys_Menu_Bar,
1532        arg2: *mut ::core::ffi::c_int,
1533        arg3: *mut ::core::ffi::c_int,
1534    );
1535}
1536extern "C" {
1537    pub fn Fl_Sys_Menu_Bar_label_color(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_uint;
1538}
1539extern "C" {
1540    pub fn Fl_Sys_Menu_Bar_set_label_color(arg1: *mut Fl_Sys_Menu_Bar, color: ::core::ffi::c_uint);
1541}
1542extern "C" {
1543    pub fn Fl_Sys_Menu_Bar_label_font(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1544}
1545extern "C" {
1546    pub fn Fl_Sys_Menu_Bar_set_label_font(arg1: *mut Fl_Sys_Menu_Bar, font: ::core::ffi::c_int);
1547}
1548extern "C" {
1549    pub fn Fl_Sys_Menu_Bar_label_size(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1550}
1551extern "C" {
1552    pub fn Fl_Sys_Menu_Bar_set_label_size(arg1: *mut Fl_Sys_Menu_Bar, sz: ::core::ffi::c_int);
1553}
1554extern "C" {
1555    pub fn Fl_Sys_Menu_Bar_label_type(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1556}
1557extern "C" {
1558    pub fn Fl_Sys_Menu_Bar_set_label_type(arg1: *mut Fl_Sys_Menu_Bar, typ: ::core::ffi::c_int);
1559}
1560extern "C" {
1561    pub fn Fl_Sys_Menu_Bar_box(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1562}
1563extern "C" {
1564    pub fn Fl_Sys_Menu_Bar_set_box(arg1: *mut Fl_Sys_Menu_Bar, typ: ::core::ffi::c_int);
1565}
1566extern "C" {
1567    pub fn Fl_Sys_Menu_Bar_changed(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1568}
1569extern "C" {
1570    pub fn Fl_Sys_Menu_Bar_set_changed(arg1: *mut Fl_Sys_Menu_Bar);
1571}
1572extern "C" {
1573    pub fn Fl_Sys_Menu_Bar_clear_changed(arg1: *mut Fl_Sys_Menu_Bar);
1574}
1575extern "C" {
1576    pub fn Fl_Sys_Menu_Bar_align(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1577}
1578extern "C" {
1579    pub fn Fl_Sys_Menu_Bar_set_align(arg1: *mut Fl_Sys_Menu_Bar, typ: ::core::ffi::c_int);
1580}
1581extern "C" {
1582    pub fn Fl_Sys_Menu_Bar_delete(arg1: *mut Fl_Sys_Menu_Bar);
1583}
1584extern "C" {
1585    pub fn Fl_Sys_Menu_Bar_set_image(arg1: *mut Fl_Sys_Menu_Bar, arg2: *mut ::core::ffi::c_void);
1586}
1587extern "C" {
1588    pub fn Fl_Sys_Menu_Bar_handle(
1589        self_: *mut Fl_Sys_Menu_Bar,
1590        cb: custom_handler_callback,
1591        data: *mut ::core::ffi::c_void,
1592    );
1593}
1594extern "C" {
1595    pub fn Fl_Sys_Menu_Bar_handle_event(
1596        self_: *mut Fl_Sys_Menu_Bar,
1597        event: ::core::ffi::c_int,
1598    ) -> ::core::ffi::c_int;
1599}
1600extern "C" {
1601    pub fn Fl_Sys_Menu_Bar_draw(
1602        self_: *mut Fl_Sys_Menu_Bar,
1603        cb: custom_draw_callback,
1604        data: *mut ::core::ffi::c_void,
1605    );
1606}
1607extern "C" {
1608    pub fn Fl_Sys_Menu_Bar_resize_callback(
1609        self_: *mut Fl_Sys_Menu_Bar,
1610        cb: ::core::option::Option<
1611            unsafe extern "C" fn(
1612                arg1: *mut Fl_Widget,
1613                x: ::core::ffi::c_int,
1614                y: ::core::ffi::c_int,
1615                w: ::core::ffi::c_int,
1616                h: ::core::ffi::c_int,
1617                arg2: *mut ::core::ffi::c_void,
1618            ),
1619        >,
1620        data: *mut ::core::ffi::c_void,
1621    );
1622}
1623extern "C" {
1624    pub fn Fl_Sys_Menu_Bar_set_when(arg1: *mut Fl_Sys_Menu_Bar, arg2: ::core::ffi::c_int);
1625}
1626extern "C" {
1627    pub fn Fl_Sys_Menu_Bar_when(arg1: *const Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1628}
1629extern "C" {
1630    pub fn Fl_Sys_Menu_Bar_image(arg1: *const Fl_Sys_Menu_Bar) -> *const ::core::ffi::c_void;
1631}
1632extern "C" {
1633    pub fn Fl_Sys_Menu_Bar_parent(self_: *const Fl_Sys_Menu_Bar) -> *mut ::core::ffi::c_void;
1634}
1635extern "C" {
1636    pub fn Fl_Sys_Menu_Bar_selection_color(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_uint;
1637}
1638extern "C" {
1639    pub fn Fl_Sys_Menu_Bar_set_selection_color(
1640        arg1: *mut Fl_Sys_Menu_Bar,
1641        color: ::core::ffi::c_uint,
1642    );
1643}
1644extern "C" {
1645    pub fn Fl_Sys_Menu_Bar_do_callback(arg1: *mut Fl_Sys_Menu_Bar);
1646}
1647extern "C" {
1648    pub fn Fl_Sys_Menu_Bar_inside(
1649        self_: *const Fl_Sys_Menu_Bar,
1650        arg1: *mut ::core::ffi::c_void,
1651    ) -> ::core::ffi::c_int;
1652}
1653extern "C" {
1654    pub fn Fl_Sys_Menu_Bar_window(arg1: *const Fl_Sys_Menu_Bar) -> *mut ::core::ffi::c_void;
1655}
1656extern "C" {
1657    pub fn Fl_Sys_Menu_Bar_top_window(arg1: *const Fl_Sys_Menu_Bar) -> *mut ::core::ffi::c_void;
1658}
1659extern "C" {
1660    pub fn Fl_Sys_Menu_Bar_takes_events(arg1: *const Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1661}
1662extern "C" {
1663    pub fn Fl_Sys_Menu_Bar_user_data(arg1: *const Fl_Sys_Menu_Bar) -> *mut ::core::ffi::c_void;
1664}
1665extern "C" {
1666    pub fn Fl_Sys_Menu_Bar_take_focus(self_: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1667}
1668extern "C" {
1669    pub fn Fl_Sys_Menu_Bar_set_visible_focus(self_: *mut Fl_Sys_Menu_Bar);
1670}
1671extern "C" {
1672    pub fn Fl_Sys_Menu_Bar_clear_visible_focus(self_: *mut Fl_Sys_Menu_Bar);
1673}
1674extern "C" {
1675    pub fn Fl_Sys_Menu_Bar_visible_focus(self_: *mut Fl_Sys_Menu_Bar, v: ::core::ffi::c_int);
1676}
1677extern "C" {
1678    pub fn Fl_Sys_Menu_Bar_has_visible_focus(self_: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_uint;
1679}
1680extern "C" {
1681    pub fn Fl_Sys_Menu_Bar_set_user_data(
1682        arg1: *mut Fl_Sys_Menu_Bar,
1683        data: *mut ::core::ffi::c_void,
1684    );
1685}
1686extern "C" {
1687    pub fn Fl_Sys_Menu_Bar_draw_data(self_: *const Fl_Sys_Menu_Bar) -> *mut ::core::ffi::c_void;
1688}
1689extern "C" {
1690    pub fn Fl_Sys_Menu_Bar_handle_data(self_: *const Fl_Sys_Menu_Bar) -> *mut ::core::ffi::c_void;
1691}
1692extern "C" {
1693    pub fn Fl_Sys_Menu_Bar_set_draw_data(
1694        self_: *mut Fl_Sys_Menu_Bar,
1695        data: *mut ::core::ffi::c_void,
1696    );
1697}
1698extern "C" {
1699    pub fn Fl_Sys_Menu_Bar_set_handle_data(
1700        self_: *mut Fl_Sys_Menu_Bar,
1701        data: *mut ::core::ffi::c_void,
1702    );
1703}
1704extern "C" {
1705    pub fn Fl_Sys_Menu_Bar_damage(self_: *const Fl_Sys_Menu_Bar) -> ::core::ffi::c_uchar;
1706}
1707extern "C" {
1708    pub fn Fl_Sys_Menu_Bar_set_damage(self_: *mut Fl_Sys_Menu_Bar, flag: ::core::ffi::c_uchar);
1709}
1710extern "C" {
1711    pub fn Fl_Sys_Menu_Bar_set_damage_area(
1712        self_: *mut Fl_Sys_Menu_Bar,
1713        flag: ::core::ffi::c_uchar,
1714        x: ::core::ffi::c_int,
1715        y: ::core::ffi::c_int,
1716        w: ::core::ffi::c_int,
1717        h: ::core::ffi::c_int,
1718    );
1719}
1720extern "C" {
1721    pub fn Fl_Sys_Menu_Bar_clear_damage(self_: *mut Fl_Sys_Menu_Bar);
1722}
1723extern "C" {
1724    pub fn Fl_Sys_Menu_Bar_as_window(self_: *mut Fl_Sys_Menu_Bar) -> *mut ::core::ffi::c_void;
1725}
1726extern "C" {
1727    pub fn Fl_Sys_Menu_Bar_as_group(self_: *mut Fl_Sys_Menu_Bar) -> *mut ::core::ffi::c_void;
1728}
1729extern "C" {
1730    pub fn Fl_Sys_Menu_Bar_set_deimage(arg1: *mut Fl_Sys_Menu_Bar, arg2: *mut ::core::ffi::c_void);
1731}
1732extern "C" {
1733    pub fn Fl_Sys_Menu_Bar_deimage(arg1: *const Fl_Sys_Menu_Bar) -> *const ::core::ffi::c_void;
1734}
1735extern "C" {
1736    pub fn Fl_Sys_Menu_Bar_set_callback(
1737        arg1: *mut Fl_Sys_Menu_Bar,
1738        arg2: Fl_Callback,
1739        arg3: *mut ::core::ffi::c_void,
1740    );
1741}
1742extern "C" {
1743    pub fn Fl_Sys_Menu_Bar_visible(self_: *const Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1744}
1745extern "C" {
1746    pub fn Fl_Sys_Menu_Bar_visible_r(self_: *const Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1747}
1748extern "C" {
1749    pub fn Fl_Sys_Menu_Bar_active(self_: *const Fl_Sys_Menu_Bar) -> ::core::ffi::c_uint;
1750}
1751extern "C" {
1752    pub fn Fl_Sys_Menu_Bar_active_r(self_: *const Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1753}
1754extern "C" {
1755    pub fn Fl_Sys_Menu_Bar_callback(self_: *const Fl_Sys_Menu_Bar) -> Fl_Callback;
1756}
1757extern "C" {
1758    pub fn Fl_Sys_Menu_Bar_set_deletion_callback(
1759        self_: *mut Fl_Sys_Menu_Bar,
1760        arg1: ::core::option::Option<
1761            unsafe extern "C" fn(arg1: *mut Fl_Widget, arg2: *mut ::core::ffi::c_void),
1762        >,
1763        data: *mut ::core::ffi::c_void,
1764    );
1765}
1766extern "C" {
1767    pub fn Fl_Sys_Menu_Bar_from_dyn_ptr(ptr: *mut Fl_Widget) -> *mut Fl_Sys_Menu_Bar;
1768}
1769extern "C" {
1770    pub fn Fl_Sys_Menu_Bar_from_derived_dyn_ptr(ptr: *mut Fl_Widget) -> *mut Fl_Sys_Menu_Bar;
1771}
1772extern "C" {
1773    pub fn Fl_Sys_Menu_Bar_super_draw(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
1774}
1775extern "C" {
1776    pub fn Fl_Sys_Menu_Bar_super_draw_first(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
1777}
1778extern "C" {
1779    pub fn Fl_Sys_Menu_Bar_super_handle_first(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
1780}
1781extern "C" {
1782    pub fn Fl_Sys_Menu_Bar_set_window_menu_style(style: ::core::ffi::c_int);
1783}
1784extern "C" {
1785    pub fn Fl_Sys_Menu_Bar_about(
1786        self_: *mut Fl_Sys_Menu_Bar,
1787        cb: Fl_Callback,
1788        data: *mut ::core::ffi::c_void,
1789    );
1790}
1791extern "C" {
1792    pub fn Fl_Sys_Menu_Bar_add(
1793        arg1: *mut Fl_Sys_Menu_Bar,
1794        name: *const ::core::ffi::c_char,
1795        shortcut: ::core::ffi::c_int,
1796        arg2: Fl_Callback,
1797        arg3: *mut ::core::ffi::c_void,
1798        arg4: ::core::ffi::c_int,
1799    ) -> ::core::ffi::c_int;
1800}
1801extern "C" {
1802    pub fn Fl_Sys_Menu_Bar_insert(
1803        arg1: *mut Fl_Sys_Menu_Bar,
1804        index: ::core::ffi::c_int,
1805        name: *const ::core::ffi::c_char,
1806        shortcut: ::core::ffi::c_int,
1807        arg2: Fl_Callback,
1808        arg3: *mut ::core::ffi::c_void,
1809        arg4: ::core::ffi::c_int,
1810    ) -> ::core::ffi::c_int;
1811}
1812extern "C" {
1813    pub fn Fl_Sys_Menu_Bar_get_item(
1814        arg1: *mut Fl_Sys_Menu_Bar,
1815        name: *const ::core::ffi::c_char,
1816    ) -> *mut Fl_Menu_Item;
1817}
1818extern "C" {
1819    pub fn Fl_Sys_Menu_Bar_set_item(
1820        arg1: *mut Fl_Sys_Menu_Bar,
1821        item: *mut Fl_Menu_Item,
1822    ) -> ::core::ffi::c_int;
1823}
1824extern "C" {
1825    pub fn Fl_Sys_Menu_Bar_text_font(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1826}
1827extern "C" {
1828    pub fn Fl_Sys_Menu_Bar_set_text_font(arg1: *mut Fl_Sys_Menu_Bar, c: ::core::ffi::c_int);
1829}
1830extern "C" {
1831    pub fn Fl_Sys_Menu_Bar_text_size(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1832}
1833extern "C" {
1834    pub fn Fl_Sys_Menu_Bar_set_text_size(arg1: *mut Fl_Sys_Menu_Bar, c: ::core::ffi::c_int);
1835}
1836extern "C" {
1837    pub fn Fl_Sys_Menu_Bar_text_color(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_uint;
1838}
1839extern "C" {
1840    pub fn Fl_Sys_Menu_Bar_set_text_color(arg1: *mut Fl_Sys_Menu_Bar, c: ::core::ffi::c_uint);
1841}
1842extern "C" {
1843    pub fn Fl_Sys_Menu_Bar_add_choice(
1844        arg1: *mut Fl_Sys_Menu_Bar,
1845        arg2: *const ::core::ffi::c_char,
1846    ) -> ::core::ffi::c_int;
1847}
1848extern "C" {
1849    pub fn Fl_Sys_Menu_Bar_get_choice(arg1: *mut Fl_Sys_Menu_Bar) -> *const ::core::ffi::c_char;
1850}
1851extern "C" {
1852    pub fn Fl_Sys_Menu_Bar_value(arg1: *mut Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1853}
1854extern "C" {
1855    pub fn Fl_Sys_Menu_Bar_set_value(
1856        arg1: *mut Fl_Sys_Menu_Bar,
1857        v: ::core::ffi::c_int,
1858    ) -> ::core::ffi::c_int;
1859}
1860extern "C" {
1861    pub fn Fl_Sys_Menu_Bar_clear(arg1: *mut Fl_Sys_Menu_Bar);
1862}
1863extern "C" {
1864    pub fn Fl_Sys_Menu_Bar_clear_submenu(
1865        arg1: *mut Fl_Sys_Menu_Bar,
1866        index: ::core::ffi::c_int,
1867    ) -> ::core::ffi::c_int;
1868}
1869extern "C" {
1870    pub fn Fl_Sys_Menu_Bar_size(arg1: *const Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1871}
1872extern "C" {
1873    pub fn Fl_Sys_Menu_Bar_text(
1874        arg1: *const Fl_Sys_Menu_Bar,
1875        idx: ::core::ffi::c_int,
1876    ) -> *const ::core::ffi::c_char;
1877}
1878extern "C" {
1879    pub fn Fl_Sys_Menu_Bar_at(
1880        arg1: *const Fl_Sys_Menu_Bar,
1881        idx: ::core::ffi::c_int,
1882    ) -> *const Fl_Menu_Item;
1883}
1884extern "C" {
1885    pub fn Fl_Sys_Menu_Bar_set_mode(
1886        self_: *mut Fl_Sys_Menu_Bar,
1887        i: ::core::ffi::c_int,
1888        fl: ::core::ffi::c_int,
1889    );
1890}
1891extern "C" {
1892    pub fn Fl_Sys_Menu_Bar_mode(
1893        self_: *const Fl_Sys_Menu_Bar,
1894        i: ::core::ffi::c_int,
1895    ) -> ::core::ffi::c_int;
1896}
1897extern "C" {
1898    pub fn Fl_Sys_Menu_Bar_find_index(
1899        self_: *const Fl_Sys_Menu_Bar,
1900        label: *const ::core::ffi::c_char,
1901    ) -> ::core::ffi::c_int;
1902}
1903extern "C" {
1904    pub fn Fl_Sys_Menu_Bar_menu(self_: *const Fl_Sys_Menu_Bar) -> *const Fl_Menu_Item;
1905}
1906extern "C" {
1907    pub fn Fl_Sys_Menu_Bar_set_menu(self_: *mut Fl_Sys_Menu_Bar, item: *const Fl_Menu_Item);
1908}
1909extern "C" {
1910    pub fn Fl_Sys_Menu_Bar_remove(self_: *mut Fl_Sys_Menu_Bar, idx: ::core::ffi::c_int);
1911}
1912extern "C" {
1913    pub fn Fl_Sys_Menu_Bar_set_down_box(self_: *mut Fl_Sys_Menu_Bar, box_: ::core::ffi::c_int);
1914}
1915extern "C" {
1916    pub fn Fl_Sys_Menu_Bar_down_box(self_: *const Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1917}
1918extern "C" {
1919    pub fn Fl_Sys_Menu_Bar_global(self_: *mut Fl_Sys_Menu_Bar);
1920}
1921extern "C" {
1922    pub fn Fl_Sys_Menu_Bar_item_pathname(
1923        self_: *const Fl_Sys_Menu_Bar,
1924        pathname: *mut ::core::ffi::c_char,
1925        pathnamelen: ::core::ffi::c_int,
1926        item: *const Fl_Menu_Item,
1927    ) -> ::core::ffi::c_int;
1928}
1929extern "C" {
1930    pub fn Fl_Sys_Menu_Bar_set_menu_box(self_: *mut Fl_Sys_Menu_Bar, b: ::core::ffi::c_int);
1931}
1932extern "C" {
1933    pub fn Fl_Sys_Menu_Bar_menu_box(self_: *const Fl_Sys_Menu_Bar) -> ::core::ffi::c_int;
1934}
1935extern "C" {
1936    pub fn Fl_Sys_Menu_Bar_mvalue(arg1: *const Fl_Sys_Menu_Bar) -> *mut Fl_Menu_Item;
1937}
1938extern "C" {
1939    pub fn Fl_Sys_Menu_Bar_prev_mvalue(arg1: *const Fl_Sys_Menu_Bar) -> *mut Fl_Menu_Item;
1940}
1941extern "C" {
1942    pub fn Fl_Menu_Item_new(
1943        args: *mut *mut ::core::ffi::c_char,
1944        sz: ::core::ffi::c_int,
1945    ) -> *mut Fl_Menu_Item;
1946}
1947extern "C" {
1948    pub fn Fl_Menu_Item_new2(
1949        args: *mut *mut ::core::ffi::c_char,
1950        shortcuts: *mut ::core::ffi::c_int,
1951        cb: *mut Fl_Callback,
1952        flags: *mut ::core::ffi::c_int,
1953        labeltype: *mut ::core::ffi::c_int,
1954        labelfont: *mut ::core::ffi::c_int,
1955        labelsize: *mut ::core::ffi::c_int,
1956        labelcolor: *mut ::core::ffi::c_uint,
1957        sz: ::core::ffi::c_int,
1958    ) -> *mut Fl_Menu_Item;
1959}
1960extern "C" {
1961    pub fn Fl_Menu_Item_delete(self_: *mut Fl_Menu_Item);
1962}
1963extern "C" {
1964    pub fn Fl_Menu_Item_popup(
1965        self_: *mut Fl_Menu_Item,
1966        x: ::core::ffi::c_int,
1967        y: ::core::ffi::c_int,
1968    ) -> *const Fl_Menu_Item;
1969}
1970extern "C" {
1971    pub fn Fl_Menu_Item_pulldown(
1972        self_: *mut Fl_Menu_Item,
1973        X: ::core::ffi::c_int,
1974        Y: ::core::ffi::c_int,
1975        W: ::core::ffi::c_int,
1976        H: ::core::ffi::c_int,
1977        picked: *const Fl_Menu_Item,
1978        arg1: *const ::core::ffi::c_void,
1979        title: *const Fl_Menu_Item,
1980        menubar: ::core::ffi::c_int,
1981    ) -> *const Fl_Menu_Item;
1982}
1983extern "C" {
1984    pub fn Fl_Menu_Item_label(arg1: *mut Fl_Menu_Item) -> *const ::core::ffi::c_char;
1985}
1986extern "C" {
1987    pub fn Fl_Menu_Item_set_label(arg1: *mut Fl_Menu_Item, a: *const ::core::ffi::c_char);
1988}
1989extern "C" {
1990    pub fn Fl_Menu_Item_label_type(arg1: *mut Fl_Menu_Item) -> ::core::ffi::c_int;
1991}
1992extern "C" {
1993    pub fn Fl_Menu_Item_set_label_type(arg1: *mut Fl_Menu_Item, a: ::core::ffi::c_int);
1994}
1995extern "C" {
1996    pub fn Fl_Menu_Item_label_color(arg1: *mut Fl_Menu_Item) -> ::core::ffi::c_uint;
1997}
1998extern "C" {
1999    pub fn Fl_Menu_Item_set_label_color(arg1: *mut Fl_Menu_Item, a: ::core::ffi::c_uint);
2000}
2001extern "C" {
2002    pub fn Fl_Menu_Item_label_font(arg1: *mut Fl_Menu_Item) -> ::core::ffi::c_int;
2003}
2004extern "C" {
2005    pub fn Fl_Menu_Item_set_label_font(arg1: *mut Fl_Menu_Item, a: ::core::ffi::c_int);
2006}
2007extern "C" {
2008    pub fn Fl_Menu_Item_label_size(arg1: *mut Fl_Menu_Item) -> ::core::ffi::c_int;
2009}
2010extern "C" {
2011    pub fn Fl_Menu_Item_set_label_size(arg1: *mut Fl_Menu_Item, a: ::core::ffi::c_int);
2012}
2013extern "C" {
2014    pub fn Fl_Menu_Item_value(arg1: *mut Fl_Menu_Item) -> ::core::ffi::c_int;
2015}
2016extern "C" {
2017    pub fn Fl_Menu_Item_set(arg1: *mut Fl_Menu_Item);
2018}
2019extern "C" {
2020    pub fn Fl_Menu_Item_clear(arg1: *mut Fl_Menu_Item);
2021}
2022extern "C" {
2023    pub fn Fl_Menu_Item_visible(arg1: *mut Fl_Menu_Item) -> ::core::ffi::c_int;
2024}
2025extern "C" {
2026    pub fn Fl_Menu_Item_show(arg1: *mut Fl_Menu_Item);
2027}
2028extern "C" {
2029    pub fn Fl_Menu_Item_hide(arg1: *mut Fl_Menu_Item);
2030}
2031extern "C" {
2032    pub fn Fl_Menu_Item_active(arg1: *mut Fl_Menu_Item) -> ::core::ffi::c_int;
2033}
2034extern "C" {
2035    pub fn Fl_Menu_Item_activate(arg1: *mut Fl_Menu_Item);
2036}
2037extern "C" {
2038    pub fn Fl_Menu_Item_deactivate(arg1: *mut Fl_Menu_Item);
2039}
2040extern "C" {
2041    pub fn Fl_Menu_Item_submenu(self_: *const Fl_Menu_Item) -> ::core::ffi::c_int;
2042}
2043extern "C" {
2044    pub fn Fl_Menu_Item_checkbox(self_: *const Fl_Menu_Item) -> ::core::ffi::c_int;
2045}
2046extern "C" {
2047    pub fn Fl_Menu_Item_radio(self_: *const Fl_Menu_Item) -> ::core::ffi::c_int;
2048}
2049extern "C" {
2050    pub fn Fl_Menu_Item_next(
2051        self_: *mut Fl_Menu_Item,
2052        idx: ::core::ffi::c_int,
2053    ) -> *mut Fl_Menu_Item;
2054}
2055extern "C" {
2056    pub fn Fl_Menu_Item_set_callback(
2057        self_: *mut Fl_Menu_Item,
2058        c: Fl_Callback,
2059        p: *mut ::core::ffi::c_void,
2060    );
2061}
2062extern "C" {
2063    pub fn Fl_Menu_Item_do_callback(self_: *mut Fl_Menu_Item, w: *mut Fl_Widget);
2064}
2065extern "C" {
2066    pub fn Fl_Menu_Item_user_data(arg1: *const Fl_Menu_Item) -> *mut ::core::ffi::c_void;
2067}
2068extern "C" {
2069    pub fn Fl_Menu_Item_set_user_data(arg1: *mut Fl_Menu_Item, data: *mut ::core::ffi::c_void);
2070}
2071extern "C" {
2072    pub fn Fl_Menu_Item_draw(
2073        self_: *const Fl_Menu_Item,
2074        x: ::core::ffi::c_int,
2075        y: ::core::ffi::c_int,
2076        w: ::core::ffi::c_int,
2077        h: ::core::ffi::c_int,
2078        m: *const ::core::ffi::c_void,
2079        selected: ::core::ffi::c_int,
2080    );
2081}
2082extern "C" {
2083    pub fn Fl_Menu_Item_measure(
2084        self_: *const Fl_Menu_Item,
2085        hp: *mut ::core::ffi::c_int,
2086        m: *const ::core::ffi::c_void,
2087    ) -> ::core::ffi::c_int;
2088}
2089extern "C" {
2090    pub fn Fl_Menu_Item_image(self_: *mut Fl_Menu_Item, image: *mut ::core::ffi::c_void);
2091}
2092extern "C" {
2093    pub fn Fl_Menu_Item_add_image(
2094        self_: *mut Fl_Menu_Item,
2095        image: *mut ::core::ffi::c_void,
2096        on_left: ::core::ffi::c_int,
2097    );
2098}
2099extern "C" {
2100    pub fn Fl_Menu_Item_children(self_: *const Fl_Menu_Item) -> ::core::ffi::c_int;
2101}
2102extern "C" {
2103    pub fn Fl_Menu_Item_at(
2104        self_: *const Fl_Menu_Item,
2105        idx: ::core::ffi::c_int,
2106    ) -> *const Fl_Menu_Item;
2107}
2108extern "C" {
2109    pub fn Fl_Menu_Item_add(
2110        self_: *mut Fl_Menu_Item,
2111        name: *const ::core::ffi::c_char,
2112        shortcut: ::core::ffi::c_int,
2113        cb: Fl_Callback,
2114        data: *mut ::core::ffi::c_void,
2115        flag: ::core::ffi::c_int,
2116    ) -> ::core::ffi::c_int;
2117}
2118extern "C" {
2119    pub fn Fl_Menu_Item_insert(
2120        self_: *mut Fl_Menu_Item,
2121        index: ::core::ffi::c_int,
2122        name: *const ::core::ffi::c_char,
2123        shortcut: ::core::ffi::c_int,
2124        cb: Fl_Callback,
2125        data: *mut ::core::ffi::c_void,
2126        flag: ::core::ffi::c_int,
2127    ) -> ::core::ffi::c_int;
2128}
2129extern "C" {
2130    pub fn Fl_Menu_Item_set_shortcut(self_: *mut Fl_Menu_Item, shortcut: ::core::ffi::c_int);
2131}
2132extern "C" {
2133    pub fn Fl_Menu_Item_set_flag(self_: *mut Fl_Menu_Item, flag: ::core::ffi::c_int);
2134}
2135extern "C" {
2136    pub fn Fl_mac_set_about(
2137        cb: Fl_Callback,
2138        user_data: *mut ::core::ffi::c_void,
2139        shortcut: ::core::ffi::c_int,
2140    );
2141}
2142extern "C" {
2143    pub fn Fl_Mac_App_Menu_custom_application_menu_items(m: *const Fl_Menu_Item);
2144}
2145extern "C" {
2146    pub fn Fl_Mac_App_Menu_set_about(about: *const ::core::ffi::c_char);
2147}
2148extern "C" {
2149    pub fn Fl_Mac_App_Menu_set_print(print: *const ::core::ffi::c_char);
2150}
2151extern "C" {
2152    pub fn Fl_Mac_App_Menu_set_print_no_titlebar(print_no_titlebar: *const ::core::ffi::c_char);
2153}
2154extern "C" {
2155    pub fn Fl_Mac_App_Menu_set_toggle_print_titlebar(
2156        toggle_print_titlebar: *const ::core::ffi::c_char,
2157    );
2158}
2159extern "C" {
2160    pub fn Fl_Mac_App_Menu_set_services(services: *const ::core::ffi::c_char);
2161}
2162extern "C" {
2163    pub fn Fl_Mac_App_Menu_set_hide(hide: *const ::core::ffi::c_char);
2164}
2165extern "C" {
2166    pub fn Fl_Mac_App_Menu_set_hide_others(hide_others: *const ::core::ffi::c_char);
2167}
2168extern "C" {
2169    pub fn Fl_Mac_App_Menu_set_show(show: *const ::core::ffi::c_char);
2170}
2171extern "C" {
2172    pub fn Fl_Mac_App_Menu_set_quit(quit: *const ::core::ffi::c_char);
2173}