This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender
Julian Eisel 4ee2d9df42 UI: Support easy dropping into/onto rows in new tree-view API
Adds an easy way to add drop support for tree-view rows.

Most of the work is handled by the tree-view UI code. The tree items can
simply override a few functions (`can_drop()`, `on_drop()`,
`drop_tooltip()`) to implement their custom drop behavior.

While dragging over a tree-view item that can be dropped into/onto, the
item can show a custom and dynamic tooltip explaining what's gonna
happen on drop.

This isn't used yet, but will soon be for asset catalogs.

See documentation here:
https://wiki.blender.org/wiki/Source/Interface/Views#Further_Customizations
2021-09-30 16:39:09 +02:00
..
2021-09-29 07:29:15 +10:00
2021-09-28 16:57:49 -03:00
2021-09-29 07:30:34 +10:00
2021-09-24 11:31:23 +10:00
2021-09-30 15:44:08 +02:00
2021-09-23 22:08:02 +10:00
2021-09-29 14:34:01 +02:00
2021-08-02 15:22:54 +10:00
2021-09-17 12:22:00 +02:00