Open eugenesvk opened 4 months ago
Currently not all window flags are exposed in the WindowFlags struct, so I thought I'd manually remove the title with
WindowFlags
let mut myflags = wf::MAIN_WINDOW; myflags &= unsafe{nwg::WindowFlags::from_bits_unchecked(!WS_CAPTION)};
but the title is created anyway, I guess since windowbuilder always accepts some string as its title, and can't accept None?
title
None
(if I use set_style after window builder creates a window, it seems to work and the title is removed)
set_style
Currently not all window flags are exposed in the
WindowFlags
struct, so I thought I'd manually remove the title withbut the title is created anyway, I guess since windowbuilder always accepts some string as its
title
, and can't acceptNone
?(if I use
set_style
after window builder creates a window, it seems to work and the title is removed)