gtk2 3.2.1-x86-mingw32 → 3.2.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ext/gtk2/extconf.rb +6 -1
- data/ext/gtk2/rbgtkrecentchooser.c +2 -2
- data/lib/2.2/gtk2.so +0 -0
- data/lib/2.3/gtk2.so +0 -0
- data/lib/2.4/gtk2.so +0 -0
- data/lib/2.5/gtk2.so +0 -0
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkenumtypes.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkmarshal.h +220 -164
- data/vendor/local/include/gtk-2.0/gtk/gtktypebuiltins.h +23 -23
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.la +3 -3
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.la +3 -3
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules.cache +2 -2
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.la +3 -3
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgailutil.la +3 -3
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.la +3 -3
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.la +3 -3
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +24 -24
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +11 -11
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplay.html +77 -77
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplayManager.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk2/GdkScreen.html +132 -132
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Application-launching.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Bitmaps-and-Pixmaps.html +37 -37
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Colormaps-and-Colors.html +67 -67
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Cursors.html +12 -12
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drag-and-Drop.html +29 -29
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drawing-Primitives.html +118 -118
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Event-Structures.html +102 -102
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Events.html +49 -49
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Fonts.html +79 -79
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-GdkRGB.html +64 -64
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-General.html +58 -58
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Graphics-Contexts.html +25 -25
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Images.html +37 -37
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input-Devices.html +40 -40
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input.html +15 -15
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Keyboard-Handling.html +97 -97
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pango-Interaction.html +23 -23
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pixbufs.html +20 -20
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Points-Rectangles-and-Regions.html +37 -37
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Properties-and-Atoms.html +84 -84
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Selections.html +27 -27
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Testing.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Threads.html +74 -74
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Visuals.html +40 -40
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Windows.html +280 -280
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-X-Window-System-Interaction.html +60 -60
- data/vendor/local/share/gtk-doc/html/gdk2/multihead.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAboutDialog.html +118 -118
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccelLabel.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccessible.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAction.html +87 -87
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActionGroup.html +82 -82
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActivatable.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAdjustment.html +60 -60
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAlignment.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkArrow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAspectFrame.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAssistant.html +47 -47
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBin.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBox.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuildable.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuilder.html +98 -98
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButton.html +68 -68
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButtonBox.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCList.html +214 -214
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCTree.html +146 -146
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCalendar.html +88 -88
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellEditable.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellLayout.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRenderer.html +81 -81
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererAccel.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererCombo.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererPixbuf.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererProgress.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpin.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpinner.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererText.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererToggle.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellView.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCheckButton.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorButton.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelection.html +45 -45
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelectionDialog.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCombo.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBox.html +96 -96
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxEntry.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxText.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkContainer.html +73 -73
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCurve.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDialog.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDrawingArea.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEditable.html +51 -51
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntry.html +255 -255
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryBuffer.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryCompletion.html +94 -94
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEventBox.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/GtkExpander.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooser.html +98 -98
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserButton.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserDialog.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserWidget.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileSelection.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFixed.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontButton.html +51 -51
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelection.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelectionDialog.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFrame.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkGammaCurve.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHButtonBox.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSV.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScale.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScrollbar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHandleBox.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContext.html +63 -63
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContextSimple.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMMulticontext.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconTheme.html +83 -83
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconView.html +192 -192
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImage.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImageMenuItem.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInfoBar.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInputDialog.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInvisible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItem.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItemFactory.html +66 -66
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLabel.html +139 -139
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLayout.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLinkButton.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/GtkList.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListItem.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListStore.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenu.html +90 -90
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuBar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuItem.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuShell.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuToolButton.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMessageDialog.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMisc.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkNotebook.html +210 -210
- data/vendor/local/share/gtk-doc/html/gtk2/GtkObject.html +89 -89
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOffscreenWindow.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOldEditable.html +60 -60
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOptionMenu.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetup.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetupUnixDialog.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaned.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaperSize.html +54 -54
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPixmap.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPlug.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPreview.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintContext.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintJob.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintSettings.html +151 -151
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintUnixDialog.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrinter.html +86 -86
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgress.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgressBar.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioAction.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioButton.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioMenuItem.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioToolButton.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRange.html +100 -100
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentAction.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooser.html +101 -101
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserDialog.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserMenu.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserWidget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentFilter.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentManager.html +128 -128
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRuler.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScale.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScaleButton.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrollbar.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrolledWindow.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorToolItem.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSettings.html +196 -196
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSizeGroup.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSocket.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinButton.html +79 -79
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinner.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusIcon.html +157 -157
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusbar.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStyle.html +263 -263
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTable.html +67 -67
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTearoffMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkText.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextBuffer.html +181 -181
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextIter.html +281 -281
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextMark.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTag.html +133 -133
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTagTable.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextView.html +211 -211
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTipsQuery.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleAction.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleButton.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleToolButton.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolButton.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItem.html +63 -63
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItemGroup.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolPalette.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolShell.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolbar.html +105 -105
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltip.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltips.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTree.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeItem.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModel.html +147 -147
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelFilter.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelSort.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSelection.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSortable.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeStore.html +58 -58
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeView.html +414 -414
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeViewColumn.html +147 -147
- data/vendor/local/share/gtk-doc/html/gtk2/GtkUIManager.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVButtonBox.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScale.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScrollbar.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkViewport.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVolumeButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWidget.html +537 -537
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindow.html +255 -255
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindowGroup.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/TextWidget.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/TreeWidget.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/ch01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/chap-drawing-model.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-changes-2-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAboutDialog.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkColorButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkComboBox.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkIconView.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkLinkButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkRecentChooser.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-checklist.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-entry-icons.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-tooltips.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-question-index.html +43 -43
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Accelerator-Maps.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Bindings.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Clipboards.html +87 -87
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Drag-and-Drop.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Feature-Test-Macros.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Filesystem-utilities.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-General.html +153 -153
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Graphics-Contexts.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-GtkTreeView-drag-and-drop.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-High-level-Printing-API.html +167 -167
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Keyboard-Accelerators.html +88 -88
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Orientable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Resource-Files.html +71 -71
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Selections.html +119 -119
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Signals.html +68 -68
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Stock-Items.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Testing.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Themeable-Stock-Images.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Types.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkcheckmenuitem.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkfilefilter.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-selection-modes.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-advanced.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-chooser.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/migrating-GtkCombo.html +4 -4
- metadata +12 -11
@@ -78,7 +78,7 @@ When the <a href="../html/gdk2-Graphics-Contexts.html#GdkGC-struct"><span class=
|
|
78
78
|
<div class="refsect2">
|
79
79
|
<a name="gtk-gc-get"></a><h3>gtk_gc_get ()</h3>
|
80
80
|
<pre class="programlisting"><a href="../html/gdk2-Graphics-Contexts.html#GdkGC-struct"><span class="returnvalue">GdkGC</span></a> *
|
81
|
-
gtk_gc_get (<em class="parameter"><code><a href="
|
81
|
+
gtk_gc_get (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> depth</code></em>,
|
82
82
|
<em class="parameter"><code><a href="../html/gdk2-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
83
83
|
<em class="parameter"><code><a href="../html/gdk2-Graphics-Contexts.html#GdkGCValues"><span class="type">GdkGCValues</span></a> *values</code></em>,
|
84
84
|
<em class="parameter"><code><a href="../html/gdk2-Graphics-Contexts.html#GdkGCValuesMask"><span class="type">GdkGCValuesMask</span></a> values_mask</code></em>);</pre>
|
@@ -43,7 +43,7 @@
|
|
43
43
|
<tbody>
|
44
44
|
<tr>
|
45
45
|
<td class="function_type">
|
46
|
-
<a href="
|
46
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
47
47
|
</td>
|
48
48
|
<td class="function_name">
|
49
49
|
<a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#gtk-tree-drag-source-drag-data-delete" title="gtk_tree_drag_source_drag_data_delete ()">gtk_tree_drag_source_drag_data_delete</a> <span class="c_punctuation">()</span>
|
@@ -51,7 +51,7 @@
|
|
51
51
|
</tr>
|
52
52
|
<tr>
|
53
53
|
<td class="function_type">
|
54
|
-
<a href="
|
54
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
55
55
|
</td>
|
56
56
|
<td class="function_name">
|
57
57
|
<a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#gtk-tree-drag-source-drag-data-get" title="gtk_tree_drag_source_drag_data_get ()">gtk_tree_drag_source_drag_data_get</a> <span class="c_punctuation">()</span>
|
@@ -59,7 +59,7 @@
|
|
59
59
|
</tr>
|
60
60
|
<tr>
|
61
61
|
<td class="function_type">
|
62
|
-
<a href="
|
62
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
63
63
|
</td>
|
64
64
|
<td class="function_name">
|
65
65
|
<a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#gtk-tree-drag-source-row-draggable" title="gtk_tree_drag_source_row_draggable ()">gtk_tree_drag_source_row_draggable</a> <span class="c_punctuation">()</span>
|
@@ -67,7 +67,7 @@
|
|
67
67
|
</tr>
|
68
68
|
<tr>
|
69
69
|
<td class="function_type">
|
70
|
-
<a href="
|
70
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
71
71
|
</td>
|
72
72
|
<td class="function_name">
|
73
73
|
<a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#gtk-tree-drag-dest-drag-data-received" title="gtk_tree_drag_dest_drag_data_received ()">gtk_tree_drag_dest_drag_data_received</a> <span class="c_punctuation">()</span>
|
@@ -75,7 +75,7 @@
|
|
75
75
|
</tr>
|
76
76
|
<tr>
|
77
77
|
<td class="function_type">
|
78
|
-
<a href="
|
78
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
79
79
|
</td>
|
80
80
|
<td class="function_name">
|
81
81
|
<a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#gtk-tree-drag-dest-row-drop-possible" title="gtk_tree_drag_dest_row_drop_possible ()">gtk_tree_drag_dest_row_drop_possible</a> <span class="c_punctuation">()</span>
|
@@ -83,7 +83,7 @@
|
|
83
83
|
</tr>
|
84
84
|
<tr>
|
85
85
|
<td class="function_type">
|
86
|
-
<a href="
|
86
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
87
87
|
</td>
|
88
88
|
<td class="function_name">
|
89
89
|
<a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#gtk-tree-set-row-drag-data" title="gtk_tree_set_row_drag_data ()">gtk_tree_set_row_drag_data</a> <span class="c_punctuation">()</span>
|
@@ -91,7 +91,7 @@
|
|
91
91
|
</tr>
|
92
92
|
<tr>
|
93
93
|
<td class="function_type">
|
94
|
-
<a href="
|
94
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
95
95
|
</td>
|
96
96
|
<td class="function_name">
|
97
97
|
<a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#gtk-tree-get-row-drag-data" title="gtk_tree_get_row_drag_data ()">gtk_tree_get_row_drag_data</a> <span class="c_punctuation">()</span>
|
@@ -129,7 +129,7 @@
|
|
129
129
|
</div>
|
130
130
|
<div class="refsect1">
|
131
131
|
<a name="gtk2-GtkTreeView-drag-and-drop.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
132
|
-
<pre class="screen"> <a href="
|
132
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/GTypeModule.html">GInterface</a>
|
133
133
|
<span class="lineart">├──</span> GtkTreeDragDest
|
134
134
|
<span class="lineart">╰──</span> GtkTreeDragSource
|
135
135
|
</pre>
|
@@ -174,12 +174,12 @@ and auto-scroll, but your models have to implement the
|
|
174
174
|
<a name="gtk2-GtkTreeView-drag-and-drop.functions_details"></a><h2>Functions</h2>
|
175
175
|
<div class="refsect2">
|
176
176
|
<a name="gtk-tree-drag-source-drag-data-delete"></a><h3>gtk_tree_drag_source_drag_data_delete ()</h3>
|
177
|
-
<pre class="programlisting"><a href="
|
177
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
178
178
|
gtk_tree_drag_source_drag_data_delete (<em class="parameter"><code><a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#GtkTreeDragSource"><span class="type">GtkTreeDragSource</span></a> *drag_source</code></em>,
|
179
179
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
|
180
180
|
<p>Asks the <a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#GtkTreeDragSource"><span class="type">GtkTreeDragSource</span></a> to delete the row at <em class="parameter"><code>path</code></em>
|
181
181
|
, because
|
182
|
-
it was moved somewhere else via drag-and-drop. Returns <a href="
|
182
|
+
it was moved somewhere else via drag-and-drop. Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
183
183
|
if the deletion fails because <em class="parameter"><code>path</code></em>
|
184
184
|
no longer exists, or for
|
185
185
|
some model-specific reason. Should robustly handle a <em class="parameter"><code>path</code></em>
|
@@ -209,13 +209,13 @@ longer found in the model!</p>
|
|
209
209
|
</div>
|
210
210
|
<div class="refsect3">
|
211
211
|
<a name="gtk-tree-drag-source-drag-data-delete.returns"></a><h4>Returns</h4>
|
212
|
-
<p> <a href="
|
212
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the row was successfully deleted</p>
|
213
213
|
</div>
|
214
214
|
</div>
|
215
215
|
<hr>
|
216
216
|
<div class="refsect2">
|
217
217
|
<a name="gtk-tree-drag-source-drag-data-get"></a><h3>gtk_tree_drag_source_drag_data_get ()</h3>
|
218
|
-
<pre class="programlisting"><a href="
|
218
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
219
219
|
gtk_tree_drag_source_drag_data_get (<em class="parameter"><code><a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#GtkTreeDragSource"><span class="type">GtkTreeDragSource</span></a> *drag_source</code></em>,
|
220
220
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
|
221
221
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
@@ -257,13 +257,13 @@ from the dragged row. </p></td>
|
|
257
257
|
</div>
|
258
258
|
<div class="refsect3">
|
259
259
|
<a name="gtk-tree-drag-source-drag-data-get.returns"></a><h4>Returns</h4>
|
260
|
-
<p> <a href="
|
260
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if data of the required type was provided </p>
|
261
261
|
</div>
|
262
262
|
</div>
|
263
263
|
<hr>
|
264
264
|
<div class="refsect2">
|
265
265
|
<a name="gtk-tree-drag-source-row-draggable"></a><h3>gtk_tree_drag_source_row_draggable ()</h3>
|
266
|
-
<pre class="programlisting"><a href="
|
266
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
267
267
|
gtk_tree_drag_source_row_draggable (<em class="parameter"><code><a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#GtkTreeDragSource"><span class="type">GtkTreeDragSource</span></a> *drag_source</code></em>,
|
268
268
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
|
269
269
|
<p>Asks the <a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#GtkTreeDragSource"><span class="type">GtkTreeDragSource</span></a> whether a particular row can be used as
|
@@ -293,13 +293,13 @@ this interface, the row is assumed draggable.</p>
|
|
293
293
|
</div>
|
294
294
|
<div class="refsect3">
|
295
295
|
<a name="gtk-tree-drag-source-row-draggable.returns"></a><h4>Returns</h4>
|
296
|
-
<p> <a href="
|
296
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the row can be dragged</p>
|
297
297
|
</div>
|
298
298
|
</div>
|
299
299
|
<hr>
|
300
300
|
<div class="refsect2">
|
301
301
|
<a name="gtk-tree-drag-dest-drag-data-received"></a><h3>gtk_tree_drag_dest_drag_data_received ()</h3>
|
302
|
-
<pre class="programlisting"><a href="
|
302
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
303
303
|
gtk_tree_drag_dest_drag_data_received (<em class="parameter"><code><a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#GtkTreeDragDest"><span class="type">GtkTreeDragDest</span></a> *drag_dest</code></em>,
|
304
304
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *dest</code></em>,
|
305
305
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
@@ -308,8 +308,8 @@ gtk_tree_drag_dest_drag_data_received (<em class="parameter"><code><a class="lin
|
|
308
308
|
deriving the contents of the row from <em class="parameter"><code>selection_data</code></em>
|
309
309
|
. If <em class="parameter"><code>dest</code></em>
|
310
310
|
is
|
311
|
-
outside the tree so that inserting before it is impossible, <a href="
|
312
|
-
will be returned. Also, <a href="
|
311
|
+
outside the tree so that inserting before it is impossible, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
312
|
+
will be returned. Also, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> may be returned if the new row is
|
313
313
|
not created for some model-specific reason. Should robustly handle
|
314
314
|
a <em class="parameter"><code>dest</code></em>
|
315
315
|
no longer found in the model!</p>
|
@@ -349,7 +349,7 @@ a <em class="parameter"><code>dest</code></em>
|
|
349
349
|
<hr>
|
350
350
|
<div class="refsect2">
|
351
351
|
<a name="gtk-tree-drag-dest-row-drop-possible"></a><h3>gtk_tree_drag_dest_row_drop_possible ()</h3>
|
352
|
-
<pre class="programlisting"><a href="
|
352
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
353
353
|
gtk_tree_drag_dest_row_drop_possible (<em class="parameter"><code><a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#GtkTreeDragDest"><span class="type">GtkTreeDragDest</span></a> *drag_dest</code></em>,
|
354
354
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *dest_path</code></em>,
|
355
355
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
@@ -360,7 +360,7 @@ at the same depth as <em class="parameter"><code>dest_path</code></em>
|
|
360
360
|
<em class="parameter"><code>selection_data</code></em>
|
361
361
|
at that location. <em class="parameter"><code>dest_path</code></em>
|
362
362
|
does not have to
|
363
|
-
exist; the return value will almost certainly be <a href="
|
363
|
+
exist; the return value will almost certainly be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the
|
364
364
|
parent of <em class="parameter"><code>dest_path</code></em>
|
365
365
|
doesn't exist, though.</p>
|
366
366
|
<div class="refsect3">
|
@@ -392,14 +392,14 @@ parent of <em class="parameter"><code>dest_path</code></em>
|
|
392
392
|
</div>
|
393
393
|
<div class="refsect3">
|
394
394
|
<a name="gtk-tree-drag-dest-row-drop-possible.returns"></a><h4>Returns</h4>
|
395
|
-
<p> <a href="
|
395
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a drop is possible before <em class="parameter"><code>dest_path</code></em>
|
396
396
|
</p>
|
397
397
|
</div>
|
398
398
|
</div>
|
399
399
|
<hr>
|
400
400
|
<div class="refsect2">
|
401
401
|
<a name="gtk-tree-set-row-drag-data"></a><h3>gtk_tree_set_row_drag_data ()</h3>
|
402
|
-
<pre class="programlisting"><a href="
|
402
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
403
403
|
gtk_tree_set_row_drag_data (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
404
404
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *tree_model</code></em>,
|
405
405
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
|
@@ -435,13 +435,13 @@ in a drag_data_get handler.</p>
|
|
435
435
|
</div>
|
436
436
|
<div class="refsect3">
|
437
437
|
<a name="gtk-tree-set-row-drag-data.returns"></a><h4>Returns</h4>
|
438
|
-
<p> <a href="
|
438
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> had the proper target type to allow us to set a tree row</p>
|
439
439
|
</div>
|
440
440
|
</div>
|
441
441
|
<hr>
|
442
442
|
<div class="refsect2">
|
443
443
|
<a name="gtk-tree-get-row-drag-data"></a><h3>gtk_tree_get_row_drag_data ()</h3>
|
444
|
-
<pre class="programlisting"><a href="
|
444
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
445
445
|
gtk_tree_get_row_drag_data (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
446
446
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> **tree_model</code></em>,
|
447
447
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>);</pre>
|
@@ -487,7 +487,7 @@ in from the current process. The returned path must be freed with
|
|
487
487
|
</div>
|
488
488
|
<div class="refsect3">
|
489
489
|
<a name="gtk-tree-get-row-drag-data.returns"></a><h4>Returns</h4>
|
490
|
-
<p> <a href="
|
490
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>selection_data</code></em>
|
491
491
|
had target type <code class="literal">GTK_TREE_MODEL_ROW</code> and
|
492
492
|
is otherwise valid</p>
|
493
493
|
</div>
|
@@ -119,7 +119,7 @@
|
|
119
119
|
</tr>
|
120
120
|
<tr>
|
121
121
|
<td class="function_type">
|
122
|
-
<a href="
|
122
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
123
123
|
</td>
|
124
124
|
<td class="function_name">
|
125
125
|
<a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-get-n-pages-to-print" title="gtk_print_operation_get_n_pages_to_print ()">gtk_print_operation_get_n_pages_to_print</a> <span class="c_punctuation">()</span>
|
@@ -222,7 +222,7 @@
|
|
222
222
|
</td>
|
223
223
|
</tr>
|
224
224
|
<tr>
|
225
|
-
<td class="function_type">const <a href="
|
225
|
+
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
226
226
|
</td>
|
227
227
|
<td class="function_name">
|
228
228
|
<a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-get-status-string" title="gtk_print_operation_get_status_string ()">gtk_print_operation_get_status_string</a> <span class="c_punctuation">()</span>
|
@@ -230,7 +230,7 @@
|
|
230
230
|
</tr>
|
231
231
|
<tr>
|
232
232
|
<td class="function_type">
|
233
|
-
<a href="
|
233
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
234
234
|
</td>
|
235
235
|
<td class="function_name">
|
236
236
|
<a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-is-finished" title="gtk_print_operation_is_finished ()">gtk_print_operation_is_finished</a> <span class="c_punctuation">()</span>
|
@@ -246,7 +246,7 @@
|
|
246
246
|
</tr>
|
247
247
|
<tr>
|
248
248
|
<td class="function_type">
|
249
|
-
<a href="
|
249
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
250
250
|
</td>
|
251
251
|
<td class="function_name">
|
252
252
|
<a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-get-support-selection" title="gtk_print_operation_get_support_selection ()">gtk_print_operation_get_support_selection</a> <span class="c_punctuation">()</span>
|
@@ -262,7 +262,7 @@
|
|
262
262
|
</tr>
|
263
263
|
<tr>
|
264
264
|
<td class="function_type">
|
265
|
-
<a href="
|
265
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
266
266
|
</td>
|
267
267
|
<td class="function_name">
|
268
268
|
<a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-get-has-selection" title="gtk_print_operation_get_has_selection ()">gtk_print_operation_get_has_selection</a> <span class="c_punctuation">()</span>
|
@@ -278,7 +278,7 @@
|
|
278
278
|
</tr>
|
279
279
|
<tr>
|
280
280
|
<td class="function_type">
|
281
|
-
<a href="
|
281
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
282
282
|
</td>
|
283
283
|
<td class="function_name">
|
284
284
|
<a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-get-embed-page-setup" title="gtk_print_operation_get_embed_page_setup ()">gtk_print_operation_get_embed_page_setup</a> <span class="c_punctuation">()</span>
|
@@ -318,7 +318,7 @@
|
|
318
318
|
</tr>
|
319
319
|
<tr>
|
320
320
|
<td class="function_type">
|
321
|
-
<a href="
|
321
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
322
322
|
</td>
|
323
323
|
<td class="function_name">
|
324
324
|
<a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-preview-is-selected" title="gtk_print_operation_preview_is_selected ()">gtk_print_operation_preview_is_selected</a> <span class="c_punctuation">()</span>
|
@@ -345,18 +345,18 @@
|
|
345
345
|
</colgroup>
|
346
346
|
<tbody>
|
347
347
|
<tr>
|
348
|
-
<td class="property_type"><a href="
|
348
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
349
349
|
<td class="property_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--allow-async" title="The “allow-async” property">allow-async</a></td>
|
350
350
|
<td class="property_flags">Read / Write</td>
|
351
351
|
</tr>
|
352
352
|
<tr>
|
353
|
-
<td class="property_type"><a href="
|
353
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
354
354
|
<td class="property_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--current-page" title="The “current-page” property">current-page</a></td>
|
355
355
|
<td class="property_flags">Read / Write</td>
|
356
356
|
</tr>
|
357
357
|
<tr>
|
358
358
|
<td class="property_type">
|
359
|
-
<a href="
|
359
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
360
360
|
<td class="property_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--custom-tab-label" title="The “custom-tab-label” property">custom-tab-label</a></td>
|
361
361
|
<td class="property_flags">Read / Write</td>
|
362
362
|
</tr>
|
@@ -367,34 +367,34 @@
|
|
367
367
|
<td class="property_flags">Read / Write</td>
|
368
368
|
</tr>
|
369
369
|
<tr>
|
370
|
-
<td class="property_type"><a href="
|
370
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
371
371
|
<td class="property_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--embed-page-setup" title="The “embed-page-setup” property">embed-page-setup</a></td>
|
372
372
|
<td class="property_flags">Read / Write</td>
|
373
373
|
</tr>
|
374
374
|
<tr>
|
375
375
|
<td class="property_type">
|
376
|
-
<a href="
|
376
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
377
377
|
<td class="property_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--export-filename" title="The “export-filename” property">export-filename</a></td>
|
378
378
|
<td class="property_flags">Read / Write</td>
|
379
379
|
</tr>
|
380
380
|
<tr>
|
381
|
-
<td class="property_type"><a href="
|
381
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
382
382
|
<td class="property_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--has-selection" title="The “has-selection” property">has-selection</a></td>
|
383
383
|
<td class="property_flags">Read / Write</td>
|
384
384
|
</tr>
|
385
385
|
<tr>
|
386
386
|
<td class="property_type">
|
387
|
-
<a href="
|
387
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
388
388
|
<td class="property_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--job-name" title="The “job-name” property">job-name</a></td>
|
389
389
|
<td class="property_flags">Read / Write</td>
|
390
390
|
</tr>
|
391
391
|
<tr>
|
392
|
-
<td class="property_type"><a href="
|
392
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
393
393
|
<td class="property_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--n-pages" title="The “n-pages” property">n-pages</a></td>
|
394
394
|
<td class="property_flags">Read / Write</td>
|
395
395
|
</tr>
|
396
396
|
<tr>
|
397
|
-
<td class="property_type"><a href="
|
397
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
398
398
|
<td class="property_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--n-pages-to-print" title="The “n-pages-to-print” property">n-pages-to-print</a></td>
|
399
399
|
<td class="property_flags">Read</td>
|
400
400
|
</tr>
|
@@ -405,7 +405,7 @@
|
|
405
405
|
<td class="property_flags">Read / Write</td>
|
406
406
|
</tr>
|
407
407
|
<tr>
|
408
|
-
<td class="property_type"><a href="
|
408
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
409
409
|
<td class="property_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--show-progress" title="The “show-progress” property">show-progress</a></td>
|
410
410
|
<td class="property_flags">Read / Write</td>
|
411
411
|
</tr>
|
@@ -416,17 +416,17 @@
|
|
416
416
|
</tr>
|
417
417
|
<tr>
|
418
418
|
<td class="property_type">
|
419
|
-
<a href="
|
419
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
420
420
|
<td class="property_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--status-string" title="The “status-string” property">status-string</a></td>
|
421
421
|
<td class="property_flags">Read</td>
|
422
422
|
</tr>
|
423
423
|
<tr>
|
424
|
-
<td class="property_type"><a href="
|
424
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
425
425
|
<td class="property_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--support-selection" title="The “support-selection” property">support-selection</a></td>
|
426
426
|
<td class="property_flags">Read / Write</td>
|
427
427
|
</tr>
|
428
428
|
<tr>
|
429
|
-
<td class="property_type"><a href="
|
429
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
430
430
|
<td class="property_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--track-print-status" title="The “track-print-status” property">track-print-status</a></td>
|
431
431
|
<td class="property_flags">Read / Write</td>
|
432
432
|
</tr>
|
@@ -436,7 +436,7 @@
|
|
436
436
|
<td class="property_flags">Read / Write</td>
|
437
437
|
</tr>
|
438
438
|
<tr>
|
439
|
-
<td class="property_type"><a href="
|
439
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
440
440
|
<td class="property_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--use-full-page" title="The “use-full-page” property">use-full-page</a></td>
|
441
441
|
<td class="property_flags">Read / Write</td>
|
442
442
|
</tr>
|
@@ -455,68 +455,68 @@
|
|
455
455
|
<tr>
|
456
456
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
457
457
|
<td class="signal_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-begin-print" title="The “begin-print” signal">begin-print</a></td>
|
458
|
-
<td class="signal_flags"><a href="
|
458
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
459
459
|
</tr>
|
460
460
|
<tr>
|
461
461
|
<td class="signal_type">
|
462
|
-
<a href="
|
462
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="returnvalue">GObject</span></a>*</td>
|
463
463
|
<td class="signal_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-create-custom-widget" title="The “create-custom-widget” signal">create-custom-widget</a></td>
|
464
|
-
<td class="signal_flags"><a href="
|
464
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
465
465
|
</tr>
|
466
466
|
<tr>
|
467
467
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
468
468
|
<td class="signal_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-custom-widget-apply" title="The “custom-widget-apply” signal">custom-widget-apply</a></td>
|
469
|
-
<td class="signal_flags"><a href="
|
469
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
470
470
|
</tr>
|
471
471
|
<tr>
|
472
472
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
473
473
|
<td class="signal_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-done" title="The “done” signal">done</a></td>
|
474
|
-
<td class="signal_flags"><a href="
|
474
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
475
475
|
</tr>
|
476
476
|
<tr>
|
477
477
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
478
478
|
<td class="signal_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-draw-page" title="The “draw-page” signal">draw-page</a></td>
|
479
|
-
<td class="signal_flags"><a href="
|
479
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
480
480
|
</tr>
|
481
481
|
<tr>
|
482
482
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
483
483
|
<td class="signal_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-end-print" title="The “end-print” signal">end-print</a></td>
|
484
|
-
<td class="signal_flags"><a href="
|
484
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
485
485
|
</tr>
|
486
486
|
<tr>
|
487
|
-
<td class="signal_type"><a href="
|
487
|
+
<td class="signal_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
|
488
488
|
<td class="signal_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-paginate" title="The “paginate” signal">paginate</a></td>
|
489
|
-
<td class="signal_flags"><a href="
|
489
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
490
490
|
</tr>
|
491
491
|
<tr>
|
492
|
-
<td class="signal_type"><a href="
|
492
|
+
<td class="signal_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
|
493
493
|
<td class="signal_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-preview" title="The “preview” signal">preview</a></td>
|
494
|
-
<td class="signal_flags"><a href="
|
494
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
495
495
|
</tr>
|
496
496
|
<tr>
|
497
497
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
498
498
|
<td class="signal_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-request-page-setup" title="The “request-page-setup” signal">request-page-setup</a></td>
|
499
|
-
<td class="signal_flags"><a href="
|
499
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
500
500
|
</tr>
|
501
501
|
<tr>
|
502
502
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
503
503
|
<td class="signal_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-status-changed" title="The “status-changed” signal">status-changed</a></td>
|
504
|
-
<td class="signal_flags"><a href="
|
504
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
505
505
|
</tr>
|
506
506
|
<tr>
|
507
507
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
508
508
|
<td class="signal_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-update-custom-widget" title="The “update-custom-widget” signal">update-custom-widget</a></td>
|
509
|
-
<td class="signal_flags"><a href="
|
509
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
510
510
|
</tr>
|
511
511
|
<tr>
|
512
512
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
513
513
|
<td class="signal_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview-got-page-size" title="The “got-page-size” signal">got-page-size</a></td>
|
514
|
-
<td class="signal_flags"><a href="
|
514
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
515
515
|
</tr>
|
516
516
|
<tr>
|
517
517
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
518
518
|
<td class="signal_name"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview-ready" title="The “ready” signal">ready</a></td>
|
519
|
-
<td class="signal_flags"><a href="
|
519
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
520
520
|
</tr>
|
521
521
|
</tbody>
|
522
522
|
</table></div>
|
@@ -562,9 +562,9 @@
|
|
562
562
|
</div>
|
563
563
|
<div class="refsect1">
|
564
564
|
<a name="gtk2-High-level-Printing-API.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
565
|
-
<pre class="screen"> <a href="
|
565
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/GTypeModule.html">GInterface</a>
|
566
566
|
<span class="lineart">╰──</span> GtkPrintOperationPreview
|
567
|
-
<a href="
|
567
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
568
568
|
<span class="lineart">╰──</span> GtkPrintOperation
|
569
569
|
</pre>
|
570
570
|
</div>
|
@@ -572,7 +572,7 @@
|
|
572
572
|
<a name="gtk2-High-level-Printing-API.prerequisites"></a><h2>Prerequisites</h2>
|
573
573
|
<p>
|
574
574
|
GtkPrintOperationPreview requires
|
575
|
-
<a href="
|
575
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>.</p>
|
576
576
|
</div>
|
577
577
|
<div class="refsect1">
|
578
578
|
<a name="gtk2-High-level-Printing-API.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
@@ -642,26 +642,26 @@ to catch and render the page on the provided <a class="link" href="GtkPrintConte
|
|
642
642
|
19
|
643
643
|
20
|
644
644
|
21</pre></td>
|
645
|
-
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="usertype">GtkPrintSettings</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">settings </span><span class="symbol">=</span><span class="normal"> <a href="
|
645
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="usertype">GtkPrintSettings</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">settings </span><span class="symbol">=</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
646
646
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
647
647
|
<span class="function">do_print</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
|
648
648
|
<span class="cbracket">{</span>
|
649
649
|
<span class="normal"> </span><span class="usertype">GtkPrintOperation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">print</span><span class="symbol">;</span>
|
650
650
|
<span class="normal"> </span><span class="usertype">GtkPrintOperationResult</span><span class="normal"> res</span><span class="symbol">;</span>
|
651
651
|
<span class="normal"> print </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gtk2-High-level-Printing-API.html#gtk-print-operation-new">gtk_print_operation_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
652
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings </span><span class="symbol">!=</span><span class="normal"> <a href="
|
652
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings </span><span class="symbol">!=</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
653
653
|
<span class="normal"> </span><span class="function"><a href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-print-settings">gtk_print_operation_set_print_settings</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> settings</span><span class="symbol">);</span>
|
654
|
-
<span class="normal"> </span><span class="function"><a href="
|
655
|
-
<span class="normal"> </span><span class="function"><a href="
|
654
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"begin_print"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">begin_print</span><span class="symbol">),</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
655
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"draw_page"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">draw_page</span><span class="symbol">),</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
656
656
|
<span class="normal"> res </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gtk2-High-level-Printing-API.html#gtk-print-operation-run">gtk_print_operation_run</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> <a href="gtk2-High-level-Printing-API.html#GTK-PRINT-OPERATION-ACTION-PRINT-DIALOG:CAPS">GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG</a></span><span class="symbol">,</span>
|
657
|
-
<span class="normal"> </span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">main_window</span><span class="symbol">),</span><span class="normal"> <a href="
|
657
|
+
<span class="normal"> </span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">main_window</span><span class="symbol">),</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
658
658
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">res </span><span class="symbol">==</span><span class="normal"> <a href="gtk2-High-level-Printing-API.html#GTK-PRINT-OPERATION-RESULT-APPLY:CAPS">GTK_PRINT_OPERATION_RESULT_APPLY</a></span><span class="symbol">)</span>
|
659
659
|
<span class="normal"> </span><span class="cbracket">{</span>
|
660
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings </span><span class="symbol">!=</span><span class="normal"> <a href="
|
661
|
-
<span class="normal"> </span><span class="function"><a href="
|
662
|
-
<span class="normal"> settings </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="
|
660
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings </span><span class="symbol">!=</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
661
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings</span><span class="symbol">);</span>
|
662
|
+
<span class="normal"> settings </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref">g_object_ref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="gtk2-High-level-Printing-API.html#gtk-print-operation-get-print-settings">gtk_print_operation_get_print_settings</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">));</span>
|
663
663
|
<span class="normal"> </span><span class="cbracket">}</span>
|
664
|
-
<span class="normal"> </span><span class="function"><a href="
|
664
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">);</span>
|
665
665
|
<span class="cbracket">}</span></pre></td>
|
666
666
|
</tr>
|
667
667
|
</tbody>
|
@@ -700,7 +700,7 @@ gtk_print_operation_new (<em class="parameter"><code><span class="type">void</sp
|
|
700
700
|
<a name="gtk-print-operation-set-allow-async"></a><h3>gtk_print_operation_set_allow_async ()</h3>
|
701
701
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
702
702
|
gtk_print_operation_set_allow_async (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
703
|
-
<em class="parameter"><code><a href="
|
703
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allow_async</code></em>);</pre>
|
704
704
|
<p>Sets whether the <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a> may return
|
705
705
|
before the print operation is completed. Note that
|
706
706
|
some platforms may not allow asynchronous operation.</p>
|
@@ -720,7 +720,7 @@ some platforms may not allow asynchronous operation.</p>
|
|
720
720
|
</tr>
|
721
721
|
<tr>
|
722
722
|
<td class="parameter_name"><p>allow_async</p></td>
|
723
|
-
<td class="parameter_description"><p><a href="
|
723
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to allow asynchronous operation</p></td>
|
724
724
|
<td class="parameter_annotations"> </td>
|
725
725
|
</tr>
|
726
726
|
</tbody>
|
@@ -733,11 +733,11 @@ some platforms may not allow asynchronous operation.</p>
|
|
733
733
|
<a name="gtk-print-operation-get-error"></a><h3>gtk_print_operation_get_error ()</h3>
|
734
734
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
735
735
|
gtk_print_operation_get_error (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
736
|
-
<em class="parameter"><code><a href="
|
736
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
737
737
|
<p>Call this when the result of a print operation is
|
738
738
|
<a class="link" href="gtk2-High-level-Printing-API.html#GTK-PRINT-OPERATION-RESULT-ERROR:CAPS"><code class="literal">GTK_PRINT_OPERATION_RESULT_ERROR</code></a>, either as returned by
|
739
739
|
<a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a>, or in the <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-done" title="The “done” signal"><span class="type">“done”</span></a> signal
|
740
|
-
handler. The returned <a href="
|
740
|
+
handler. The returned <a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> will contain more details on what went wrong.</p>
|
741
741
|
<div class="refsect3">
|
742
742
|
<a name="gtk-print-operation-get-error.parameters"></a><h4>Parameters</h4>
|
743
743
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -791,7 +791,7 @@ to the <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation
|
|
791
791
|
</tr>
|
792
792
|
<tr>
|
793
793
|
<td class="parameter_name"><p>default_page_setup</p></td>
|
794
|
-
<td class="parameter_description"><p> a <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>, or <a href="
|
794
|
+
<td class="parameter_description"><p> a <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
795
795
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
796
796
|
</tr>
|
797
797
|
</tbody>
|
@@ -871,7 +871,7 @@ see <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-
|
|
871
871
|
gtk_print_operation_get_print_settings
|
872
872
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
873
873
|
<p>Returns the current print settings.</p>
|
874
|
-
<p>Note that the return value is <a href="
|
874
|
+
<p>Note that the return value is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> until either
|
875
875
|
<a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-print-settings" title="gtk_print_operation_set_print_settings ()"><code class="function">gtk_print_operation_set_print_settings()</code></a> or
|
876
876
|
<a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a> have been called.</p>
|
877
877
|
<div class="refsect3">
|
@@ -902,7 +902,7 @@ gtk_print_operation_get_print_settings
|
|
902
902
|
<a name="gtk-print-operation-set-job-name"></a><h3>gtk_print_operation_set_job_name ()</h3>
|
903
903
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
904
904
|
gtk_print_operation_set_job_name (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
905
|
-
<em class="parameter"><code>const <a href="
|
905
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *job_name</code></em>);</pre>
|
906
906
|
<p>Sets the name of the print job. The name is used to identify
|
907
907
|
the job (e.g. in monitoring applications like eggcups). </p>
|
908
908
|
<p>If you don't set a job name, GTK+ picks a default one by
|
@@ -936,7 +936,7 @@ numbering successive print jobs.</p>
|
|
936
936
|
<a name="gtk-print-operation-set-n-pages"></a><h3>gtk_print_operation_set_n_pages ()</h3>
|
937
937
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
938
938
|
gtk_print_operation_set_n_pages (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
939
|
-
<em class="parameter"><code><a href="
|
939
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_pages</code></em>);</pre>
|
940
940
|
<p>Sets the number of pages in the document. </p>
|
941
941
|
<p>This <span class="emphasis"><em>must</em></span> be set to a positive number
|
942
942
|
before the rendering starts. It may be set in a
|
@@ -974,7 +974,7 @@ will be for page <em class="parameter"><code>n_pages</code></em>
|
|
974
974
|
<hr>
|
975
975
|
<div class="refsect2">
|
976
976
|
<a name="gtk-print-operation-get-n-pages-to-print"></a><h3>gtk_print_operation_get_n_pages_to_print ()</h3>
|
977
|
-
<pre class="programlisting"><a href="
|
977
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
978
978
|
gtk_print_operation_get_n_pages_to_print
|
979
979
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
980
980
|
<p>Returns the number of pages that will be printed.</p>
|
@@ -1011,7 +1011,7 @@ This is typically used to track the progress of print operation.</p>
|
|
1011
1011
|
<a name="gtk-print-operation-set-current-page"></a><h3>gtk_print_operation_set_current_page ()</h3>
|
1012
1012
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1013
1013
|
gtk_print_operation_set_current_page (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1014
|
-
<em class="parameter"><code><a href="
|
1014
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> current_page</code></em>);</pre>
|
1015
1015
|
<p>Sets the current page.</p>
|
1016
1016
|
<p>If this is called before <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a>,
|
1017
1017
|
the user will be able to select to print only the current page.</p>
|
@@ -1045,9 +1045,9 @@ the user will be able to select to print only the current page.</p>
|
|
1045
1045
|
<a name="gtk-print-operation-set-use-full-page"></a><h3>gtk_print_operation_set_use_full_page ()</h3>
|
1046
1046
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1047
1047
|
gtk_print_operation_set_use_full_page (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1048
|
-
<em class="parameter"><code><a href="
|
1048
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> full_page</code></em>);</pre>
|
1049
1049
|
<p>If <em class="parameter"><code>full_page</code></em>
|
1050
|
-
is <a href="
|
1050
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the transformation for the cairo context
|
1051
1051
|
obtained from <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> puts the origin at the top left
|
1052
1052
|
corner of the page (which may not be the top left corner of the
|
1053
1053
|
sheet, depending on page orientation and the number of pages per
|
@@ -1069,7 +1069,7 @@ imageable area (i.e. inside the margins).</p>
|
|
1069
1069
|
</tr>
|
1070
1070
|
<tr>
|
1071
1071
|
<td class="parameter_name"><p>full_page</p></td>
|
1072
|
-
<td class="parameter_description"><p><a href="
|
1072
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to set up the <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> for the full page</p></td>
|
1073
1073
|
<td class="parameter_annotations"> </td>
|
1074
1074
|
</tr>
|
1075
1075
|
</tbody>
|
@@ -1117,7 +1117,7 @@ units of <em class="parameter"><code>unit</code></em>
|
|
1117
1117
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1118
1118
|
gtk_print_operation_set_export_filename
|
1119
1119
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1120
|
-
<em class="parameter"><code>const <a href="
|
1120
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
|
1121
1121
|
<p>Sets up the <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> to generate a file instead
|
1122
1122
|
of showing the print dialog. The indended use of this function
|
1123
1123
|
is for implementing "Export to PDF" actions. Currently, PDF
|
@@ -1154,9 +1154,9 @@ of printers in the print dialog.</p>
|
|
1154
1154
|
<a name="gtk-print-operation-set-show-progress"></a><h3>gtk_print_operation_set_show_progress ()</h3>
|
1155
1155
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1156
1156
|
gtk_print_operation_set_show_progress (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1157
|
-
<em class="parameter"><code><a href="
|
1157
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_progress</code></em>);</pre>
|
1158
1158
|
<p>If <em class="parameter"><code>show_progress</code></em>
|
1159
|
-
is <a href="
|
1159
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the print operation will show a
|
1160
1160
|
progress dialog during the print operation.</p>
|
1161
1161
|
<div class="refsect3">
|
1162
1162
|
<a name="gtk-print-operation-set-show-progress.parameters"></a><h4>Parameters</h4>
|
@@ -1174,7 +1174,7 @@ progress dialog during the print operation.</p>
|
|
1174
1174
|
</tr>
|
1175
1175
|
<tr>
|
1176
1176
|
<td class="parameter_name"><p>show_progress</p></td>
|
1177
|
-
<td class="parameter_description"><p><a href="
|
1177
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to show a progress dialog</p></td>
|
1178
1178
|
<td class="parameter_annotations"> </td>
|
1179
1179
|
</tr>
|
1180
1180
|
</tbody>
|
@@ -1188,8 +1188,8 @@ progress dialog during the print operation.</p>
|
|
1188
1188
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1189
1189
|
gtk_print_operation_set_track_print_status
|
1190
1190
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1191
|
-
<em class="parameter"><code><a href="
|
1192
|
-
<p>If track_status is <a href="
|
1191
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> track_status</code></em>);</pre>
|
1192
|
+
<p>If track_status is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the print operation will try to continue report
|
1193
1193
|
on the status of the print job in the printer queues and printer. This
|
1194
1194
|
can allow your application to show things like "out of paper" issues,
|
1195
1195
|
and when the print job actually reaches the printer.</p>
|
@@ -1211,7 +1211,7 @@ not be enabled unless needed.</p>
|
|
1211
1211
|
</tr>
|
1212
1212
|
<tr>
|
1213
1213
|
<td class="parameter_name"><p>track_status</p></td>
|
1214
|
-
<td class="parameter_description"><p><a href="
|
1214
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to track status after printing</p></td>
|
1215
1215
|
<td class="parameter_annotations"> </td>
|
1216
1216
|
</tr>
|
1217
1217
|
</tbody>
|
@@ -1225,7 +1225,7 @@ not be enabled unless needed.</p>
|
|
1225
1225
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1226
1226
|
gtk_print_operation_set_custom_tab_label
|
1227
1227
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1228
|
-
<em class="parameter"><code>const <a href="
|
1228
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
|
1229
1229
|
<p>Sets the label for the tab holding custom widgets.</p>
|
1230
1230
|
<div class="refsect3">
|
1231
1231
|
<a name="gtk-print-operation-set-custom-tab-label.parameters"></a><h4>Parameters</h4>
|
@@ -1243,7 +1243,7 @@ gtk_print_operation_set_custom_tab_label
|
|
1243
1243
|
</tr>
|
1244
1244
|
<tr>
|
1245
1245
|
<td class="parameter_name"><p>label</p></td>
|
1246
|
-
<td class="parameter_description"><p> the label to use, or <a href="
|
1246
|
+
<td class="parameter_description"><p> the label to use, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default label. </p></td>
|
1247
1247
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1248
1248
|
</tr>
|
1249
1249
|
</tbody>
|
@@ -1258,7 +1258,7 @@ gtk_print_operation_set_custom_tab_label
|
|
1258
1258
|
gtk_print_operation_run (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1259
1259
|
<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationAction" title="enum GtkPrintOperationAction"><span class="type">GtkPrintOperationAction</span></a> action</code></em>,
|
1260
1260
|
<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>,
|
1261
|
-
<em class="parameter"><code><a href="
|
1261
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1262
1262
|
<p>Runs the print operation, by first letting the user modify
|
1263
1263
|
print settings in the print dialog, and then print the document.</p>
|
1264
1264
|
<p>Normally that this function does not return until the rendering of all
|
@@ -1312,16 +1312,16 @@ the print succeeds or fails).</p>
|
|
1312
1312
|
33
|
1313
1313
|
34
|
1314
1314
|
35</pre></td>
|
1315
|
-
<td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings </span><span class="symbol">!=</span><span class="normal"> <a href="
|
1315
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings </span><span class="symbol">!=</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
1316
1316
|
<span class="normal"> </span><span class="function"><a href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-print-settings">gtk_print_operation_set_print_settings</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> settings</span><span class="symbol">);</span>
|
1317
1317
|
<span class="normal"> </span>
|
1318
|
-
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">page_setup </span><span class="symbol">!=</span><span class="normal"> <a href="
|
1318
|
+
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">page_setup </span><span class="symbol">!=</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
1319
1319
|
<span class="normal"> </span><span class="function"><a href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-default-page-setup">gtk_print_operation_set_default_page_setup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> page_setup</span><span class="symbol">);</span>
|
1320
1320
|
<span class="normal"> </span>
|
1321
|
-
<span class="function"><a href="
|
1322
|
-
<span class="normal"> </span><span class="function"><a href="
|
1323
|
-
<span class="function"><a href="
|
1324
|
-
<span class="normal"> </span><span class="function"><a href="
|
1321
|
+
<span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"begin-print"</span><span class="symbol">,</span><span class="normal"> </span>
|
1322
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">begin_print</span><span class="symbol">),</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">data</span><span class="symbol">);</span>
|
1323
|
+
<span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"draw-page"</span><span class="symbol">,</span><span class="normal"> </span>
|
1324
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">draw_page</span><span class="symbol">),</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">data</span><span class="symbol">);</span>
|
1325
1325
|
<span class="normal"> </span>
|
1326
1326
|
<span class="normal">res </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gtk2-High-level-Printing-API.html#gtk-print-operation-run">gtk_print_operation_run</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> </span>
|
1327
1327
|
<span class="normal"> GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG</span><span class="symbol">,</span><span class="normal"> </span>
|
@@ -1336,16 +1336,16 @@ the print succeeds or fails).</p>
|
|
1336
1336
|
<span class="normal"> <a href="GtkMessageDialog.html#GTK-BUTTONS-CLOSE:CAPS">GTK_BUTTONS_CLOSE</a></span><span class="symbol">,</span>
|
1337
1337
|
<span class="normal"> </span><span class="string">"Error printing file:</span><span class="specialchar">\n</span><span class="string">%s"</span><span class="symbol">,</span>
|
1338
1338
|
<span class="normal"> error</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
1339
|
-
<span class="normal"> </span><span class="function"><a href="
|
1340
|
-
<span class="normal"> </span><span class="function"><a href="
|
1339
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error_dialog</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"response"</span><span class="symbol">,</span><span class="normal"> </span>
|
1340
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GtkWidget.html#gtk-widget-destroy">gtk_widget_destroy</a></span><span class="symbol">),</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
1341
1341
|
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-show">gtk_widget_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error_dialog</span><span class="symbol">);</span>
|
1342
|
-
<span class="normal"> </span><span class="function"><a href="
|
1342
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#g-error-free">g_error_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
|
1343
1343
|
<span class="normal"> </span><span class="cbracket">}</span>
|
1344
1344
|
<span class="keyword">else</span><span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">res </span><span class="symbol">==</span><span class="normal"> <a href="gtk2-High-level-Printing-API.html#GTK-PRINT-OPERATION-RESULT-APPLY:CAPS">GTK_PRINT_OPERATION_RESULT_APPLY</a></span><span class="symbol">)</span>
|
1345
1345
|
<span class="normal"> </span><span class="cbracket">{</span>
|
1346
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings </span><span class="symbol">!=</span><span class="normal"> <a href="
|
1347
|
-
<span class="function"><a href="
|
1348
|
-
<span class="normal"> settings </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="
|
1346
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings </span><span class="symbol">!=</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
1347
|
+
<span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings</span><span class="symbol">);</span>
|
1348
|
+
<span class="normal"> settings </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref">g_object_ref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="gtk2-High-level-Printing-API.html#gtk-print-operation-get-print-settings">gtk_print_operation_get_print_settings</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">));</span>
|
1349
1349
|
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
1350
1350
|
</tr>
|
1351
1351
|
</tbody>
|
@@ -1381,7 +1381,7 @@ given <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"
|
|
1381
1381
|
</tr>
|
1382
1382
|
<tr>
|
1383
1383
|
<td class="parameter_name"><p>error</p></td>
|
1384
|
-
<td class="parameter_description"><p> Return location for errors, or <a href="
|
1384
|
+
<td class="parameter_description"><p> Return location for errors, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1385
1385
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1386
1386
|
</tr>
|
1387
1387
|
</tbody>
|
@@ -1512,7 +1512,7 @@ Also see <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-opera
|
|
1512
1512
|
<hr>
|
1513
1513
|
<div class="refsect2">
|
1514
1514
|
<a name="gtk-print-operation-get-status-string"></a><h3>gtk_print_operation_get_status_string ()</h3>
|
1515
|
-
<pre class="programlisting">const <a href="
|
1515
|
+
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
1516
1516
|
gtk_print_operation_get_status_string (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
1517
1517
|
<p>Returns a string representation of the status of the
|
1518
1518
|
print operation. The string is translated and suitable
|
@@ -1544,7 +1544,7 @@ of the print operation</p>
|
|
1544
1544
|
<hr>
|
1545
1545
|
<div class="refsect2">
|
1546
1546
|
<a name="gtk-print-operation-is-finished"></a><h3>gtk_print_operation_is_finished ()</h3>
|
1547
|
-
<pre class="programlisting"><a href="
|
1547
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1548
1548
|
gtk_print_operation_is_finished (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
1549
1549
|
<p>A convenience function to find out if the print operation
|
1550
1550
|
is finished, either successfully (<a class="link" href="gtk2-High-level-Printing-API.html#GTK-PRINT-STATUS-FINISHED:CAPS"><code class="literal">GTK_PRINT_STATUS_FINISHED</code></a>)
|
@@ -1569,7 +1569,7 @@ the operation status then tracks the print job status on the printer.</p>
|
|
1569
1569
|
</div>
|
1570
1570
|
<div class="refsect3">
|
1571
1571
|
<a name="gtk-print-operation-is-finished.returns"></a><h4>Returns</h4>
|
1572
|
-
<p> <a href="
|
1572
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the print operation is finished.</p>
|
1573
1573
|
</div>
|
1574
1574
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
1575
1575
|
</div>
|
@@ -1579,7 +1579,7 @@ the operation status then tracks the print job status on the printer.</p>
|
|
1579
1579
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1580
1580
|
gtk_print_operation_set_support_selection
|
1581
1581
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1582
|
-
<em class="parameter"><code><a href="
|
1582
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> support_selection</code></em>);</pre>
|
1583
1583
|
<p>Sets whether selection is supported by <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>.</p>
|
1584
1584
|
<div class="refsect3">
|
1585
1585
|
<a name="gtk-print-operation-set-support-selection.parameters"></a><h4>Parameters</h4>
|
@@ -1597,7 +1597,7 @@ gtk_print_operation_set_support_selection
|
|
1597
1597
|
</tr>
|
1598
1598
|
<tr>
|
1599
1599
|
<td class="parameter_name"><p>support_selection</p></td>
|
1600
|
-
<td class="parameter_description"><p><a href="
|
1600
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to support selection</p></td>
|
1601
1601
|
<td class="parameter_annotations"> </td>
|
1602
1602
|
</tr>
|
1603
1603
|
</tbody>
|
@@ -1608,7 +1608,7 @@ gtk_print_operation_set_support_selection
|
|
1608
1608
|
<hr>
|
1609
1609
|
<div class="refsect2">
|
1610
1610
|
<a name="gtk-print-operation-get-support-selection"></a><h3>gtk_print_operation_get_support_selection ()</h3>
|
1611
|
-
<pre class="programlisting"><a href="
|
1611
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1612
1612
|
gtk_print_operation_get_support_selection
|
1613
1613
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
1614
1614
|
<p>Gets the value of <span class="type">“support-selection”</span> property.</p>
|
@@ -1638,7 +1638,7 @@ gtk_print_operation_get_support_selection
|
|
1638
1638
|
<a name="gtk-print-operation-set-has-selection"></a><h3>gtk_print_operation_set_has_selection ()</h3>
|
1639
1639
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1640
1640
|
gtk_print_operation_set_has_selection (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1641
|
-
<em class="parameter"><code><a href="
|
1641
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_selection</code></em>);</pre>
|
1642
1642
|
<p>Sets whether there is a selection to print.</p>
|
1643
1643
|
<p>Application has to set number of pages to which the selection
|
1644
1644
|
will draw by <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-n-pages" title="gtk_print_operation_set_n_pages ()"><code class="function">gtk_print_operation_set_n_pages()</code></a> in a callback of
|
@@ -1659,7 +1659,7 @@ will draw by <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-o
|
|
1659
1659
|
</tr>
|
1660
1660
|
<tr>
|
1661
1661
|
<td class="parameter_name"><p>has_selection</p></td>
|
1662
|
-
<td class="parameter_description"><p><a href="
|
1662
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> indicates that a selection exists</p></td>
|
1663
1663
|
<td class="parameter_annotations"> </td>
|
1664
1664
|
</tr>
|
1665
1665
|
</tbody>
|
@@ -1670,7 +1670,7 @@ will draw by <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-o
|
|
1670
1670
|
<hr>
|
1671
1671
|
<div class="refsect2">
|
1672
1672
|
<a name="gtk-print-operation-get-has-selection"></a><h3>gtk_print_operation_get_has_selection ()</h3>
|
1673
|
-
<pre class="programlisting"><a href="
|
1673
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1674
1674
|
gtk_print_operation_get_has_selection (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
1675
1675
|
<p>Gets the value of <span class="type">“has-selection”</span> property.</p>
|
1676
1676
|
<div class="refsect3">
|
@@ -1700,7 +1700,7 @@ gtk_print_operation_get_has_selection (<em class="parameter"><code><a class="lin
|
|
1700
1700
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1701
1701
|
gtk_print_operation_set_embed_page_setup
|
1702
1702
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1703
|
-
<em class="parameter"><code><a href="
|
1703
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> embed</code></em>);</pre>
|
1704
1704
|
<p>Embed page size combo box and orientation combo box into page setup page.
|
1705
1705
|
Selected page setup is stored as default page setup in <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>.</p>
|
1706
1706
|
<div class="refsect3">
|
@@ -1719,7 +1719,7 @@ Selected page setup is stored as default page setup in <a class="link" href="gtk
|
|
1719
1719
|
</tr>
|
1720
1720
|
<tr>
|
1721
1721
|
<td class="parameter_name"><p>embed</p></td>
|
1722
|
-
<td class="parameter_description"><p><a href="
|
1722
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to embed page setup selection in the <span class="type">GtkPrintDialog</span></p></td>
|
1723
1723
|
<td class="parameter_annotations"> </td>
|
1724
1724
|
</tr>
|
1725
1725
|
</tbody>
|
@@ -1730,7 +1730,7 @@ Selected page setup is stored as default page setup in <a class="link" href="gtk
|
|
1730
1730
|
<hr>
|
1731
1731
|
<div class="refsect2">
|
1732
1732
|
<a name="gtk-print-operation-get-embed-page-setup"></a><h3>gtk_print_operation_get_embed_page_setup ()</h3>
|
1733
|
-
<pre class="programlisting"><a href="
|
1733
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1734
1734
|
gtk_print_operation_get_embed_page_setup
|
1735
1735
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
1736
1736
|
<p>Gets the value of <span class="type">“embed-page-setup”</span> property.</p>
|
@@ -1810,7 +1810,7 @@ a problem.</p>
|
|
1810
1810
|
<a name="GtkPageSetupDoneFunc"></a><h3>GtkPageSetupDoneFunc ()</h3>
|
1811
1811
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1812
1812
|
<span class="c_punctuation">(</span>*GtkPageSetupDoneFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup</code></em>,
|
1813
|
-
<em class="parameter"><code><a href="
|
1813
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1814
1814
|
<p>
|
1815
1815
|
The type of function that is passed to <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-run-page-setup-dialog-async" title="gtk_print_run_page_setup_dialog_async ()"><code class="function">gtk_print_run_page_setup_dialog_async()</code></a>.
|
1816
1816
|
This function will be called when the page setup dialog is dismissed, and
|
@@ -1848,7 +1848,7 @@ gtk_print_run_page_setup_dialog_async (<em class="parameter"><code><a class="lin
|
|
1848
1848
|
<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup</code></em>,
|
1849
1849
|
<em class="parameter"><code><a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> *settings</code></em>,
|
1850
1850
|
<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPageSetupDoneFunc" title="GtkPageSetupDoneFunc ()"><span class="type">GtkPageSetupDoneFunc</span></a> done_cb</code></em>,
|
1851
|
-
<em class="parameter"><code><a href="
|
1851
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1852
1852
|
<p>Runs a page setup dialog, letting the user modify the values from <em class="parameter"><code>page_setup</code></em>
|
1853
1853
|
. </p>
|
1854
1854
|
<p>In contrast to <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-run-page-setup-dialog" title="gtk_print_run_page_setup_dialog ()"><code class="function">gtk_print_run_page_setup_dialog()</code></a>, this function returns after
|
@@ -1866,12 +1866,12 @@ from a signal handler for the ::response signal of the dialog.</p>
|
|
1866
1866
|
<tbody>
|
1867
1867
|
<tr>
|
1868
1868
|
<td class="parameter_name"><p>parent</p></td>
|
1869
|
-
<td class="parameter_description"><p> transient parent, or <a href="
|
1869
|
+
<td class="parameter_description"><p> transient parent, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1870
1870
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1871
1871
|
</tr>
|
1872
1872
|
<tr>
|
1873
1873
|
<td class="parameter_name"><p>page_setup</p></td>
|
1874
|
-
<td class="parameter_description"><p> an existing <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>, or <a href="
|
1874
|
+
<td class="parameter_description"><p> an existing <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1875
1875
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1876
1876
|
</tr>
|
1877
1877
|
<tr>
|
@@ -1923,10 +1923,10 @@ gtk_print_operation_preview_end_preview
|
|
1923
1923
|
<hr>
|
1924
1924
|
<div class="refsect2">
|
1925
1925
|
<a name="gtk-print-operation-preview-is-selected"></a><h3>gtk_print_operation_preview_is_selected ()</h3>
|
1926
|
-
<pre class="programlisting"><a href="
|
1926
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1927
1927
|
gtk_print_operation_preview_is_selected
|
1928
1928
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview</code></em>,
|
1929
|
-
<em class="parameter"><code><a href="
|
1929
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr</code></em>);</pre>
|
1930
1930
|
<p>Returns whether the given page is included in the set of pages that
|
1931
1931
|
have been selected for printing.</p>
|
1932
1932
|
<div class="refsect3">
|
@@ -1953,7 +1953,7 @@ have been selected for printing.</p>
|
|
1953
1953
|
</div>
|
1954
1954
|
<div class="refsect3">
|
1955
1955
|
<a name="gtk-print-operation-preview-is-selected.returns"></a><h4>Returns</h4>
|
1956
|
-
<p> <a href="
|
1956
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the page has been selected for printing</p>
|
1957
1957
|
</div>
|
1958
1958
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
1959
1959
|
</div>
|
@@ -1963,7 +1963,7 @@ have been selected for printing.</p>
|
|
1963
1963
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1964
1964
|
gtk_print_operation_preview_render_page
|
1965
1965
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview</code></em>,
|
1966
|
-
<em class="parameter"><code><a href="
|
1966
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr</code></em>);</pre>
|
1967
1967
|
<p>Renders a page to the preview, using the print context that
|
1968
1968
|
was passed to the <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-preview" title="The “preview” signal"><span class="type">“preview”</span></a> handler together
|
1969
1969
|
with <em class="parameter"><code>preview</code></em>
|
@@ -2248,7 +2248,7 @@ using the GTK+ printing support.
|
|
2248
2248
|
<pre class="programlisting">#define GTK_PRINT_ERROR gtk_print_error_quark ()
|
2249
2249
|
</pre>
|
2250
2250
|
<p>
|
2251
|
-
The <a href="
|
2251
|
+
The <a href="https://developer.gnome.org/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> used for <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintError" title="enum GtkPrintError"><span class="type">GtkPrintError</span></a> errors.
|
2252
2252
|
</p>
|
2253
2253
|
</div>
|
2254
2254
|
<hr>
|
@@ -2263,7 +2263,7 @@ The <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/ht
|
|
2263
2263
|
<a name="gtk2-High-level-Printing-API.property-details"></a><h2>Property Details</h2>
|
2264
2264
|
<div class="refsect2">
|
2265
2265
|
<a name="GtkPrintOperation--allow-async"></a><h3>The <code class="literal">“allow-async”</code> property</h3>
|
2266
|
-
<pre class="programlisting"> “allow-async” <a href="
|
2266
|
+
<pre class="programlisting"> “allow-async” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2267
2267
|
<p>Determines whether the print operation may run asynchronously or not.</p>
|
2268
2268
|
<p>Some systems don't support asynchronous printing, but those that do
|
2269
2269
|
will return <a class="link" href="gtk2-High-level-Printing-API.html#GTK-PRINT-OPERATION-RESULT-IN-PROGRESS:CAPS"><code class="literal">GTK_PRINT_OPERATION_RESULT_IN_PROGRESS</code></a> as the status, and
|
@@ -2282,7 +2282,7 @@ is unlikely to change). On other platforms, all actions except for
|
|
2282
2282
|
<hr>
|
2283
2283
|
<div class="refsect2">
|
2284
2284
|
<a name="GtkPrintOperation--current-page"></a><h3>The <code class="literal">“current-page”</code> property</h3>
|
2285
|
-
<pre class="programlisting"> “current-page” <a href="
|
2285
|
+
<pre class="programlisting"> “current-page” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
2286
2286
|
<p>The current page in the document.</p>
|
2287
2287
|
<p>If this is set before <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a>,
|
2288
2288
|
|
@@ -2296,10 +2296,10 @@ the user will be able to select to print only the current page.</p>
|
|
2296
2296
|
<hr>
|
2297
2297
|
<div class="refsect2">
|
2298
2298
|
<a name="GtkPrintOperation--custom-tab-label"></a><h3>The <code class="literal">“custom-tab-label”</code> property</h3>
|
2299
|
-
<pre class="programlisting"> “custom-tab-label” <a href="
|
2299
|
+
<pre class="programlisting"> “custom-tab-label” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
2300
2300
|
<p>Used as the label of the tab containing custom widgets.
|
2301
2301
|
Note that this property may be ignored on some platforms.</p>
|
2302
|
-
<p>If this is <a href="
|
2302
|
+
<p>If this is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, GTK+ uses a default label.</p>
|
2303
2303
|
<p>Flags: Read / Write</p>
|
2304
2304
|
<p>Default value: NULL</p>
|
2305
2305
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
@@ -2318,8 +2318,8 @@ to the <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation
|
|
2318
2318
|
<hr>
|
2319
2319
|
<div class="refsect2">
|
2320
2320
|
<a name="GtkPrintOperation--embed-page-setup"></a><h3>The <code class="literal">“embed-page-setup”</code> property</h3>
|
2321
|
-
<pre class="programlisting"> “embed-page-setup” <a href="
|
2322
|
-
<p>If <a href="
|
2321
|
+
<pre class="programlisting"> “embed-page-setup” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2322
|
+
<p>If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, page size combo box and orientation combo box are embedded into page setup page.</p>
|
2323
2323
|
<p>Flags: Read / Write</p>
|
2324
2324
|
<p>Default value: FALSE</p>
|
2325
2325
|
<p class="since">Since: <a class="link" href="api-index-2-18.html#api-index-2.18">2.18</a></p>
|
@@ -2327,7 +2327,7 @@ to the <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation
|
|
2327
2327
|
<hr>
|
2328
2328
|
<div class="refsect2">
|
2329
2329
|
<a name="GtkPrintOperation--export-filename"></a><h3>The <code class="literal">“export-filename”</code> property</h3>
|
2330
|
-
<pre class="programlisting"> “export-filename” <a href="
|
2330
|
+
<pre class="programlisting"> “export-filename” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
2331
2331
|
<p>The name of a file to generate instead of showing the print dialog.
|
2332
2332
|
|
2333
2333
|
Currently, PDF is the only supported format.</p>
|
@@ -2345,7 +2345,7 @@ list of printers in the print dialog.</p>
|
|
2345
2345
|
<hr>
|
2346
2346
|
<div class="refsect2">
|
2347
2347
|
<a name="GtkPrintOperation--has-selection"></a><h3>The <code class="literal">“has-selection”</code> property</h3>
|
2348
|
-
<pre class="programlisting"> “has-selection” <a href="
|
2348
|
+
<pre class="programlisting"> “has-selection” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2349
2349
|
<p>Determines whether there is a selection in your application.
|
2350
2350
|
This can allow your application to print the selection.
|
2351
2351
|
This is typically used to make a "Selection" button sensitive.</p>
|
@@ -2356,7 +2356,7 @@ This is typically used to make a "Selection" button sensitive.</p>
|
|
2356
2356
|
<hr>
|
2357
2357
|
<div class="refsect2">
|
2358
2358
|
<a name="GtkPrintOperation--job-name"></a><h3>The <code class="literal">“job-name”</code> property</h3>
|
2359
|
-
<pre class="programlisting"> “job-name” <a href="
|
2359
|
+
<pre class="programlisting"> “job-name” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
2360
2360
|
<p>A string used to identify the job (e.g. in monitoring
|
2361
2361
|
|
2362
2362
|
applications like eggcups). </p>
|
@@ -2370,7 +2370,7 @@ by numbering successive print jobs.</p>
|
|
2370
2370
|
<hr>
|
2371
2371
|
<div class="refsect2">
|
2372
2372
|
<a name="GtkPrintOperation--n-pages"></a><h3>The <code class="literal">“n-pages”</code> property</h3>
|
2373
|
-
<pre class="programlisting"> “n-pages” <a href="
|
2373
|
+
<pre class="programlisting"> “n-pages” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
2374
2374
|
<p>The number of pages in the document. </p>
|
2375
2375
|
<p>This <span class="emphasis"><em>must</em></span> be set to a positive number
|
2376
2376
|
before the rendering starts. It may be set in a
|
@@ -2394,7 +2394,7 @@ will be for page <em class="parameter"><code>n_pages</code></em>
|
|
2394
2394
|
<hr>
|
2395
2395
|
<div class="refsect2">
|
2396
2396
|
<a name="GtkPrintOperation--n-pages-to-print"></a><h3>The <code class="literal">“n-pages-to-print”</code> property</h3>
|
2397
|
-
<pre class="programlisting"> “n-pages-to-print” <a href="
|
2397
|
+
<pre class="programlisting"> “n-pages-to-print” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
2398
2398
|
<p>The number of pages that will be printed.</p>
|
2399
2399
|
<p>Note that this value is set during print preparation phase
|
2400
2400
|
(<a class="link" href="gtk2-High-level-Printing-API.html#GTK-PRINT-STATUS-PREPARING:CAPS"><code class="literal">GTK_PRINT_STATUS_PREPARING</code></a>), so this value should never be
|
@@ -2424,7 +2424,7 @@ print settings from a previous print operation, see
|
|
2424
2424
|
<hr>
|
2425
2425
|
<div class="refsect2">
|
2426
2426
|
<a name="GtkPrintOperation--show-progress"></a><h3>The <code class="literal">“show-progress”</code> property</h3>
|
2427
|
-
<pre class="programlisting"> “show-progress” <a href="
|
2427
|
+
<pre class="programlisting"> “show-progress” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2428
2428
|
<p>Determines whether to show a progress dialog during the
|
2429
2429
|
|
2430
2430
|
print operation.</p>
|
@@ -2444,7 +2444,7 @@ print operation.</p>
|
|
2444
2444
|
<hr>
|
2445
2445
|
<div class="refsect2">
|
2446
2446
|
<a name="GtkPrintOperation--status-string"></a><h3>The <code class="literal">“status-string”</code> property</h3>
|
2447
|
-
<pre class="programlisting"> “status-string” <a href="
|
2447
|
+
<pre class="programlisting"> “status-string” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
2448
2448
|
<p>A string representation of the status of the print operation.
|
2449
2449
|
|
2450
2450
|
The string is translated and suitable for displaying the print
|
@@ -2460,8 +2460,8 @@ is suitable for programmatic use.</p>
|
|
2460
2460
|
<hr>
|
2461
2461
|
<div class="refsect2">
|
2462
2462
|
<a name="GtkPrintOperation--support-selection"></a><h3>The <code class="literal">“support-selection”</code> property</h3>
|
2463
|
-
<pre class="programlisting"> “support-selection” <a href="
|
2464
|
-
<p>If <a href="
|
2463
|
+
<pre class="programlisting"> “support-selection” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2464
|
+
<p>If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the print operation will support print of selection.
|
2465
2465
|
This allows the print dialog to show a "Selection" button.</p>
|
2466
2466
|
<p>Flags: Read / Write</p>
|
2467
2467
|
<p>Default value: FALSE</p>
|
@@ -2470,8 +2470,8 @@ This allows the print dialog to show a "Selection" button.</p>
|
|
2470
2470
|
<hr>
|
2471
2471
|
<div class="refsect2">
|
2472
2472
|
<a name="GtkPrintOperation--track-print-status"></a><h3>The <code class="literal">“track-print-status”</code> property</h3>
|
2473
|
-
<pre class="programlisting"> “track-print-status” <a href="
|
2474
|
-
<p>If <a href="
|
2473
|
+
<pre class="programlisting"> “track-print-status” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2474
|
+
<p>If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the print operation will try to continue report on
|
2475
2475
|
|
2476
2476
|
the status of the print job in the printer queues and printer.
|
2477
2477
|
|
@@ -2502,8 +2502,8 @@ are measured in units of <em class="parameter"><code>unit</code></em>
|
|
2502
2502
|
<hr>
|
2503
2503
|
<div class="refsect2">
|
2504
2504
|
<a name="GtkPrintOperation--use-full-page"></a><h3>The <code class="literal">“use-full-page”</code> property</h3>
|
2505
|
-
<pre class="programlisting"> “use-full-page” <a href="
|
2506
|
-
<p>If <a href="
|
2505
|
+
<pre class="programlisting"> “use-full-page” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2506
|
+
<p>If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the transformation for the cairo context obtained
|
2507
2507
|
|
2508
2508
|
from <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> puts the origin at the top left corner
|
2509
2509
|
|
@@ -2526,7 +2526,7 @@ area (i.e. inside the margins).</p>
|
|
2526
2526
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2527
2527
|
user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2528
2528
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2529
|
-
<a href="
|
2529
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2530
2530
|
<p>Emitted after the user has finished changing print settings
|
2531
2531
|
in the dialog, before the actual rendering starts. </p>
|
2532
2532
|
<p>A typical use for ::begin-print is to use the parameters from the
|
@@ -2559,15 +2559,15 @@ set the number of pages with <a class="link" href="gtk2-High-level-Printing-API.
|
|
2559
2559
|
</tbody>
|
2560
2560
|
</table></div>
|
2561
2561
|
</div>
|
2562
|
-
<p>Flags: <a href="
|
2562
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2563
2563
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
2564
2564
|
</div>
|
2565
2565
|
<hr>
|
2566
2566
|
<div class="refsect2">
|
2567
2567
|
<a name="GtkPrintOperation-create-custom-widget"></a><h3>The <code class="literal">“create-custom-widget”</code> signal</h3>
|
2568
|
-
<pre class="programlisting"><a href="
|
2568
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="returnvalue">GObject</span></a>*
|
2569
2569
|
user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2570
|
-
<a href="
|
2570
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2571
2571
|
<p>Emitted when displaying the print dialog. If you return a
|
2572
2572
|
widget in a handler for this signal it will be added to a custom
|
2573
2573
|
tab in the print dialog. You typically return a container widget
|
@@ -2606,10 +2606,10 @@ information you need from the widgets.</p>
|
|
2606
2606
|
<div class="refsect3">
|
2607
2607
|
<a name="GtkPrintOperation-create-custom-widget.returns"></a><h4>Returns</h4>
|
2608
2608
|
<p> A custom widget that gets embedded in
|
2609
|
-
the print dialog, or <a href="
|
2609
|
+
the print dialog, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
2610
2610
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2611
2611
|
</div>
|
2612
|
-
<p>Flags: <a href="
|
2612
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2613
2613
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
2614
2614
|
</div>
|
2615
2615
|
<hr>
|
@@ -2618,7 +2618,7 @@ the print dialog, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local
|
|
2618
2618
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2619
2619
|
user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2620
2620
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
2621
|
-
<a href="
|
2621
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2622
2622
|
<p>Emitted right before <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-begin-print" title="The “begin-print” signal"><span class="type">“begin-print”</span></a> if you added
|
2623
2623
|
a custom widget in the <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-create-custom-widget" title="The “create-custom-widget” signal"><span class="type">“create-custom-widget”</span></a> handler.
|
2624
2624
|
|
@@ -2654,7 +2654,7 @@ later time.</p>
|
|
2654
2654
|
</tbody>
|
2655
2655
|
</table></div>
|
2656
2656
|
</div>
|
2657
|
-
<p>Flags: <a href="
|
2657
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2658
2658
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
2659
2659
|
</div>
|
2660
2660
|
<hr>
|
@@ -2663,7 +2663,7 @@ later time.</p>
|
|
2663
2663
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2664
2664
|
user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2665
2665
|
<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationResult" title="enum GtkPrintOperationResult"><span class="type">GtkPrintOperationResult</span></a> result,
|
2666
|
-
<a href="
|
2666
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2667
2667
|
<p>Emitted when the print operation run has finished doing
|
2668
2668
|
everything required for printing. </p>
|
2669
2669
|
<p><em class="parameter"><code>result</code></em>
|
@@ -2674,7 +2674,7 @@ If <em class="parameter"><code>result</code></em>
|
|
2674
2674
|
<a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-get-error" title="gtk_print_operation_get_error ()"><code class="function">gtk_print_operation_get_error()</code></a> for more information.</p>
|
2675
2675
|
<p>If you enabled print status tracking then
|
2676
2676
|
|
2677
|
-
<a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-is-finished" title="gtk_print_operation_is_finished ()"><code class="function">gtk_print_operation_is_finished()</code></a> may still return <a href="
|
2677
|
+
<a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-is-finished" title="gtk_print_operation_is_finished ()"><code class="function">gtk_print_operation_is_finished()</code></a> may still return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
2678
2678
|
|
2679
2679
|
after <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-done" title="The “done” signal"><span class="type">“done”</span></a> was emitted.</p>
|
2680
2680
|
<div class="refsect3">
|
@@ -2704,7 +2704,7 @@ after <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-
|
|
2704
2704
|
</tbody>
|
2705
2705
|
</table></div>
|
2706
2706
|
</div>
|
2707
|
-
<p>Flags: <a href="
|
2707
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2708
2708
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
2709
2709
|
</div>
|
2710
2710
|
<hr>
|
@@ -2713,8 +2713,8 @@ after <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-
|
|
2713
2713
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2714
2714
|
user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2715
2715
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2716
|
-
<a href="
|
2717
|
-
<a href="
|
2716
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr,
|
2717
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2718
2718
|
<p>Emitted for every page that is printed. The signal handler
|
2719
2719
|
must render the <em class="parameter"><code>page_nr</code></em>
|
2720
2720
|
's page onto the cairo context obtained
|
@@ -2792,13 +2792,13 @@ from <em class="parameter"><code>context</code></em>
|
|
2792
2792
|
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-set-width">pango_layout_set_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> width </span><span class="symbol">*</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Glyph-Storage.html#PANGO-SCALE:CAPS">PANGO_SCALE</a></span><span class="symbol">);</span>
|
2793
2793
|
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-set-alignment">pango_layout_set_alignment</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#PANGO-ALIGN-CENTER:CAPS">PANGO_ALIGN_CENTER</a></span><span class="symbol">);</span>
|
2794
2794
|
|
2795
|
-
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-get-size">pango_layout_get_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> <a href="
|
2796
|
-
<span class="normal"> text_height </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="
|
2795
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-get-size">pango_layout_get_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">layout_height</span><span class="symbol">);</span>
|
2796
|
+
<span class="normal"> text_height </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble">gdouble</a></span><span class="symbol">)</span><span class="normal">layout_height </span><span class="symbol">/</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Glyph-Storage.html#PANGO-SCALE:CAPS">PANGO_SCALE</a></span><span class="symbol">;</span>
|
2797
2797
|
|
2798
2798
|
<span class="normal"> </span><span class="function">cairo_move_to</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> width </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">HEADER_HEIGHT </span><span class="symbol">-</span><span class="normal"> text_height</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">);</span>
|
2799
2799
|
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Cairo-Rendering.html#pango-cairo-show-layout">pango_cairo_show_layout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> layout</span><span class="symbol">);</span>
|
2800
2800
|
|
2801
|
-
<span class="normal"> </span><span class="function"><a href="
|
2801
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span>
|
2802
2802
|
<span class="cbracket">}</span></pre></td>
|
2803
2803
|
</tr>
|
2804
2804
|
</tbody>
|
@@ -2843,7 +2843,7 @@ needs.</p>
|
|
2843
2843
|
</tbody>
|
2844
2844
|
</table></div>
|
2845
2845
|
</div>
|
2846
|
-
<p>Flags: <a href="
|
2846
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2847
2847
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
2848
2848
|
</div>
|
2849
2849
|
<hr>
|
@@ -2852,7 +2852,7 @@ needs.</p>
|
|
2852
2852
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2853
2853
|
user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2854
2854
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2855
|
-
<a href="
|
2855
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2856
2856
|
<p>Emitted after all pages have been rendered.
|
2857
2857
|
|
2858
2858
|
A handler for this signal can clean up any resources that have
|
@@ -2884,25 +2884,25 @@ been allocated in the <a class="link" href="gtk2-High-level-Printing-API.html#Gt
|
|
2884
2884
|
</tbody>
|
2885
2885
|
</table></div>
|
2886
2886
|
</div>
|
2887
|
-
<p>Flags: <a href="
|
2887
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2888
2888
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
2889
2889
|
</div>
|
2890
2890
|
<hr>
|
2891
2891
|
<div class="refsect2">
|
2892
2892
|
<a name="GtkPrintOperation-paginate"></a><h3>The <code class="literal">“paginate”</code> signal</h3>
|
2893
|
-
<pre class="programlisting"><a href="
|
2893
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2894
2894
|
user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2895
2895
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2896
|
-
<a href="
|
2896
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2897
2897
|
<p>Emitted after the <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-begin-print" title="The “begin-print” signal"><span class="type">“begin-print”</span></a> signal, but before
|
2898
2898
|
|
2899
2899
|
the actual rendering starts. It keeps getting emitted until a connected
|
2900
2900
|
|
2901
|
-
signal handler returns <a href="
|
2901
|
+
signal handler returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
2902
2902
|
<p>The ::paginate signal is intended to be used for paginating a document
|
2903
2903
|
in small chunks, to avoid blocking the user interface for a long
|
2904
2904
|
time. The signal handler should update the number of pages using
|
2905
|
-
<a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-n-pages" title="gtk_print_operation_set_n_pages ()"><code class="function">gtk_print_operation_set_n_pages()</code></a>, and return <a href="
|
2905
|
+
<a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-n-pages" title="gtk_print_operation_set_n_pages ()"><code class="function">gtk_print_operation_set_n_pages()</code></a>, and return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the document
|
2906
2906
|
has been completely paginated.</p>
|
2907
2907
|
<p>If you don't need to do pagination in chunks, you can simply do
|
2908
2908
|
it all in the ::begin-print handler, and set the number of pages
|
@@ -2936,26 +2936,26 @@ from there.</p>
|
|
2936
2936
|
</div>
|
2937
2937
|
<div class="refsect3">
|
2938
2938
|
<a name="GtkPrintOperation-paginate.returns"></a><h4>Returns</h4>
|
2939
|
-
<p> <a href="
|
2939
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if pagination is complete</p>
|
2940
2940
|
</div>
|
2941
|
-
<p>Flags: <a href="
|
2941
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2942
2942
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
2943
2943
|
</div>
|
2944
2944
|
<hr>
|
2945
2945
|
<div class="refsect2">
|
2946
2946
|
<a name="GtkPrintOperation-preview"></a><h3>The <code class="literal">“preview”</code> signal</h3>
|
2947
|
-
<pre class="programlisting"><a href="
|
2947
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2948
2948
|
user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2949
2949
|
<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview,
|
2950
2950
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2951
2951
|
<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent,
|
2952
|
-
<a href="
|
2952
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2953
2953
|
<p>Gets emitted when a preview is requested from the native dialog.</p>
|
2954
2954
|
<p>The default handler for this signal uses an external viewer
|
2955
2955
|
|
2956
2956
|
application to preview.</p>
|
2957
2957
|
<p>To implement a custom print preview, an application must return
|
2958
|
-
<a href="
|
2958
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> from its handler for this signal. In order to use the
|
2959
2959
|
provided <em class="parameter"><code>context</code></em>
|
2960
2960
|
for the preview implementation, it must be
|
2961
2961
|
given a suitable cairo context with <a class="link" href="GtkPrintContext.html#gtk-print-context-set-cairo-context" title="gtk_print_context_set_cairo_context ()"><code class="function">gtk_print_context_set_cairo_context()</code></a>.</p>
|
@@ -2993,7 +2993,7 @@ finished by calling <a class="link" href="gtk2-High-level-Printing-API.html#gtk-
|
|
2993
2993
|
</tr>
|
2994
2994
|
<tr>
|
2995
2995
|
<td class="parameter_name"><p>parent</p></td>
|
2996
|
-
<td class="parameter_description"><p> the <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> to use as window parent, or <a href="
|
2996
|
+
<td class="parameter_description"><p> the <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> to use as window parent, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2997
2997
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2998
2998
|
</tr>
|
2999
2999
|
<tr>
|
@@ -3006,9 +3006,9 @@ finished by calling <a class="link" href="gtk2-High-level-Printing-API.html#gtk-
|
|
3006
3006
|
</div>
|
3007
3007
|
<div class="refsect3">
|
3008
3008
|
<a name="GtkPrintOperation-preview.returns"></a><h4>Returns</h4>
|
3009
|
-
<p> <a href="
|
3009
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the listener wants to take over control of the preview</p>
|
3010
3010
|
</div>
|
3011
|
-
<p>Flags: <a href="
|
3011
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
3012
3012
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
3013
3013
|
</div>
|
3014
3014
|
<hr>
|
@@ -3017,9 +3017,9 @@ finished by calling <a class="link" href="gtk2-High-level-Printing-API.html#gtk-
|
|
3017
3017
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3018
3018
|
user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
3019
3019
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
3020
|
-
<a href="
|
3020
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr,
|
3021
3021
|
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup,
|
3022
|
-
<a href="
|
3022
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
3023
3023
|
<p>Emitted once for every page that is printed, to give
|
3024
3024
|
the application a chance to modify the page setup. Any changes
|
3025
3025
|
|
@@ -3062,7 +3062,7 @@ done to <em class="parameter"><code>setup</code></em>
|
|
3062
3062
|
</tbody>
|
3063
3063
|
</table></div>
|
3064
3064
|
</div>
|
3065
|
-
<p>Flags: <a href="
|
3065
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
3066
3066
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
3067
3067
|
</div>
|
3068
3068
|
<hr>
|
@@ -3070,7 +3070,7 @@ done to <em class="parameter"><code>setup</code></em>
|
|
3070
3070
|
<a name="GtkPrintOperation-status-changed"></a><h3>The <code class="literal">“status-changed”</code> signal</h3>
|
3071
3071
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3072
3072
|
user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
3073
|
-
<a href="
|
3073
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
3074
3074
|
<p>Emitted at between the various phases of the print operation.
|
3075
3075
|
See <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintStatus" title="enum GtkPrintStatus"><span class="type">GtkPrintStatus</span></a> for the phases that are being discriminated.
|
3076
3076
|
Use <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-get-status" title="gtk_print_operation_get_status ()"><code class="function">gtk_print_operation_get_status()</code></a> to find out the current
|
@@ -3097,7 +3097,7 @@ status.</p>
|
|
3097
3097
|
</tbody>
|
3098
3098
|
</table></div>
|
3099
3099
|
</div>
|
3100
|
-
<p>Flags: <a href="
|
3100
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
3101
3101
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
3102
3102
|
</div>
|
3103
3103
|
<hr>
|
@@ -3108,7 +3108,7 @@ user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintO
|
|
3108
3108
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
3109
3109
|
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup,
|
3110
3110
|
<a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> *settings,
|
3111
|
-
<a href="
|
3111
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
3112
3112
|
<p>Emitted after change of selected printer. The actual page setup and
|
3113
3113
|
print settings are passed to the custom widget, which can actualize
|
3114
3114
|
itself according to this change.</p>
|
@@ -3149,7 +3149,7 @@ itself according to this change.</p>
|
|
3149
3149
|
</tbody>
|
3150
3150
|
</table></div>
|
3151
3151
|
</div>
|
3152
|
-
<p>Flags: <a href="
|
3152
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
3153
3153
|
<p class="since">Since: <a class="link" href="api-index-2-18.html#api-index-2.18">2.18</a></p>
|
3154
3154
|
</div>
|
3155
3155
|
<hr>
|
@@ -3159,7 +3159,7 @@ itself according to this change.</p>
|
|
3159
3159
|
user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview,
|
3160
3160
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
3161
3161
|
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup,
|
3162
|
-
<a href="
|
3162
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
3163
3163
|
<p>The ::got-page-size signal is emitted once for each page
|
3164
3164
|
that gets rendered to the preview. </p>
|
3165
3165
|
<p>A handler for this signal should update the <em class="parameter"><code>context</code></em>
|
@@ -3199,7 +3199,7 @@ context, using <a class="link" href="GtkPrintContext.html#gtk-print-context-set-
|
|
3199
3199
|
</tbody>
|
3200
3200
|
</table></div>
|
3201
3201
|
</div>
|
3202
|
-
<p>Flags: <a href="
|
3202
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
3203
3203
|
</div>
|
3204
3204
|
<hr>
|
3205
3205
|
<div class="refsect2">
|
@@ -3207,7 +3207,7 @@ context, using <a class="link" href="GtkPrintContext.html#gtk-print-context-set-
|
|
3207
3207
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3208
3208
|
user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview,
|
3209
3209
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
3210
|
-
<a href="
|
3210
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
3211
3211
|
<p>The ::ready signal gets emitted once per preview operation,
|
3212
3212
|
before the first page is rendered.</p>
|
3213
3213
|
<p>A handler for this signal can be used for setup tasks.</p>
|
@@ -3238,7 +3238,7 @@ before the first page is rendered.</p>
|
|
3238
3238
|
</tbody>
|
3239
3239
|
</table></div>
|
3240
3240
|
</div>
|
3241
|
-
<p>Flags: <a href="
|
3241
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
3242
3242
|
</div>
|
3243
3243
|
</div>
|
3244
3244
|
<div class="refsect1">
|