gtk2 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gtk2/rbgdkproperty.c +4 -4
- data/ext/gtk2/rbgtk.c +17 -0
- data/ext/gtk2/rbgtkdialog.c +26 -7
- data/ext/gtk2/rbgtkselectiondata.c +4 -5
- data/lib/2.0/gtk2.so +0 -0
- data/test/test_gdk_pixbuf.rb +34 -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/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 +1 -1
- 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 +1 -1
- 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 +1 -1
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgailutil.la +1 -1
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.la +1 -1
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.la +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +46 -46
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplay.html +93 -93
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplayManager.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk2/GdkScreen.html +159 -159
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Application-launching.html +13 -13
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Bitmaps-and-Pixmaps.html +53 -53
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Colormaps-and-Colors.html +85 -85
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Cursors.html +17 -17
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drag-and-Drop.html +45 -45
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drawing-Primitives.html +200 -200
- 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 +61 -61
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Fonts.html +117 -117
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-GdkRGB.html +110 -110
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-General.html +75 -75
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Graphics-Contexts.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Images.html +52 -52
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input-Devices.html +55 -55
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input.html +23 -23
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Keyboard-Handling.html +99 -99
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pango-Interaction.html +32 -32
- 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 +46 -46
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Properties-and-Atoms.html +125 -125
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Selections.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Testing.html +16 -16
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Threads.html +88 -88
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Visuals.html +56 -56
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Windows.html +395 -395
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-X-Window-System-Interaction.html +72 -72
- data/vendor/local/share/gtk-doc/html/gdk2/multihead.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAboutDialog.html +136 -136
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccelLabel.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccessible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAction.html +133 -133
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActionGroup.html +110 -110
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActivatable.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAdjustment.html +78 -78
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAlignment.html +54 -54
- data/vendor/local/share/gtk-doc/html/gtk2/GtkArrow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAspectFrame.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAssistant.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBin.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBox.html +67 -67
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuildable.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuilder.html +127 -127
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButton.html +73 -73
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButtonBox.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCList.html +294 -294
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCTree.html +212 -212
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCalendar.html +97 -97
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellEditable.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellLayout.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRenderer.html +100 -100
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererAccel.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererCombo.html +11 -11
- 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 +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererText.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererToggle.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellView.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCheckButton.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorButton.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelection.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelectionDialog.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCombo.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBox.html +106 -106
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxEntry.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxText.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkContainer.html +92 -92
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCurve.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDialog.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDrawingArea.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEditable.html +60 -60
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntry.html +274 -274
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryBuffer.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryCompletion.html +103 -103
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEventBox.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkExpander.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooser.html +217 -217
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserButton.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserDialog.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserWidget.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileSelection.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFixed.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontButton.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelection.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelectionDialog.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFrame.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkGammaCurve.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHBox.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHButtonBox.html +6 -6
- 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 +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScale.html +8 -8
- 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 +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContext.html +65 -65
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContextSimple.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMMulticontext.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconTheme.html +99 -99
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconView.html +214 -214
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImage.html +73 -73
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImageMenuItem.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInfoBar.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInputDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInvisible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItem.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItemFactory.html +107 -107
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLabel.html +158 -158
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLayout.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLinkButton.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkList.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListItem.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListStore.html +64 -64
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenu.html +107 -107
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuBar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuItem.html +66 -66
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuShell.html +45 -45
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuToolButton.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMessageDialog.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMisc.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkNotebook.html +225 -225
- data/vendor/local/share/gtk-doc/html/gtk2/GtkObject.html +117 -117
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOffscreenWindow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOldEditable.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOptionMenu.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetup.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetupUnixDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaned.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaperSize.html +68 -68
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPixmap.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPlug.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPreview.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintContext.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintJob.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintSettings.html +210 -210
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintUnixDialog.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrinter.html +96 -96
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgress.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgressBar.html +49 -49
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioAction.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioButton.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioMenuItem.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioToolButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRange.html +110 -110
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentAction.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooser.html +114 -114
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserDialog.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserMenu.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserWidget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentFilter.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentManager.html +147 -147
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRuler.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScale.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScaleButton.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrollbar.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrolledWindow.html +19 -19
- 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 +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSettings.html +213 -213
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSizeGroup.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSocket.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinButton.html +93 -93
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinner.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusIcon.html +164 -164
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusbar.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStyle.html +467 -467
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTable.html +93 -93
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTearoffMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkText.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextBuffer.html +233 -233
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextIter.html +309 -309
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextMark.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTag.html +134 -134
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTagTable.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextView.html +237 -237
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTipsQuery.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleAction.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleButton.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleToolButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolButton.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItem.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItemGroup.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolPalette.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolShell.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolbar.html +127 -127
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltip.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltips.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTree.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeItem.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModel.html +156 -156
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelFilter.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelSort.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSelection.html +43 -43
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSortable.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeStore.html +74 -74
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeView.html +478 -478
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeViewColumn.html +175 -175
- data/vendor/local/share/gtk-doc/html/gtk2/GtkUIManager.html +64 -64
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVBox.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVButtonBox.html +6 -6
- 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 +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScrollbar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkViewport.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVolumeButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWidget.html +769 -769
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindow.html +310 -310
- 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 +3 -3
- 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 +44 -44
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Accelerator-Maps.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Bindings.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Clipboards.html +115 -115
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Drag-and-Drop.html +80 -80
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Feature-Test-Macros.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Filesystem-utilities.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-General.html +173 -173
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Graphics-Contexts.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-GtkTreeView-drag-and-drop.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-High-level-Printing-API.html +168 -168
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Keyboard-Accelerators.html +100 -100
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Orientable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Resource-Files.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Selections.html +149 -149
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Signals.html +95 -95
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Stock-Items.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Testing.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Themeable-Stock-Images.html +69 -69
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Types.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkcheckmenuitem.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkfilefilter.html +29 -29
- 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 +16 -17
- data/lib/1.9/gtk2.so +0 -0
- data/lib/2.1/gtk2.so +0 -0
@@ -40,7 +40,7 @@
|
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <gtk/gtk.h>
|
42
42
|
|
43
|
-
<a href="../gdk2/gdk2-Graphics-Contexts.html#GdkGC"><span class="returnvalue">GdkGC</span></a> * <a class="link" href="gtk2-Graphics-Contexts.html#gtk-gc-get" title="gtk_gc_get ()">gtk_gc_get</a> (<em class="parameter"><code><a href="
|
43
|
+
<a href="../gdk2/gdk2-Graphics-Contexts.html#GdkGC"><span class="returnvalue">GdkGC</span></a> * <a class="link" href="gtk2-Graphics-Contexts.html#gtk-gc-get" title="gtk_gc_get ()">gtk_gc_get</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> depth</code></em>,
|
44
44
|
<em class="parameter"><code><a href="../gdk2/gdk2-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
45
45
|
<em class="parameter"><code><a href="../gdk2/gdk2-Graphics-Contexts.html#GdkGCValues"><span class="type">GdkGCValues</span></a> *values</code></em>,
|
46
46
|
<em class="parameter"><code><a href="../gdk2/gdk2-Graphics-Contexts.html#GdkGCValuesMask"><span class="type">GdkGCValuesMask</span></a> values_mask</code></em>);
|
@@ -61,7 +61,7 @@ When the <a href="../gdk2/gdk2-Graphics-Contexts.html#GdkGC"><span class="type">
|
|
61
61
|
<a name="gtk2-Graphics-Contexts.details"></a><h2>Details</h2>
|
62
62
|
<div class="refsect2">
|
63
63
|
<a name="gtk-gc-get"></a><h3>gtk_gc_get ()</h3>
|
64
|
-
<pre class="programlisting"><a href="../gdk2/gdk2-Graphics-Contexts.html#GdkGC"><span class="returnvalue">GdkGC</span></a> * gtk_gc_get (<em class="parameter"><code><a href="
|
64
|
+
<pre class="programlisting"><a href="../gdk2/gdk2-Graphics-Contexts.html#GdkGC"><span class="returnvalue">GdkGC</span></a> * gtk_gc_get (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> depth</code></em>,
|
65
65
|
<em class="parameter"><code><a href="../gdk2/gdk2-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
66
66
|
<em class="parameter"><code><a href="../gdk2/gdk2-Graphics-Contexts.html#GdkGCValues"><span class="type">GdkGCValues</span></a> *values</code></em>,
|
67
67
|
<em class="parameter"><code><a href="../gdk2/gdk2-Graphics-Contexts.html#GdkGCValuesMask"><span class="type">GdkGCValuesMask</span></a> values_mask</code></em>);</pre>
|
@@ -46,28 +46,28 @@
|
|
46
46
|
|
47
47
|
<a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#GtkTreeDragSource-struct" title="GtkTreeDragSource">GtkTreeDragSource</a>;
|
48
48
|
struct <a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#GtkTreeDragSourceIface" title="struct GtkTreeDragSourceIface">GtkTreeDragSourceIface</a>;
|
49
|
-
<a href="
|
49
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>
|
50
50
|
(<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>,
|
51
51
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);
|
52
|
-
<a href="
|
52
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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> (<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>,
|
53
53
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
|
54
54
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
|
55
|
-
<a href="
|
55
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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> (<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>,
|
56
56
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);
|
57
57
|
<a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#GtkTreeDragDest-struct" title="GtkTreeDragDest">GtkTreeDragDest</a>;
|
58
58
|
struct <a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#GtkTreeDragDestIface" title="struct GtkTreeDragDestIface">GtkTreeDragDestIface</a>;
|
59
|
-
<a href="
|
59
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>
|
60
60
|
(<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>,
|
61
61
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *dest</code></em>,
|
62
62
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
|
63
|
-
<a href="
|
63
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>
|
64
64
|
(<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>,
|
65
65
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *dest_path</code></em>,
|
66
66
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
|
67
|
-
<a href="
|
67
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
68
68
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *tree_model</code></em>,
|
69
69
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);
|
70
|
-
<a href="
|
70
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
71
71
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> **tree_model</code></em>,
|
72
72
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>);
|
73
73
|
</pre>
|
@@ -147,12 +147,12 @@ and auto-scroll, but your models have to implement the
|
|
147
147
|
<hr>
|
148
148
|
<div class="refsect2">
|
149
149
|
<a name="gtk-tree-drag-source-drag-data-delete"></a><h3>gtk_tree_drag_source_drag_data_delete ()</h3>
|
150
|
-
<pre class="programlisting"><a href="
|
150
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_tree_drag_source_drag_data_delete
|
151
151
|
(<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>,
|
152
152
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
|
153
153
|
<p>
|
154
154
|
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>, because
|
155
|
-
it was moved somewhere else via drag-and-drop. Returns <a href="
|
155
|
+
it was moved somewhere else via drag-and-drop. Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
156
156
|
if the deletion fails because <em class="parameter"><code>path</code></em> no longer exists, or for
|
157
157
|
some model-specific reason. Should robustly handle a <em class="parameter"><code>path</code></em> no
|
158
158
|
longer found in the model!
|
@@ -175,7 +175,7 @@ longer found in the model!
|
|
175
175
|
<tr>
|
176
176
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
177
177
|
<td>
|
178
|
-
<a href="
|
178
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the row was successfully deleted</td>
|
179
179
|
</tr>
|
180
180
|
</tbody>
|
181
181
|
</table></div>
|
@@ -183,7 +183,7 @@ longer found in the model!
|
|
183
183
|
<hr>
|
184
184
|
<div class="refsect2">
|
185
185
|
<a name="gtk-tree-drag-source-drag-data-get"></a><h3>gtk_tree_drag_source_drag_data_get ()</h3>
|
186
|
-
<pre class="programlisting"><a href="
|
186
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>,
|
187
187
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
|
188
188
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
189
189
|
<p>
|
@@ -216,7 +216,7 @@ from the dragged row. <span class="annotation">[<acronym title="Parameter for re
|
|
216
216
|
<tr>
|
217
217
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
218
218
|
<td>
|
219
|
-
<a href="
|
219
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if data of the required type was provided</td>
|
220
220
|
</tr>
|
221
221
|
</tbody>
|
222
222
|
</table></div>
|
@@ -224,7 +224,7 @@ from the dragged row. <span class="annotation">[<acronym title="Parameter for re
|
|
224
224
|
<hr>
|
225
225
|
<div class="refsect2">
|
226
226
|
<a name="gtk-tree-drag-source-row-draggable"></a><h3>gtk_tree_drag_source_row_draggable ()</h3>
|
227
|
-
<pre class="programlisting"><a href="
|
227
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>,
|
228
228
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
|
229
229
|
<p>
|
230
230
|
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
|
@@ -249,7 +249,7 @@ this interface, the row is assumed draggable.
|
|
249
249
|
<tr>
|
250
250
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
251
251
|
<td>
|
252
|
-
<a href="
|
252
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the row can be dragged</td>
|
253
253
|
</tr>
|
254
254
|
</tbody>
|
255
255
|
</table></div>
|
@@ -284,15 +284,15 @@ this interface, the row is assumed draggable.
|
|
284
284
|
<hr>
|
285
285
|
<div class="refsect2">
|
286
286
|
<a name="gtk-tree-drag-dest-drag-data-received"></a><h3>gtk_tree_drag_dest_drag_data_received ()</h3>
|
287
|
-
<pre class="programlisting"><a href="
|
287
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_tree_drag_dest_drag_data_received
|
288
288
|
(<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>,
|
289
289
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *dest</code></em>,
|
290
290
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
291
291
|
<p>
|
292
292
|
Asks the <a class="link" href="gtk2-GtkTreeView-drag-and-drop.html#GtkTreeDragDest"><span class="type">GtkTreeDragDest</span></a> to insert a row before the path <em class="parameter"><code>dest</code></em>,
|
293
293
|
deriving the contents of the row from <em class="parameter"><code>selection_data</code></em>. If <em class="parameter"><code>dest</code></em> is
|
294
|
-
outside the tree so that inserting before it is impossible, <a href="
|
295
|
-
will be returned. Also, <a href="
|
294
|
+
outside the tree so that inserting before it is impossible, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
295
|
+
will be returned. Also, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> may be returned if the new row is
|
296
296
|
not created for some model-specific reason. Should robustly handle
|
297
297
|
a <em class="parameter"><code>dest</code></em> no longer found in the model!
|
298
298
|
</p>
|
@@ -326,7 +326,7 @@ a <em class="parameter"><code>dest</code></em> no longer found in the model!
|
|
326
326
|
<hr>
|
327
327
|
<div class="refsect2">
|
328
328
|
<a name="gtk-tree-drag-dest-row-drop-possible"></a><h3>gtk_tree_drag_dest_row_drop_possible ()</h3>
|
329
|
-
<pre class="programlisting"><a href="
|
329
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_tree_drag_dest_row_drop_possible
|
330
330
|
(<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>,
|
331
331
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *dest_path</code></em>,
|
332
332
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
@@ -334,7 +334,7 @@ a <em class="parameter"><code>dest</code></em> no longer found in the model!
|
|
334
334
|
Determines whether a drop is possible before the given <em class="parameter"><code>dest_path</code></em>,
|
335
335
|
at the same depth as <em class="parameter"><code>dest_path</code></em>. i.e., can we drop the data in
|
336
336
|
<em class="parameter"><code>selection_data</code></em> at that location. <em class="parameter"><code>dest_path</code></em> does not have to
|
337
|
-
exist; the return value will almost certainly be <a href="
|
337
|
+
exist; the return value will almost certainly be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the
|
338
338
|
parent of <em class="parameter"><code>dest_path</code></em> doesn't exist, though.
|
339
339
|
</p>
|
340
340
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -359,7 +359,7 @@ parent of <em class="parameter"><code>dest_path</code></em> doesn't exist, thoug
|
|
359
359
|
<tr>
|
360
360
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
361
361
|
<td>
|
362
|
-
<a href="
|
362
|
+
<a href="http://library.gnome.org/devel/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>
|
363
363
|
</td>
|
364
364
|
</tr>
|
365
365
|
</tbody>
|
@@ -368,7 +368,7 @@ parent of <em class="parameter"><code>dest_path</code></em> doesn't exist, thoug
|
|
368
368
|
<hr>
|
369
369
|
<div class="refsect2">
|
370
370
|
<a name="gtk-tree-set-row-drag-data"></a><h3>gtk_tree_set_row_drag_data ()</h3>
|
371
|
-
<pre class="programlisting"><a href="
|
371
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>,
|
372
372
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *tree_model</code></em>,
|
373
373
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
|
374
374
|
<p>
|
@@ -399,7 +399,7 @@ in a drag_data_get handler.
|
|
399
399
|
<tr>
|
400
400
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
401
401
|
<td>
|
402
|
-
<a href="
|
402
|
+
<a href="http://library.gnome.org/devel/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</td>
|
403
403
|
</tr>
|
404
404
|
</tbody>
|
405
405
|
</table></div>
|
@@ -407,7 +407,7 @@ in a drag_data_get handler.
|
|
407
407
|
<hr>
|
408
408
|
<div class="refsect2">
|
409
409
|
<a name="gtk-tree-get-row-drag-data"></a><h3>gtk_tree_get_row_drag_data ()</h3>
|
410
|
-
<pre class="programlisting"><a href="
|
410
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>,
|
411
411
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> **tree_model</code></em>,
|
412
412
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>);</pre>
|
413
413
|
<p>
|
@@ -445,7 +445,7 @@ in from the current process. The returned path must be freed with
|
|
445
445
|
<tr>
|
446
446
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
447
447
|
<td>
|
448
|
-
<a href="
|
448
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>selection_data</code></em> had target type <code class="literal">GTK_TREE_MODEL_ROW</code> and
|
449
449
|
is otherwise valid</td>
|
450
450
|
</tr>
|
451
451
|
</tbody>
|
@@ -60,9 +60,9 @@ enum <a class="link" href="gtk2-High-level-Printing-API.html#GtkP
|
|
60
60
|
#define <a class="link" href="gtk2-High-level-Printing-API.html#GTK-PRINT-ERROR:CAPS" title="GTK_PRINT_ERROR">GTK_PRINT_ERROR</a>
|
61
61
|
<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="returnvalue">GtkPrintOperation</span></a> * <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-new" title="gtk_print_operation_new ()">gtk_print_operation_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
62
62
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-allow-async" title="gtk_print_operation_set_allow_async ()">gtk_print_operation_set_allow_async</a> (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
63
|
-
<em class="parameter"><code><a href="
|
63
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allow_async</code></em>);
|
64
64
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-get-error" title="gtk_print_operation_get_error ()">gtk_print_operation_get_error</a> (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
65
|
-
<em class="parameter"><code><a href="
|
65
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
66
66
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-default-page-setup" title="gtk_print_operation_set_default_page_setup ()">gtk_print_operation_set_default_page_setup</a>
|
67
67
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
68
68
|
<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *default_page_setup</code></em>);
|
@@ -74,86 +74,86 @@ enum <a class="link" href="gtk2-High-level-Printing-API.html#GtkP
|
|
74
74
|
<a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="returnvalue">GtkPrintSettings</span></a> * <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-get-print-settings" title="gtk_print_operation_get_print_settings ()">gtk_print_operation_get_print_settings</a>
|
75
75
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
76
76
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-job-name" title="gtk_print_operation_set_job_name ()">gtk_print_operation_set_job_name</a> (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
77
|
-
<em class="parameter"><code>const <a href="
|
77
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *job_name</code></em>);
|
78
78
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-n-pages" title="gtk_print_operation_set_n_pages ()">gtk_print_operation_set_n_pages</a> (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
79
|
-
<em class="parameter"><code><a href="
|
80
|
-
<a href="
|
79
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_pages</code></em>);
|
80
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <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>
|
81
81
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
82
82
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-current-page" title="gtk_print_operation_set_current_page ()">gtk_print_operation_set_current_page</a>
|
83
83
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
84
|
-
<em class="parameter"><code><a href="
|
84
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> current_page</code></em>);
|
85
85
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-use-full-page" title="gtk_print_operation_set_use_full_page ()">gtk_print_operation_set_use_full_page</a>
|
86
86
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
87
|
-
<em class="parameter"><code><a href="
|
87
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> full_page</code></em>);
|
88
88
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-unit" title="gtk_print_operation_set_unit ()">gtk_print_operation_set_unit</a> (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
89
89
|
<em class="parameter"><code><a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
|
90
90
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-export-filename" title="gtk_print_operation_set_export_filename ()">gtk_print_operation_set_export_filename</a>
|
91
91
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
92
|
-
<em class="parameter"><code>const <a href="
|
92
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
|
93
93
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-show-progress" title="gtk_print_operation_set_show_progress ()">gtk_print_operation_set_show_progress</a>
|
94
94
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
95
|
-
<em class="parameter"><code><a href="
|
95
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_progress</code></em>);
|
96
96
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-track-print-status" title="gtk_print_operation_set_track_print_status ()">gtk_print_operation_set_track_print_status</a>
|
97
97
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
98
|
-
<em class="parameter"><code><a href="
|
98
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> track_status</code></em>);
|
99
99
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-custom-tab-label" title="gtk_print_operation_set_custom_tab_label ()">gtk_print_operation_set_custom_tab_label</a>
|
100
100
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
101
|
-
<em class="parameter"><code>const <a href="
|
101
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
|
102
102
|
<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationResult" title="enum GtkPrintOperationResult"><span class="returnvalue">GtkPrintOperationResult</span></a> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()">gtk_print_operation_run</a> (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
103
103
|
<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>,
|
104
104
|
<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>,
|
105
|
-
<em class="parameter"><code><a href="
|
105
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
106
106
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-cancel" title="gtk_print_operation_cancel ()">gtk_print_operation_cancel</a> (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
107
107
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-draw-page-finish" title="gtk_print_operation_draw_page_finish ()">gtk_print_operation_draw_page_finish</a>
|
108
108
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
109
109
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-defer-drawing" title="gtk_print_operation_set_defer_drawing ()">gtk_print_operation_set_defer_drawing</a>
|
110
110
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
111
111
|
<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintStatus" title="enum GtkPrintStatus"><span class="returnvalue">GtkPrintStatus</span></a> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-get-status" title="gtk_print_operation_get_status ()">gtk_print_operation_get_status</a> (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
112
|
-
const <a href="
|
112
|
+
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <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>
|
113
113
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
114
|
-
<a href="
|
114
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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> (<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
115
115
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-support-selection" title="gtk_print_operation_set_support_selection ()">gtk_print_operation_set_support_selection</a>
|
116
116
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
117
|
-
<em class="parameter"><code><a href="
|
118
|
-
<a href="
|
117
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> support_selection</code></em>);
|
118
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>
|
119
119
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
120
120
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-has-selection" title="gtk_print_operation_set_has_selection ()">gtk_print_operation_set_has_selection</a>
|
121
121
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
122
|
-
<em class="parameter"><code><a href="
|
123
|
-
<a href="
|
122
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_selection</code></em>);
|
123
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>
|
124
124
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
125
125
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-set-embed-page-setup" title="gtk_print_operation_set_embed_page_setup ()">gtk_print_operation_set_embed_page_setup</a>
|
126
126
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
127
|
-
<em class="parameter"><code><a href="
|
128
|
-
<a href="
|
127
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> embed</code></em>);
|
128
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>
|
129
129
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
130
130
|
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="returnvalue">GtkPageSetup</span></a> * <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-run-page-setup-dialog" title="gtk_print_run_page_setup_dialog ()">gtk_print_run_page_setup_dialog</a> (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>,
|
131
131
|
<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup</code></em>,
|
132
132
|
<em class="parameter"><code><a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> *settings</code></em>);
|
133
133
|
<span class="returnvalue">void</span> (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPageSetupDoneFunc" title="GtkPageSetupDoneFunc ()">*GtkPageSetupDoneFunc</a>) (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup</code></em>,
|
134
|
-
<em class="parameter"><code><a href="
|
134
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
135
135
|
<span class="returnvalue">void</span> <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 ()">gtk_print_run_page_setup_dialog_async</a>
|
136
136
|
(<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>,
|
137
137
|
<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup</code></em>,
|
138
138
|
<em class="parameter"><code><a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> *settings</code></em>,
|
139
139
|
<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>,
|
140
|
-
<em class="parameter"><code><a href="
|
140
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
141
141
|
|
142
142
|
<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview-struct" title="GtkPrintOperationPreview">GtkPrintOperationPreview</a>;
|
143
143
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-preview-end-preview" title="gtk_print_operation_preview_end_preview ()">gtk_print_operation_preview_end_preview</a>
|
144
144
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview</code></em>);
|
145
|
-
<a href="
|
145
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>
|
146
146
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview</code></em>,
|
147
|
-
<em class="parameter"><code><a href="
|
147
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr</code></em>);
|
148
148
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-preview-render-page" title="gtk_print_operation_preview_render_page ()">gtk_print_operation_preview_render_page</a>
|
149
149
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview</code></em>,
|
150
|
-
<em class="parameter"><code><a href="
|
150
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr</code></em>);
|
151
151
|
</pre>
|
152
152
|
</div>
|
153
153
|
<div class="refsect1">
|
154
154
|
<a name="gtk2-High-level-Printing-API.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
155
155
|
<pre class="synopsis">
|
156
|
-
<a href="
|
156
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
157
157
|
+----GtkPrintOperation
|
158
158
|
</pre>
|
159
159
|
<pre class="synopsis">
|
@@ -165,7 +165,7 @@ const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gt
|
|
165
165
|
<a name="gtk2-High-level-Printing-API.prerequisites"></a><h2>Prerequisites</h2>
|
166
166
|
<p>
|
167
167
|
GtkPrintOperationPreview requires
|
168
|
-
<a href="
|
168
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>.</p>
|
169
169
|
</div>
|
170
170
|
<div class="refsect1">
|
171
171
|
<a name="gtk2-High-level-Printing-API.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
@@ -182,42 +182,42 @@ GtkPrintOperationPreview is implemented by
|
|
182
182
|
<div class="refsect1">
|
183
183
|
<a name="gtk2-High-level-Printing-API.properties"></a><h2>Properties</h2>
|
184
184
|
<pre class="synopsis">
|
185
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--allow-async" title='The "allow-async" property'>allow-async</a>" <a href="
|
186
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--current-page" title='The "current-page" property'>current-page</a>" <a href="
|
187
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--custom-tab-label" title='The "custom-tab-label" property'>custom-tab-label</a>" <a href="
|
185
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--allow-async" title='The "allow-async" property'>allow-async</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
186
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--current-page" title='The "current-page" property'>current-page</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
|
187
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--custom-tab-label" title='The "custom-tab-label" property'>custom-tab-label</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
|
188
188
|
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--default-page-setup" title='The "default-page-setup" property'>default-page-setup</a>" <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>* : Read / Write
|
189
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--embed-page-setup" title='The "embed-page-setup" property'>embed-page-setup</a>" <a href="
|
190
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--export-filename" title='The "export-filename" property'>export-filename</a>" <a href="
|
191
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--has-selection" title='The "has-selection" property'>has-selection</a>" <a href="
|
192
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--job-name" title='The "job-name" property'>job-name</a>" <a href="
|
193
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--n-pages" title='The "n-pages" property'>n-pages</a>" <a href="
|
194
|
-
"<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>" <a href="
|
189
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--embed-page-setup" title='The "embed-page-setup" property'>embed-page-setup</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
190
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--export-filename" title='The "export-filename" property'>export-filename</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
|
191
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--has-selection" title='The "has-selection" property'>has-selection</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
192
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--job-name" title='The "job-name" property'>job-name</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
|
193
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--n-pages" title='The "n-pages" property'>n-pages</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
|
194
|
+
"<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>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
|
195
195
|
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--print-settings" title='The "print-settings" property'>print-settings</a>" <a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a>* : Read / Write
|
196
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--show-progress" title='The "show-progress" property'>show-progress</a>" <a href="
|
196
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--show-progress" title='The "show-progress" property'>show-progress</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
197
197
|
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--status" title='The "status" property'>status</a>" <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintStatus" title="enum GtkPrintStatus"><span class="type">GtkPrintStatus</span></a> : Read
|
198
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--status-string" title='The "status-string" property'>status-string</a>" <a href="
|
199
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--support-selection" title='The "support-selection" property'>support-selection</a>" <a href="
|
200
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--track-print-status" title='The "track-print-status" property'>track-print-status</a>" <a href="
|
198
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--status-string" title='The "status-string" property'>status-string</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
|
199
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--support-selection" title='The "support-selection" property'>support-selection</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
200
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--track-print-status" title='The "track-print-status" property'>track-print-status</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
201
201
|
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--unit" title='The "unit" property'>unit</a>" <a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> : Read / Write
|
202
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--use-full-page" title='The "use-full-page" property'>use-full-page</a>" <a href="
|
202
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation--use-full-page" title='The "use-full-page" property'>use-full-page</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
203
203
|
</pre>
|
204
204
|
</div>
|
205
205
|
<div class="refsect1">
|
206
206
|
<a name="gtk2-High-level-Printing-API.signals"></a><h2>Signals</h2>
|
207
207
|
<pre class="synopsis">
|
208
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-begin-print" title='The "begin-print" signal'>begin-print</a>" : <a href="
|
209
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-create-custom-widget" title='The "create-custom-widget" signal'>create-custom-widget</a>" : <a href="
|
210
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-custom-widget-apply" title='The "custom-widget-apply" signal'>custom-widget-apply</a>" : <a href="
|
211
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-done" title='The "done" signal'>done</a>" : <a href="
|
212
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-draw-page" title='The "draw-page" signal'>draw-page</a>" : <a href="
|
213
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-end-print" title='The "end-print" signal'>end-print</a>" : <a href="
|
214
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-paginate" title='The "paginate" signal'>paginate</a>" : <a href="
|
215
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-preview" title='The "preview" signal'>preview</a>" : <a href="
|
216
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-request-page-setup" title='The "request-page-setup" signal'>request-page-setup</a>" : <a href="
|
217
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-status-changed" title='The "status-changed" signal'>status-changed</a>" : <a href="
|
218
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-update-custom-widget" title='The "update-custom-widget" signal'>update-custom-widget</a>" : <a href="
|
219
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview-got-page-size" title='The "got-page-size" signal'>got-page-size</a>" : <a href="
|
220
|
-
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview-ready" title='The "ready" signal'>ready</a>" : <a href="
|
208
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-begin-print" title='The "begin-print" signal'>begin-print</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
209
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-create-custom-widget" title='The "create-custom-widget" signal'>create-custom-widget</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
210
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-custom-widget-apply" title='The "custom-widget-apply" signal'>custom-widget-apply</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
211
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-done" title='The "done" signal'>done</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
212
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-draw-page" title='The "draw-page" signal'>draw-page</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
213
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-end-print" title='The "end-print" signal'>end-print</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
214
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-paginate" title='The "paginate" signal'>paginate</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
215
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-preview" title='The "preview" signal'>preview</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
216
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-request-page-setup" title='The "request-page-setup" signal'>request-page-setup</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
217
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-status-changed" title='The "status-changed" signal'>status-changed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
218
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-update-custom-widget" title='The "update-custom-widget" signal'>update-custom-widget</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
219
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview-got-page-size" title='The "got-page-size" signal'>got-page-size</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
220
|
+
"<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview-ready" title='The "ready" signal'>ready</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
221
221
|
</pre>
|
222
222
|
</div>
|
223
223
|
<div class="refsect1">
|
@@ -271,26 +271,26 @@ to catch and render the page on the provided <a class="link" href="GtkPrintConte
|
|
271
271
|
19
|
272
272
|
20
|
273
273
|
21</pre></td>
|
274
|
-
<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="
|
274
|
+
<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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
275
275
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
276
276
|
<span class="function">do_print</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
|
277
277
|
<span class="cbracket">{</span>
|
278
278
|
<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>
|
279
279
|
<span class="normal"> </span><span class="usertype">GtkPrintOperationResult</span><span class="normal"> res</span><span class="symbol">;</span>
|
280
280
|
<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>
|
281
|
-
<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="
|
281
|
+
<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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
282
282
|
<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>
|
283
|
-
<span class="normal"> </span><span class="function"><a href="
|
284
|
-
<span class="normal"> </span><span class="function"><a href="
|
283
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/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="http://library.gnome.org/devel/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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
284
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/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="http://library.gnome.org/devel/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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
285
285
|
<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>
|
286
|
-
<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="
|
286
|
+
<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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
287
287
|
<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>
|
288
288
|
<span class="normal"> </span><span class="cbracket">{</span>
|
289
|
-
<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="
|
290
|
-
<span class="normal"> </span><span class="function"><a href="
|
291
|
-
<span class="normal"> settings </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="
|
289
|
+
<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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
290
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/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>
|
291
|
+
<span class="normal"> settings </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/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>
|
292
292
|
<span class="normal"> </span><span class="cbracket">}</span>
|
293
|
-
<span class="normal"> </span><span class="function"><a href="
|
293
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/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>
|
294
294
|
<span class="cbracket">}</span></pre></td>
|
295
295
|
</tr>
|
296
296
|
</tbody>
|
@@ -537,7 +537,7 @@ using the GTK+ printing support.
|
|
537
537
|
<pre class="programlisting">#define GTK_PRINT_ERROR gtk_print_error_quark ()
|
538
538
|
</pre>
|
539
539
|
<p>
|
540
|
-
The <a href="
|
540
|
+
The <a href="http://library.gnome.org/devel/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.
|
541
541
|
</p>
|
542
542
|
</div>
|
543
543
|
<hr>
|
@@ -564,7 +564,7 @@ Creates a new <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOp
|
|
564
564
|
<div class="refsect2">
|
565
565
|
<a name="gtk-print-operation-set-allow-async"></a><h3>gtk_print_operation_set_allow_async ()</h3>
|
566
566
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
567
|
-
<em class="parameter"><code><a href="
|
567
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allow_async</code></em>);</pre>
|
568
568
|
<p>
|
569
569
|
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
|
570
570
|
before the print operation is completed. Note that
|
@@ -584,7 +584,7 @@ some platforms may not allow asynchronous operation.
|
|
584
584
|
<tr>
|
585
585
|
<td><p><span class="term"><em class="parameter"><code>allow_async</code></em> :</span></p></td>
|
586
586
|
<td>
|
587
|
-
<a href="
|
587
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to allow asynchronous operation</td>
|
588
588
|
</tr>
|
589
589
|
</tbody>
|
590
590
|
</table></div>
|
@@ -594,12 +594,12 @@ some platforms may not allow asynchronous operation.
|
|
594
594
|
<div class="refsect2">
|
595
595
|
<a name="gtk-print-operation-get-error"></a><h3>gtk_print_operation_get_error ()</h3>
|
596
596
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
597
|
-
<em class="parameter"><code><a href="
|
597
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
598
598
|
<p>
|
599
599
|
Call this when the result of a print operation is
|
600
600
|
<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
|
601
601
|
<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
|
602
|
-
handler. The returned <a href="
|
602
|
+
handler. The returned <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> will contain more details on what went wrong.
|
603
603
|
</p>
|
604
604
|
<div class="variablelist"><table border="0" class="variablelist">
|
605
605
|
<colgroup>
|
@@ -647,7 +647,7 @@ to the <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation
|
|
647
647
|
</tr>
|
648
648
|
<tr>
|
649
649
|
<td><p><span class="term"><em class="parameter"><code>default_page_setup</code></em> :</span></p></td>
|
650
|
-
<td>a <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>, or <a href="
|
650
|
+
<td>a <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
651
651
|
</td>
|
652
652
|
</tr>
|
653
653
|
</tbody>
|
@@ -724,7 +724,7 @@ see <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-operation-
|
|
724
724
|
Returns the current print settings.
|
725
725
|
</p>
|
726
726
|
<p>
|
727
|
-
Note that the return value is <a href="
|
727
|
+
Note that the return value is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> until either
|
728
728
|
<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
|
729
729
|
<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.
|
730
730
|
</p>
|
@@ -752,7 +752,7 @@ Note that the return value is <a href="/home/kou/work/ruby/ruby-gnome2.win32/gli
|
|
752
752
|
<div class="refsect2">
|
753
753
|
<a name="gtk-print-operation-set-job-name"></a><h3>gtk_print_operation_set_job_name ()</h3>
|
754
754
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
755
|
-
<em class="parameter"><code>const <a href="
|
755
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *job_name</code></em>);</pre>
|
756
756
|
<p>
|
757
757
|
Sets the name of the print job. The name is used to identify
|
758
758
|
the job (e.g. in monitoring applications like eggcups).
|
@@ -784,7 +784,7 @@ numbering successive print jobs.
|
|
784
784
|
<div class="refsect2">
|
785
785
|
<a name="gtk-print-operation-set-n-pages"></a><h3>gtk_print_operation_set_n_pages ()</h3>
|
786
786
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
787
|
-
<em class="parameter"><code><a href="
|
787
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_pages</code></em>);</pre>
|
788
788
|
<p>
|
789
789
|
Sets the number of pages in the document.
|
790
790
|
</p>
|
@@ -822,7 +822,7 @@ will be for page <em class="parameter"><code>n_pages</code></em> - 1.
|
|
822
822
|
<hr>
|
823
823
|
<div class="refsect2">
|
824
824
|
<a name="gtk-print-operation-get-n-pages-to-print"></a><h3>gtk_print_operation_get_n_pages_to_print ()</h3>
|
825
|
-
<pre class="programlisting"><a href="
|
825
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_print_operation_get_n_pages_to_print
|
826
826
|
(<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>
|
827
827
|
<p>
|
828
828
|
Returns the number of pages that will be printed.
|
@@ -860,7 +860,7 @@ This is typically used to track the progress of print operation.
|
|
860
860
|
<a name="gtk-print-operation-set-current-page"></a><h3>gtk_print_operation_set_current_page ()</h3>
|
861
861
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_current_page
|
862
862
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
863
|
-
<em class="parameter"><code><a href="
|
863
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> current_page</code></em>);</pre>
|
864
864
|
<p>
|
865
865
|
Sets the current page.
|
866
866
|
</p>
|
@@ -895,9 +895,9 @@ Note that this only makes sense for pre-paginated documents.
|
|
895
895
|
<a name="gtk-print-operation-set-use-full-page"></a><h3>gtk_print_operation_set_use_full_page ()</h3>
|
896
896
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_use_full_page
|
897
897
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
898
|
-
<em class="parameter"><code><a href="
|
898
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> full_page</code></em>);</pre>
|
899
899
|
<p>
|
900
|
-
If <em class="parameter"><code>full_page</code></em> is <a href="
|
900
|
+
If <em class="parameter"><code>full_page</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the transformation for the cairo context
|
901
901
|
obtained from <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> puts the origin at the top left
|
902
902
|
corner of the page (which may not be the top left corner of the
|
903
903
|
sheet, depending on page orientation and the number of pages per
|
@@ -918,7 +918,7 @@ imageable area (i.e. inside the margins).
|
|
918
918
|
<tr>
|
919
919
|
<td><p><span class="term"><em class="parameter"><code>full_page</code></em> :</span></p></td>
|
920
920
|
<td>
|
921
|
-
<a href="
|
921
|
+
<a href="http://library.gnome.org/devel/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</td>
|
922
922
|
</tr>
|
923
923
|
</tbody>
|
924
924
|
</table></div>
|
@@ -958,7 +958,7 @@ units of <em class="parameter"><code>unit</code></em>.
|
|
958
958
|
<a name="gtk-print-operation-set-export-filename"></a><h3>gtk_print_operation_set_export_filename ()</h3>
|
959
959
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_export_filename
|
960
960
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
961
|
-
<em class="parameter"><code>const <a href="
|
961
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
|
962
962
|
<p>
|
963
963
|
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
|
964
964
|
of showing the print dialog. The indended use of this function
|
@@ -994,9 +994,9 @@ of printers in the print dialog.
|
|
994
994
|
<a name="gtk-print-operation-set-show-progress"></a><h3>gtk_print_operation_set_show_progress ()</h3>
|
995
995
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_show_progress
|
996
996
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
997
|
-
<em class="parameter"><code><a href="
|
997
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_progress</code></em>);</pre>
|
998
998
|
<p>
|
999
|
-
If <em class="parameter"><code>show_progress</code></em> is <a href="
|
999
|
+
If <em class="parameter"><code>show_progress</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the print operation will show a
|
1000
1000
|
progress dialog during the print operation.
|
1001
1001
|
</p>
|
1002
1002
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -1013,7 +1013,7 @@ progress dialog during the print operation.
|
|
1013
1013
|
<tr>
|
1014
1014
|
<td><p><span class="term"><em class="parameter"><code>show_progress</code></em> :</span></p></td>
|
1015
1015
|
<td>
|
1016
|
-
<a href="
|
1016
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to show a progress dialog</td>
|
1017
1017
|
</tr>
|
1018
1018
|
</tbody>
|
1019
1019
|
</table></div>
|
@@ -1024,9 +1024,9 @@ progress dialog during the print operation.
|
|
1024
1024
|
<a name="gtk-print-operation-set-track-print-status"></a><h3>gtk_print_operation_set_track_print_status ()</h3>
|
1025
1025
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_track_print_status
|
1026
1026
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1027
|
-
<em class="parameter"><code><a href="
|
1027
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> track_status</code></em>);</pre>
|
1028
1028
|
<p>
|
1029
|
-
If track_status is <a href="
|
1029
|
+
If track_status is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the print operation will try to continue report
|
1030
1030
|
on the status of the print job in the printer queues and printer. This
|
1031
1031
|
can allow your application to show things like "out of paper" issues,
|
1032
1032
|
and when the print job actually reaches the printer.
|
@@ -1049,7 +1049,7 @@ not be enabled unless needed.
|
|
1049
1049
|
<tr>
|
1050
1050
|
<td><p><span class="term"><em class="parameter"><code>track_status</code></em> :</span></p></td>
|
1051
1051
|
<td>
|
1052
|
-
<a href="
|
1052
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to track status after printing</td>
|
1053
1053
|
</tr>
|
1054
1054
|
</tbody>
|
1055
1055
|
</table></div>
|
@@ -1060,7 +1060,7 @@ not be enabled unless needed.
|
|
1060
1060
|
<a name="gtk-print-operation-set-custom-tab-label"></a><h3>gtk_print_operation_set_custom_tab_label ()</h3>
|
1061
1061
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_custom_tab_label
|
1062
1062
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1063
|
-
<em class="parameter"><code>const <a href="
|
1063
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
|
1064
1064
|
<p>
|
1065
1065
|
Sets the label for the tab holding custom widgets.
|
1066
1066
|
</p>
|
@@ -1077,7 +1077,7 @@ Sets the label for the tab holding custom widgets.
|
|
1077
1077
|
</tr>
|
1078
1078
|
<tr>
|
1079
1079
|
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
|
1080
|
-
<td>the label to use, or <a href="
|
1080
|
+
<td>the label to use, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default label. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1081
1081
|
</td>
|
1082
1082
|
</tr>
|
1083
1083
|
</tbody>
|
@@ -1090,7 +1090,7 @@ Sets the label for the tab holding custom widgets.
|
|
1090
1090
|
<pre class="programlisting"><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationResult" title="enum GtkPrintOperationResult"><span class="returnvalue">GtkPrintOperationResult</span></a> 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>,
|
1091
1091
|
<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>,
|
1092
1092
|
<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>,
|
1093
|
-
<em class="parameter"><code><a href="
|
1093
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1094
1094
|
<p>
|
1095
1095
|
Runs the print operation, by first letting the user modify
|
1096
1096
|
print settings in the print dialog, and then print the document.
|
@@ -1149,16 +1149,16 @@ the print succeeds or fails).
|
|
1149
1149
|
33
|
1150
1150
|
34
|
1151
1151
|
35</pre></td>
|
1152
|
-
<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="
|
1152
|
+
<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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
1153
1153
|
<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>
|
1154
1154
|
<span class="normal"> </span>
|
1155
|
-
<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="
|
1155
|
+
<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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
1156
1156
|
<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>
|
1157
1157
|
<span class="normal"> </span>
|
1158
|
-
<span class="function"><a href="
|
1159
|
-
<span class="normal"> </span><span class="function"><a href="
|
1160
|
-
<span class="function"><a href="
|
1161
|
-
<span class="normal"> </span><span class="function"><a href="
|
1158
|
+
<span class="function"><a href="http://library.gnome.org/devel/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>
|
1159
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/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>
|
1160
|
+
<span class="function"><a href="http://library.gnome.org/devel/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>
|
1161
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/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>
|
1162
1162
|
<span class="normal"> </span>
|
1163
1163
|
<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>
|
1164
1164
|
<span class="normal"> GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG</span><span class="symbol">,</span><span class="normal"> </span>
|
@@ -1173,16 +1173,16 @@ the print succeeds or fails).
|
|
1173
1173
|
<span class="normal"> <a href="GtkMessageDialog.html#GTK-BUTTONS-CLOSE:CAPS">GTK_BUTTONS_CLOSE</a></span><span class="symbol">,</span>
|
1174
1174
|
<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>
|
1175
1175
|
<span class="normal"> error</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
1176
|
-
<span class="normal"> </span><span class="function"><a href="
|
1177
|
-
<span class="normal"> </span><span class="function"><a href="
|
1176
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/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>
|
1177
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
1178
1178
|
<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>
|
1179
|
-
<span class="normal"> </span><span class="function"><a href="
|
1179
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/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>
|
1180
1180
|
<span class="normal"> </span><span class="cbracket">}</span>
|
1181
1181
|
<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>
|
1182
1182
|
<span class="normal"> </span><span class="cbracket">{</span>
|
1183
|
-
<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="
|
1184
|
-
<span class="function"><a href="
|
1185
|
-
<span class="normal"> settings </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="
|
1183
|
+
<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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
1184
|
+
<span class="function"><a href="http://library.gnome.org/devel/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>
|
1185
|
+
<span class="normal"> settings </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/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>
|
1186
1186
|
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
1187
1187
|
</tr>
|
1188
1188
|
</tbody>
|
@@ -1217,7 +1217,7 @@ given <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"
|
|
1217
1217
|
</tr>
|
1218
1218
|
<tr>
|
1219
1219
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1220
|
-
<td>Return location for errors, or <a href="
|
1220
|
+
<td>Return location for errors, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1221
1221
|
</td>
|
1222
1222
|
</tr>
|
1223
1223
|
<tr>
|
@@ -1343,7 +1343,7 @@ Also see <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-opera
|
|
1343
1343
|
<hr>
|
1344
1344
|
<div class="refsect2">
|
1345
1345
|
<a name="gtk-print-operation-get-status-string"></a><h3>gtk_print_operation_get_status_string ()</h3>
|
1346
|
-
<pre class="programlisting">const <a href="
|
1346
|
+
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_print_operation_get_status_string
|
1347
1347
|
(<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>
|
1348
1348
|
<p>
|
1349
1349
|
Returns a string representation of the status of the
|
@@ -1377,7 +1377,7 @@ of the print operation</td>
|
|
1377
1377
|
<hr>
|
1378
1378
|
<div class="refsect2">
|
1379
1379
|
<a name="gtk-print-operation-is-finished"></a><h3>gtk_print_operation_is_finished ()</h3>
|
1380
|
-
<pre class="programlisting"><a href="
|
1380
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>
|
1381
1381
|
<p>
|
1382
1382
|
A convenience function to find out if the print operation
|
1383
1383
|
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>)
|
@@ -1402,7 +1402,7 @@ the operation status then tracks the print job status on the printer.
|
|
1402
1402
|
<tr>
|
1403
1403
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1404
1404
|
<td>
|
1405
|
-
<a href="
|
1405
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the print operation is finished.</td>
|
1406
1406
|
</tr>
|
1407
1407
|
</tbody>
|
1408
1408
|
</table></div>
|
@@ -1413,7 +1413,7 @@ the operation status then tracks the print job status on the printer.
|
|
1413
1413
|
<a name="gtk-print-operation-set-support-selection"></a><h3>gtk_print_operation_set_support_selection ()</h3>
|
1414
1414
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_support_selection
|
1415
1415
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1416
|
-
<em class="parameter"><code><a href="
|
1416
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> support_selection</code></em>);</pre>
|
1417
1417
|
<p>
|
1418
1418
|
Sets whether selection is supported by <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>.
|
1419
1419
|
</p>
|
@@ -1431,7 +1431,7 @@ Sets whether selection is supported by <a class="link" href="gtk2-High-level-Pri
|
|
1431
1431
|
<tr>
|
1432
1432
|
<td><p><span class="term"><em class="parameter"><code>support_selection</code></em> :</span></p></td>
|
1433
1433
|
<td>
|
1434
|
-
<a href="
|
1434
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to support selection</td>
|
1435
1435
|
</tr>
|
1436
1436
|
</tbody>
|
1437
1437
|
</table></div>
|
@@ -1440,7 +1440,7 @@ Sets whether selection is supported by <a class="link" href="gtk2-High-level-Pri
|
|
1440
1440
|
<hr>
|
1441
1441
|
<div class="refsect2">
|
1442
1442
|
<a name="gtk-print-operation-get-support-selection"></a><h3>gtk_print_operation_get_support_selection ()</h3>
|
1443
|
-
<pre class="programlisting"><a href="
|
1443
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_print_operation_get_support_selection
|
1444
1444
|
(<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>
|
1445
1445
|
<p>
|
1446
1446
|
Gets the value of <span class="type">"support-selection"</span> property.
|
@@ -1469,7 +1469,7 @@ Gets the value of <span class="type">"support-selection"</span> property.
|
|
1469
1469
|
<a name="gtk-print-operation-set-has-selection"></a><h3>gtk_print_operation_set_has_selection ()</h3>
|
1470
1470
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_has_selection
|
1471
1471
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1472
|
-
<em class="parameter"><code><a href="
|
1472
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_selection</code></em>);</pre>
|
1473
1473
|
<p>
|
1474
1474
|
Sets whether there is a selection to print.
|
1475
1475
|
</p>
|
@@ -1492,7 +1492,7 @@ will draw by <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-o
|
|
1492
1492
|
<tr>
|
1493
1493
|
<td><p><span class="term"><em class="parameter"><code>has_selection</code></em> :</span></p></td>
|
1494
1494
|
<td>
|
1495
|
-
<a href="
|
1495
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> indicates that a selection exists</td>
|
1496
1496
|
</tr>
|
1497
1497
|
</tbody>
|
1498
1498
|
</table></div>
|
@@ -1501,7 +1501,7 @@ will draw by <a class="link" href="gtk2-High-level-Printing-API.html#gtk-print-o
|
|
1501
1501
|
<hr>
|
1502
1502
|
<div class="refsect2">
|
1503
1503
|
<a name="gtk-print-operation-get-has-selection"></a><h3>gtk_print_operation_get_has_selection ()</h3>
|
1504
|
-
<pre class="programlisting"><a href="
|
1504
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_print_operation_get_has_selection
|
1505
1505
|
(<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>
|
1506
1506
|
<p>
|
1507
1507
|
Gets the value of <span class="type">"has-selection"</span> property.
|
@@ -1530,7 +1530,7 @@ Gets the value of <span class="type">"has-selection"</span> property.
|
|
1530
1530
|
<a name="gtk-print-operation-set-embed-page-setup"></a><h3>gtk_print_operation_set_embed_page_setup ()</h3>
|
1531
1531
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_embed_page_setup
|
1532
1532
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1533
|
-
<em class="parameter"><code><a href="
|
1533
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> embed</code></em>);</pre>
|
1534
1534
|
<p>
|
1535
1535
|
Embed page size combo box and orientation combo box into page setup page.
|
1536
1536
|
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>.
|
@@ -1549,7 +1549,7 @@ Selected page setup is stored as default page setup in <a class="link" href="gtk
|
|
1549
1549
|
<tr>
|
1550
1550
|
<td><p><span class="term"><em class="parameter"><code>embed</code></em> :</span></p></td>
|
1551
1551
|
<td>
|
1552
|
-
<a href="
|
1552
|
+
<a href="http://library.gnome.org/devel/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>
|
1553
1553
|
</td>
|
1554
1554
|
</tr>
|
1555
1555
|
</tbody>
|
@@ -1559,7 +1559,7 @@ Selected page setup is stored as default page setup in <a class="link" href="gtk
|
|
1559
1559
|
<hr>
|
1560
1560
|
<div class="refsect2">
|
1561
1561
|
<a name="gtk-print-operation-get-embed-page-setup"></a><h3>gtk_print_operation_get_embed_page_setup ()</h3>
|
1562
|
-
<pre class="programlisting"><a href="
|
1562
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_print_operation_get_embed_page_setup
|
1563
1563
|
(<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>
|
1564
1564
|
<p>
|
1565
1565
|
Gets the value of <span class="type">"embed-page-setup"</span> property.
|
@@ -1634,7 +1634,7 @@ a problem.
|
|
1634
1634
|
<div class="refsect2">
|
1635
1635
|
<a name="GtkPageSetupDoneFunc"></a><h3>GtkPageSetupDoneFunc ()</h3>
|
1636
1636
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GtkPageSetupDoneFunc) (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup</code></em>,
|
1637
|
-
<em class="parameter"><code><a href="
|
1637
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1638
1638
|
<p>
|
1639
1639
|
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>.
|
1640
1640
|
This function will be called when the page setup dialog is dismissed, and
|
@@ -1666,7 +1666,7 @@ also serves as destroy notify for <em class="parameter"><code>data</code></em>.
|
|
1666
1666
|
<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup</code></em>,
|
1667
1667
|
<em class="parameter"><code><a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> *settings</code></em>,
|
1668
1668
|
<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>,
|
1669
|
-
<em class="parameter"><code><a href="
|
1669
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1670
1670
|
<p>
|
1671
1671
|
Runs a page setup dialog, letting the user modify the values from <em class="parameter"><code>page_setup</code></em>.
|
1672
1672
|
</p>
|
@@ -1683,12 +1683,12 @@ from a signal handler for the ::response signal of the dialog.
|
|
1683
1683
|
<tbody>
|
1684
1684
|
<tr>
|
1685
1685
|
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
|
1686
|
-
<td>transient parent, or <a href="
|
1686
|
+
<td>transient parent, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1687
1687
|
</td>
|
1688
1688
|
</tr>
|
1689
1689
|
<tr>
|
1690
1690
|
<td><p><span class="term"><em class="parameter"><code>page_setup</code></em> :</span></p></td>
|
1691
|
-
<td>an existing <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>, or <a href="
|
1691
|
+
<td>an existing <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1692
1692
|
</td>
|
1693
1693
|
</tr>
|
1694
1694
|
<tr>
|
@@ -1743,9 +1743,9 @@ This function must be called to finish a custom print preview.
|
|
1743
1743
|
<hr>
|
1744
1744
|
<div class="refsect2">
|
1745
1745
|
<a name="gtk-print-operation-preview-is-selected"></a><h3>gtk_print_operation_preview_is_selected ()</h3>
|
1746
|
-
<pre class="programlisting"><a href="
|
1746
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_print_operation_preview_is_selected
|
1747
1747
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview</code></em>,
|
1748
|
-
<em class="parameter"><code><a href="
|
1748
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr</code></em>);</pre>
|
1749
1749
|
<p>
|
1750
1750
|
Returns whether the given page is included in the set of pages that
|
1751
1751
|
have been selected for printing.
|
@@ -1768,7 +1768,7 @@ have been selected for printing.
|
|
1768
1768
|
<tr>
|
1769
1769
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1770
1770
|
<td>
|
1771
|
-
<a href="
|
1771
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the page has been selected for printing</td>
|
1772
1772
|
</tr>
|
1773
1773
|
</tbody>
|
1774
1774
|
</table></div>
|
@@ -1779,7 +1779,7 @@ have been selected for printing.
|
|
1779
1779
|
<a name="gtk-print-operation-preview-render-page"></a><h3>gtk_print_operation_preview_render_page ()</h3>
|
1780
1780
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_preview_render_page
|
1781
1781
|
(<em class="parameter"><code><a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview</code></em>,
|
1782
|
-
<em class="parameter"><code><a href="
|
1782
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr</code></em>);</pre>
|
1783
1783
|
<p>
|
1784
1784
|
Renders a page to the preview, using the print context that
|
1785
1785
|
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
|
@@ -1817,7 +1817,7 @@ be associated with the print context.
|
|
1817
1817
|
<a name="gtk2-High-level-Printing-API.property-details"></a><h2>Property Details</h2>
|
1818
1818
|
<div class="refsect2">
|
1819
1819
|
<a name="GtkPrintOperation--allow-async"></a><h3>The <code class="literal">"allow-async"</code> property</h3>
|
1820
|
-
<pre class="programlisting"> "allow-async" <a href="
|
1820
|
+
<pre class="programlisting"> "allow-async" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1821
1821
|
<p>
|
1822
1822
|
Determines whether the print operation may run asynchronously or not.
|
1823
1823
|
</p>
|
@@ -1841,7 +1841,7 @@ is unlikely to change). On other platforms, all actions except for
|
|
1841
1841
|
<hr>
|
1842
1842
|
<div class="refsect2">
|
1843
1843
|
<a name="GtkPrintOperation--current-page"></a><h3>The <code class="literal">"current-page"</code> property</h3>
|
1844
|
-
<pre class="programlisting"> "current-page" <a href="
|
1844
|
+
<pre class="programlisting"> "current-page" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1845
1845
|
<p>
|
1846
1846
|
The current page in the document.
|
1847
1847
|
</p>
|
@@ -1860,13 +1860,13 @@ Note that this only makes sense for pre-paginated documents.
|
|
1860
1860
|
<hr>
|
1861
1861
|
<div class="refsect2">
|
1862
1862
|
<a name="GtkPrintOperation--custom-tab-label"></a><h3>The <code class="literal">"custom-tab-label"</code> property</h3>
|
1863
|
-
<pre class="programlisting"> "custom-tab-label" <a href="
|
1863
|
+
<pre class="programlisting"> "custom-tab-label" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
1864
1864
|
<p>
|
1865
1865
|
Used as the label of the tab containing custom widgets.
|
1866
1866
|
Note that this property may be ignored on some platforms.
|
1867
1867
|
</p>
|
1868
1868
|
<p>
|
1869
|
-
If this is <a href="
|
1869
|
+
If this is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, GTK+ uses a default label.
|
1870
1870
|
</p>
|
1871
1871
|
<p>Default value: NULL</p>
|
1872
1872
|
<p class="since">Since 2.10</p>
|
@@ -1888,9 +1888,9 @@ to the <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation
|
|
1888
1888
|
<hr>
|
1889
1889
|
<div class="refsect2">
|
1890
1890
|
<a name="GtkPrintOperation--embed-page-setup"></a><h3>The <code class="literal">"embed-page-setup"</code> property</h3>
|
1891
|
-
<pre class="programlisting"> "embed-page-setup" <a href="
|
1891
|
+
<pre class="programlisting"> "embed-page-setup" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1892
1892
|
<p>
|
1893
|
-
If <a href="
|
1893
|
+
If <a href="http://library.gnome.org/devel/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.
|
1894
1894
|
</p>
|
1895
1895
|
<p>Default value: FALSE</p>
|
1896
1896
|
<p class="since">Since 2.18</p>
|
@@ -1898,7 +1898,7 @@ If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-d
|
|
1898
1898
|
<hr>
|
1899
1899
|
<div class="refsect2">
|
1900
1900
|
<a name="GtkPrintOperation--export-filename"></a><h3>The <code class="literal">"export-filename"</code> property</h3>
|
1901
|
-
<pre class="programlisting"> "export-filename" <a href="
|
1901
|
+
<pre class="programlisting"> "export-filename" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
1902
1902
|
<p>
|
1903
1903
|
The name of a file to generate instead of showing the print dialog.
|
1904
1904
|
|
@@ -1921,7 +1921,7 @@ list of printers in the print dialog.
|
|
1921
1921
|
<hr>
|
1922
1922
|
<div class="refsect2">
|
1923
1923
|
<a name="GtkPrintOperation--has-selection"></a><h3>The <code class="literal">"has-selection"</code> property</h3>
|
1924
|
-
<pre class="programlisting"> "has-selection" <a href="
|
1924
|
+
<pre class="programlisting"> "has-selection" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1925
1925
|
<p>
|
1926
1926
|
Determines whether there is a selection in your application.
|
1927
1927
|
This can allow your application to print the selection.
|
@@ -1933,7 +1933,7 @@ This is typically used to make a "Selection" button sensitive.
|
|
1933
1933
|
<hr>
|
1934
1934
|
<div class="refsect2">
|
1935
1935
|
<a name="GtkPrintOperation--job-name"></a><h3>The <code class="literal">"job-name"</code> property</h3>
|
1936
|
-
<pre class="programlisting"> "job-name" <a href="
|
1936
|
+
<pre class="programlisting"> "job-name" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
1937
1937
|
<p>
|
1938
1938
|
A string used to identify the job (e.g. in monitoring
|
1939
1939
|
|
@@ -1951,7 +1951,7 @@ by numbering successive print jobs.
|
|
1951
1951
|
<hr>
|
1952
1952
|
<div class="refsect2">
|
1953
1953
|
<a name="GtkPrintOperation--n-pages"></a><h3>The <code class="literal">"n-pages"</code> property</h3>
|
1954
|
-
<pre class="programlisting"> "n-pages" <a href="
|
1954
|
+
<pre class="programlisting"> "n-pages" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1955
1955
|
<p>
|
1956
1956
|
The number of pages in the document.
|
1957
1957
|
|
@@ -1980,7 +1980,7 @@ will be for page <em class="parameter"><code>n_pages</code></em> - 1.
|
|
1980
1980
|
<hr>
|
1981
1981
|
<div class="refsect2">
|
1982
1982
|
<a name="GtkPrintOperation--n-pages-to-print"></a><h3>The <code class="literal">"n-pages-to-print"</code> property</h3>
|
1983
|
-
<pre class="programlisting"> "n-pages-to-print" <a href="
|
1983
|
+
<pre class="programlisting"> "n-pages-to-print" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
1984
1984
|
<p>
|
1985
1985
|
The number of pages that will be printed.
|
1986
1986
|
</p>
|
@@ -2016,7 +2016,7 @@ print settings from a previous print operation, see
|
|
2016
2016
|
<hr>
|
2017
2017
|
<div class="refsect2">
|
2018
2018
|
<a name="GtkPrintOperation--show-progress"></a><h3>The <code class="literal">"show-progress"</code> property</h3>
|
2019
|
-
<pre class="programlisting"> "show-progress" <a href="
|
2019
|
+
<pre class="programlisting"> "show-progress" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2020
2020
|
<p>
|
2021
2021
|
Determines whether to show a progress dialog during the
|
2022
2022
|
|
@@ -2038,7 +2038,7 @@ The status of the print operation.
|
|
2038
2038
|
<hr>
|
2039
2039
|
<div class="refsect2">
|
2040
2040
|
<a name="GtkPrintOperation--status-string"></a><h3>The <code class="literal">"status-string"</code> property</h3>
|
2041
|
-
<pre class="programlisting"> "status-string" <a href="
|
2041
|
+
<pre class="programlisting"> "status-string" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre>
|
2042
2042
|
<p>
|
2043
2043
|
A string representation of the status of the print operation.
|
2044
2044
|
|
@@ -2057,9 +2057,9 @@ is suitable for programmatic use.
|
|
2057
2057
|
<hr>
|
2058
2058
|
<div class="refsect2">
|
2059
2059
|
<a name="GtkPrintOperation--support-selection"></a><h3>The <code class="literal">"support-selection"</code> property</h3>
|
2060
|
-
<pre class="programlisting"> "support-selection" <a href="
|
2060
|
+
<pre class="programlisting"> "support-selection" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2061
2061
|
<p>
|
2062
|
-
If <a href="
|
2062
|
+
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the print operation will support print of selection.
|
2063
2063
|
This allows the print dialog to show a "Selection" button.
|
2064
2064
|
</p>
|
2065
2065
|
<p>Default value: FALSE</p>
|
@@ -2068,9 +2068,9 @@ This allows the print dialog to show a "Selection" button.
|
|
2068
2068
|
<hr>
|
2069
2069
|
<div class="refsect2">
|
2070
2070
|
<a name="GtkPrintOperation--track-print-status"></a><h3>The <code class="literal">"track-print-status"</code> property</h3>
|
2071
|
-
<pre class="programlisting"> "track-print-status" <a href="
|
2071
|
+
<pre class="programlisting"> "track-print-status" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2072
2072
|
<p>
|
2073
|
-
If <a href="
|
2073
|
+
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the print operation will try to continue report on
|
2074
2074
|
|
2075
2075
|
the status of the print job in the printer queues and printer.
|
2076
2076
|
|
@@ -2101,9 +2101,9 @@ are measured in units of <em class="parameter"><code>unit</code></em>.
|
|
2101
2101
|
<hr>
|
2102
2102
|
<div class="refsect2">
|
2103
2103
|
<a name="GtkPrintOperation--use-full-page"></a><h3>The <code class="literal">"use-full-page"</code> property</h3>
|
2104
|
-
<pre class="programlisting"> "use-full-page" <a href="
|
2104
|
+
<pre class="programlisting"> "use-full-page" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2105
2105
|
<p>
|
2106
|
-
If <a href="
|
2106
|
+
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the transformation for the cairo context obtained
|
2107
2107
|
|
2108
2108
|
from <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> puts the origin at the top left corner
|
2109
2109
|
|
@@ -2125,7 +2125,7 @@ area (i.e. inside the margins).
|
|
2125
2125
|
<a name="GtkPrintOperation-begin-print"></a><h3>The <code class="literal">"begin-print"</code> signal</h3>
|
2126
2126
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2127
2127
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2128
|
-
<a href="
|
2128
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2129
2129
|
<p>
|
2130
2130
|
Emitted after the user has finished changing print settings
|
2131
2131
|
in the dialog, before the actual rendering starts.
|
@@ -2161,8 +2161,8 @@ set the number of pages with <a class="link" href="gtk2-High-level-Printing-API.
|
|
2161
2161
|
<hr>
|
2162
2162
|
<div class="refsect2">
|
2163
2163
|
<a name="GtkPrintOperation-create-custom-widget"></a><h3>The <code class="literal">"create-custom-widget"</code> signal</h3>
|
2164
|
-
<pre class="programlisting"><a href="
|
2165
|
-
<a href="
|
2164
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a>* user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2165
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2166
2166
|
<p>
|
2167
2167
|
Emitted when displaying the print dialog. If you return a
|
2168
2168
|
widget in a handler for this signal it will be added to a custom
|
@@ -2197,7 +2197,7 @@ information you need from the widgets.
|
|
2197
2197
|
<tr>
|
2198
2198
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2199
2199
|
<td>A custom widget that gets embedded in
|
2200
|
-
the print dialog, or <a href="
|
2200
|
+
the print dialog, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2201
2201
|
</td>
|
2202
2202
|
</tr>
|
2203
2203
|
</tbody>
|
@@ -2209,7 +2209,7 @@ the print dialog, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor
|
|
2209
2209
|
<a name="GtkPrintOperation-custom-widget-apply"></a><h3>The <code class="literal">"custom-widget-apply"</code> signal</h3>
|
2210
2210
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2211
2211
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
2212
|
-
<a href="
|
2212
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2213
2213
|
<p>
|
2214
2214
|
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
|
2215
2215
|
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.
|
@@ -2247,7 +2247,7 @@ later time.
|
|
2247
2247
|
<a name="GtkPrintOperation-done"></a><h3>The <code class="literal">"done"</code> signal</h3>
|
2248
2248
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2249
2249
|
<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationResult" title="enum GtkPrintOperationResult"><span class="type">GtkPrintOperationResult</span></a> result,
|
2250
|
-
<a href="
|
2250
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2251
2251
|
<p>
|
2252
2252
|
Emitted when the print operation run has finished doing
|
2253
2253
|
everything required for printing.
|
@@ -2262,7 +2262,7 @@ If <em class="parameter"><code>result</code></em> is <a class="link" href="gtk2-
|
|
2262
2262
|
<p>
|
2263
2263
|
If you enabled print status tracking then
|
2264
2264
|
|
2265
|
-
<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="
|
2265
|
+
<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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
2266
2266
|
|
2267
2267
|
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.
|
2268
2268
|
</p>
|
@@ -2293,8 +2293,8 @@ after <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation-
|
|
2293
2293
|
<a name="GtkPrintOperation-draw-page"></a><h3>The <code class="literal">"draw-page"</code> signal</h3>
|
2294
2294
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2295
2295
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2296
|
-
<a href="
|
2297
|
-
<a href="
|
2296
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr,
|
2297
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2298
2298
|
<p>
|
2299
2299
|
Emitted for every page that is printed. The signal handler
|
2300
2300
|
must render the <em class="parameter"><code>page_nr</code></em>'s page onto the cairo context obtained
|
@@ -2372,13 +2372,13 @@ from <em class="parameter"><code>context</code></em> using <a class="link" href=
|
|
2372
2372
|
<span class="normal"> </span><span class="function"><a href="/usr/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="/usr/share/gtk-doc/html/pango/pango-Glyph-Storage.html#PANGO-SCALE:CAPS">PANGO_SCALE</a></span><span class="symbol">);</span>
|
2373
2373
|
<span class="normal"> </span><span class="function"><a href="/usr/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="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PANGO-ALIGN-CENTER:CAPS">PANGO_ALIGN_CENTER</a></span><span class="symbol">);</span>
|
2374
2374
|
|
2375
|
-
<span class="normal"> </span><span class="function"><a href="/usr/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="
|
2376
|
-
<span class="normal"> text_height </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="
|
2375
|
+
<span class="normal"> </span><span class="function"><a href="/usr/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="http://library.gnome.org/devel/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>
|
2376
|
+
<span class="normal"> text_height </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/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="/usr/share/gtk-doc/html/pango/pango-Glyph-Storage.html#PANGO-SCALE:CAPS">PANGO_SCALE</a></span><span class="symbol">;</span>
|
2377
2377
|
|
2378
2378
|
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-move-to">cairo_move_to</a></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>
|
2379
2379
|
<span class="normal"> </span><span class="function"><a href="/usr/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>
|
2380
2380
|
|
2381
|
-
<span class="normal"> </span><span class="function"><a href="
|
2381
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/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>
|
2382
2382
|
<span class="cbracket">}</span></pre></td>
|
2383
2383
|
</tr>
|
2384
2384
|
</tbody>
|
@@ -2425,7 +2425,7 @@ needs.
|
|
2425
2425
|
<a name="GtkPrintOperation-end-print"></a><h3>The <code class="literal">"end-print"</code> signal</h3>
|
2426
2426
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2427
2427
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2428
|
-
<a href="
|
2428
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2429
2429
|
<p>
|
2430
2430
|
Emitted after all pages have been rendered.
|
2431
2431
|
|
@@ -2457,21 +2457,21 @@ been allocated in the <a class="link" href="gtk2-High-level-Printing-API.html#Gt
|
|
2457
2457
|
<hr>
|
2458
2458
|
<div class="refsect2">
|
2459
2459
|
<a name="GtkPrintOperation-paginate"></a><h3>The <code class="literal">"paginate"</code> signal</h3>
|
2460
|
-
<pre class="programlisting"><a href="
|
2460
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2461
2461
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2462
|
-
<a href="
|
2462
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2463
2463
|
<p>
|
2464
2464
|
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
|
2465
2465
|
|
2466
2466
|
the actual rendering starts. It keeps getting emitted until a connected
|
2467
2467
|
|
2468
|
-
signal handler returns <a href="
|
2468
|
+
signal handler returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
2469
2469
|
</p>
|
2470
2470
|
<p>
|
2471
2471
|
The ::paginate signal is intended to be used for paginating a document
|
2472
2472
|
in small chunks, to avoid blocking the user interface for a long
|
2473
2473
|
time. The signal handler should update the number of pages using
|
2474
|
-
<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="
|
2474
|
+
<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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the document
|
2475
2475
|
has been completely paginated.
|
2476
2476
|
</p>
|
2477
2477
|
<p>
|
@@ -2500,7 +2500,7 @@ from there.
|
|
2500
2500
|
<tr>
|
2501
2501
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2502
2502
|
<td>
|
2503
|
-
<a href="
|
2503
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if pagination is complete</td>
|
2504
2504
|
</tr>
|
2505
2505
|
</tbody>
|
2506
2506
|
</table></div>
|
@@ -2509,11 +2509,11 @@ from there.
|
|
2509
2509
|
<hr>
|
2510
2510
|
<div class="refsect2">
|
2511
2511
|
<a name="GtkPrintOperation-preview"></a><h3>The <code class="literal">"preview"</code> signal</h3>
|
2512
|
-
<pre class="programlisting"><a href="
|
2512
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2513
2513
|
<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview,
|
2514
2514
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2515
2515
|
<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent,
|
2516
|
-
<a href="
|
2516
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2517
2517
|
<p>
|
2518
2518
|
Gets emitted when a preview is requested from the native dialog.
|
2519
2519
|
</p>
|
@@ -2524,7 +2524,7 @@ application to preview.
|
|
2524
2524
|
</p>
|
2525
2525
|
<p>
|
2526
2526
|
To implement a custom print preview, an application must return
|
2527
|
-
<a href="
|
2527
|
+
<a href="http://library.gnome.org/devel/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
|
2528
2528
|
provided <em class="parameter"><code>context</code></em> for the preview implementation, it must be
|
2529
2529
|
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>.
|
2530
2530
|
</p>
|
@@ -2558,7 +2558,7 @@ finished by calling <a class="link" href="gtk2-High-level-Printing-API.html#gtk-
|
|
2558
2558
|
</tr>
|
2559
2559
|
<tr>
|
2560
2560
|
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
|
2561
|
-
<td>the <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> to use as window parent, or <a href="
|
2561
|
+
<td>the <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> to use as window parent, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2562
2562
|
</td>
|
2563
2563
|
</tr>
|
2564
2564
|
<tr>
|
@@ -2568,7 +2568,7 @@ finished by calling <a class="link" href="gtk2-High-level-Printing-API.html#gtk-
|
|
2568
2568
|
<tr>
|
2569
2569
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2570
2570
|
<td>
|
2571
|
-
<a href="
|
2571
|
+
<a href="http://library.gnome.org/devel/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</td>
|
2572
2572
|
</tr>
|
2573
2573
|
</tbody>
|
2574
2574
|
</table></div>
|
@@ -2579,9 +2579,9 @@ finished by calling <a class="link" href="gtk2-High-level-Printing-API.html#gtk-
|
|
2579
2579
|
<a name="GtkPrintOperation-request-page-setup"></a><h3>The <code class="literal">"request-page-setup"</code> signal</h3>
|
2580
2580
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2581
2581
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2582
|
-
<a href="
|
2582
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr,
|
2583
2583
|
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup,
|
2584
|
-
<a href="
|
2584
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2585
2585
|
<p>
|
2586
2586
|
Emitted once for every page that is printed, to give
|
2587
2587
|
the application a chance to modify the page setup. Any changes
|
@@ -2623,7 +2623,7 @@ done to <em class="parameter"><code>setup</code></em> will be in force only for
|
|
2623
2623
|
<div class="refsect2">
|
2624
2624
|
<a name="GtkPrintOperation-status-changed"></a><h3>The <code class="literal">"status-changed"</code> signal</h3>
|
2625
2625
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2626
|
-
<a href="
|
2626
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2627
2627
|
<p>
|
2628
2628
|
Emitted at between the various phases of the print operation.
|
2629
2629
|
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.
|
@@ -2655,7 +2655,7 @@ status.
|
|
2655
2655
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
2656
2656
|
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup,
|
2657
2657
|
<a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> *settings,
|
2658
|
-
<a href="
|
2658
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2659
2659
|
<p>
|
2660
2660
|
Emitted after change of selected printer. The actual page setup and
|
2661
2661
|
print settings are passed to the custom widget, which can actualize
|
@@ -2697,7 +2697,7 @@ itself according to this change.
|
|
2697
2697
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview,
|
2698
2698
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2699
2699
|
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup,
|
2700
|
-
<a href="
|
2700
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2701
2701
|
<p>
|
2702
2702
|
The ::got-page-size signal is emitted once for each page
|
2703
2703
|
that gets rendered to the preview.
|
@@ -2739,7 +2739,7 @@ context, using <a class="link" href="GtkPrintContext.html#gtk-print-context-set-
|
|
2739
2739
|
<a name="GtkPrintOperationPreview-ready"></a><h3>The <code class="literal">"ready"</code> signal</h3>
|
2740
2740
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview,
|
2741
2741
|
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2742
|
-
<a href="
|
2742
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2743
2743
|
<p>
|
2744
2744
|
The ::ready signal gets emitted once per preview operation,
|
2745
2745
|
before the first page is rendered.
|