GWINDOW - v14


gwindow                    <i>{,POS=x,y}{,WIDTH=<i1>,HEIGHT=<i2>}{,TITLE='<text>'}
{,CASCADE | TILEHORIZONTAL | TILEVERTICAL}
{,MAXIMIZE | MINIMIZE| RESTORE| ICONIZE}
{,DELETE}
{,PROGID='<text>'}
{,S=<i3>}
{,FIXED|FLOAT}

Function

Create, open, position, resize, arrange or close an independent graphic-window. This command works with true separate graphic child windows and it should be noted is different to the WINDOW command which only subdivides the Eagle graphic Eagle.

Parameters

<i>

A number to identify the graphic or child window.
 

POS=x,y

Define the position (X and Y coordinates) of the child  window.
 

WIDTH=<i1>

Resize the width of the defined graphic window.  Unit in pixels.
 

HEIGHT=<i2>

Resize the height of the defined graphic window.  Unit in pixels.

 

 

TITLE='<text>'

Define the title text for the defined graphic window.  The effect of this option is dependent on the mode in which Eagle is working,  MDI (Multiple document interface) mode will display the title in the window title bar, whereas in TDI (Tabbed document interface) mode the title will be displayed in the gwindow tab.

 

 

CASCADE
TILEHORIZONTAL
TILEVERTICAL

Arrange the current graphic windows by cascading, tiling horizontally or tiling vertically.  The effect of this option is dependent that Eagle is working in MDI (Multiple document interface) mode.
 

MAXIMIZE
MINIMIZE RESTORE
ICONIZE

Arrange the current graphic windows by cascading, tiling horizontally, tiling vertically or iconize.  The effect or otherwise of this option is dependent on the mode that Eagle is working.   If you are running Eagle in TDI mode (tabbed) for example.
 

DELETE  

Delete or close the defined graphic window.
 

PROGID='<text>'  

 

Set a relationship between a GWIND and an ActiveX prog_id from Windows.  In this way existing ActiveX components can be integrated components directly inside an Eagle application.

S=<i3>  

Set a relationship between a STACK (model data in memory)and a graphic window.  
 

FIXED

Parameter  to  import  the  window  inside  the Main Frame.
 

FLOAT

 

Parameter to move the window outside the Main Frame. Note that "tiling" does not work on these types of windows when floating.

Examples

BGWIND 1,POS=x,y,WIDHT=width,HEIGHT=height,TITLE=’title’ #create

GWIND 1,POS=x,y #change position

GWIND 1,WIDHT=width,HEIGHT=height #resize

GWIND 1,TITLE=’title’ #set the title

GWIND 1,CASCADE|TILEHORIZONTAL|TILEVERTICAL #arrange

GWIND 1,MAXIMIZE|MINIMIZE|RESTORE|ICONIZE #arrange

GWIND 1,DELETE #delete/close

gwind 1,pos=200,300,w=200,h=100,t='pippo', progid='ACTIVEXTEST.ActiveXTestCtrl.1'

GWIND 1 #activate

GWIND 1,S=2 #stack association
GWIND 1,FLOAT
GWIND 1, FIXED

Notes

Please refer to the comprehensive UI documentation using the See Also link below for further details of operation of the GWINDOW and multi document modes.

 

There are a range of configuration options which can be used to control the behaviour, look and actions of GWINDOWS and these are detailed in the relevant  Configuration of Eagle section.

 

See also

stack, window, opengl, UI Framework documentation, About GWindows,  Integrating Components