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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkprintjob.pre:25:    pgtk2_verify_not_inited();    pgtk2_verify_setup();    if (args==1) {    INIT_WITH_PROPS(GTK_TYPE_PRINT_JOB);    pgtk2_pop_n_elems(args);    } else {    GtkPrintJob *gpj;    gchar *title;    struct object *o1,*o2,*o3;    -  get_all_args("create",args,"%s%o%o%o",&name,&o1,&o2,&o3); +  get_all_args(NULL,args,"%s%o%o%o",&name,&o1,&o2,&o3);    gpj=gtk_printer_job_new(name,get_gobject(o1),get_gobject(o2),get_gobject(o3));    pgtk2_pop_n_elems(args);    THIS->obj=G_OBJECT(gpj);    }    pgtk2__init_this_object();   }      +GTK2.PrintSettings get_settings();   //! Gets the settings of the print job.   
pike.git/src/post_modules/GTK2/source/gtkprintjob.pre:56:   //! Make the GTK2.PrintJob send an existing document to the printing system.   //! The file can be in any format understood by the platforms printing system   //! (typically PostScript, but on many platforms PDF may work too).   {    pgtk2_verify_inited();    {    GError *error=NULL;    gchar *filename;    int res;    -  get_all_args("set_source_file",args,"%s",&filename); +  get_all_args(NULL,args,"%s",&filename);    res=gtk_print_job_set_source_file(GTK_PRINT_JOB(THIS->obj),filename,&error);    pgtk2_pop_n_elems(args);    push_int(res);    }   }      void set_track_print_status(int track_status);   //! If track_status is TRUE, the print job will try to continue report on the   //! status of the print job in the printer queues and printer. This can allow   //! your application to show things like "out of paper" issues, and when the   //! print job actually reaches the printer.   //! <p>   //! This function is often implemented using some form of polling, so it should   //! not be enabled unless needed.      int get_track_print_status();   //! Returns whether jobs will be tracked after printing.      endrequire;