diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-06-29 09:18:07 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-06-29 09:18:07 +0000 |
commit | f8f9384537488823076fe6c158d973ef889d4613 (patch) | |
tree | 0959385899794a9879732f5af8d7a00cd57e216e /gtk/gtkprintoperationpreview.c | |
parent | 65a4b057c475afd4cbf97e6fcffb26232d8acb6b (diff) | |
download | gtk+-f8f9384537488823076fe6c158d973ef889d4613.tar.gz |
Documentation additions and fixes.
2006-06-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprinter.c:
* gtk/gtkprintunixdialog.c:
* gtk/gtkprintoperationpreview.c:
* gtk/gtkprintcontext.c (gtk_print_context_set_cairo_context):
* gtk/gtklabel.c (gtk_label_set_line_wrap_mode):
* gtk/gtkentry.c (gtk_entry_new):
* gtk/gtkprintoperation.c (gtk_print_operation_set_custom_tab_label):
* gtk/gtkclipboard.c (gtk_clipboard_wait_for_rich_text): Documentation
additions and fixes.
* gtk/gtkaspectframe.h:
* gtk/gtkaboutdialog.c:
* gtk/gtkcalendar.c:
* gtk/gtkinputdialog.c:
* gtk/gtk.symbols: Remove unnecessary includes.
* gtk/gtkprogress.[hc]:
* gtk/gtkitemfactory.[hc]: Don't unnecessarily use GTK_COMPILATION,
remove unnecessary includes.
Diffstat (limited to 'gtk/gtkprintoperationpreview.c')
-rw-r--r-- | gtk/gtkprintoperationpreview.c | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/gtk/gtkprintoperationpreview.c b/gtk/gtkprintoperationpreview.c index 776fb36202..a3357cfaf6 100644 --- a/gtk/gtkprintoperationpreview.c +++ b/gtk/gtkprintoperationpreview.c @@ -88,7 +88,15 @@ gtk_print_operation_preview_base_init (gpointer g_iface) } } - +/** + * gtk_print_operation_preview_render_page: + * @preview: a #GtkPrintOperationPreview + * @page_nr: the page to render + * + * Renders a page to the preview. + * + * Since: 2.10 + */ void gtk_print_operation_preview_render_page (GtkPrintOperationPreview *preview, gint page_nr) @@ -99,6 +107,14 @@ gtk_print_operation_preview_render_page (GtkPrintOperationPreview *preview, page_nr); } +/** + * gtk_print_operation_preview_end_preview: + * @preview: a #GtkPrintOperationPreview + * + * Ends a preview. + * + * Since: 2.10 + */ void gtk_print_operation_preview_end_preview (GtkPrintOperationPreview *preview) { @@ -107,6 +123,18 @@ gtk_print_operation_preview_end_preview (GtkPrintOperationPreview *preview) GTK_PRINT_OPERATION_PREVIEW_GET_IFACE (preview)->end_preview (preview); } +/** + * gtk_print_operation_preview_is_selected: + * @preview: a #GtkPrintOperationPreview + * @page_nr: a page number + * + * Returns whether the given page is included in the set of pages that + * have been selected for printing. + * + * Returns: %TRUE if the page has been selected for printing + * + * Since: 2.10 + */ gboolean gtk_print_operation_preview_is_selected (GtkPrintOperationPreview *preview, gint page_nr) |