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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gdkdisplay.pre:28:   }      void open(string name)   //! Opens a display.   {    pgtk2_verify_inited();    {    const gchar *name;    GdkDisplay *gd;    -  get_all_args("open",args,"%s",&name); +  get_all_args(NULL,args,"%s",&name);    gd=gdk_display_open(name);    if (THIS->obj)    g_object_unref(THIS->obj);    THIS->obj=G_OBJECT(gd);    }    RETURN_THIS();   }      string get_name();   //! Gets the name of the display.
pike.git/src/post_modules/GTK2/source/gdkdisplay.pre:169:   //! Warps the pointer to the point x,y on the screen, unless the pointer   //! is confined to a window by a grab, in which case it will be moved as far   //! as allowed by the grab. Warping the pointer creates events as if the   //! user had moved the mouse instantaneously to the destination.   {    pgtk2_verify_inited();    {    struct object *o1;    INT_TYPE x,y;    -  get_all_args("warp_pointer",args,"%o%i%i",&o1,&x,&y); +  get_all_args(NULL,args,"%o%i%i",&o1,&x,&y);    gdk_display_warp_pointer(GDK_DISPLAY_OBJECT(THIS->obj),    GDK_SCREEN(get_gobject(o1)),x,y);    }    RETURN_THIS();   }   endrequire;      require gtk24;   int supports_cursor_color();   //! Returns true if multicolored cursors are supported. Otherwise, cursors
pike.git/src/post_modules/GTK2/source/gdkdisplay.pre:222:   //! of a selection changes.      int request_selection_notification(GDK2.Atom selection)   //! Request GdkEventOwnerChange events for ownership changes of the selection   //! named by the given atom.   {    pgtk2_verify_inited();    {    struct object *o1;    int res; -  get_all_args("request_selection_notification",args,"%o",&o1); +  get_all_args(NULL,args,"%o",&o1);    res=gdk_display_request_selection_notification(    GDK_DISPLAY_OBJECT(THIS->obj),    get_gdkatom(o1));    pgtk2_pop_n_elems(args);    push_int(res);    }   }      int supports_clipboard_persistence();   //! Returns whether the specified display supports clipboard persistence, i.e.
pike.git/src/post_modules/GTK2/source/gdkdisplay.pre:245:      void store_clipboard(GDK2.Window clipboard_window,    array(GDK2.Atom) targets)   //! Issues a request to the clipboard manager to store the clipboard data.   {    pgtk2_verify_inited();    {    struct object *o1;    struct array *a=NULL;    -  get_all_args("store_clipboard",args,"%o%A",&o1,&a); +  get_all_args(NULL,args,"%o%A",&o1,&a);    if (a!=NULL) {    GdkAtom *targets;    int n;       targets=xalloc(a->size);    for (n=0; n<a->size; n++)    targets[n]=get_gdkatom(ITEM(a)[n].u.object);    gdk_display_store_clipboard(GDK_DISPLAY_OBJECT(THIS->obj),    GDK_WINDOW(get_gobject(o1)),GDK_CURRENT_TIME,    targets,n);