FLTK logo

Re: [fltk/fltk] possible incoherence in Fl_Tree_Item drawing (Issue #298)

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.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] possible incoherence in Fl_Tree_Item drawing (Issue #298) Mohammed Alyousef Nov 29, 2021  
 

@MoAlyousef this is quite the maneuver. But with the additional reference counting, record keeping, and maintenance complexity, is it still a better approach than the one used here? Even with the introduction of additional trait macros (such as impl_widget_ext_via, impl_widget_base_via, etc), I can't help but think that embedding a widget is a cleaner and more scalable approach.

Your example has the advantage of being able to properly handle events via the added widget instead of via the tree's callback method.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

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'.