Blender V5.3
bpy_rna_operator.cc File Reference
#include <Python.h>
#include "BLI_string.hh"
#include "BKE_context.hh"
#include "BPY_extern.hh"
#include "bpy_capi_utils.hh"
#include "bpy_rna_operator.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Operator <tt>poll_message_set</tt> Method

PyMethodDef blender::BPY_rna_operator_poll_message_set_method_def
static char * blender::pyop_poll_message_get_fn (bContext *, void *user_data)
static void blender::pyop_poll_message_free_fn (bContext *, void *user_data)
 blender::PyDoc_STRVAR (BPY_rna_operator_poll_message_set_doc, ".. classmethod:: poll_message_set(message, *args)\n" "\n" " Set the message to show in the tool-tip when poll fails.\n" "\n" " When message is callable, " "additional user defined positional arguments are passed to the message function.\n" "\n" " :param message: The message or a function that returns the message.\n" " :type message: str | Callable[..., str | None]\n" " :param args: A sequence of arguments to pass to ``message``, if it's a callable, " "otherwise argument is not available.\n" " :type args: Any\n")
static PyObject * blender::BPY_rna_operator_poll_message_set (PyObject *, PyObject *args)

Detailed Description

This file extends bpy.types.Operator with C/Python API methods and attributes.

Definition in file bpy_rna_operator.cc.