Blender V4.3
UI_abstract_view.hh File Reference
#include <array>
#include <memory>
#include <optional>
#include <string>
#include "DNA_defs.h"
#include "DNA_vec_types.h"
#include "BLI_span.hh"
#include "BLI_string_ref.hh"
#include "UI_interface.hh"
#include "WM_types.hh"

Go to the source code of this file.

Classes

class  blender::ui::AbstractView
 
class  blender::ui::AbstractViewItem
 
class  blender::ui::AbstractViewItemDragController
 

Namespaces

namespace  blender
 
namespace  blender::ui
 

Enumerations

enum class  blender::ui::ViewScrollDirection { blender::ui::UP , blender::ui::DOWN }
 

Detailed Description

Base class for all views (UIs to display data sets) and view items, supporting common features. https://developer.blender.org/docs/features/interface/views/

One of the most important responsibilities of the base class is managing reconstruction, enabling state that is persistent over reconstructions/redraws. Other features:

  • Renaming
  • Custom context menus
  • Notifier listening
  • Drag controllers (dragging view items)
  • Drop targets (dropping onto/into view items)

Definition in file UI_abstract_view.hh.