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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtksourceprintjob.pre:32:   %}      void create(?GTK2.SourceBuffer buffer)   //! Creates a new print job object.   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    if (args) {    struct object *o1;    GtkSourcePrintJob *gs; -  get_all_args("create",args,"%o",&o1); +  get_all_args(NULL,args,"%o",&o1);    gs=gtk_source_print_job_new_with_buffer(NULL,    GTK_SOURCE_BUFFER(get_gobject(o1)));    THIS->obj=G_OBJECT(gs);    pgtk2_pop_n_elems(args);    } else {    GtkSourcePrintJob *gs;    gs=gtk_source_print_job_new(NULL);    THIS->obj=G_OBJECT(gs);    }    pgtk2__init_this_object();
pike.git/src/post_modules/GTK2/source/gtksourceprintjob.pre:94:      require pango;   require gtksourcereview11;   void set_font_desc(Pango.FontDescription desc);   //! Sets the default font for the printed text.   /*   {    pgtk2_verify_inited();    {    struct object *o1; -  get_all_args("set_font_desc",args,"%o",&o1); +  get_all_args(NULL,args,"%o",&o1);    gtk_source_print_job_set_font_desc(GTK_SOURCE_PRINT_JOB(THIS->obj),    (PangoFontDescription *)THIS-   */      Pango.FontDescription get_font_desc();   //! Determines the default font to be used for the printed text. The returned   //! string is of the form "Fontfamily Style Size", for example   //! "Monospace Regular 10.0".      void set_numbers_font_desc(?Pango.FontDescription desc);
pike.git/src/post_modules/GTK2/source/gtksourceprintjob.pre:164:   //! Print the document.      void print_range(GTK2.TextIter start, GTK2.TextIter end)   //! Similar to print(), except you can specify a range of text to print.   //! start and end can be in any order.   {    pgtk2_verify_inited();    {    struct object *o1,*o2;    void *res; -  get_all_args("print_range",args,"%o%o",&o1,&o2); +  get_all_args(NULL,args,"%o%o",&o1,&o2);    res=gtk_source_print_job_print_range(GTK_SOURCE_PRINT_JOB(THIS->obj),    (GtkTextIter *)get_gobject(o1),    (GtkTextIter *)get_gobject(o2));    if (res==NULL)    Pike_error("Could not print!\n");    }    RETURN_THIS();   }      void print_range_async(GTK2.TextIter start, GTK2.TextIter end)
pike.git/src/post_modules/GTK2/source/gtksourceprintjob.pre:190:   //! function. Also, if highlighting is enabled, the whole buffer needs to be   //! highlighted first.   //! <p>   //! To get notification when the job has finished, you must connect to the   //! "finished" signal.   {    pgtk2_verify_inited();    {    struct object *o1,*o2;    int res; -  get_all_args("print_range_async",args,"%o%o",&o1,&o2); +  get_all_args(NULL,args,"%o%o",&o1,&o2);    res=gtk_source_print_job_print_range_async(GTK_SOURCE_PRINT_JOB(THIS->obj),    (GtkTextIter *)get_gobject(o1),    (GtkTextIter *)get_gobject(o2));    }    RETURN_THIS();   }      void cancel();   //! Cancels an asynchronous printing operation. This will remove any pending   //! print idle handler.