Blender  V3.3
interface_template_search_operator.c File Reference
#include <string.h>
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DNA_texture_types.h"
#include "BLI_alloca.h"
#include "BLI_ghash.h"
#include "BLI_string.h"
#include "BLI_utildefines.h"
#include "BLT_translation.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "WM_api.h"
#include "WM_types.h"
#include "UI_interface.h"
#include "interface_intern.h"

Go to the source code of this file.

Functions

Operator Search Template Implementation
static void operator_search_exec_fn (bContext *C, void *UNUSED(arg1), void *arg2)
 
static void operator_search_update_fn (const bContext *C, void *UNUSED(arg), const char *str, uiSearchItems *items, const bool UNUSED(is_first))
 
Operator Search Template API
void UI_but_func_operator_search (uiBut *but)
 
void uiTemplateOperatorSearch (uiLayout *layout)
 

Detailed Description

Search available operators by scanning all and checking their poll function. accessed via the WM_OT_search_operator operator.

Definition in file interface_template_search_operator.c.

Function Documentation

◆ operator_search_exec_fn()

static void operator_search_exec_fn ( bContext C,
void UNUSEDarg1,
void arg2 
)
static

◆ operator_search_update_fn()

static void operator_search_update_fn ( const bContext C,
void UNUSEDarg,
const char *  str,
uiSearchItems items,
const bool   UNUSEDis_first 
)
static

◆ UI_but_func_operator_search()

void UI_but_func_operator_search ( uiBut but)

◆ uiTemplateOperatorSearch()

void uiTemplateOperatorSearch ( uiLayout layout)