a580e12000-09-27Fredrik Hübinette (Hubbe) #pike __REAL_VERSION__
a20af62000-09-26Fredrik Hübinette (Hubbe) 
1d19e42011-10-30Henrik Grubbström (Grubba) #if constant(GTK1) && constant(GTK1.Widget)
379c0b2001-06-10Henrik Grubbström (Grubba) 
1d19e42011-10-30Henrik Grubbström (Grubba) //! @decl import GTK1
cbe40e2003-11-11Henrik Grubbström (Grubba) 
45ab0a2000-03-05Per Hedbor mixed `[](string what) {
f2d7a62002-02-14Martin Nilsson  if(what == "_module_value") return UNDEFINED;
1d19e42011-10-30Henrik Grubbström (Grubba)  if (has_prefix(what, "GNOME_")) return GTK1[what]; return (GTK1["Gnome"+what] || GTK1["gnome_"+what]);
45ab0a2000-03-05Per Hedbor } array _indices() {
1d19e42011-10-30Henrik Grubbström (Grubba)  return glob( "GNOME_*", indices(GTK1) ) + map(glob( "Gnome*", indices(GTK1) ), predef::`[], sizeof("Gnome"), 0x7fffffff); } array _values() { return map(_indices(), `[]);
45ab0a2000-03-05Per Hedbor }
379c0b2001-06-10Henrik Grubbström (Grubba) 
ffaf452004-04-14Martin Nilsson #else constant this_program_does_not_exist=1;
1d19e42011-10-30Henrik Grubbström (Grubba) #endif /* constant(GTK1.Widget) */