Blender V4.3
interface_template_asset_shelf_popover.cc File Reference
#include "BKE_context.hh"
#include "BKE_report.hh"
#include "BKE_screen.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_prototypes.hh"
#include "UI_interface.hh"
#include "UI_interface_c.hh"
#include "UI_resources.hh"
#include "interface_intern.hh"
#include "ED_asset_shelf.hh"
#include "WM_api.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::ui
 

Functions

void blender::ui::template_asset_shelf_popover (uiLayout &layout, const bContext &C, StringRefNull asset_shelf_id, StringRefNull name, int icon)
 
bool blender::ui::asset_shelf_popover_invoke (bContext &C, blender::StringRef asset_shelf_idname, ReportList &reports)
 
std::optional< StringRefNullUI_asset_shelf_idname_from_button_context (const uiBut *but)
 

Function Documentation

◆ UI_asset_shelf_idname_from_button_context()

std::optional< StringRefNull > UI_asset_shelf_idname_from_button_context ( const uiBut * but)