Package bpy :: Module types :: Class Panel
[hide private]
[frames] | no frames]

Class Panel


The Panel Object

Panel containing buttons.

(no references to this struct found)

Instance Methods [hide private]
boolean
poll(context)
Test if the panel is visible or not.
 
draw(context)
Draw buttons into the panel UI layout.
 
draw_header(context)
Draw buttons into the panel header UI layout.
Instance Variables [hide private]
string bl_context
bl_context (maximum length of 0)
boolean bl_default_closed
bl_default_closed
string bl_idname
bl_idname (maximum length of 0)
string bl_label
bl_label (maximum length of 0)
enum bl_region_type
bl_region_type in...
boolean bl_show_header
bl_show_header
enum bl_space_type
bl_space_type in...
UILayout (readonly) layout
layout
string text
text (maximum length of 64)
Method Details [hide private]

poll(context)

 

Test if the panel is visible or not.

Parameters:
Returns: boolean

draw(context)

 

Draw buttons into the panel UI layout.

Parameters:

draw_header(context)

 

Draw buttons into the panel header UI layout.

Parameters:

Instance Variable Details [hide private]

bl_region_type

bl_region_type in...
  • WINDOW
  • HEADER
  • CHANNELS
  • TOOLS
  • TEMPORARY
  • UI
Type:
enum

bl_space_type

bl_space_type in...
  • EMPTY
  • VIEW_3D
  • GRAPH_EDITOR
  • OUTLINER
  • PROPERTIES
  • FILE_BROWSER
  • IMAGE_EDITOR
  • INFO
  • SEQUENCE_EDITOR
  • TEXT_EDITOR
  • AUDIO_WINDOW
  • DOPESHEET_EDITOR
  • NLA_EDITOR
  • SCRIPTS_WINDOW
  • TIMELINE
  • NODE_EDITOR
  • LOGIC_EDITOR
  • CONSOLE
  • USER_PREFERENCES
Type:
enum