[Bf-committers] Integration of scripts in the UI

Willian Padovani Germano bf-committers@blender.org
Wed, 3 Sep 2003 12:44:33 -0300


On a third thought, after Matt's suggestion, it may really be a good idea to
have a Scripts gui 'tab' in the buttons win (in that header with Materials,
Textures, etc) besides a SpaceScript.

I was looking the general case, but most scripts with guis can probably be
made to fit the buttons win space. For the bigger ones, or when a user
prefers, there'll still be the SpaceScript.

If we have both a SpaceScript and a Script tab in the buttons win (and later
wrap popups, as planned), we cover these 4 cases:

- immediate: no gui, no popup
- popup(s)
- big gui
- button win gui

Probably no need for differentiation: the same running scripts with gui can
be available to both spaces, accessible from the dropdown lists in each of

We just have yet to decide the policy of where to open the gui.  With a
buttons Script gui tab we add the possibility of looking for a buttons
window in the current arrangement and, if found, opening the gui there.  If
the user needs more space, s/he can move to the ScriptSpace in another win
and select the opened script from the list in the header.

What do you say, Ton?

Willian, wgermano@ig.com.br