The DejaVU Framework -- hush 3.1
[.] Papers Tutorials Examples Manuals Interfaces Sources Packages Resources ?

Manual: SIMULATIONCLOCK 2


[.] [man] man1 man2 man3 man4 man5 man6 man7 man8 man9 manl mann ?

NAME

simulationclock.

SYNOPSIS


  interface simulationclock : public screen
  {
    simulationclock(char* p,char* options = "");
    simulationclock(widget* w,char* p,char* options = "");
    virtual ~simulationclock();
  };
  

slide: SYNOPSIS

DESCRIPTION


Creating this widget results in a clock that is updated to the current simulation time every time an event is activated.


slide: DESCRIPTION

OPTIONS


    -foreground <color = white>
    -background <color = white>
    -width <coord = 200>    // width/200 == height/60
    -height <coord = 60>
  

slide: OPTIONS

EXAMPLE


    toplevel* t = new toplevel(".clock");
    simulationclock* s = new simulationclock(t,".c");
    tk -> pack(s);
    tk -> update();
  

slide: EXAMPLE

REMARKS


This as an addition to application::main would add an extra clock widget.


slide: REMARKS

SEE ALSO

kit(4), toplevel(4), screen(6)
[.] Papers Tutorials Examples Manuals Interfaces Sources Packages Resources ?
Hush Online Technology
hush@cs.vu.nl
09/24/99