Blender Git Commit Log

Git Commits -> Revision 4f1e387

Revision 4f1e387 by Bastien Montagne (master)
February 10, 2015, 23:07 (GMT)
UI: add optional tip callback to uiBut, and use it for per-item tooltips in UIList.

When defined, uiBut->tip_func is called when button's tip is generated. This allows
for advanced, dynamic generation of tooltips.

For now, only used by UIList, which can now optionaly use a given string property
of each item for its tooltip.

Thanks to Campbell for the reviews!

Commit Details:

Full Hash: 4f1e3875884506c017e03469658e9e7dadeeb500
Parent Commit: d18993d
Lines Changed: +62, -10

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2022