Skip to content
Snippets Groups Projects
Select Git revision
  • 70a17c48b656460d13f669c5885b92d5226b6749
  • master default protected
  • 9.0
  • 8.0
  • 7.8
  • 7.6
  • 7.4
  • 7.2
  • 7.0
  • 0.6
  • rosuav/latex-markdown-renderer
  • rxnpatch/rxnpatch
  • marcus/gobject-introspection
  • rxnpatch/8.0
  • rosuav/pre-listening-ports
  • nt-tools
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.2000
  • v8.0.1998
  • v8.0.1996
  • v8.0.1994
  • v8.0.1992
  • v8.0.1990
  • v8.0.1988
  • v8.0.1986
  • rxnpatch/clusters/8.0/2025-04-29T124414
  • rxnpatch/2025-04-29T124414
  • v8.0.1984
  • v8.0.1982
  • v8.0.1980
  • v8.0.1978
  • v8.0.1976
  • v8.0.1974
  • v8.0.1972
  • v8.0.1970
  • v8.0.1968
  • v8.0.1966
41 results

Gnome2.pmod

Blame
  • Gnome2.pmod 441 B
    #pike __REAL_VERSION__
    #require constant(GTK2.Widget)
    
    //! @decl import GTK2
    
    mixed `[](string what)
    {
      if(what == "_module_value") return UNDEFINED;
      if (has_prefix(what, "GNOME_")) return GTK2[what];
      return GTK2["Gnome2"+what];
    }
    
    array _indices()
    {
      return glob( "GNOME_*", indices(GTK2) ) +
        map(glob( "Gnome2*", indices(GTK2) ), predef::`[],
    	sizeof("Gnome2"), 0x7fffffff);
    }
    
    array _values()
    {
      return map(_indices(), `[]);
    }