|
Blender V5.3
|
#include <Python.h>#include "MEM_guardedalloc.h"#include "BKE_icons.hh"#include "../generic/py_capi_utils.hh"#include "../generic/python_compat.hh"#include "bpy_app_icons.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Functions | |
| blender::PyDoc_STRVAR (bpy_app_icons_new_triangles_doc, ".. function:: new_triangles(range, coords, colors)\n" "\n" " Create a new icon from triangle geometry.\n" "\n" " :param range: Pair of ints.\n" " :type range: tuple[int, int]\n" " :param coords: Sequence of bytes (6 floats for one triangle) for (X, Y) coordinates.\n" " :type coords: bytes\n" " :param colors: Sequence of bytes (12 for one triangle) for RGBA.\n" " :type colors: bytes\n" " :return: Unique icon value (pass to interface ``icon_value`` argument).\n" " :rtype: int\n") | |
| static PyObject * | blender::bpy_app_icons_new_triangles (PyObject *, PyObject *args, PyObject *kw) |
| blender::PyDoc_STRVAR (bpy_app_icons_new_triangles_from_file_doc, ".. function:: new_triangles_from_file(filepath)\n" "\n" " Create a new icon from triangle geometry.\n" "\n" " :param filepath: File path.\n" " :type filepath: str | bytes\n" " :return: Unique icon value (pass to interface ``icon_value`` argument).\n" " :rtype: int\n") | |
| static PyObject * | blender::bpy_app_icons_new_triangles_from_file (PyObject *, PyObject *args, PyObject *kw) |
| blender::PyDoc_STRVAR (bpy_app_icons_release_doc, ".. function:: release(icon_id)\n" "\n" " Release the icon.\n" "\n" " :param icon_id: The icon id to release.\n" " :type icon_id: int\n") | |
| static PyObject * | blender::bpy_app_icons_release (PyObject *, PyObject *args, PyObject *kw) |
| PyObject * | blender::BPY_app_icons_module () |
Variables | |
| static PyMethodDef | blender::M_AppIcons_methods [] |
| static PyModuleDef | blender::M_AppIcons_module_def |
Runtime defined icons.
Definition in file bpy_app_icons.cc.