File: property_viewer.rules

package info (click to toggle)
polymake 4.14-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 35,888 kB
  • sloc: cpp: 168,933; perl: 43,407; javascript: 31,575; ansic: 3,007; java: 2,654; python: 632; sh: 268; xml: 117; makefile: 61
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");
  }
}