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) AshfordN Nov 28, 2021  
 

Your example above relies on the definition of a new class: MyTreeItem, which inherits from Fl_Tree_Item. This allows you to extend Fl_Tree_Item to define the custom event handler. However, Rust's OO model does not support inheritance, so there isn't really a way for me to effectively extend the Fl_Tree_Item. The binding does provide workarounds for other classes such as Fl_Widget and Fl_Group, but there isn't any specifically for Fl_Tree_Item -- named TreeItem in the binding.


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