File: property_viewer.rules

package info (click to toggle)
polymake 4.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 31,528 kB
  • sloc: cpp: 152,204; perl: 43,222; javascript: 30,700; ansic: 2,937; java: 2,654; python: 641; sh: 244; xml: 117; makefile: 62
file content (17 lines) | stat: -rw-r--r-- 328 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17


# FIXME this needs a CONFIGURE block that checks for  
# FIXME a Gtk2 installation on the system 

CONFIGURE { 
    return 0; 
} 

user_function property_viewer(Core::BigObject) {
  if ($ENV{DISPLAY}) { 
      Polymake::User::script("PropertyViewer.pl", @_);
  } else { 
      croak("no connection to a diplay found");
  }
}