FLTK logo

[fltk.general] Re: Use native parent window with fltk widgets to retain Mac menubar of parent application

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Use native parent window with fltk widgets to retain Mac menubar of parent application Manolo Sep 23, 2021  
 

Le jeudi 23 septembre 2021 à 09:23:37 UTC+2, anmol....@gmail.com a écrit :
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.

That's the purpose of FLTK widget Fl_Menu_Bar. Put one such object in each FLTK window containing an Fl_Text_Editor.

--
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/b9f93413-0989-49ba-90d6-ac4f1464288cn%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.