a580e12000-09-27Fredrik Hübinette (Hubbe) #pike __REAL_VERSION__
e1fb092014-02-14Martin Nilsson #require 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 }