pike.git / src / post_modules / GTK2 / source / gdkscreen.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gdkscreen.pre:39:   }      void set_default_colormap(GDK2.Colormap colormap)   //! Sets the default colormap.   {    pgtk2_verify_inited();    {    struct object *o;    gpointer *p;    -  get_all_args("set_default_colormap",args,"%o",&o); +  get_all_args(NULL,args,"%o",&o);    p=get_gdkobject(o,colormap);    pgtk2_pop_n_elems(args);    if (g_type_is_a(G_TYPE_FROM_INSTANCE(p),g_type_from_name("GdkColormap"))) {    gdk_screen_set_default_colormap(GDK_SCREEN(THIS->obj),GDK_COLORMAP(p));    }    }   }      +GDK2.Colormap get_system_colormap()   //! Gets the system default colormap.
pike.git/src/post_modules/GTK2/source/gdkscreen.pre:169:   array list_visuals(?int def)   //! List the available visuals. If def is true, return the available visuals   //! for the default screen.   {    pgtk2_verify_inited();    {    INT_TYPE def=0;    GList *gl,*g2;    int i=0;    -  get_all_args("list_visuals",args,"%i",&def); +  get_all_args(NULL,args,"%i",&def);    if (def)    gl=gdk_list_visuals();    else    gl=gdk_screen_list_visuals(GDK_SCREEN(THIS->obj));    g2=gl;    pgtk2_pop_n_elems(args);    while (g2) {    push_gobject(g2->data);    i++;    g2=g_list_next(g2);
pike.git/src/post_modules/GTK2/source/gdkscreen.pre:223:      +GDK2.Rectangle get_monitor_geometry(int num)   //! Retrieves the GDK2.Rectangle representing the size and position of the   //! individual monitor within the entire screen area.   {    pgtk2_verify_inited();    {    INT_TYPE a;    GdkRectangle *gr;    -  get_all_args("get_monitor_geometry",args,"%i",&a); +  get_all_args(NULL,args,"%i",&a);    gr=(GdkRectangle *)xalloc(sizeof(GdkRectangle));    gdk_screen_get_monitor_geometry(GDK_SCREEN(THIS->obj),a,gr);    pgtk2_pop_n_elems(args);    push_gdkobject(gr,rectangle,1);    }   }      int get_monitor_at_point(int x, int y);   //! Returns the monitor number in which x,y is located.