Files
test/source/blender/editors/include
Julian Eisel 17c928e975 UI: Add context menu support for tree-view items
Tree-view items can now easily define their own context menu. This works
by overriding the `ui::AbstractTreeViewItem::build_context_menu()`
function. See the documentation:
https://wiki.blender.org/wiki/Source/Interface/Views#Context_Menus

Consistently with the Outliner and File Browser, the right-clicked item
also gets activated. This makes sure the correct context is set for the
operators and makes it clear to the user which item is operated on.

An operator to rename the active item is also added, which is something
you'd typically want to put in the context menu as well.
2021-10-08 20:08:22 +02:00
..
2021-07-26 12:32:42 +10:00
2021-01-04 17:38:11 +11:00
2021-06-15 19:01:53 -07:00
2021-07-21 08:18:34 +02:00
2021-09-29 15:07:13 +02:00
2021-03-18 09:36:44 +11:00
2021-09-29 14:34:01 +02:00