[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Removing title bar and close button - Nano-X and FLTK
From: Gobi ####@####.#### Date: 20 Jan 2011 05:59:43 -0000 Message-Id: <AANLkTikvOT1LMKRSGG5tWtdtccSGoZM7qN4=_5W2Bms-@mail.gmail.com> I am using the latest nano-X from git and fltk 1.1.10 I need to hide the title bar for my embedded application. My application can run both on PC and arm target In PC fltk is used with X where the fltk call *FL_window::border(0)* works but in arm target with nano-X the border shows up with the application name as the title bar text even if no window title is given. Is there any nano-X API which can be used to hide the title bar of a window? Can anyone help in resolving this issue Thank you very much With Regards Gobi.C | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Removing title bar and close button - Nano-X and FLTK
From: "Johannes Schock" ####@####.#### Date: 20 Jan 2011 18:40:09 -0000 Message-Id: <0LlItW-1QGhrq1PoE-00bEf2@mrelayeu.kundenserver.de> > I am using the latest nano-X from git and fltk 1.1.10 > > I need to hide the title bar for my embedded application. > My application can run both on PC and arm target > In PC fltk is used with X where the fltk call *FL_window::border(0)* works > but in arm target with nano-X the border shows up with the application > name > as the title bar text even if no window title is given. > Is there any nano-X API which can be used to hide the title bar of a > window? > Can anyone help in resolving this issue > Thank you very much > > With Regards > Gobi.C I use Fl_Window::clear_border() which works fine. Remember to call it before a call to Fl_Window::show(). Regards, Johannes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Removing title bar and close button - Nano-X and FLTK
From: Gobi ####@####.#### Date: 21 Jan 2011 04:30:13 -0000 Message-Id: <AANLkTimtqc0OJ2BYyYOP+eeM__Q-c1V3tOLcp063kwbP@mail.gmail.com> if you don't need a window manager.... don't start it and you'll have not title bars This option worked for me. I use LINK_APP_INTO_SERVER = Y so setting NANOWM = N worked Thank you Johannes and Luca With Regards Gobi.C 2011/1/21 Johannes Schock ####@####.#### > > I am using the latest nano-X from git and fltk 1.1.10 > > > > I need to hide the title bar for my embedded application. > > My application can run both on PC and arm target > > In PC fltk is used with X where the fltk call *FL_window::border(0)* > works > > but in arm target with nano-X the border shows up with the application > > name > > as the title bar text even if no window title is given. > > Is there any nano-X API which can be used to hide the title bar of a > > window? > > Can anyone help in resolving this issue > > Thank you very much > > > > With Regards > > Gobi.C > > I use Fl_Window::clear_border() which works fine. Remember to call it > before > a call to Fl_Window::show(). > > Regards, Johannes > > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |