File: bltgraph.c

package info (click to toggle)
et 80b2-8
  • links: PTS
  • area: main
  • in suites: potato, slink
  • size: 1,068 kB
  • ctags: 1,074
  • sloc: ansic: 10,313; tcl: 2,633; makefile: 179; sh: 19
file content (16 lines) | stat: -rw-r--r-- 354 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
** This program shows an example of how to use ET with extensions
** packages for Tcl/Tk, such as BLT.
*/
#include <stdio.h>

int main(int argc, char **argv){
  Et_Init(&argc,argv);
  if( Blt_Init(Et_Interp)!=ET_OK ){
    fprintf(stderr,"Can't initialize the BLT extension.\n");
    exit(1);
  }
  ET_INCLUDE( graph2 );
  Et_MainLoop();
  return 0;
}