Table of Contents

Module: Window ./Window.py

The Blender Window module

This module currently only supports redrawing commands of windows. Later on, it will allow screen manipulations and access to Window properties

Functions   
Redraw
RedrawAll
drawProgressBar
  Redraw 
Redraw ( t='View' )

Redraws all windows of the type t which must be one of:

  • "View" - The 3D view

  • "Ipo" - The Ipo Window

  • "Oops" - The OOPS (scenegraph) window

  • "Button" - The Button Window

  • "File" - The File Window

  • "Image" - The Image Window (UV editor)

  • "Text" - The Text editor

  • "Action" - The Action Window

Exceptions   
TypeError, "type must be one of %s" % Types.keys()
  RedrawAll 
RedrawAll ()

Redraws the whole screen

  drawProgressBar 
drawProgressBar ( val,  text )

Draws a progress bar behind the Blender version information. val is a float value <= 1.0, text contains info about what is currently being done. This function must be called with val = 0.0 at start and end of the executed (and probably time consuming) action. The user may cancel the progress with the Esc key, in this case, 0 is returned, 1 else.


Table of Contents

This document was automatically generated on Mon Feb 25 13:52:14 2002 by HappyDoc version r1_5