From: Takaaki T. <tt...@kt...> - 2002-09-17 17:41:44
|
At Tue, 17 Sep 2002 18:08:30 +0100 (BST), > Is there a way to have the MenuButton widget created but not actually > mapped on the window? And then just use menubutton.popup when I want to > show it? How about Widget#show and Widget#hide? > Once only slightly connected question - is there a way to make the arrows > for sub-menus a little more subtle? Maybe FLTK::SYMBOL_LABEL is useful for such purpose. If you set it for the label type using Widget#labeltype, you can write symbols including an arrow by writing "@->", "@>" and so on. For example: w = FLTK::Window.new(200,200){ l = FLTK::Box.new(0,0,100,100) l.labeltype(FLTK::SYMBOL_LABEL) l.label("@> arrow") } w.show FLTK::run -- Takaaki Tateishi <tt...@kt...> |