2006-06-07 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkprintoperation.c: Add some docs.
+
+ * gtk/gtk.symbols: Add gtk_print_operation_set_allow_async.
+
+ * gtk/gtkprintoperation.h: Remove gtk_print_operation_run_async.
+
* tests/testnotebookdnd.c: Update callers.
* gtk/gtknotebook.h:
2006-06-07 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkprintoperation.c: Add some docs.
+
+ * gtk/gtk.symbols: Add gtk_print_operation_set_allow_async.
+
+ * gtk/gtkprintoperation.h: Remove gtk_print_operation_run_async.
+
* tests/testnotebookdnd.c: Update callers.
* gtk/gtknotebook.h:
gtk_print_error_quark
gtk_print_operation_get_type G_GNUC_CONST
gtk_print_operation_new
+gtk_print_operation_set_allow_async
gtk_print_operation_set_default_page_setup
gtk_print_operation_get_default_page_setup
gtk_print_operation_set_print_settings
*
* Determines whether the print operation may run asynchronous or not.
* Some systems don't support asynchronous printing, but those that do
- * will return GTK_PRINT_OPERATION_RESULT_IN_PROGRESS as the status, and
+ * will return %GTK_PRINT_OPERATION_RESULT_IN_PROGRESS as the status, and
* emit the done signal when the operation is actually done.
*
* Since: 2.10
}
}
+/**
+ * gtk_print_operation_set_allow_async:
+ * @op: a #GtkPrintOperation
+ * @allow_async: %TRUE to allow asynchronous operation
+ *
+ * Sets whether the gtk_print_operation_run() may return
+ * before the print operation is completed. Note that
+ * some platforms may not allow asynchronous operation.
+ *
+ * Since: 2.10
+ */
void
gtk_print_operation_set_allow_async (GtkPrintOperation *op,
gboolean allow_async)
* @op to obtain some information about the progress of the print operation.
* Furthermore, it may use a recursive mainloop to show the print dialog.
*
- * If you call gtk_print_operation_set_allow_async () or set the allow-async
+ * If you call gtk_print_operation_set_allow_async() or set the allow-async
* property the operation will run asyncronously if this is supported on the
* platform. The ::done signal will be emitted with the operation results when
* the operation is done (i.e. when the dialog is canceled, or when the print
typedef void (* GtkPageSetupDoneFunc) (GtkPageSetup *page_setup,
gpointer data);
-void gtk_print_operation_run_async (GtkPrintOperation *op,
- GtkWindow *parent);
void gtk_print_run_page_setup_dialog_async (GtkWindow *parent,
GtkPageSetup *page_setup,
GtkPrintSettings *settings,