user: Provide the full official documentation entry for Bpy.Types.Panel, preserving all code examples.

assistant: ace Type Items , default 'EMPTY' bl_translation_context ¶ Specific translation context, only define when the label needs to be disambiguated from others using the exact same label Type : string, default “*”, (never None) bl_ui_units_x ¶ When set, defines popup panel width Type : int in [0, inf], default 0 custom_data ¶ Panel data Type : Constraint , (readonly) is_popover ¶ Type : boolean, default False, (readonly) layout ¶ Defines the structure of the panel in the UI Type : UILayout , (readonly) text ¶ XXX todo Type : string, default “”, (never None) use_pin ¶ Show the panel on all tabs Type : boolean, default False classmethod poll ( context ) ¶ If this method returns a non-null output, then the panel can be drawn Return type : boolean draw ( context ) ¶ Draw UI elements into the panel UI layout draw_header ( context ) ¶ Draw UI elements into the panel’s header UI layout draw_header_preset ( context ) ¶ Draw UI elements for presets in the panel’s header classmethod append ( draw_func ) ¶ Append a draw function to this menu, takes the same arguments as the menus draw function classmethod is_extended ( ) ¶ classmethod prepend ( draw_func ) ¶ Prepend a draw function to this menu, takes the same arguments as the menus draw function classmethod remove ( draw_func ) ¶ Remove a draw function that has been added to this menu. classmethod bl_rna_get_subclass ( id , default = None , / ) ¶ Parameters : id ( str ) – The RNA type identifier. Returns : The RNA type or default when not found. Return type : bpy.types.Struct subclass classmethod bl_rna_get_subclass_py ( id , default = None , / ) ¶ Parameters : id ( str ) – The RNA type identifier. Returns : The class or default when not found. Return type : type Inherited Properties ¶ bpy_struct.id_data Inherited Functions ¶ bpy_struct.as_pointer bpy_struct.driver_add bpy_struct.driver_remove bpy_struct.get bpy_struct.id_properties_clear bpy_struct.id_properties_ensure bpy_struct.id_properties_ui bpy_struct.is_property_hidden bpy_struct.is_property_overridable_library bpy_struct.is_property_readonly bpy_struct.is_property_set bpy_struct.items bpy_struct.keyframe_delete bpy_struct.keyframe_insert bpy_struct.keys bpy_struct.path_from_id bpy_struct.path_from_module bpy_struct.path_resolve bpy_struct.pop bpy_struct.property_overridable_library_set bpy_struct.property_unset bpy_struct.rna_ancestors bpy_struct.type_recast bpy_struct.values Next Particle(bpy_struct) Previous PaletteColors(bpy_struct) Copyright &#169; Blender Authors Made with Furo Report issue on this page On this page Panel(bpy_struct) Basic Panel Example Simple Object Panel Mix-in Classes Panel Panel.bl_category Panel.bl_context Panel.bl_description Panel.bl_idname Panel.bl_label Panel.bl_options Panel.bl_order Panel.bl_owner_id Panel.bl_parent_id Panel.bl_region_type Panel.bl_space_type Panel.bl_translation_context Panel.bl_ui_units_x Panel.custom_data Panel.is_popover Panel.layout Panel.text Panel.use_pin Panel.poll() Panel.draw() Panel.draw_header() Panel.draw_header_preset() Panel.append() Panel.is_extended() Panel.prepend() Panel.remove() Panel.bl_rna_get_subclass() Panel.bl_rna_get_subclass_py() Inherited Properties Inherited Functions