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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

panel item W.lstyle item(string s, line style& x, const char ∗ hlp = 0)<br />

adds a line style item with label s and variable x<br />

to W .<br />

panel item W.lstyle item(string s, line style& x, void(∗F )(int), const char ∗ hlp = 0)<br />

as above with action function F .<br />

panel item W.lstyle item(string s, line style& x, const window handler& obj ,<br />

const char ∗ hlp = 0)<br />

as above with handler object obj .<br />

panel item W.lwidth item(string s, int& x, const char ∗ hlp = 0)<br />

adds a line width item with label s and variable x<br />

to W .<br />

panel item W.lwidth item(string s, int& x, void(∗F )(int), const char ∗ hlp = 0)<br />

as above with action function F .<br />

panel item W.lwidth item(string s, int& x, const window handler& obj ,<br />

const char ∗ hlp = 0)<br />

as above with handler object obj .<br />

3.9.3 Integer Choice Items<br />

panel item W.int item(string s, int& x, int l, int h, int step, const char ∗ hlp = 0)<br />

adds an integer choice item with label s, variable<br />

x, range l,. . . , h, and step size step to W .<br />

panel item<br />

panel item<br />

W.int item(string s, int& x, int l, int h, int step, void (∗F )(int),<br />

const char ∗ hlp = 0)<br />

adds an integer choice item with label s, variable<br />

x, range l,. . . , h, and step size step to W . Function<br />

F (x) is executed whenever the value of x is<br />

changed.<br />

W.int item(string s, int& x, int l, int h, int step,<br />

const window handler& obj , const char ∗ hlp = 0)<br />

as above with handler object obj .<br />

panel item W.int item(string s, int& x, int l, int h, const char ∗ hlp = 0)<br />

adds an integer slider item with label s, variable x,<br />

and range l,. . . ,h to W .<br />

panel item<br />

W.int item(string s, int& x, int l, int h, void (∗F )(int),<br />

const char ∗ hlp = 0)<br />

adds an integer slider item with label s, variable x,<br />

and range l,. . . ,h to W . Function F (x) is executed<br />

whenever the value of x has changed by moving the<br />

slider.

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

Saved successfully!

Ooh no, something went wrong!