31.01.2014 Views

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

void GW.add dependence(geo scene sc1 , geo scene sc2 )<br />

makes sc2 dependent from sc1 . That means that sc2<br />

will be updated when the contents of sc1 changes.<br />

void GW.del dependence(geo scene sc1 , geo scene sc2 )<br />

deletes the dependence of scene sc2 from sc1 .<br />

void<br />

GW.set frame label(const char ∗ label)<br />

makes label the frame label of GW .<br />

int GW.open panel(panel& P )<br />

displays panel P centered on the drawing area of GW ,<br />

disabels the menu bar of GW and returns the result<br />

of P.open( ).<br />

void<br />

GW.add text(const geowin text& gt)<br />

adds a text gt to GW .<br />

void GW.remove texts( ) removes all texts from GW (but not from the scenes<br />

of GW ).<br />

void<br />

void<br />

GW.add text(geo scene sc, const geowin text& gt)<br />

adds a text gt to scene sc.<br />

GW.remove texts(geo scene sc)<br />

removes all texts from scene sc.<br />

void GW.enable menus( ) enables the menus of GW .<br />

void<br />

GW.disable menus( ) disables the menus of GW , but not the <strong>User</strong> menu.<br />

double GW.version( ) returns the GeoWin version number.<br />

void<br />

void<br />

GW.message(string msg)<br />

GW.msg open(string msg)<br />

displays message msg on top of the drawing area. If<br />

msg is the empty string, a previously written message<br />

is deleted.<br />

displays message msg in the message window of GW .<br />

If the message window is not open, it will be opened.<br />

void GW.msg close( ) closes the message window.<br />

void GW.msg clear( ) clears the message window.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!