summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-12-23 18:51:43 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-12-23 20:08:18 +0100
commit1d73c0195c8bf256f23b58d0288d1bb9eb87448d (patch)
treeb0d9179cb990fb1cf6d9e325dab65d3a17f5db6a /misc
parent016c36c917de79383fb2d81c267faa0829147bdf (diff)
Improve docs and add two new Fl_Menu_Item methods (#875)
This addresses some issues pointed out by GitHub Issue #875. Documentation lacked details about Fl_Multi_Label assignment and correct memory handling. The new methods - Fl_Menu_Item::image_label(const Fl_Image *) and - Fl_Menu_Item::multi_label(const Fl_Multi_Label *) provide a cleaner interface to assign images and Fl_Multi_Label's to menu items. examples/howto-menu-with-images.cxx: carify some issues, fix leak, and use new Fl_Menu_Item::multi_label(const Fl_Multi_Label *).
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions