pike.git / lib / modules / GDK2.pmod

version» Context lines:

pike.git/lib/modules/GDK2.pmod:1:   #pike __REAL_VERSION__ + #require constant(GTK2.Widget)    - #if constant(GTK2) && constant(GTK2.Widget) -  +    #define INDEX(x) GTK2[x]      //! @decl import GTK2      //! @decl constant Atom      object Atom = class   {    mapping atoms = ([]);   
pike.git/lib/modules/GDK2.pmod:45:    if(what == "Atom") return Atom;    if(!zero_type(INDEX("Gdk"+what)))    return INDEX("Gdk"+what);    if(!zero_type(INDEX("GDK_"+what)))    return INDEX("GDK_"+what);    if(!zero_type(INDEX("GDK_"+upper_case(GTK2->unsillycaps(what)))))    return INDEX("GDK_"+upper_case(GTK2->unsillycaps(what)));    return UNDEFINED;   // return GDKSupport[what];   } -  - #else /* constant(GTK2.Widget) */ - constant this_program_does_not_exist=1; - #endif +