FLTK logo

Re: [fltk.general] trouble with tree: vanishing cursor and focus problems

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: trouble with tree: vanishing cursor and focus problems Greg Ercolano May 23, 2021  
 


On 5/23/21 7:52 AM, imm wrote:
On Sun, 23 May 2021, 15:47 lifeattickville wrote:
My thanks, again! I ended up with Ian's approach, partly because it felt simpler. I expect if I used the widget() approach with a group of the checkbox and fl_input, I could get that working too.

OK.
I'd caution that, whilst my workarounds frequently work, that doesn't mean they are necessarily the correct fix...


    I would not recommend adding FLTK widgets to Fl_Tree without assigning them with widget().

    I wrote Fl_Tree, and I'd say any behavior you get without doing that would be "undefined",
    as the tree doesn't know which item to associate the widget with, and therefore where or when
    to draw it.

--
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/193daff5-41f3-9e30-0e93-89b3c389a5a2%40seriss.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'.