|
|
Fl_Sys_Menu_Bar::window_menu_style(Fl_Sys_Menu_Bar::no_window_menu); This works perfectly and no system menu bar is visible. Is there an option for a menu bar on top of the fltk window ?- Like in windows ?
So that widgets like Fl_Text_Editor are usable in mac just like in windows. On Sunday, August 22, 2021 at 2:25:57 PM UTC+5:30 Manolo wrote:
With, FLTK 1.4 you'll also have to call #include <FL/Fl_Sys_Menu_Bar.H>
Fl_Sys_Menu_Bar::window_menu_style(Fl_Sys_Menu_Bar::no_window_menu); before fl_open_display() runs. If you don't call fl_open_display() directly, it's called by the first show() of an FLTK window.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/3ac436b0-9dec-43ca-9fa9-24e04342e355n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |