FLTK logo

Re: How to disable dotted square over Fl_Button

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: How to disable dotted square over Fl_Button Dmitry Mar 25, 2008  
 
> > I need to disable dotted square when pressing Fl_Button, how
> > can I do it?
>
>
>     my_button->clear_visible_focus();

 I did it in callback of my_button. But widget draws it anyway. The reason why i want to get rid of the square is that when using rounded boxes, FLTK draws the square over background and I have to redraw background always after pressing button... So I'm searching for way to disable drawing focus square over button.
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'.