user: Show practical ways to work with D in a Blender add-on or script – include code.

assistant: ndowManager.draw_cursor_add) - [draw_cursor_remove() (bpy.types.WindowManager class method)](bpy.types.WindowManager.html#bpy.types.WindowManager.draw_cursor_remove) - [draw_custom_shape() (bpy.types.Gizmo method)](bpy.types.Gizmo.html#bpy.types.Gizmo.draw_custom_shape) - [draw_filter() (bpy.types.UIList method)](bpy.types.UIList.html#bpy.types.UIList.draw_filter) - [draw_handler_add() (bpy.types.Space class method)](bpy.types.Space.html#bpy.types.Space.draw_handler_add)   - [(bpy.types.SpaceClipEditor class method)](bpy.types.SpaceClipEditor.html#bpy.types.SpaceClipEditor.draw_handler_add)   - [(bpy.types.SpaceConsole class method)](bpy.types.SpaceConsole.html#bpy.types.SpaceConsole.draw_handler_add)   - [(bpy.types.SpaceDopeSheetEditor class method)](bpy.types.SpaceDopeSheetEditor.html#bpy.types.SpaceDopeSheetEditor.draw_handler_add)   - [(bpy.types.SpaceFileBrowser class method)](bpy.types.SpaceFileBrowser.html#bpy.types.SpaceFileBrowser.draw_handler_add)   - [(bpy.types.SpaceGraphEditor class method)](bpy.types.SpaceGraphEditor.html#bpy.types.SpaceGraphEditor.draw_handler_add)   - [(bpy.types.SpaceImageEditor class method)](bpy.types.SpaceImageEditor.html#bpy.types.SpaceImageEditor.draw_handler_add)   - [(bpy.types.SpaceInfo class method)](bpy.types.SpaceInfo.html#bpy.types.SpaceInfo.draw_handler_add)   - [(bpy.types.SpaceNLA class method)](bpy.types.SpaceNLA.html#bpy.types.SpaceNLA.draw_handler_add)   - [(bpy.types.SpaceNodeEditor class method)](bpy.types.SpaceNodeEditor.html#bpy.types.SpaceNodeEditor.draw_handler_add)   - [(bpy.types.SpaceOutliner class method)](bpy.types.SpaceOutliner.html#bpy.types.SpaceOutliner.draw_handler_add)   - [(bpy.types.SpacePreferences class method)](bpy.types.SpacePreferences.html#bpy.types.SpacePreferences.draw_handler_add)   - [(bpy.types.SpaceProperties class method)](bpy.types.SpaceProperties.html#bpy.types.SpaceProperties.draw_handler_add)   - [(bpy.types.SpaceSequenceEditor class method)](bpy.types.SpaceSequenceEditor.html#bpy.types.SpaceSequenceEditor.draw_handler_add)   - [(bpy.types.SpaceSpreadsheet class method)](bpy.types.SpaceSpreadsheet.html#bpy.types.SpaceSpreadsheet.draw_handler_add)   - [(bpy.types.SpaceTextEditor class method)](bpy.types.SpaceTextEditor.html#bpy.types.SpaceTextEditor.draw_handler_add)   - [(bpy.types.SpaceView3D class method)](bpy.types.SpaceView3D.html#bpy.types.SpaceView3D.draw_handler_add) - [draw_handler_remove() (bpy.types.Space class method)](bpy.types.Space.html#bpy.types.Space.draw_handler_remove)   - [(bpy.types.SpaceClipEditor class method)](bpy.types.SpaceClipEditor.html#bpy.types.SpaceClipEditor.draw_handler_remove)   - [(bpy.types.SpaceConsole class method)](bpy.types.SpaceConsole.html#bpy.types.SpaceConsole.draw_handler_remove)   - [(bpy.types.SpaceDopeSheetEditor class method)](bpy.types.SpaceDopeSheetEditor.html#bpy.types.SpaceDopeSheetEditor.draw_handler_remove)   - [(bpy.types.SpaceFileBrowser class method)](bpy.types.SpaceFileBrowser.html#bpy.types.SpaceFileBrowser.draw_handler_remove)   - [(bpy.types.SpaceGraphEditor class method)](bpy.types.SpaceGraphEditor.html#bpy.types.SpaceGraphEditor.draw_handler_remove)   - [(bpy.types.SpaceImageEditor class method)](bpy.types.SpaceImageEditor.html#bpy.types.SpaceImageEditor.draw_handler_remove)   - [(bpy.types.SpaceInfo class method)](bpy.types.SpaceInfo.html#bpy.types.SpaceInfo.draw_handler_remove)   - [(bpy.types.SpaceNLA class method)](bpy.types.SpaceNLA.html#bpy.types.SpaceNLA.draw_handler_remove)   - [(bpy.types.SpaceNodeEditor class method)](bpy.types.SpaceNodeEditor.html#bpy.types.SpaceNodeEditor.draw_handler_remove)   - [(bpy.types.SpaceOutliner class method)](bpy.types.SpaceOutliner.html#bpy.types.SpaceOutliner.draw_handler_remove)   - [(bpy.types.SpacePreferences class method)](bpy.types.SpacePreferences.html#bpy.types.SpacePreferences.draw_handler_remove)   - [(bpy.types.SpaceProperties class method)](bpy.types.SpaceProperties.html#bpy.types.SpaceProperties.draw_handler_remove)   - [(bpy.types.SpaceSequenceEditor class method)](bpy.types.SpaceSequenceEditor.html#bpy.types.SpaceSequenceEditor.draw_handler_remove)   - [(bpy.types.SpaceSpreadsheet class method)](bpy.types.SpaceSpreadsheet.html#bpy.types.SpaceSpreadsheet.draw_handler_remove)   - [(bpy.types.SpaceTextEditor class method)](bpy.types.SpaceTextEditor.html#bpy.types.SpaceTextEditor.draw_handler_remove)   - [(bpy.types.SpaceView3D class method)](bpy.types.SpaceView3D.html#bpy.types.SpaceView3D.draw_handler_remove) - [draw_header() (bpy.types.Panel method)](bpy.types.Panel.html#bpy.types.Panel.draw_header) - [draw_header_preset() (bpy.types.Panel method)](bpy.types.Panel.html#bpy.types.Panel.draw_header_preset) - [draw_instanced() (gpu.types.GPUBatch method)](gpu.types.html#gpu.types.GPUBatch.draw_instanced) - [draw_item() (bpy.types.ASSETBROWSER_UL_metadata_tags method)](bpy.types.ASSETBROWSER_UL_metadata_tags.html#bpy.types.ASSETBROWSER_UL_metadata_tags.draw_item)   - [(bpy.types.CLIP_UL_tracking_objects method)](bpy.types.CLIP_UL_tracking_objects.html#bpy.types.CLIP_UL_tracking_objects.draw_item)   - [(bpy.types.CURVES_UL_attributes method)](bpy.types.CURVES_UL_attributes.html#bpy.types.CURVES_UL_attributes.draw_item)   - [(bpy.types.DATA_UL_bone_collections method)](bpy.types.DATA_UL_bone_collections.html#bpy.types.DATA_UL_bone_collections.draw_item)   - [(bpy.types.FILEBROWSER_UL_dir method)](bpy.types.FILEBROWSER_UL_dir.html#bpy.types.FILEBROWSER_UL_dir.draw_item)   - [(bpy.types.GPENCIL_UL_annotation_layer method)](bpy.types.GPENCIL_UL_annotation_layer.html#bpy.types.GPENCIL_UL_annotation_layer.draw_item)   - [(bpy.types.GPENCIL_UL_matslots method)](bpy.types.GPENCIL_UL_matslots.html#bpy.types.GPENCIL_UL_matslots.draw_item)   - [(bpy.types.GREASE_PENCIL_UL_attributes method)](bpy.types.GREASE_PENCIL_UL_attributes.html#bpy.types.GREASE_PENCIL_UL_attributes.draw_item)   - [(bpy.types.GREASE_PENCIL_UL_masks method)](bpy.types.GREASE_PENCIL_UL_masks.html#bpy.types.GREASE_PENCIL_UL_masks.draw_item)   - [(bpy.types.IMAGE_UL_render_slots method)](bpy.types.IMAGE_UL_render_slots.html#bpy.types.IMAGE_UL_render_slots.draw_item)   - [(bpy.types.IMAGE_UL_udim_tiles method)](bpy.types.IMAGE_UL_udim_tiles.html#bpy.types.IMAGE_UL_udim_tiles.draw_item)   - [(bpy.types.MASK_UL_layers method)](bpy.types.MASK_UL_layers.html#bpy.types.MASK_UL_layers.draw_item)   - [(bpy.types.MATERIAL_UL_matslots method)](bpy.types.MATERIAL_UL_matslots.html#bpy.types.MATERIAL_UL_matslots.draw_item)   - [(bpy.types.MESH_UL_attributes method)](bpy.types.MESH_UL_attributes.html#bpy.types.MESH_UL_attributes.draw_item)   - [(bpy.types.MESH_UL_color_attributes method)](bpy.types.MESH_UL_color_attributes.html#bpy.types.MESH_UL_color_attributes.draw_item)   - [(bpy.types.MESH_UL_color_attributes_selector method)](bpy.types.MESH_UL_color_attributes_selector.html#bpy.types.MESH_UL_color_attributes_selector.draw_item)   - [(bpy.types.MESH_UL_uvmaps method)](bpy.types.MESH_UL_uvmaps.html#bpy.types.MESH_UL_uvmaps.draw_item)   - [(bpy.types.MESH_UL_vgroups method)](bpy.types.MESH_UL_vgroups.html#bpy.types.MESH_UL_vgroups.draw_item)   - [(bpy.types.PARTICLE_UL_particle_systems method)](bpy.types.PARTICLE_UL_particle_systems.html#bpy.types.PARTICLE_UL_particle_systems.draw_item)   - [(bpy.types.PHYSICS_UL_dynapaint_surfaces method)](bpy.types.PHYSICS_UL_dynapaint_surfaces.html#bpy.types.PHYSICS_UL_dynapaint_surfaces.draw_item)   - [(bpy.types.POINTCLOUD_UL_attributes method)](bpy.types.POINTCLOUD_UL_attributes.html#bpy.types.POINTCLOUD_UL_attributes.draw_item)   - [(bpy.types.POSE_UL_selection_set method)](bpy.types.POSE_UL_selection_set.html#bpy.types.POSE_UL_selection_set.draw_item)   - [(bpy.types.RENDER_UL_renderviews method)](bpy.types.RENDER_UL_renderviews.html#bpy.types.RENDER_UL_renderviews.draw_item)   - [(bpy.types.SCENE_UL_gltf2_filter_action method)](bpy.types.SCENE_UL_gltf2_filter_action.html#bpy.types.SCENE_UL_gltf2_filter_action.draw_item)   - [(bpy.types.SCENE_UL_keying_set_paths method)](bpy.types.SCENE_UL_keying_set_paths.html#bpy.types.SCENE_UL_keying_set_paths.draw_item)   - [(bpy.types.TEXTURE_UL_texpaintslots method)](bpy.types.TEXTURE_UL_texpaintslots.html#bpy.types.TEXTURE_UL_texpaintslots.draw_item)   - [(bpy.types.TEXTURE_UL_texslots method)](bpy.types.TEXTURE_UL_texslots.html#bpy.types.TEXTURE_UL_texslots.draw_item)   - [(bpy.types.UIList method)](bpy.types.UIList.html#bpy.types.UIList.draw_item)   - [(bpy.types.USERPREF_UL_asset_libraries method)](bpy.types.USERPREF_UL_asset_libraries.html#bpy.types.USERPREF_UL_asset_libraries.draw_item)   - [(bpy.types.USERPREF_UL_extension_repos method)](bpy.types.USERPREF_UL_extension_repos.html#bpy.types.USERPREF_UL_extension_repos.draw_item)   - [(bpy.types.VIEWLAYER_UL_aov method)](bpy.types.VIEWLAYER_UL_aov.html#bpy.types.VIEWLAYER_UL_aov.draw_item)   - [(bpy.types.VIEWLAYER_UL_linesets method)](bpy.types.VIEWLAYER_UL_linesets.html#bpy.types.VIEWLAYER_UL_linesets.draw_item)   - [(bpy.types.VOLUME_UL_grids method)](bpy.types.VOLUME_UL_grids.html#bpy.types.VOLUME_UL_grids.draw_item)   - [(bpy.types.WORKSPACE_UL_addons_items method)](bpy.types.WORKSPACE_UL_addons_items.html#bpy.types.WORKSPACE_UL_addons_items.draw_item) - [draw_label() (bpy.types.Node method)](bpy.types.Node.html#bpy.types.Node.draw_label) - [draw_popup_selector() (bpy.types.IMAGE_AST_brush_paint static method)](bpy.types.IMAGE_AST_brush_paint.html#bpy.types.IMAGE_AST_brush_paint.draw_popup_selector)   - [(bpy.types.VIEW3D_AST_brush_gpencil_paint static method)](bpy.types.VIEW3D_AST_brush_gpencil_paint.html#bpy.types.VIEW3D_AST_brush_gpencil_paint.draw_popup_selector)   - [(bpy.types.VIEW3D_AST_brush_gpencil_sculpt static method)](bpy.types.VIEW3D_AST_brush_gpencil_sculpt.html#bpy.types.VIEW3D_AST_brush_gpencil_sculpt.draw_popup_selector)   - [(bpy.types.VIEW3D_AST_brush_gpencil_vertex static method)](bpy.types.VIEW3D_AST_brush_gpencil_vertex.html#bpy.types.VIEW3D_AST_brush_gpencil_vertex.draw_popup_selector)   - [(bpy.types.VIEW3D_AST_brush_gpencil_weight static method)](bpy.types.VIEW3D_AST_brush_gpencil_weight.html#bpy.types.VIEW3D_AST_brush_gpencil_weight.draw_popup_selector)   - [(bpy.types.VIEW3D_AST_brush_sculpt static method)](bpy.types.VIEW3D_AST_brush_sculpt.html#bpy.types.VIEW3D_AST_brush_sculpt.draw_popup_selector)   - [(bpy.types.VIEW3D_AST_brush_sculpt_curves static method)](bpy.types.VIEW3D_AST_brush_sculpt_curves.html#bpy.types.VIEW3D_AST_brush_sculpt_curves.draw_popup_selector)   - [(bpy.types.VIEW3D_AST_brush_texture_paint static method)](bpy.types.VIEW3D_AST_brush_texture_paint.html#bpy.types.VIEW3D_AST_brush_texture_paint.draw_popup_selector)   - [(bpy.types.VIEW3D_AST_brush_vertex_paint static method)](bpy.types.VIEW3D_AST_brush_vertex_paint.html#bpy.types.VIEW3D_AST_brush_vertex_paint.draw_popup_selector)   - [(bpy.types.VIEW3D_AST_brush_weight_paint static method)](bpy.types.VIEW3D_AST_brush_weight_paint.html#bpy.types.VIEW3D_AST_brush_weight_paint.draw_popup_selector) - [draw_prepare() (bpy.types.GizmoGroup method)](bpy.types.GizmoGroup.html#bpy.types.GizmoGroup.draw_prepare) - [draw_preset() (bpy.types.Menu method)](bpy.types.Menu.html#bpy.types.Menu.draw_preset) - [draw_preset_arrow() (bpy.types.Gizmo method)](bpy.types.Gizmo.html#bpy.types.Gizmo.draw_preset_arrow) - [draw_preset_box() (bpy.types.Gizmo method)](bpy.types.Gizmo.html#bpy.types.Gizmo.draw_preset_box) - [draw_preset_circle() (bpy.types.Gizmo method)](bpy.types.Gizmo.html#bpy.types.Gizmo.draw_preset_circle) - [draw_range() (gpu.types.GPUBatch method)](gpu.types.html#gpu.types.GPUBatch.draw_range) - [draw_select() (bpy.types.Gizmo method)](bpy.types.Gizmo.html#bpy.types.Gizmo.draw_select) - [draw_style (bpy.types.GeometryNodeGizmoLinear attribute)](bpy.types.GeometryNodeGizmoLinear.html#bpy.types.GeometryNodeGizmoLinear.draw_style) - [draw_texture_2d() (in module gpu_extras.presets)](gpu_extras.presets.html#gpu_extras.presets.draw_texture_2d) - [draw_view3d() (gpu.types.GPUOffScreen method)](gpu.types.html#gpu.types.GPUOffScreen.draw_view3d) - [drawing (bpy.types.GreasePencilFrame attribute)](bpy.types.GreasePencilFrame.html#bpy.types.GreasePencilFrame.drawing) - [drip_acceleration (bpy.types.DynamicPaintSurface attribute)](bpy.types.DynamicPaintSurface.html#bpy.types.DynamicPaintSurface.drip_acceleration) - [drip_velocity (bpy.types.DynamicPaintSurface attribute)](bpy.types.DynamicPaintSurface.html#bpy.types.DynamicPaintSurface.drip_velocity) - [Driver (class in bpy.types)](bpy.types.Driver.html#bpy.types.Driver) - [Driver.is_simple_expression (in module bpy.types)](bpy.types.Driver.html#bpy.types.Driver.is_simple_expression) - [Driver.variables (in module bpy.types)](bpy.types.Driver.html#bpy.types.Driver.variables) - [driver_add() (bpy.types.bpy_struct method)](bpy.types.bpy_struct.html#bpy.types.bpy_struct.driver_add) - [driver_button_add() (in module bpy.ops.anim)](bpy.ops.anim.html#bpy.ops.anim.driver_button_add) - [driver_button_edit() (in module bpy.ops.anim)](bpy.ops.anim.html#bpy.ops.anim.driver_button_edit) - [driver_button_remove() (in module bpy.ops.anim)](bpy.ops.anim.html#bpy.ops.anim.driver_button_remove) - [driver_delete_invalid() (in module bpy.ops.graph)](bpy.ops.graph.html#bpy.ops.graph.driver_delete_invalid) - [driver_namespace (in module bpy.app)](bpy.app.html#bpy.app.driver_namespace) - [driver_remove() (bpy.types.bpy_struct method)](bpy.types.bpy_struct.html#bpy.types.bpy_struct.driver_remove) - [driver_variables_copy() (in module bpy.ops.graph)](bpy.ops.graph.html#bpy.ops.graph.driver_variables_copy) - [driver_variables_paste() (in module bpy.ops.graph)](bpy.ops.graph.html#bpy.ops.graph.driver_variables_paste) - [drivers_add_selected() (in module bpy.ops.outliner)](bpy.ops.outliner.html#bpy.ops.outliner.drivers_add_selected) - [drivers_delete_selected() (in module bpy.ops.outliner)](bpy.ops.outliner.html#bpy.ops.outliner.drivers_delete_selected) - [drivers_editor_show() (in module bpy.ops.screen)](bpy.ops.screen.html#bpy.ops.screen.drivers_editor_show) - [DriverTarget (class in bpy.types)](bpy.types.DriverTarget.html#bpy.types.DriverTarget) - [DriverTarget.is_fallback_used (in module bpy.types)](bpy.types.DriverTarget.html#bpy.types.DriverTarget.is_fallback_used) - [DriverVariable (class in bpy.types)](bpy.types.DriverVariable.html#bpy.types.DriverVariable) - [DriverVariable.is_name_valid (in module bpy.types)](bpy.types.DriverVariable.html#bpy.types.DriverVariable.is_name_valid) - [DriverVariable.targets (in module bpy.types)](bpy.types.DriverVariable.html#bpy.types.DriverVariable.targets) - [drop_blend_file() (in module bpy.ops.wm)](bpy.ops.wm.html#bpy.ops.wm.drop_blend_file) - [drop_color() (in module bpy.ops.ui)](bpy.ops.ui.html#bpy.ops.ui.drop_color) - [drop_geometry_nodes() (in module bpy.ops.object)](bpy.ops.object.html#bpy.ops.object.drop_geometry_nodes) - [drop_import_file() (in module bpy.ops.wm)](bpy.ops.wm.html#bpy.ops.wm.drop_import_file) - [drop_material() (in module bpy.ops.ui)](bpy.ops.ui.html#bpy.ops.ui.drop_material) - [drop_name() (in module bpy.ops.ui)](bpy.ops.ui.html#bpy.ops.ui.drop_name) - [drop_named_material() (in module bpy.ops.object)](bpy.ops.object.html#bpy.ops.object.drop_named_material) - [drop_scene_asset() (in module bpy.ops.scene)](bpy.ops.scene.html#bpy.ops.scene.drop_scene_asset) - [drop_world() (in module bpy.ops.view3d)](bpy.ops.view3d.html#bpy.ops.view3d.drop_world) - [dry_speed (bpy.types.DynamicPaintSurface attribute)](bpy.types.DynamicPaintSurface.html#bpy.types.DynamicPaintSurface.dry_speed) - [dupli_extrude_cursor() (in module bpy.ops.mesh)](bpy.ops.mesh.html#bpy.ops.mesh.dupli_extrude_cursor) - [duplicate() (bpy.types.ActionSlot method)](bpy.types.ActionSlot.html#bpy.types.ActionSlot.duplicate)   - [(in module bmesh.ops)](bmesh.ops.html#bmesh.ops.duplicate)   - [(in module bpy.ops.action)](bpy.ops.action.html#bpy.ops.action.duplicate)   - [(in module bpy.ops.armature)](bpy.ops.armature.html#bpy.ops.armature.duplicate)   - [(in module bpy.ops.curve)](bpy.ops.curve.html#bpy.ops.curve.duplicate)   - [(in module bpy.ops.curves)](bpy.ops.curves.html#bpy.ops.curves.duplicate)   - [(in module bpy.ops.graph)](bpy.ops.graph.html#bpy.ops.graph.duplicate)   - [(in module bpy.ops.grease_pencil)](bpy.ops.grease_pencil.html#bpy.ops.grease_pencil.duplicate)   - [(in module bpy.ops.marker)](bpy.ops.marker.html#bpy.ops.marker.duplicate)   - [(in module bpy.ops.mask)](bpy.ops.mask.html#bpy.ops.mask.duplicate)   - [(in module bpy.ops.mesh)](bpy.ops.mesh.html#bpy.ops.mesh.duplicate)   - [(in module bpy.ops.nla)](bpy.ops.nla.html#bpy.ops.nla.duplicate)   - [(in module bpy.ops.node)](bpy.ops.node.html#bpy.ops.node.duplicate)   - [(in module bpy.ops.object)](bpy.ops.object.html#bpy.ops.object.duplicate)   - [(in module bpy.ops.pointcloud)](bpy.ops.pointcloud.html#bpy.ops.pointcloud.duplicate)   - [(in module bpy.ops.sequencer)](bpy.ops.sequencer.html#bpy.ops.sequencer.duplicate)   - [(in module bpy.ops.workspace)](bpy.ops.workspace.html#bpy.ops.workspace.duplicate) - [duplicate_compositing_node_group() (in module bpy.ops.node)](bpy.ops.node.html#bpy.ops.node.duplicate_compositing_node_group) - [duplicate_line() (in module bpy.ops.text)](bpy.ops.text.html#bpy.ops.text.duplicate_line) - [duplicate_linked_move() (in module bpy.ops.nla)](bpy.ops.nla.html#bpy.ops.nla.duplicate_linked_move) - [duplicate_metaelems() (in module bpy.ops.mball)](bpy.ops.mball.html#bpy.ops.mball.duplicate_metaelems) - [duplicate_move() (in module bpy.ops.action)](bpy.ops.action.html#bpy.ops.action.duplicate_move)   - [(in module bpy.ops.armature)](bpy.ops.armature.html#bpy.ops.armature.duplicate_move)   - [(in module bpy.ops.curve)](bpy.ops.curve.html#bpy.ops.curve.duplicate_move)   - [(in module bpy.ops.curves)](bpy.ops.curves.html#bpy.ops.curves.duplicate_move)   - [(in module bpy.ops.graph)](bpy.ops.graph.html#bpy.ops.graph.duplicate_move)   - [(in module bpy.ops.grease_pencil)](bpy.ops.grease_pencil.html#bpy.ops.grease_pencil.duplicate_move)   - [(in module bpy