gtk2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +22 -0
- data/ext/gtk2/rbgtkwindow.c +3 -1
- data/lib/1.8/gtk2.so +0 -0
- data/lib/1.9/gtk2.so +0 -0
- data/sample/gtk-demo/cairo-operator.rb +1 -1
- data/sample/misc/bindings.rb +1 -1
- data/sample/misc/cairo-pong.rb +1 -1
- data/vendor/local/bin/gtk-builder-convert +29 -2
- 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/etc/gtk-2.0/gtk.immodules +1 -1
- data/vendor/local/include/gtk-2.0/gdk/gdk.h +2 -5
- data/vendor/local/include/gtk-2.0/gdk/gdkcairo.h +4 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdisplay.h +2 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdnd.h +7 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdrawable.h +7 -4
- data/vendor/local/include/gtk-2.0/gdk/gdkfont.h +1 -1
- data/vendor/local/include/gtk-2.0/gdk/gdkinput.h +1 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkpixmap.h +4 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkproperty.h +13 -9
- data/vendor/local/include/gtk-2.0/gdk/gdkspawn.h +2 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwin32.h +5 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwindow.h +16 -6
- data/vendor/local/include/gtk-2.0/gtk/gtk.h +1 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaboutdialog.h +5 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkcombobox.h +14 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxentry.h +3 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxtext.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtklinkbutton.h +2 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmain.h +2 -2
- data/vendor/local/include/gtk-2.0/gtk/gtknotebook.h +5 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkrange.h +6 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktypeutils.h +2 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkversion.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkvruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkwidget.h +5 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkwindow.h +2 -1
- data/vendor/local/lib/gailutil.lib +0 -0
- data/vendor/local/lib/gdk-win32-2.0.lib +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/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/manifest/{gtk+-dev_2.22.1-1_win32.mft → gtk+-dev_2.24.0-1_win32.mft} +9 -6
- data/vendor/local/manifest/{gtk+_2.22.1-1_win32.mft → gtk+_2.24.0-1_win32.mft} +2 -6
- data/vendor/local/share/doc/{gtk+-2.22.1 → gtk+-2.24.0}/COPYING +0 -0
- data/vendor/local/share/doc/{gtk+-dev-2.22.1 → gtk+-dev-2.24.0}/COPYING +0 -0
- data/vendor/local/share/gtk-2.0/demo/appwindow.c +0 -21
- data/vendor/local/share/gtk-2.0/demo/combobox.c +6 -6
- data/vendor/local/share/gtk-2.0/demo/offscreen_window.c +1 -1
- data/vendor/local/share/gtk-2.0/demo/offscreen_window2.c +1 -1
- data/vendor/local/share/gtk-2.0/demo/sizegroup.c +2 -2
- data/vendor/local/share/gtk-2.0/demo/textview.c +4 -4
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +60 -94
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +44 -58
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp2 +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/libgail-util-main.html +3 -3
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplay.html +151 -208
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplayManager.html +33 -37
- data/vendor/local/share/gtk-doc/html/gdk/GdkScreen.html +180 -239
- data/vendor/local/share/gtk-doc/html/gdk/annotation-glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-2.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-4.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-6.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-8.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/api-index-deprecated.html +135 -5
- data/vendor/local/share/gtk-doc/html/gdk/api-index-full.html +83 -47
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Application-launching.html +20 -23
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html +126 -126
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cairo-Interaction.html +81 -39
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html +135 -199
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cursors.html +71 -90
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html +161 -200
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html +293 -409
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Event-Structures.html +320 -435
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Events.html +109 -141
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Fonts.html +155 -234
- data/vendor/local/share/gtk-doc/html/gdk/gdk-GdkRGB.html +143 -217
- data/vendor/local/share/gtk-doc/html/gdk/gdk-General.html +103 -124
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html +168 -250
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Images.html +90 -131
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input-Devices.html +143 -191
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input.html +35 -53
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Keyboard-Handling.html +162 -195
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pango-Interaction.html +85 -112
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pixbufs.html +79 -137
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Points-Rectangles-and-Regions.html +144 -176
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Properties-and-Atoms.html +188 -235
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Selections.html +97 -134
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Testing.html +22 -35
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Threads.html +44 -70
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Visuals.html +83 -108
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Windows.html +653 -744
- data/vendor/local/share/gtk-doc/html/gdk/gdk-X-Window-System-Interaction.html +476 -490
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp +53 -44
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp2 +85 -76
- data/vendor/local/share/gtk-doc/html/gdk/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/index.sgml +10 -1
- data/vendor/local/share/gtk-doc/html/gdk/multihead.html +9 -9
- data/vendor/local/share/gtk-doc/html/gdk/reference.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gtk/AbstractObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Actions.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Builder.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/ButtonWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/DeprecatedObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/DisplayWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkAboutDialog.html +193 -186
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccelLabel.html +38 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccessible.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkAction.html +169 -236
- data/vendor/local/share/gtk-doc/html/gtk/GtkActionGroup.html +175 -258
- data/vendor/local/share/gtk-doc/html/gtk/GtkActivatable.html +46 -50
- data/vendor/local/share/gtk-doc/html/gtk/GtkAdjustment.html +78 -114
- data/vendor/local/share/gtk-doc/html/gtk/GtkAlignment.html +52 -66
- data/vendor/local/share/gtk-doc/html/gtk/GtkArrow.html +30 -36
- data/vendor/local/share/gtk-doc/html/gtk/GtkAspectFrame.html +36 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkAssistant.html +97 -118
- data/vendor/local/share/gtk-doc/html/gtk/GtkBin.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/GtkBox.html +95 -120
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuildable.html +86 -117
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuilder.html +96 -137
- data/vendor/local/share/gtk-doc/html/gtk/GtkButton.html +152 -185
- data/vendor/local/share/gtk-doc/html/gtk/GtkButtonBox.html +59 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkCList.html +615 -895
- data/vendor/local/share/gtk-doc/html/gtk/GtkCTree.html +520 -1791
- data/vendor/local/share/gtk-doc/html/gtk/GtkCalendar.html +125 -163
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellEditable.html +33 -35
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellLayout.html +60 -87
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRenderer.html +106 -130
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererAccel.html +35 -44
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererCombo.html +27 -32
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererPixbuf.html +24 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererProgress.html +23 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpin.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpinner.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererText.html +69 -74
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererToggle.html +45 -54
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellView.html +57 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkCheckButton.html +30 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorButton.html +53 -75
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelection.html +104 -180
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelectionDialog.html +29 -32
- data/vendor/local/share/gtk-doc/html/gtk/GtkCombo.html +63 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBox.html +344 -186
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxEntry.html +57 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxText.html +301 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkContainer.html +311 -260
- data/vendor/local/share/gtk-doc/html/gtk/GtkCurve.html +61 -79
- data/vendor/local/share/gtk-doc/html/gtk/GtkDialog.html +97 -121
- data/vendor/local/share/gtk-doc/html/gtk/GtkDrawingArea.html +21 -23
- data/vendor/local/share/gtk-doc/html/gtk/GtkEditable.html +68 -88
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntry.html +360 -470
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryBuffer.html +71 -104
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryCompletion.html +130 -185
- data/vendor/local/share/gtk-doc/html/gtk/GtkEventBox.html +33 -38
- data/vendor/local/share/gtk-doc/html/gtk/GtkExpander.html +76 -96
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooser.html +331 -403
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserButton.html +64 -89
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserDialog.html +30 -35
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserWidget.html +21 -26
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileSelection.html +102 -146
- data/vendor/local/share/gtk-doc/html/gtk/GtkFixed.html +38 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontButton.html +60 -86
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelection.html +66 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelectionDialog.html +52 -61
- data/vendor/local/share/gtk-doc/html/gtk/GtkFrame.html +51 -58
- data/vendor/local/share/gtk-doc/html/gtk/GtkGammaCurve.html +18 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkHBox.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkHButtonBox.html +29 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkHPaned.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk/GtkHRuler.html +30 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSV.html +65 -101
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScale.html +25 -30
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScrollbar.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSeparator.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkHandleBox.html +55 -66
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContext.html +140 -182
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContextSimple.html +18 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMMulticontext.html +18 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconTheme.html +184 -248
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconView.html +321 -447
- data/vendor/local/share/gtk-doc/html/gtk/GtkImage.html +174 -195
- data/vendor/local/share/gtk-doc/html/gtk/GtkImageMenuItem.html +58 -69
- data/vendor/local/share/gtk-doc/html/gtk/GtkInfoBar.html +67 -80
- data/vendor/local/share/gtk-doc/html/gtk/GtkInputDialog.html +32 -37
- data/vendor/local/share/gtk-doc/html/gtk/GtkInvisible.html +33 -41
- data/vendor/local/share/gtk-doc/html/gtk/GtkItem.html +36 -42
- data/vendor/local/share/gtk-doc/html/gtk/GtkItemFactory.html +179 -272
- data/vendor/local/share/gtk-doc/html/gtk/GtkLabel.html +197 -249
- data/vendor/local/share/gtk-doc/html/gtk/GtkLayout.html +68 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkLinkButton.html +51 -60
- data/vendor/local/share/gtk-doc/html/gtk/GtkList.html +130 -180
- data/vendor/local/share/gtk-doc/html/gtk/GtkListItem.html +80 -130
- data/vendor/local/share/gtk-doc/html/gtk/GtkListStore.html +138 -168
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenu.html +177 -221
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuBar.html +41 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuItem.html +112 -145
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuShell.html +86 -118
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuToolButton.html +73 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkMessageDialog.html +81 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkMisc.html +33 -39
- data/vendor/local/share/gtk-doc/html/gtk/GtkNotebook.html +396 -452
- data/vendor/local/share/gtk-doc/html/gtk/GtkObject.html +148 -206
- data/vendor/local/share/gtk-doc/html/gtk/GtkOffscreenWindow.html +21 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkOldEditable.html +80 -165
- data/vendor/local/share/gtk-doc/html/gtk/GtkOptionMenu.html +56 -66
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetup.html +115 -160
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetupUnixDialog.html +22 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkPaned.html +94 -134
- data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkPaperSize.html → GtkPaperSize.html} +204 -252
- data/vendor/local/share/gtk-doc/html/gtk/GtkPixmap.html +34 -44
- data/vendor/local/share/gtk-doc/html/gtk/GtkPlug.html +51 -67
- data/vendor/local/share/gtk-doc/html/gtk/GtkPreview.html +109 -136
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintContext.html +38 -53
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintJob.html +53 -68
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintSettings.html +265 -403
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintUnixDialog.html +74 -94
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrinter.html +100 -134
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgress.html +80 -111
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgressBar.html +91 -108
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioAction.html +42 -53
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioButton.html +86 -79
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioMenuItem.html +63 -71
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioToolButton.html +33 -42
- data/vendor/local/share/gtk-doc/html/gtk/GtkRange.html +218 -185
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentAction.html +34 -41
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooser.html +135 -194
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserDialog.html +27 -29
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserMenu.html +25 -30
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserWidget.html +17 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentFilter.html +63 -85
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentManager.html +202 -269
- data/vendor/local/share/gtk-doc/html/gtk/GtkRuler.html +83 -58
- data/vendor/local/share/gtk-doc/html/gtk/GtkScale.html +61 -72
- data/vendor/local/share/gtk-doc/html/gtk/GtkScaleButton.html +64 -83
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrollbar.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrolledWindow.html +93 -143
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparator.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorMenuItem.html +17 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorToolItem.html +24 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkSettings.html +129 -259
- data/vendor/local/share/gtk-doc/html/gtk/GtkSizeGroup.html +38 -45
- data/vendor/local/share/gtk-doc/html/gtk/GtkSocket.html +44 -53
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinButton.html +132 -177
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinner.html +24 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusIcon.html +190 -254
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusbar.html +60 -75
- data/vendor/local/share/gtk-doc/html/gtk/GtkStyle.html +546 -928
- data/vendor/local/share/gtk-doc/html/gtk/GtkTable.html +94 -135
- data/vendor/local/share/gtk-doc/html/gtk/GtkTearoffMenuItem.html +18 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkText.html +97 -140
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextBuffer.html +494 -656
- data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkTextIter.html → GtkTextIter.html} +664 -806
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextMark.html +41 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTag.html +164 -194
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTagTable.html +84 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextView.html +340 -425
- data/vendor/local/share/gtk-doc/html/gtk/GtkTipsQuery.html +74 -94
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleAction.html +43 -57
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleButton.html +59 -71
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleToolButton.html +32 -38
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolButton.html +74 -85
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItem.html +133 -166
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItemGroup.html +84 -103
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolPalette.html +116 -139
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolShell.html +42 -59
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolbar.html +249 -360
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltip.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltips.html +60 -70
- data/vendor/local/share/gtk-doc/html/gtk/GtkTree.html +105 -152
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeItem.html +46 -134
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModel.html +428 -557
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelFilter.html +95 -126
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelSort.html +63 -70
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSelection.html +123 -171
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSortable.html +53 -62
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeStore.html +170 -199
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeView.html +565 -863
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeViewColumn.html +203 -282
- data/vendor/local/share/gtk-doc/html/gtk/GtkUIManager.html +125 -189
- data/vendor/local/share/gtk-doc/html/gtk/GtkVBox.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkVButtonBox.html +27 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkVPaned.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/GtkVRuler.html +31 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScale.html +24 -29
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScrollbar.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkVSeparator.html +17 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkViewport.html +58 -69
- data/vendor/local/share/gtk-doc/html/gtk/GtkVolumeButton.html +16 -17
- data/vendor/local/share/gtk-doc/html/gtk/GtkWidget.html +1278 -1579
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindow.html +380 -532
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindowGroup.html +21 -39
- data/vendor/local/share/gtk-doc/html/gtk/LayoutContainers.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/MenusAndCombos.html +6 -3
- data/vendor/local/share/gtk-doc/html/gtk/MiscObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/NumericEntry.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Ornaments.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/PlugSocket.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Printing.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/RecentDocuments.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/ScrollingWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/SelectorWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/SpecialObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/TextWidget.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk/TextWidgetObjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidget.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidgetObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/WindowWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/annotation-glossary.html +17 -11
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-10.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-12.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-16.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-22.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-24.html +117 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-4.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-8.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/api-index-deprecated.html +236 -45
- data/vendor/local/share/gtk-doc/html/gtk/api-index-full.html +469 -385
- data/vendor/local/share/gtk-doc/html/gtk/ch01.html +15 -4
- data/vendor/local/share/gtk-doc/html/gtk/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/chap-drawing-model.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/checklist-gdkeventexpose-region.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/checklist-modifiers.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/checklist-named-icons.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/decorating-the-assistant-pages.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Accelerator-Maps.html +69 -124
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Bindings.html +149 -211
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Clipboards.html +189 -293
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Drag-and-Drop.html +175 -246
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Feature-Test-Macros.html +35 -41
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Filesystem-utilities.html +41 -47
- data/vendor/local/share/gtk-doc/html/gtk/gtk-General.html +270 -318
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Graphics-Contexts.html +16 -22
- data/vendor/local/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html +75 -82
- data/vendor/local/share/gtk-doc/html/gtk/gtk-High-level-Printing-API.html +221 -289
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Keyboard-Accelerators.html +142 -232
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Orientable.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Resource-Files.html +150 -190
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Selections.html +328 -408
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Signals.html +190 -306
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Stock-Items.html +152 -158
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Testing.html +85 -136
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html +204 -239
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Types.html +271 -343
- data/vendor/local/share/gtk-doc/html/gtk/gtk-builder-convert.html +18 -11
- data/vendor/local/share/gtk-doc/html/gtk/gtk-building.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-1-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-2-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-directfb.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkcheckmenuitem.html +63 -75
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkfilefilter.html +58 -75
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-ClientSideWindows.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAboutDialog.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAssistant.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkBuilder.html +5 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkColorButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkComboBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkFileChooser.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkIconView.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkLinkButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkRecentChooser.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-checklist.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-entry-icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-label-links.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-tooltips.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-osx.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-query-immodules-2.0.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-question-index.html +90 -90
- data/vendor/local/share/gtk-doc/html/gtk/gtk-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk/gtk-running.html +39 -31
- data/vendor/local/share/gtk-doc/html/gtk/gtk-update-icon-cache.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-windows.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/gtk-x11.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp +445 -412
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp2 +488 -455
- data/vendor/local/share/gtk-doc/html/gtk/gtk.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtkbase.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-extra-widgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-preview.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-new-features.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-selection-modes.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkobjects.html +8 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-advanced.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-chooser.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/index.html +10 -6
- data/vendor/local/share/gtk-doc/html/gtk/index.sgml +194 -142
- data/vendor/local/share/gtk-doc/html/gtk/migrating-GtkCombo.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/migrating-gnomeuiinfo.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk/migrating.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/new-features-GtkComboBox.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/pt05.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/setting-the-page-flow.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gtk/ui-manager.html +3 -3
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/src/tml/packaging/gtk+_2.24.0-1_win32.log +4934 -0
- data/vendor/local/src/tml/packaging/{gtk+_2.22.1-1_win32.sh → gtk+_2.24.0-1_win32.sh} +2 -2
- metadata +26 -33
- data/ext/gtk2/Makefile +0 -169
- data/ext/gtk2/rbgdkkeysyms.h +0 -2174
- data/ext/gtk2/rbgtkinits.c +0 -473
- data/ext/gtk2/ruby-gtk2.pc +0 -3
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/src/tml/packaging/gtk+_2.22.1-1_win32.log +0 -5048
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="gtkbase.html" title="Part II. GTK+ Core Reference">
|
9
9
|
<link rel="prev" href="GtkStyle.html" title="Styles">
|
10
10
|
<link rel="next" href="gtk-Feature-Test-Macros.html" title="Version Information">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.16.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -24,9 +24,11 @@
|
|
24
24
|
<a href="#gtk-Selections.synopsis" class="shortcut">Top</a>
|
25
25
|
|
|
26
26
|
<a href="#gtk-Selections.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#gtk-Selections.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
27
29
|
</td></tr>
|
28
30
|
</table>
|
29
|
-
<div class="refentry"
|
31
|
+
<div class="refentry">
|
30
32
|
<a name="gtk-Selections"></a><div class="titlepage"></div>
|
31
33
|
<div class="refnamediv"><table width="100%"><tr>
|
32
34
|
<td valign="top">
|
@@ -35,45 +37,45 @@
|
|
35
37
|
</td>
|
36
38
|
<td valign="top" align="right"></td>
|
37
39
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
40
|
+
<div class="refsynopsisdiv">
|
39
41
|
<a name="gtk-Selections.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">
|
42
|
+
<a name="GtkTargetList"></a><pre class="synopsis">
|
41
43
|
#include <gtk/gtk.h>
|
42
44
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
<a class="link" href="gtk-Selections.html#GtkTargetList"
|
45
|
+
struct <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry">GtkTargetEntry</a>;
|
46
|
+
struct <a class="link" href="gtk-Selections.html#GtkTargetList-struct" title="struct GtkTargetList">GtkTargetList</a>;
|
47
|
+
struct <a class="link" href="gtk-Selections.html#GtkTargetPair" title="struct GtkTargetPair">GtkTargetPair</a>;
|
48
|
+
<a class="link" href="gtk-Selections.html#GtkTargetList"><span class="returnvalue">GtkTargetList</span></a> * <a class="link" href="gtk-Selections.html#gtk-target-list-new" title="gtk_target_list_new ()">gtk_target_list_new</a> (<em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
47
49
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ntargets</code></em>);
|
48
|
-
<a class="link" href="gtk-Selections.html#GtkTargetList"
|
49
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-list-unref" title="gtk_target_list_unref ()">gtk_target_list_unref</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
50
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-list-add" title="gtk_target_list_add ()">gtk_target_list_add</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
50
|
+
<a class="link" href="gtk-Selections.html#GtkTargetList"><span class="returnvalue">GtkTargetList</span></a> * <a class="link" href="gtk-Selections.html#gtk-target-list-ref" title="gtk_target_list_ref ()">gtk_target_list_ref</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>);
|
51
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-list-unref" title="gtk_target_list_unref ()">gtk_target_list_unref</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>);
|
52
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-list-add" title="gtk_target_list_add ()">gtk_target_list_add</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
51
53
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> target</code></em>,
|
52
54
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>,
|
53
55
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> info</code></em>);
|
54
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-list-add-table" title="gtk_target_list_add_table ()">gtk_target_list_add_table</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
55
|
-
<em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
56
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-list-add-table" title="gtk_target_list_add_table ()">gtk_target_list_add_table</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
57
|
+
<em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
56
58
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ntargets</code></em>);
|
57
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-list-add-text-targets" title="gtk_target_list_add_text_targets ()">gtk_target_list_add_text_targets</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
59
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-list-add-text-targets" title="gtk_target_list_add_text_targets ()">gtk_target_list_add_text_targets</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
58
60
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> info</code></em>);
|
59
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-list-add-image-targets" title="gtk_target_list_add_image_targets ()">gtk_target_list_add_image_targets</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
61
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-list-add-image-targets" title="gtk_target_list_add_image_targets ()">gtk_target_list_add_image_targets</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
60
62
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> info</code></em>,
|
61
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> writable</code></em>);
|
62
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-list-add-uri-targets" title="gtk_target_list_add_uri_targets ()">gtk_target_list_add_uri_targets</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
64
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-list-add-uri-targets" title="gtk_target_list_add_uri_targets ()">gtk_target_list_add_uri_targets</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
63
65
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> info</code></em>);
|
64
66
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-list-add-rich-text-targets" title="gtk_target_list_add_rich_text_targets ()">gtk_target_list_add_rich_text_targets</a>
|
65
|
-
(<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
67
|
+
(<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
66
68
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> info</code></em>,
|
67
69
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> deserializable</code></em>,
|
68
70
|
<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>);
|
69
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-list-remove" title="gtk_target_list_remove ()">gtk_target_list_remove</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
71
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-list-remove" title="gtk_target_list_remove ()">gtk_target_list_remove</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
70
72
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> target</code></em>);
|
71
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-target-list-find" title="gtk_target_list_find ()">gtk_target_list_find</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
73
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-target-list-find" title="gtk_target_list_find ()">gtk_target_list_find</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
72
74
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> target</code></em>,
|
73
75
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *info</code></em>);
|
74
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-table-free" title="gtk_target_table_free ()">gtk_target_table_free</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
76
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-target-table-free" title="gtk_target_table_free ()">gtk_target_table_free</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
75
77
|
<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_targets</code></em>);
|
76
|
-
<a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="returnvalue">GtkTargetEntry</span></a> * <a class="link" href="gtk-Selections.html#gtk-target-table-new-from-list" title="gtk_target_table_new_from_list ()">gtk_target_table_new_from_list</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
78
|
+
<a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="returnvalue">GtkTargetEntry</span></a> * <a class="link" href="gtk-Selections.html#gtk-target-table-new-from-list" title="gtk_target_table_new_from_list ()">gtk_target_table_new_from_list</a> (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
77
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_targets</code></em>);
|
78
80
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-owner-set" title="gtk_selection_owner_set ()">gtk_selection_owner_set</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
79
81
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> selection</code></em>,
|
@@ -88,7 +90,7 @@
|
|
88
90
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> info</code></em>);
|
89
91
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-selection-add-targets" title="gtk_selection_add_targets ()">gtk_selection_add_targets</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
90
92
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> selection</code></em>,
|
91
|
-
<em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
93
|
+
<em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
92
94
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ntargets</code></em>);
|
93
95
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-selection-clear-targets" title="gtk_selection_clear_targets ()">gtk_selection_clear_targets</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
94
96
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> selection</code></em>);
|
@@ -96,41 +98,41 @@
|
|
96
98
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> selection</code></em>,
|
97
99
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> target</code></em>,
|
98
100
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);
|
99
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-selection-data-set" title="gtk_selection_data_set ()">gtk_selection_data_set</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
101
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-selection-data-set" title="gtk_selection_data_set ()">gtk_selection_data_set</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
100
102
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> type</code></em>,
|
101
103
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> format</code></em>,
|
102
104
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *data</code></em>,
|
103
105
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>);
|
104
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-set-text" title="gtk_selection_data_set_text ()">gtk_selection_data_set_text</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
106
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-set-text" title="gtk_selection_data_set_text ()">gtk_selection_data_set_text</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
105
107
|
<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> *str</code></em>,
|
106
108
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> len</code></em>);
|
107
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * <a class="link" href="gtk-Selections.html#gtk-selection-data-get-text" title="gtk_selection_data_get_text ()">gtk_selection_data_get_text</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
108
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-set-pixbuf" title="gtk_selection_data_set_pixbuf ()">gtk_selection_data_set_pixbuf</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
109
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * <a class="link" href="gtk-Selections.html#gtk-selection-data-get-text" title="gtk_selection_data_get_text ()">gtk_selection_data_get_text</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
|
110
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-set-pixbuf" title="gtk_selection_data_set_pixbuf ()">gtk_selection_data_set_pixbuf</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
109
111
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
|
110
|
-
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gtk-Selections.html#gtk-selection-data-get-pixbuf" title="gtk_selection_data_get_pixbuf ()">gtk_selection_data_get_pixbuf</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
111
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-set-uris" title="gtk_selection_data_set_uris ()">gtk_selection_data_set_uris</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
112
|
+
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gtk-Selections.html#gtk-selection-data-get-pixbuf" title="gtk_selection_data_get_pixbuf ()">gtk_selection_data_get_pixbuf</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
|
113
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-set-uris" title="gtk_selection_data_set_uris ()">gtk_selection_data_set_uris</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
112
114
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **uris</code></em>);
|
113
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="gtk-Selections.html#gtk-selection-data-get-uris" title="gtk_selection_data_get_uris ()">gtk_selection_data_get_uris</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
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="gtk-Selections.html#gtk-selection-data-get-targets" title="gtk_selection_data_get_targets ()">gtk_selection_data_get_targets</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
115
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="gtk-Selections.html#gtk-selection-data-get-uris" title="gtk_selection_data_get_uris ()">gtk_selection_data_get_uris</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
|
116
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-get-targets" title="gtk_selection_data_get_targets ()">gtk_selection_data_get_targets</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
115
117
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> **targets</code></em>,
|
116
118
|
<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_atoms</code></em>);
|
117
119
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-targets-include-image" title="gtk_selection_data_targets_include_image ()">gtk_selection_data_targets_include_image</a>
|
118
|
-
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
120
|
+
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
119
121
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> writable</code></em>);
|
120
122
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-targets-include-text" title="gtk_selection_data_targets_include_text ()">gtk_selection_data_targets_include_text</a>
|
121
|
-
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
123
|
+
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
|
122
124
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-targets-include-uri" title="gtk_selection_data_targets_include_uri ()">gtk_selection_data_targets_include_uri</a>
|
123
|
-
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
125
|
+
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
|
124
126
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-targets-include-rich-text" title="gtk_selection_data_targets_include_rich_text ()">gtk_selection_data_targets_include_rich_text</a>
|
125
|
-
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
127
|
+
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
126
128
|
<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>);
|
127
|
-
<a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-get-selection" title="gtk_selection_data_get_selection ()">gtk_selection_data_get_selection</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
128
|
-
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * <a class="link" href="gtk-Selections.html#gtk-selection-data-get-data" title="gtk_selection_data_get_data ()">gtk_selection_data_get_data</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
129
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-get-length" title="gtk_selection_data_get_length ()">gtk_selection_data_get_length</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
130
|
-
<a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-get-data-type" title="gtk_selection_data_get_data_type ()">gtk_selection_data_get_data_type</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
131
|
-
<a href="http://library.gnome.org/devel/gdk/unstable/GdkDisplay.html"><span class="returnvalue">GdkDisplay</span></a> * <a class="link" href="gtk-Selections.html#gtk-selection-data-get-display" title="gtk_selection_data_get_display ()">gtk_selection_data_get_display</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
132
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-get-format" title="gtk_selection_data_get_format ()">gtk_selection_data_get_format</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
133
|
-
<a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-get-target" title="gtk_selection_data_get_target ()">gtk_selection_data_get_target</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
129
|
+
<a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-get-selection" title="gtk_selection_data_get_selection ()">gtk_selection_data_get_selection</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
|
130
|
+
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * <a class="link" href="gtk-Selections.html#gtk-selection-data-get-data" title="gtk_selection_data_get_data ()">gtk_selection_data_get_data</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
|
131
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-get-length" title="gtk_selection_data_get_length ()">gtk_selection_data_get_length</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
|
132
|
+
<a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-get-data-type" title="gtk_selection_data_get_data_type ()">gtk_selection_data_get_data_type</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
|
133
|
+
<a href="http://library.gnome.org/devel/gdk/unstable/GdkDisplay.html"><span class="returnvalue">GdkDisplay</span></a> * <a class="link" href="gtk-Selections.html#gtk-selection-data-get-display" title="gtk_selection_data_get_display ()">gtk_selection_data_get_display</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
|
134
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-get-format" title="gtk_selection_data_get_format ()">gtk_selection_data_get_format</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
|
135
|
+
<a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-data-get-target" title="gtk_selection_data_get_target ()">gtk_selection_data_get_target</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
|
134
136
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-targets-include-image" title="gtk_targets_include_image ()">gtk_targets_include_image</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> *targets</code></em>,
|
135
137
|
<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_targets</code></em>,
|
136
138
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> writable</code></em>);
|
@@ -144,11 +146,18 @@ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.htm
|
|
144
146
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-selection-remove-all" title="gtk_selection_remove_all ()">gtk_selection_remove_all</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
145
147
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Selections.html#gtk-selection-clear" title="gtk_selection_clear ()">gtk_selection_clear</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
146
148
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEventSelection"><span class="type">GdkEventSelection</span></a> *event</code></em>);
|
147
|
-
<a class="link" href="GtkWidget.html#GtkSelectionData"
|
148
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-selection-data-free" title="gtk_selection_data_free ()">gtk_selection_data_free</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
149
|
+
<a class="link" href="GtkWidget.html#GtkSelectionData"><span class="returnvalue">GtkSelectionData</span></a> * <a class="link" href="gtk-Selections.html#gtk-selection-data-copy" title="gtk_selection_data_copy ()">gtk_selection_data_copy</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *data</code></em>);
|
150
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-Selections.html#gtk-selection-data-free" title="gtk_selection_data_free ()">gtk_selection_data_free</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *data</code></em>);
|
149
151
|
</pre>
|
150
152
|
</div>
|
151
|
-
<div class="refsect1"
|
153
|
+
<div class="refsect1">
|
154
|
+
<a name="gtk-Selections.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
155
|
+
<pre class="synopsis">
|
156
|
+
GBoxed
|
157
|
+
+----GtkTargetList
|
158
|
+
</pre>
|
159
|
+
</div>
|
160
|
+
<div class="refsect1">
|
152
161
|
<a name="gtk-Selections.description"></a><h2>Description</h2>
|
153
162
|
<p>
|
154
163
|
The selection mechanism provides the basis for different types
|
@@ -160,25 +169,25 @@ never need to use most of the functions in this section directly;
|
|
160
169
|
<p>
|
161
170
|
Some of the datatypes defined this section are used in
|
162
171
|
the <a class="link" href="gtk-Clipboards.html#GtkClipboard"><span class="type">GtkClipboard</span></a> and drag-and-drop API's as well. The
|
163
|
-
<a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> structure and <a class="link" href="gtk-Selections.html#GtkTargetList"
|
172
|
+
<a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> structure and <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> objects represent
|
164
173
|
lists of data types that are supported when sending or
|
165
|
-
receiving data. The <a class="link" href="GtkWidget.html#GtkSelectionData"
|
174
|
+
receiving data. The <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> object is used to
|
166
175
|
store a chunk of data along with the data type and other
|
167
176
|
associated information.
|
168
177
|
</p>
|
169
178
|
</div>
|
170
|
-
<div class="refsect1"
|
179
|
+
<div class="refsect1">
|
171
180
|
<a name="gtk-Selections.details"></a><h2>Details</h2>
|
172
|
-
<div class="refsect2"
|
173
|
-
<a name="GtkTargetEntry"></a><h3>GtkTargetEntry</h3>
|
174
|
-
<pre class="programlisting">
|
181
|
+
<div class="refsect2">
|
182
|
+
<a name="GtkTargetEntry"></a><h3>struct GtkTargetEntry</h3>
|
183
|
+
<pre class="programlisting">struct GtkTargetEntry {
|
175
184
|
gchar *target;
|
176
185
|
guint flags;
|
177
186
|
guint info;
|
178
|
-
}
|
187
|
+
};
|
179
188
|
</pre>
|
180
189
|
<p>
|
181
|
-
A <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> structure represents a single type of
|
190
|
+
A <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> structure represents a single type of
|
182
191
|
data than can be supplied for by a widget for a selection
|
183
192
|
or for supplied or received during drag-and-drop. It
|
184
193
|
contains a string representing the drag type, a flags
|
@@ -190,29 +199,25 @@ the target type without extensive string compares.
|
|
190
199
|
</p>
|
191
200
|
</div>
|
192
201
|
<hr>
|
193
|
-
<div class="refsect2"
|
194
|
-
<a name="GtkTargetList"></a><h3>GtkTargetList</h3>
|
195
|
-
<pre class="programlisting">
|
196
|
-
GList *list;
|
197
|
-
guint ref_count;
|
198
|
-
} GtkTargetList;
|
199
|
-
</pre>
|
202
|
+
<div class="refsect2">
|
203
|
+
<a name="GtkTargetList-struct"></a><h3>struct GtkTargetList</h3>
|
204
|
+
<pre class="programlisting">struct GtkTargetList;</pre>
|
200
205
|
<p>
|
201
|
-
A <a class="link" href="gtk-Selections.html#GtkTargetList"
|
202
|
-
of <a class="link" href="gtk-Selections.html#GtkTargetPair" title="GtkTargetPair"><span class="type">GtkTargetPair</span></a>. It is used to represent the same
|
203
|
-
information as a table of <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a>, but in
|
206
|
+
A <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> structure is a reference counted list
|
207
|
+
of <a class="link" href="gtk-Selections.html#GtkTargetPair" title="struct GtkTargetPair"><span class="type">GtkTargetPair</span></a>. It is used to represent the same
|
208
|
+
information as a table of <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a>, but in
|
204
209
|
an efficient form. This structure should be treated as
|
205
210
|
opaque.
|
206
211
|
</p>
|
207
212
|
</div>
|
208
213
|
<hr>
|
209
|
-
<div class="refsect2"
|
210
|
-
<a name="GtkTargetPair"></a><h3>GtkTargetPair</h3>
|
211
|
-
<pre class="programlisting">
|
214
|
+
<div class="refsect2">
|
215
|
+
<a name="GtkTargetPair"></a><h3>struct GtkTargetPair</h3>
|
216
|
+
<pre class="programlisting">struct GtkTargetPair {
|
212
217
|
GdkAtom target;
|
213
218
|
guint flags;
|
214
219
|
guint info;
|
215
|
-
}
|
220
|
+
};
|
216
221
|
</pre>
|
217
222
|
<p>
|
218
223
|
Internally used structure in the drag-and-drop and
|
@@ -220,144 +225,138 @@ selection handling code.
|
|
220
225
|
</p>
|
221
226
|
</div>
|
222
227
|
<hr>
|
223
|
-
<div class="refsect2"
|
228
|
+
<div class="refsect2">
|
224
229
|
<a name="gtk-target-list-new"></a><h3>gtk_target_list_new ()</h3>
|
225
|
-
<pre class="programlisting"><a class="link" href="gtk-Selections.html#GtkTargetList"
|
230
|
+
<pre class="programlisting"><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="returnvalue">GtkTargetList</span></a> * gtk_target_list_new (<em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
226
231
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ntargets</code></em>);</pre>
|
227
232
|
<p>
|
228
|
-
Creates a new <a class="link" href="gtk-Selections.html#GtkTargetList"
|
233
|
+
Creates a new <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> from an array of <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a>.
|
229
234
|
</p>
|
230
235
|
<div class="variablelist"><table border="0">
|
231
236
|
<col align="left" valign="top">
|
232
237
|
<tbody>
|
233
238
|
<tr>
|
234
239
|
<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
|
235
|
-
<td>Pointer to an array of <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a>
|
240
|
+
<td>Pointer to an array of <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a>
|
236
241
|
</td>
|
237
242
|
</tr>
|
238
243
|
<tr>
|
239
244
|
<td><p><span class="term"><em class="parameter"><code>ntargets</code></em> :</span></p></td>
|
240
|
-
<td>number of entries in <em class="parameter"><code>targets</code></em
|
241
|
-
</td>
|
245
|
+
<td>number of entries in <em class="parameter"><code>targets</code></em>.</td>
|
242
246
|
</tr>
|
243
247
|
<tr>
|
244
248
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
245
|
-
<td>
|
249
|
+
<td>the new <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
246
250
|
</td>
|
247
251
|
</tr>
|
248
252
|
</tbody>
|
249
253
|
</table></div>
|
250
254
|
</div>
|
251
255
|
<hr>
|
252
|
-
<div class="refsect2"
|
256
|
+
<div class="refsect2">
|
253
257
|
<a name="gtk-target-list-ref"></a><h3>gtk_target_list_ref ()</h3>
|
254
|
-
<pre class="programlisting"><a class="link" href="gtk-Selections.html#GtkTargetList"
|
258
|
+
<pre class="programlisting"><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="returnvalue">GtkTargetList</span></a> * gtk_target_list_ref (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>);</pre>
|
255
259
|
<p>
|
256
|
-
Increases the reference count of a <a class="link" href="gtk-Selections.html#GtkTargetList"
|
260
|
+
Increases the reference count of a <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> by one.
|
257
261
|
</p>
|
258
262
|
<div class="variablelist"><table border="0">
|
259
263
|
<col align="left" valign="top">
|
260
264
|
<tbody>
|
261
265
|
<tr>
|
262
266
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
263
|
-
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"
|
267
|
+
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>
|
264
268
|
</td>
|
265
269
|
</tr>
|
266
270
|
<tr>
|
267
271
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
268
|
-
<td>
|
269
|
-
</td>
|
272
|
+
<td>the passed in <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>.</td>
|
270
273
|
</tr>
|
271
274
|
</tbody>
|
272
275
|
</table></div>
|
273
276
|
</div>
|
274
277
|
<hr>
|
275
|
-
<div class="refsect2"
|
278
|
+
<div class="refsect2">
|
276
279
|
<a name="gtk-target-list-unref"></a><h3>gtk_target_list_unref ()</h3>
|
277
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_list_unref (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
280
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_list_unref (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>);</pre>
|
278
281
|
<p>
|
279
|
-
Decreases the reference count of a <a class="link" href="gtk-Selections.html#GtkTargetList"
|
282
|
+
Decreases the reference count of a <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> by one.
|
280
283
|
If the resulting reference count is zero, frees the list.
|
281
284
|
</p>
|
282
285
|
<div class="variablelist"><table border="0">
|
283
286
|
<col align="left" valign="top">
|
284
287
|
<tbody><tr>
|
285
288
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
286
|
-
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"
|
289
|
+
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>
|
287
290
|
</td>
|
288
291
|
</tr></tbody>
|
289
292
|
</table></div>
|
290
293
|
</div>
|
291
294
|
<hr>
|
292
|
-
<div class="refsect2"
|
295
|
+
<div class="refsect2">
|
293
296
|
<a name="gtk-target-list-add"></a><h3>gtk_target_list_add ()</h3>
|
294
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_list_add (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
297
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_list_add (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
295
298
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> target</code></em>,
|
296
299
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>,
|
297
300
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> info</code></em>);</pre>
|
298
301
|
<p>
|
299
|
-
Appends another target to a <a class="link" href="gtk-Selections.html#GtkTargetList"
|
302
|
+
Appends another target to a <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>.
|
300
303
|
</p>
|
301
304
|
<div class="variablelist"><table border="0">
|
302
305
|
<col align="left" valign="top">
|
303
306
|
<tbody>
|
304
307
|
<tr>
|
305
308
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
306
|
-
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"
|
309
|
+
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>
|
307
310
|
</td>
|
308
311
|
</tr>
|
309
312
|
<tr>
|
310
313
|
<td><p><span class="term"><em class="parameter"><code>target</code></em> :</span></p></td>
|
311
|
-
<td>the interned atom representing the target
|
312
|
-
</td>
|
314
|
+
<td>the interned atom representing the target</td>
|
313
315
|
</tr>
|
314
316
|
<tr>
|
315
317
|
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
316
|
-
<td>the flags for this target
|
317
|
-
</td>
|
318
|
+
<td>the flags for this target</td>
|
318
319
|
</tr>
|
319
320
|
<tr>
|
320
321
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
321
|
-
<td>an ID that will be passed back to the application
|
322
|
-
</td>
|
322
|
+
<td>an ID that will be passed back to the application</td>
|
323
323
|
</tr>
|
324
324
|
</tbody>
|
325
325
|
</table></div>
|
326
326
|
</div>
|
327
327
|
<hr>
|
328
|
-
<div class="refsect2"
|
328
|
+
<div class="refsect2">
|
329
329
|
<a name="gtk-target-list-add-table"></a><h3>gtk_target_list_add_table ()</h3>
|
330
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_list_add_table (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
331
|
-
<em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
330
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_list_add_table (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
331
|
+
<em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
332
332
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ntargets</code></em>);</pre>
|
333
333
|
<p>
|
334
|
-
Prepends a table of <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> to a target list.
|
334
|
+
Prepends a table of <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> to a target list.
|
335
335
|
</p>
|
336
336
|
<div class="variablelist"><table border="0">
|
337
337
|
<col align="left" valign="top">
|
338
338
|
<tbody>
|
339
339
|
<tr>
|
340
340
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
341
|
-
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"
|
341
|
+
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>
|
342
342
|
</td>
|
343
343
|
</tr>
|
344
344
|
<tr>
|
345
345
|
<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
|
346
|
-
<td>the table of <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a>
|
346
|
+
<td>the table of <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a>
|
347
347
|
</td>
|
348
348
|
</tr>
|
349
349
|
<tr>
|
350
350
|
<td><p><span class="term"><em class="parameter"><code>ntargets</code></em> :</span></p></td>
|
351
|
-
<td>number of targets in the table
|
352
|
-
</td>
|
351
|
+
<td>number of targets in the table</td>
|
353
352
|
</tr>
|
354
353
|
</tbody>
|
355
354
|
</table></div>
|
356
355
|
</div>
|
357
356
|
<hr>
|
358
|
-
<div class="refsect2"
|
357
|
+
<div class="refsect2">
|
359
358
|
<a name="gtk-target-list-add-text-targets"></a><h3>gtk_target_list_add_text_targets ()</h3>
|
360
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_list_add_text_targets (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
359
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_list_add_text_targets (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
361
360
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> info</code></em>);</pre>
|
362
361
|
<p>
|
363
362
|
Appends the text targets supported by <span class="type">GtkSelection</span> to
|
@@ -368,22 +367,21 @@ the target list. All targets are added with the same <em class="parameter"><code
|
|
368
367
|
<tbody>
|
369
368
|
<tr>
|
370
369
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
371
|
-
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"
|
370
|
+
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>
|
372
371
|
</td>
|
373
372
|
</tr>
|
374
373
|
<tr>
|
375
374
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
376
|
-
<td>an ID that will be passed back to the application
|
377
|
-
</td>
|
375
|
+
<td>an ID that will be passed back to the application</td>
|
378
376
|
</tr>
|
379
377
|
</tbody>
|
380
378
|
</table></div>
|
381
379
|
<p class="since">Since 2.6</p>
|
382
380
|
</div>
|
383
381
|
<hr>
|
384
|
-
<div class="refsect2"
|
382
|
+
<div class="refsect2">
|
385
383
|
<a name="gtk-target-list-add-image-targets"></a><h3>gtk_target_list_add_image_targets ()</h3>
|
386
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_list_add_image_targets (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
384
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_list_add_image_targets (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
387
385
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> info</code></em>,
|
388
386
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> writable</code></em>);</pre>
|
389
387
|
<p>
|
@@ -395,28 +393,26 @@ the target list. All targets are added with the same <em class="parameter"><code
|
|
395
393
|
<tbody>
|
396
394
|
<tr>
|
397
395
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
398
|
-
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"
|
396
|
+
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>
|
399
397
|
</td>
|
400
398
|
</tr>
|
401
399
|
<tr>
|
402
400
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
403
|
-
<td>an ID that will be passed back to the application
|
404
|
-
</td>
|
401
|
+
<td>an ID that will be passed back to the application</td>
|
405
402
|
</tr>
|
406
403
|
<tr>
|
407
404
|
<td><p><span class="term"><em class="parameter"><code>writable</code></em> :</span></p></td>
|
408
405
|
<td>whether to add only targets for which GTK+ knows
|
409
|
-
|
410
|
-
</td>
|
406
|
+
how to convert a pixbuf into the format</td>
|
411
407
|
</tr>
|
412
408
|
</tbody>
|
413
409
|
</table></div>
|
414
410
|
<p class="since">Since 2.6</p>
|
415
411
|
</div>
|
416
412
|
<hr>
|
417
|
-
<div class="refsect2"
|
413
|
+
<div class="refsect2">
|
418
414
|
<a name="gtk-target-list-add-uri-targets"></a><h3>gtk_target_list_add_uri_targets ()</h3>
|
419
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_list_add_uri_targets (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
415
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_list_add_uri_targets (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
420
416
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> info</code></em>);</pre>
|
421
417
|
<p>
|
422
418
|
Appends the URI targets supported by <span class="type">GtkSelection</span> to
|
@@ -427,23 +423,22 @@ the target list. All targets are added with the same <em class="parameter"><code
|
|
427
423
|
<tbody>
|
428
424
|
<tr>
|
429
425
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
430
|
-
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"
|
426
|
+
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>
|
431
427
|
</td>
|
432
428
|
</tr>
|
433
429
|
<tr>
|
434
430
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
435
|
-
<td>an ID that will be passed back to the application
|
436
|
-
</td>
|
431
|
+
<td>an ID that will be passed back to the application</td>
|
437
432
|
</tr>
|
438
433
|
</tbody>
|
439
434
|
</table></div>
|
440
435
|
<p class="since">Since 2.6</p>
|
441
436
|
</div>
|
442
437
|
<hr>
|
443
|
-
<div class="refsect2"
|
438
|
+
<div class="refsect2">
|
444
439
|
<a name="gtk-target-list-add-rich-text-targets"></a><h3>gtk_target_list_add_rich_text_targets ()</h3>
|
445
440
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_list_add_rich_text_targets
|
446
|
-
(<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
441
|
+
(<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
447
442
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> info</code></em>,
|
448
443
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> deserializable</code></em>,
|
449
444
|
<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>);</pre>
|
@@ -458,33 +453,30 @@ targets are added with the same <em class="parameter"><code>info</code></em>.
|
|
458
453
|
<tbody>
|
459
454
|
<tr>
|
460
455
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
461
|
-
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"
|
456
|
+
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>
|
462
457
|
</td>
|
463
458
|
</tr>
|
464
459
|
<tr>
|
465
460
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
466
|
-
<td>an ID that will be passed back to the application
|
467
|
-
</td>
|
461
|
+
<td>an ID that will be passed back to the application</td>
|
468
462
|
</tr>
|
469
463
|
<tr>
|
470
464
|
<td><p><span class="term"><em class="parameter"><code>deserializable</code></em> :</span></p></td>
|
471
465
|
<td>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then deserializable rich text formats
|
472
|
-
|
473
|
-
</td>
|
466
|
+
will be added, serializable formats otherwise.</td>
|
474
467
|
</tr>
|
475
468
|
<tr>
|
476
469
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
477
|
-
<td>a <a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a
|
478
|
-
</td>
|
470
|
+
<td>a <a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a>.</td>
|
479
471
|
</tr>
|
480
472
|
</tbody>
|
481
473
|
</table></div>
|
482
474
|
<p class="since">Since 2.10</p>
|
483
475
|
</div>
|
484
476
|
<hr>
|
485
|
-
<div class="refsect2"
|
477
|
+
<div class="refsect2">
|
486
478
|
<a name="gtk-target-list-remove"></a><h3>gtk_target_list_remove ()</h3>
|
487
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_list_remove (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
479
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_list_remove (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
488
480
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> target</code></em>);</pre>
|
489
481
|
<p>
|
490
482
|
Removes a target from a target list.
|
@@ -494,57 +486,56 @@ Removes a target from a target list.
|
|
494
486
|
<tbody>
|
495
487
|
<tr>
|
496
488
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
497
|
-
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"
|
489
|
+
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>
|
498
490
|
</td>
|
499
491
|
</tr>
|
500
492
|
<tr>
|
501
493
|
<td><p><span class="term"><em class="parameter"><code>target</code></em> :</span></p></td>
|
502
|
-
<td>the interned atom representing the target
|
503
|
-
</td>
|
494
|
+
<td>the interned atom representing the target</td>
|
504
495
|
</tr>
|
505
496
|
</tbody>
|
506
497
|
</table></div>
|
507
498
|
</div>
|
508
499
|
<hr>
|
509
|
-
<div class="refsect2"
|
500
|
+
<div class="refsect2">
|
510
501
|
<a name="gtk-target-list-find"></a><h3>gtk_target_list_find ()</h3>
|
511
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_target_list_find (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
502
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_target_list_find (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
512
503
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> target</code></em>,
|
513
504
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *info</code></em>);</pre>
|
514
505
|
<p>
|
515
|
-
Looks up a given target in a <a class="link" href="gtk-Selections.html#GtkTargetList"
|
506
|
+
Looks up a given target in a <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>.
|
516
507
|
</p>
|
517
508
|
<div class="variablelist"><table border="0">
|
518
509
|
<col align="left" valign="top">
|
519
510
|
<tbody>
|
520
511
|
<tr>
|
521
512
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
522
|
-
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"
|
513
|
+
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>
|
523
514
|
</td>
|
524
515
|
</tr>
|
525
516
|
<tr>
|
526
517
|
<td><p><span class="term"><em class="parameter"><code>target</code></em> :</span></p></td>
|
527
|
-
<td>an interned atom representing the target to search for
|
528
|
-
</td>
|
518
|
+
<td>an interned atom representing the target to search for</td>
|
529
519
|
</tr>
|
530
520
|
<tr>
|
531
521
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
532
522
|
<td>a pointer to the location to store application info for target,
|
533
|
-
|
523
|
+
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
534
524
|
</td>
|
535
525
|
</tr>
|
536
526
|
<tr>
|
537
527
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
538
|
-
<td>
|
528
|
+
<td>
|
529
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the target was found, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
539
530
|
</td>
|
540
531
|
</tr>
|
541
532
|
</tbody>
|
542
533
|
</table></div>
|
543
534
|
</div>
|
544
535
|
<hr>
|
545
|
-
<div class="refsect2"
|
536
|
+
<div class="refsect2">
|
546
537
|
<a name="gtk-target-table-free"></a><h3>gtk_target_table_free ()</h3>
|
547
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_table_free (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
538
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_target_table_free (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
548
539
|
<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_targets</code></em>);</pre>
|
549
540
|
<p>
|
550
541
|
This function frees a target table as returned by
|
@@ -555,25 +546,24 @@ This function frees a target table as returned by
|
|
555
546
|
<tbody>
|
556
547
|
<tr>
|
557
548
|
<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
|
558
|
-
<td>a <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> array
|
549
|
+
<td>a <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> array. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_targets]</span>
|
559
550
|
</td>
|
560
551
|
</tr>
|
561
552
|
<tr>
|
562
553
|
<td><p><span class="term"><em class="parameter"><code>n_targets</code></em> :</span></p></td>
|
563
|
-
<td>the number of entries in the array
|
564
|
-
</td>
|
554
|
+
<td>the number of entries in the array</td>
|
565
555
|
</tr>
|
566
556
|
</tbody>
|
567
557
|
</table></div>
|
568
558
|
<p class="since">Since 2.10</p>
|
569
559
|
</div>
|
570
560
|
<hr>
|
571
|
-
<div class="refsect2"
|
561
|
+
<div class="refsect2">
|
572
562
|
<a name="gtk-target-table-new-from-list"></a><h3>gtk_target_table_new_from_list ()</h3>
|
573
|
-
<pre class="programlisting"><a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="returnvalue">GtkTargetEntry</span></a> * gtk_target_table_new_from_list (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
563
|
+
<pre class="programlisting"><a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="returnvalue">GtkTargetEntry</span></a> * gtk_target_table_new_from_list (<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *list</code></em>,
|
574
564
|
<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_targets</code></em>);</pre>
|
575
565
|
<p>
|
576
|
-
This function creates an <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> array that contains the
|
566
|
+
This function creates an <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> array that contains the
|
577
567
|
same targets as the passed <code class="literal">list</code>. The returned table is newly
|
578
568
|
allocated and should be freed using <a class="link" href="gtk-Selections.html#gtk-target-table-free" title="gtk_target_table_free ()"><code class="function">gtk_target_table_free()</code></a> when no
|
579
569
|
longer needed.
|
@@ -583,18 +573,16 @@ longer needed.
|
|
583
573
|
<tbody>
|
584
574
|
<tr>
|
585
575
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
586
|
-
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"
|
576
|
+
<td>a <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>
|
587
577
|
</td>
|
588
578
|
</tr>
|
589
579
|
<tr>
|
590
580
|
<td><p><span class="term"><em class="parameter"><code>n_targets</code></em> :</span></p></td>
|
591
|
-
<td>return location for the number ot targets in the table
|
592
|
-
</td>
|
581
|
+
<td>return location for the number ot targets in the table</td>
|
593
582
|
</tr>
|
594
583
|
<tr>
|
595
584
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
596
|
-
<td>
|
597
|
-
|
585
|
+
<td>the new table. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_targets][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
598
586
|
</td>
|
599
587
|
</tr>
|
600
588
|
</tbody>
|
@@ -602,7 +590,7 @@ longer needed.
|
|
602
590
|
<p class="since">Since 2.10</p>
|
603
591
|
</div>
|
604
592
|
<hr>
|
605
|
-
<div class="refsect2"
|
593
|
+
<div class="refsect2">
|
606
594
|
<a name="gtk-selection-owner-set"></a><h3>gtk_selection_owner_set ()</h3>
|
607
595
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_owner_set (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
608
596
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> selection</code></em>,
|
@@ -616,29 +604,27 @@ or, if <em class="parameter"><code>widget</code></em> is <a href="http://library
|
|
616
604
|
<tbody>
|
617
605
|
<tr>
|
618
606
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
619
|
-
<td>
|
607
|
+
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</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>
|
620
608
|
</td>
|
621
609
|
</tr>
|
622
610
|
<tr>
|
623
611
|
<td><p><span class="term"><em class="parameter"><code>selection</code></em> :</span></p></td>
|
624
|
-
<td>an interned atom representing the selection to claim
|
625
|
-
</td>
|
612
|
+
<td>an interned atom representing the selection to claim</td>
|
626
613
|
</tr>
|
627
614
|
<tr>
|
628
615
|
<td><p><span class="term"><em class="parameter"><code>time_</code></em> :</span></p></td>
|
629
|
-
<td>timestamp with which to claim the selection
|
630
|
-
</td>
|
616
|
+
<td>timestamp with which to claim the selection</td>
|
631
617
|
</tr>
|
632
618
|
<tr>
|
633
619
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
634
|
-
<td>
|
635
|
-
</td>
|
620
|
+
<td>
|
621
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the operation succeeded</td>
|
636
622
|
</tr>
|
637
623
|
</tbody>
|
638
624
|
</table></div>
|
639
625
|
</div>
|
640
626
|
<hr>
|
641
|
-
<div class="refsect2"
|
627
|
+
<div class="refsect2">
|
642
628
|
<a name="gtk-selection-owner-set-for-display"></a><h3>gtk_selection_owner_set_for_display ()</h3>
|
643
629
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_owner_set_for_display (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/GdkDisplay.html"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
644
630
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
@@ -653,36 +639,31 @@ if <em class="parameter"><code>widget</code></em> is <a href="http://library.gno
|
|
653
639
|
<tbody>
|
654
640
|
<tr>
|
655
641
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
656
|
-
<td>the <span class="type">Gdkdisplay</span> where the selection is set
|
657
|
-
</td>
|
642
|
+
<td>the <span class="type">Gdkdisplay</span> where the selection is set</td>
|
658
643
|
</tr>
|
659
644
|
<tr>
|
660
645
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
661
|
-
<td>
|
646
|
+
<td>new selection owner (a <span class="type">GdkWidget</span>), 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>
|
662
647
|
</td>
|
663
648
|
</tr>
|
664
649
|
<tr>
|
665
650
|
<td><p><span class="term"><em class="parameter"><code>selection</code></em> :</span></p></td>
|
666
|
-
<td>an interned atom representing the selection to claim
|
667
|
-
</td>
|
651
|
+
<td>an interned atom representing the selection to claim.</td>
|
668
652
|
</tr>
|
669
653
|
<tr>
|
670
654
|
<td><p><span class="term"><em class="parameter"><code>time_</code></em> :</span></p></td>
|
671
|
-
<td>timestamp with which to claim the selection
|
672
|
-
</td>
|
655
|
+
<td>timestamp with which to claim the selection</td>
|
673
656
|
</tr>
|
674
657
|
<tr>
|
675
658
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
676
|
-
<td>
|
677
|
-
|
678
|
-
</td>
|
659
|
+
<td>TRUE if the operation succeeded</td>
|
679
660
|
</tr>
|
680
661
|
</tbody>
|
681
662
|
</table></div>
|
682
663
|
<p class="since">Since 2.2</p>
|
683
664
|
</div>
|
684
665
|
<hr>
|
685
|
-
<div class="refsect2"
|
666
|
+
<div class="refsect2">
|
686
667
|
<a name="gtk-selection-add-target"></a><h3>gtk_selection_add_target ()</h3>
|
687
668
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_selection_add_target (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
688
669
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> selection</code></em>,
|
@@ -702,28 +683,25 @@ given widget and selection.
|
|
702
683
|
</tr>
|
703
684
|
<tr>
|
704
685
|
<td><p><span class="term"><em class="parameter"><code>selection</code></em> :</span></p></td>
|
705
|
-
<td>the selection
|
706
|
-
</td>
|
686
|
+
<td>the selection</td>
|
707
687
|
</tr>
|
708
688
|
<tr>
|
709
689
|
<td><p><span class="term"><em class="parameter"><code>target</code></em> :</span></p></td>
|
710
|
-
<td>target to add
|
711
|
-
</td>
|
690
|
+
<td>target to add.</td>
|
712
691
|
</tr>
|
713
692
|
<tr>
|
714
693
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
715
|
-
<td>A unsigned integer which will be passed back to the application
|
716
|
-
</td>
|
694
|
+
<td>A unsigned integer which will be passed back to the application.</td>
|
717
695
|
</tr>
|
718
696
|
</tbody>
|
719
697
|
</table></div>
|
720
698
|
</div>
|
721
699
|
<hr>
|
722
|
-
<div class="refsect2"
|
700
|
+
<div class="refsect2">
|
723
701
|
<a name="gtk-selection-add-targets"></a><h3>gtk_selection_add_targets ()</h3>
|
724
702
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_selection_add_targets (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
725
703
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> selection</code></em>,
|
726
|
-
<em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
704
|
+
<em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
727
705
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ntargets</code></em>);</pre>
|
728
706
|
<p>
|
729
707
|
Prepends a table of targets to the list of supported targets
|
@@ -739,13 +717,11 @@ for a given widget and selection.
|
|
739
717
|
</tr>
|
740
718
|
<tr>
|
741
719
|
<td><p><span class="term"><em class="parameter"><code>selection</code></em> :</span></p></td>
|
742
|
-
<td>the selection
|
743
|
-
</td>
|
720
|
+
<td>the selection</td>
|
744
721
|
</tr>
|
745
722
|
<tr>
|
746
723
|
<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
|
747
|
-
<td>a table of targets to add
|
748
|
-
</td>
|
724
|
+
<td>a table of targets to add</td>
|
749
725
|
</tr>
|
750
726
|
<tr>
|
751
727
|
<td><p><span class="term"><em class="parameter"><code>ntargets</code></em> :</span></p></td>
|
@@ -756,7 +732,7 @@ for a given widget and selection.
|
|
756
732
|
</table></div>
|
757
733
|
</div>
|
758
734
|
<hr>
|
759
|
-
<div class="refsect2"
|
735
|
+
<div class="refsect2">
|
760
736
|
<a name="gtk-selection-clear-targets"></a><h3>gtk_selection_clear_targets ()</h3>
|
761
737
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_selection_clear_targets (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
762
738
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> selection</code></em>);</pre>
|
@@ -774,14 +750,13 @@ widget.
|
|
774
750
|
</tr>
|
775
751
|
<tr>
|
776
752
|
<td><p><span class="term"><em class="parameter"><code>selection</code></em> :</span></p></td>
|
777
|
-
<td>an atom representing a selection
|
778
|
-
</td>
|
753
|
+
<td>an atom representing a selection</td>
|
779
754
|
</tr>
|
780
755
|
</tbody>
|
781
756
|
</table></div>
|
782
757
|
</div>
|
783
758
|
<hr>
|
784
|
-
<div class="refsect2"
|
759
|
+
<div class="refsect2">
|
785
760
|
<a name="gtk-selection-convert"></a><h3>gtk_selection_convert ()</h3>
|
786
761
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_convert (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
787
762
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> selection</code></em>,
|
@@ -796,45 +771,42 @@ a "selection-received" signal will be generated.
|
|
796
771
|
<tbody>
|
797
772
|
<tr>
|
798
773
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
799
|
-
<td>The widget which acts as requestor
|
800
|
-
</td>
|
774
|
+
<td>The widget which acts as requestor</td>
|
801
775
|
</tr>
|
802
776
|
<tr>
|
803
777
|
<td><p><span class="term"><em class="parameter"><code>selection</code></em> :</span></p></td>
|
804
|
-
<td>Which selection to get
|
805
|
-
</td>
|
778
|
+
<td>Which selection to get</td>
|
806
779
|
</tr>
|
807
780
|
<tr>
|
808
781
|
<td><p><span class="term"><em class="parameter"><code>target</code></em> :</span></p></td>
|
809
|
-
<td>Form of information desired (e.g., STRING)
|
810
|
-
</td>
|
782
|
+
<td>Form of information desired (e.g., STRING)</td>
|
811
783
|
</tr>
|
812
784
|
<tr>
|
813
785
|
<td><p><span class="term"><em class="parameter"><code>time_</code></em> :</span></p></td>
|
814
786
|
<td>Time of request (usually of triggering event)
|
815
|
-
|
787
|
+
In emergency, you could use <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Events.html#GDK-CURRENT-TIME:CAPS"><span class="type">GDK_CURRENT_TIME</span></a>
|
816
788
|
</td>
|
817
789
|
</tr>
|
818
790
|
<tr>
|
819
791
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
820
|
-
<td>
|
821
|
-
|
822
|
-
|
823
|
-
|
792
|
+
<td>
|
793
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if requested succeeded. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if we could not process
|
794
|
+
request. (e.g., there was already a request in process for
|
795
|
+
this widget).</td>
|
824
796
|
</tr>
|
825
797
|
</tbody>
|
826
798
|
</table></div>
|
827
799
|
</div>
|
828
800
|
<hr>
|
829
|
-
<div class="refsect2"
|
801
|
+
<div class="refsect2">
|
830
802
|
<a name="gtk-selection-data-set"></a><h3>gtk_selection_data_set ()</h3>
|
831
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_selection_data_set (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
803
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_selection_data_set (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
832
804
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> type</code></em>,
|
833
805
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> format</code></em>,
|
834
806
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *data</code></em>,
|
835
807
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>);</pre>
|
836
808
|
<p>
|
837
|
-
Stores new data into a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
809
|
+
Stores new data into a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> object. Should
|
838
810
|
<span class="emphasis"><em>only</em></span> be called from a selection handler callback.
|
839
811
|
Zero-terminates the stored data.
|
840
812
|
</p>
|
@@ -843,36 +815,32 @@ Zero-terminates the stored data.
|
|
843
815
|
<tbody>
|
844
816
|
<tr>
|
845
817
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
846
|
-
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
847
|
-
</td>
|
818
|
+
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> structure.</td>
|
848
819
|
</tr>
|
849
820
|
<tr>
|
850
821
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
851
|
-
<td>the type of selection data
|
852
|
-
</td>
|
822
|
+
<td>the type of selection data</td>
|
853
823
|
</tr>
|
854
824
|
<tr>
|
855
825
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
856
|
-
<td>format (number of bits in a unit)
|
857
|
-
</td>
|
826
|
+
<td>format (number of bits in a unit)</td>
|
858
827
|
</tr>
|
859
828
|
<tr>
|
860
829
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
861
|
-
<td>pointer to the data (will be copied)
|
830
|
+
<td>pointer to the data (will be copied). <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span>
|
862
831
|
</td>
|
863
832
|
</tr>
|
864
833
|
<tr>
|
865
834
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
866
|
-
<td>length of the data
|
867
|
-
</td>
|
835
|
+
<td>length of the data</td>
|
868
836
|
</tr>
|
869
837
|
</tbody>
|
870
838
|
</table></div>
|
871
839
|
</div>
|
872
840
|
<hr>
|
873
|
-
<div class="refsect2"
|
841
|
+
<div class="refsect2">
|
874
842
|
<a name="gtk-selection-data-set-text"></a><h3>gtk_selection_data_set_text ()</h3>
|
875
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_data_set_text (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
843
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_data_set_text (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
876
844
|
<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> *str</code></em>,
|
877
845
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> len</code></em>);</pre>
|
878
846
|
<p>
|
@@ -885,32 +853,30 @@ The string is converted to the form determined by
|
|
885
853
|
<tbody>
|
886
854
|
<tr>
|
887
855
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
888
|
-
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
856
|
+
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a>
|
889
857
|
</td>
|
890
858
|
</tr>
|
891
859
|
<tr>
|
892
860
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
893
|
-
<td>a UTF-8 string
|
894
|
-
</td>
|
861
|
+
<td>a UTF-8 string</td>
|
895
862
|
</tr>
|
896
863
|
<tr>
|
897
864
|
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
|
898
|
-
<td>the length of <em class="parameter"><code>str</code></em>, or -1 if <em class="parameter"><code>str</code></em> is nul-terminated
|
899
|
-
</td>
|
865
|
+
<td>the length of <em class="parameter"><code>str</code></em>, or -1 if <em class="parameter"><code>str</code></em> is nul-terminated.</td>
|
900
866
|
</tr>
|
901
867
|
<tr>
|
902
868
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
903
|
-
<td>
|
904
|
-
|
905
|
-
</td>
|
869
|
+
<td>
|
870
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the selection was successfully set,
|
871
|
+
otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
|
906
872
|
</tr>
|
907
873
|
</tbody>
|
908
874
|
</table></div>
|
909
875
|
</div>
|
910
876
|
<hr>
|
911
|
-
<div class="refsect2"
|
877
|
+
<div class="refsect2">
|
912
878
|
<a name="gtk-selection-data-get-text"></a><h3>gtk_selection_data_get_text ()</h3>
|
913
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * gtk_selection_data_get_text (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
879
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * gtk_selection_data_get_text (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
914
880
|
<p>
|
915
881
|
Gets the contents of the selection data as a UTF-8 string.
|
916
882
|
</p>
|
@@ -919,24 +885,23 @@ Gets the contents of the selection data as a UTF-8 string.
|
|
919
885
|
<tbody>
|
920
886
|
<tr>
|
921
887
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
922
|
-
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
888
|
+
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a>
|
923
889
|
</td>
|
924
890
|
</tr>
|
925
891
|
<tr>
|
926
892
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
927
|
-
<td>
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
</td>
|
893
|
+
<td>if the selection data contained a recognized
|
894
|
+
text type and it could be converted to UTF-8, a newly allocated
|
895
|
+
string containing the converted text, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
896
|
+
If the result is non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> it must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
|
932
897
|
</tr>
|
933
898
|
</tbody>
|
934
899
|
</table></div>
|
935
900
|
</div>
|
936
901
|
<hr>
|
937
|
-
<div class="refsect2"
|
902
|
+
<div class="refsect2">
|
938
903
|
<a name="gtk-selection-data-set-pixbuf"></a><h3>gtk_selection_data_set_pixbuf ()</h3>
|
939
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_data_set_pixbuf (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
904
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_data_set_pixbuf (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
940
905
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
941
906
|
<p>
|
942
907
|
Sets the contents of the selection from a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
|
@@ -948,7 +913,7 @@ The pixbuf is converted to the form determined by
|
|
948
913
|
<tbody>
|
949
914
|
<tr>
|
950
915
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
951
|
-
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
916
|
+
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a>
|
952
917
|
</td>
|
953
918
|
</tr>
|
954
919
|
<tr>
|
@@ -958,19 +923,18 @@ The pixbuf is converted to the form determined by
|
|
958
923
|
</tr>
|
959
924
|
<tr>
|
960
925
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
961
|
-
<td>
|
962
|
-
|
963
|
-
|
964
|
-
</td>
|
926
|
+
<td>
|
927
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the selection was successfully set,
|
928
|
+
otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
|
965
929
|
</tr>
|
966
930
|
</tbody>
|
967
931
|
</table></div>
|
968
932
|
<p class="since">Since 2.6</p>
|
969
933
|
</div>
|
970
934
|
<hr>
|
971
|
-
<div class="refsect2"
|
935
|
+
<div class="refsect2">
|
972
936
|
<a name="gtk-selection-data-get-pixbuf"></a><h3>gtk_selection_data_get_pixbuf ()</h3>
|
973
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gtk_selection_data_get_pixbuf (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
937
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gtk_selection_data_get_pixbuf (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
974
938
|
<p>
|
975
939
|
Gets the contents of the selection data as a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.
|
976
940
|
</p>
|
@@ -979,16 +943,15 @@ Gets the contents of the selection data as a <a href="http://library.gnome.org/d
|
|
979
943
|
<tbody>
|
980
944
|
<tr>
|
981
945
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
982
|
-
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
946
|
+
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a>
|
983
947
|
</td>
|
984
948
|
</tr>
|
985
949
|
<tr>
|
986
950
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
987
|
-
<td>
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
951
|
+
<td>if the selection data contained a recognized
|
952
|
+
image type and it could be converted to a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, a
|
953
|
+
newly allocated pixbuf is returned, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
954
|
+
If the result is non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> it must be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
992
955
|
</td>
|
993
956
|
</tr>
|
994
957
|
</tbody>
|
@@ -996,9 +959,9 @@ Gets the contents of the selection data as a <a href="http://library.gnome.org/d
|
|
996
959
|
<p class="since">Since 2.6</p>
|
997
960
|
</div>
|
998
961
|
<hr>
|
999
|
-
<div class="refsect2"
|
962
|
+
<div class="refsect2">
|
1000
963
|
<a name="gtk-selection-data-set-uris"></a><h3>gtk_selection_data_set_uris ()</h3>
|
1001
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_data_set_uris (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
964
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_data_set_uris (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
1002
965
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **uris</code></em>);</pre>
|
1003
966
|
<p>
|
1004
967
|
Sets the contents of the selection from a list of URIs.
|
@@ -1010,29 +973,27 @@ The string is converted to the form determined by
|
|
1010
973
|
<tbody>
|
1011
974
|
<tr>
|
1012
975
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
1013
|
-
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
976
|
+
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a>
|
1014
977
|
</td>
|
1015
978
|
</tr>
|
1016
979
|
<tr>
|
1017
980
|
<td><p><span class="term"><em class="parameter"><code>uris</code></em> :</span></p></td>
|
1018
|
-
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings holding URIs
|
1019
|
-
</td>
|
981
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings holding URIs</td>
|
1020
982
|
</tr>
|
1021
983
|
<tr>
|
1022
984
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1023
|
-
<td>
|
1024
|
-
|
1025
|
-
|
1026
|
-
</td>
|
985
|
+
<td>
|
986
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the selection was successfully set,
|
987
|
+
otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
|
1027
988
|
</tr>
|
1028
989
|
</tbody>
|
1029
990
|
</table></div>
|
1030
991
|
<p class="since">Since 2.6</p>
|
1031
992
|
</div>
|
1032
993
|
<hr>
|
1033
|
-
<div class="refsect2"
|
994
|
+
<div class="refsect2">
|
1034
995
|
<a name="gtk-selection-data-get-uris"></a><h3>gtk_selection_data_get_uris ()</h3>
|
1035
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** gtk_selection_data_get_uris (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
996
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** gtk_selection_data_get_uris (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
1036
997
|
<p>
|
1037
998
|
Gets the contents of the selection data as array of URIs.
|
1038
999
|
</p>
|
@@ -1041,16 +1002,16 @@ Gets the contents of the selection data as array of URIs.
|
|
1041
1002
|
<tbody>
|
1042
1003
|
<tr>
|
1043
1004
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
1044
|
-
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1005
|
+
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a>
|
1045
1006
|
</td>
|
1046
1007
|
</tr>
|
1047
1008
|
<tr>
|
1048
1009
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1049
|
-
<td>
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1010
|
+
<td>if
|
1011
|
+
the selection data contains a list of
|
1012
|
+
URIs, a newly allocated <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated string array
|
1013
|
+
containing the URIs, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. If the result is
|
1014
|
+
non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> it must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1054
1015
|
</td>
|
1055
1016
|
</tr>
|
1056
1017
|
</tbody>
|
@@ -1058,9 +1019,9 @@ Gets the contents of the selection data as array of URIs.
|
|
1058
1019
|
<p class="since">Since 2.6</p>
|
1059
1020
|
</div>
|
1060
1021
|
<hr>
|
1061
|
-
<div class="refsect2"
|
1022
|
+
<div class="refsect2">
|
1062
1023
|
<a name="gtk-selection-data-get-targets"></a><h3>gtk_selection_data_get_targets ()</h3>
|
1063
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_data_get_targets (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
1024
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_data_get_targets (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
1064
1025
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> **targets</code></em>,
|
1065
1026
|
<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_atoms</code></em>);</pre>
|
1066
1027
|
<p>
|
@@ -1074,37 +1035,35 @@ any selection.
|
|
1074
1035
|
<tbody>
|
1075
1036
|
<tr>
|
1076
1037
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
1077
|
-
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1078
|
-
</td>
|
1038
|
+
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> object</td>
|
1079
1039
|
</tr>
|
1080
1040
|
<tr>
|
1081
1041
|
<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
|
1082
1042
|
<td>location to store an array of targets. The result
|
1083
|
-
|
1043
|
+
stored here must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_atoms][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span>
|
1084
1044
|
</td>
|
1085
1045
|
</tr>
|
1086
1046
|
<tr>
|
1087
1047
|
<td><p><span class="term"><em class="parameter"><code>n_atoms</code></em> :</span></p></td>
|
1088
|
-
<td>location to store number of items in <em class="parameter"><code>targets</code></em
|
1089
|
-
</td>
|
1048
|
+
<td>location to store number of items in <em class="parameter"><code>targets</code></em>.</td>
|
1090
1049
|
</tr>
|
1091
1050
|
<tr>
|
1092
1051
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1093
|
-
<td>
|
1094
|
-
|
1095
|
-
</td>
|
1052
|
+
<td>
|
1053
|
+
<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> contains a valid
|
1054
|
+
array of targets, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
|
1096
1055
|
</tr>
|
1097
1056
|
</tbody>
|
1098
1057
|
</table></div>
|
1099
1058
|
</div>
|
1100
1059
|
<hr>
|
1101
|
-
<div class="refsect2"
|
1060
|
+
<div class="refsect2">
|
1102
1061
|
<a name="gtk-selection-data-targets-include-image"></a><h3>gtk_selection_data_targets_include_image ()</h3>
|
1103
1062
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_data_targets_include_image
|
1104
|
-
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
1063
|
+
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
1105
1064
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> writable</code></em>);</pre>
|
1106
1065
|
<p>
|
1107
|
-
Given a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1066
|
+
Given a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> object holding a list of targets,
|
1108
1067
|
determines if any of the targets in <em class="parameter"><code>targets</code></em> can be used to
|
1109
1068
|
provide a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.
|
1110
1069
|
</p>
|
@@ -1113,33 +1072,30 @@ provide a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf
|
|
1113
1072
|
<tbody>
|
1114
1073
|
<tr>
|
1115
1074
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
1116
|
-
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1117
|
-
</td>
|
1075
|
+
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> object</td>
|
1118
1076
|
</tr>
|
1119
1077
|
<tr>
|
1120
1078
|
<td><p><span class="term"><em class="parameter"><code>writable</code></em> :</span></p></td>
|
1121
1079
|
<td>whether to accept only targets for which GTK+ knows
|
1122
|
-
|
1123
|
-
</td>
|
1080
|
+
how to convert a pixbuf into the format</td>
|
1124
1081
|
</tr>
|
1125
1082
|
<tr>
|
1126
1083
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1127
|
-
<td>
|
1128
|
-
|
1129
|
-
|
1130
|
-
</td>
|
1084
|
+
<td>
|
1085
|
+
<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> holds a list of targets,
|
1086
|
+
and a suitable target for images is included, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
|
1131
1087
|
</tr>
|
1132
1088
|
</tbody>
|
1133
1089
|
</table></div>
|
1134
1090
|
<p class="since">Since 2.6</p>
|
1135
1091
|
</div>
|
1136
1092
|
<hr>
|
1137
|
-
<div class="refsect2"
|
1093
|
+
<div class="refsect2">
|
1138
1094
|
<a name="gtk-selection-data-targets-include-text"></a><h3>gtk_selection_data_targets_include_text ()</h3>
|
1139
1095
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_data_targets_include_text
|
1140
|
-
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
1096
|
+
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
1141
1097
|
<p>
|
1142
|
-
Given a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1098
|
+
Given a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> object holding a list of targets,
|
1143
1099
|
determines if any of the targets in <em class="parameter"><code>targets</code></em> can be used to
|
1144
1100
|
provide text.
|
1145
1101
|
</p>
|
@@ -1148,25 +1104,24 @@ provide text.
|
|
1148
1104
|
<tbody>
|
1149
1105
|
<tr>
|
1150
1106
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
1151
|
-
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1152
|
-
</td>
|
1107
|
+
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> object</td>
|
1153
1108
|
</tr>
|
1154
1109
|
<tr>
|
1155
1110
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1156
|
-
<td>
|
1157
|
-
|
1158
|
-
</td>
|
1111
|
+
<td>
|
1112
|
+
<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> holds a list of targets,
|
1113
|
+
and a suitable target for text is included, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
|
1159
1114
|
</tr>
|
1160
1115
|
</tbody>
|
1161
1116
|
</table></div>
|
1162
1117
|
</div>
|
1163
1118
|
<hr>
|
1164
|
-
<div class="refsect2"
|
1119
|
+
<div class="refsect2">
|
1165
1120
|
<a name="gtk-selection-data-targets-include-uri"></a><h3>gtk_selection_data_targets_include_uri ()</h3>
|
1166
1121
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_data_targets_include_uri
|
1167
|
-
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
1122
|
+
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
1168
1123
|
<p>
|
1169
|
-
Given a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1124
|
+
Given a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> object holding a list of targets,
|
1170
1125
|
determines if any of the targets in <em class="parameter"><code>targets</code></em> can be used to
|
1171
1126
|
provide a list or URIs.
|
1172
1127
|
</p>
|
@@ -1175,28 +1130,26 @@ provide a list or URIs.
|
|
1175
1130
|
<tbody>
|
1176
1131
|
<tr>
|
1177
1132
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
1178
|
-
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1179
|
-
</td>
|
1133
|
+
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> object</td>
|
1180
1134
|
</tr>
|
1181
1135
|
<tr>
|
1182
1136
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1183
|
-
<td>
|
1184
|
-
|
1185
|
-
|
1186
|
-
</td>
|
1137
|
+
<td>
|
1138
|
+
<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> holds a list of targets,
|
1139
|
+
and a suitable target for URI lists is included, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
|
1187
1140
|
</tr>
|
1188
1141
|
</tbody>
|
1189
1142
|
</table></div>
|
1190
1143
|
<p class="since">Since 2.10</p>
|
1191
1144
|
</div>
|
1192
1145
|
<hr>
|
1193
|
-
<div class="refsect2"
|
1146
|
+
<div class="refsect2">
|
1194
1147
|
<a name="gtk-selection-data-targets-include-rich-text"></a><h3>gtk_selection_data_targets_include_rich_text ()</h3>
|
1195
1148
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_data_targets_include_rich_text
|
1196
|
-
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
1149
|
+
(<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>,
|
1197
1150
|
<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>);</pre>
|
1198
1151
|
<p>
|
1199
|
-
Given a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1152
|
+
Given a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> object holding a list of targets,
|
1200
1153
|
determines if any of the targets in <em class="parameter"><code>targets</code></em> can be used to
|
1201
1154
|
provide rich text.
|
1202
1155
|
</p>
|
@@ -1205,8 +1158,7 @@ provide rich text.
|
|
1205
1158
|
<tbody>
|
1206
1159
|
<tr>
|
1207
1160
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
1208
|
-
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1209
|
-
</td>
|
1161
|
+
<td>a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> object</td>
|
1210
1162
|
</tr>
|
1211
1163
|
<tr>
|
1212
1164
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
@@ -1215,20 +1167,19 @@ provide rich text.
|
|
1215
1167
|
</tr>
|
1216
1168
|
<tr>
|
1217
1169
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1218
|
-
<td>
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
</td>
|
1170
|
+
<td>
|
1171
|
+
<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> holds a list of targets,
|
1172
|
+
and a suitable target for rich text is included,
|
1173
|
+
otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
|
1223
1174
|
</tr>
|
1224
1175
|
</tbody>
|
1225
1176
|
</table></div>
|
1226
1177
|
<p class="since">Since 2.10</p>
|
1227
1178
|
</div>
|
1228
1179
|
<hr>
|
1229
|
-
<div class="refsect2"
|
1180
|
+
<div class="refsect2">
|
1230
1181
|
<a name="gtk-selection-data-get-selection"></a><h3>gtk_selection_data_get_selection ()</h3>
|
1231
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> gtk_selection_data_get_selection (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
1182
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> gtk_selection_data_get_selection (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
1232
1183
|
<p>
|
1233
1184
|
Retrieves the selection <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> of the selection data.
|
1234
1185
|
</p>
|
@@ -1237,13 +1188,11 @@ Retrieves the selection <a href="http://library.gnome.org/devel/gdk/unstable/gdk
|
|
1237
1188
|
<tbody>
|
1238
1189
|
<tr>
|
1239
1190
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
1240
|
-
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1241
|
-
</td>
|
1191
|
+
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> structure.</td>
|
1242
1192
|
</tr>
|
1243
1193
|
<tr>
|
1244
1194
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1245
|
-
<td>
|
1246
|
-
|
1195
|
+
<td>the selection <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> of the selection data. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1247
1196
|
</td>
|
1248
1197
|
</tr>
|
1249
1198
|
</tbody>
|
@@ -1251,9 +1200,9 @@ Retrieves the selection <a href="http://library.gnome.org/devel/gdk/unstable/gdk
|
|
1251
1200
|
<p class="since">Since 2.16</p>
|
1252
1201
|
</div>
|
1253
1202
|
<hr>
|
1254
|
-
<div class="refsect2"
|
1203
|
+
<div class="refsect2">
|
1255
1204
|
<a name="gtk-selection-data-get-data"></a><h3>gtk_selection_data_get_data ()</h3>
|
1256
|
-
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * gtk_selection_data_get_data (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
1205
|
+
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * gtk_selection_data_get_data (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
1257
1206
|
<p>
|
1258
1207
|
Retrieves the raw data of the selection.
|
1259
1208
|
</p>
|
@@ -1262,23 +1211,20 @@ Retrieves the raw data of the selection.
|
|
1262
1211
|
<tbody>
|
1263
1212
|
<tr>
|
1264
1213
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
1265
|
-
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1266
|
-
</td>
|
1214
|
+
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> structure.</td>
|
1267
1215
|
</tr>
|
1268
1216
|
<tr>
|
1269
1217
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1270
|
-
<td>
|
1271
|
-
|
1272
|
-
</td>
|
1218
|
+
<td>the raw data of the selection.</td>
|
1273
1219
|
</tr>
|
1274
1220
|
</tbody>
|
1275
1221
|
</table></div>
|
1276
1222
|
<p class="since">Since 2.14</p>
|
1277
1223
|
</div>
|
1278
1224
|
<hr>
|
1279
|
-
<div class="refsect2"
|
1225
|
+
<div class="refsect2">
|
1280
1226
|
<a name="gtk-selection-data-get-length"></a><h3>gtk_selection_data_get_length ()</h3>
|
1281
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_selection_data_get_length (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
1227
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_selection_data_get_length (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
1282
1228
|
<p>
|
1283
1229
|
Retrieves the length of the raw data of the selection.
|
1284
1230
|
</p>
|
@@ -1287,23 +1233,20 @@ Retrieves the length of the raw data of the selection.
|
|
1287
1233
|
<tbody>
|
1288
1234
|
<tr>
|
1289
1235
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
1290
|
-
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1291
|
-
</td>
|
1236
|
+
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> structure.</td>
|
1292
1237
|
</tr>
|
1293
1238
|
<tr>
|
1294
1239
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1295
|
-
<td>
|
1296
|
-
|
1297
|
-
</td>
|
1240
|
+
<td>the length of the data of the selection.</td>
|
1298
1241
|
</tr>
|
1299
1242
|
</tbody>
|
1300
1243
|
</table></div>
|
1301
1244
|
<p class="since">Since 2.14</p>
|
1302
1245
|
</div>
|
1303
1246
|
<hr>
|
1304
|
-
<div class="refsect2"
|
1247
|
+
<div class="refsect2">
|
1305
1248
|
<a name="gtk-selection-data-get-data-type"></a><h3>gtk_selection_data_get_data_type ()</h3>
|
1306
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> gtk_selection_data_get_data_type (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
1249
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> gtk_selection_data_get_data_type (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
1307
1250
|
<p>
|
1308
1251
|
Retrieves the data type of the selection.
|
1309
1252
|
</p>
|
@@ -1312,13 +1255,11 @@ Retrieves the data type of the selection.
|
|
1312
1255
|
<tbody>
|
1313
1256
|
<tr>
|
1314
1257
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
1315
|
-
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1316
|
-
</td>
|
1258
|
+
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> structure.</td>
|
1317
1259
|
</tr>
|
1318
1260
|
<tr>
|
1319
1261
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1320
|
-
<td>
|
1321
|
-
|
1262
|
+
<td>the data type of the selection. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1322
1263
|
</td>
|
1323
1264
|
</tr>
|
1324
1265
|
</tbody>
|
@@ -1326,9 +1267,9 @@ Retrieves the data type of the selection.
|
|
1326
1267
|
<p class="since">Since 2.14</p>
|
1327
1268
|
</div>
|
1328
1269
|
<hr>
|
1329
|
-
<div class="refsect2"
|
1270
|
+
<div class="refsect2">
|
1330
1271
|
<a name="gtk-selection-data-get-display"></a><h3>gtk_selection_data_get_display ()</h3>
|
1331
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk/unstable/GdkDisplay.html"><span class="returnvalue">GdkDisplay</span></a> * gtk_selection_data_get_display (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
1272
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk/unstable/GdkDisplay.html"><span class="returnvalue">GdkDisplay</span></a> * gtk_selection_data_get_display (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
1332
1273
|
<p>
|
1333
1274
|
Retrieves the display of the selection.
|
1334
1275
|
</p>
|
@@ -1337,13 +1278,11 @@ Retrieves the display of the selection.
|
|
1337
1278
|
<tbody>
|
1338
1279
|
<tr>
|
1339
1280
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
1340
|
-
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1341
|
-
</td>
|
1281
|
+
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> structure.</td>
|
1342
1282
|
</tr>
|
1343
1283
|
<tr>
|
1344
1284
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1345
|
-
<td>
|
1346
|
-
|
1285
|
+
<td>the display of the selection. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1347
1286
|
</td>
|
1348
1287
|
</tr>
|
1349
1288
|
</tbody>
|
@@ -1351,9 +1290,9 @@ Retrieves the display of the selection.
|
|
1351
1290
|
<p class="since">Since 2.14</p>
|
1352
1291
|
</div>
|
1353
1292
|
<hr>
|
1354
|
-
<div class="refsect2"
|
1293
|
+
<div class="refsect2">
|
1355
1294
|
<a name="gtk-selection-data-get-format"></a><h3>gtk_selection_data_get_format ()</h3>
|
1356
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_selection_data_get_format (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
1295
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_selection_data_get_format (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
1357
1296
|
<p>
|
1358
1297
|
Retrieves the format of the selection.
|
1359
1298
|
</p>
|
@@ -1362,23 +1301,20 @@ Retrieves the format of the selection.
|
|
1362
1301
|
<tbody>
|
1363
1302
|
<tr>
|
1364
1303
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
1365
|
-
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1366
|
-
</td>
|
1304
|
+
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> structure.</td>
|
1367
1305
|
</tr>
|
1368
1306
|
<tr>
|
1369
1307
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1370
|
-
<td>
|
1371
|
-
|
1372
|
-
</td>
|
1308
|
+
<td>the format of the selection.</td>
|
1373
1309
|
</tr>
|
1374
1310
|
</tbody>
|
1375
1311
|
</table></div>
|
1376
1312
|
<p class="since">Since 2.14</p>
|
1377
1313
|
</div>
|
1378
1314
|
<hr>
|
1379
|
-
<div class="refsect2"
|
1315
|
+
<div class="refsect2">
|
1380
1316
|
<a name="gtk-selection-data-get-target"></a><h3>gtk_selection_data_get_target ()</h3>
|
1381
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> gtk_selection_data_get_target (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
1317
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> gtk_selection_data_get_target (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
|
1382
1318
|
<p>
|
1383
1319
|
Retrieves the target of the selection.
|
1384
1320
|
</p>
|
@@ -1387,13 +1323,11 @@ Retrieves the target of the selection.
|
|
1387
1323
|
<tbody>
|
1388
1324
|
<tr>
|
1389
1325
|
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
|
1390
|
-
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1391
|
-
</td>
|
1326
|
+
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> structure.</td>
|
1392
1327
|
</tr>
|
1393
1328
|
<tr>
|
1394
1329
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1395
|
-
<td>
|
1396
|
-
|
1330
|
+
<td>the target of the selection. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1397
1331
|
</td>
|
1398
1332
|
</tr>
|
1399
1333
|
</tbody>
|
@@ -1401,7 +1335,7 @@ Retrieves the target of the selection.
|
|
1401
1335
|
<p class="since">Since 2.14</p>
|
1402
1336
|
</div>
|
1403
1337
|
<hr>
|
1404
|
-
<div class="refsect2"
|
1338
|
+
<div class="refsect2">
|
1405
1339
|
<a name="gtk-targets-include-image"></a><h3>gtk_targets_include_image ()</h3>
|
1406
1340
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_targets_include_image (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> *targets</code></em>,
|
1407
1341
|
<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_targets</code></em>,
|
@@ -1415,8 +1349,7 @@ provide a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf
|
|
1415
1349
|
<tbody>
|
1416
1350
|
<tr>
|
1417
1351
|
<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
|
1418
|
-
<td>an array of <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a>s
|
1419
|
-
</td>
|
1352
|
+
<td>an array of <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a>s</td>
|
1420
1353
|
</tr>
|
1421
1354
|
<tr>
|
1422
1355
|
<td><p><span class="term"><em class="parameter"><code>n_targets</code></em> :</span></p></td>
|
@@ -1426,22 +1359,20 @@ provide a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf
|
|
1426
1359
|
<tr>
|
1427
1360
|
<td><p><span class="term"><em class="parameter"><code>writable</code></em> :</span></p></td>
|
1428
1361
|
<td>whether to accept only targets for which GTK+ knows
|
1429
|
-
|
1430
|
-
</td>
|
1362
|
+
how to convert a pixbuf into the format</td>
|
1431
1363
|
</tr>
|
1432
1364
|
<tr>
|
1433
1365
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1434
|
-
<td>
|
1435
|
-
|
1436
|
-
|
1437
|
-
</td>
|
1366
|
+
<td>
|
1367
|
+
<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>targets</code></em> include a suitable target for images,
|
1368
|
+
otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
|
1438
1369
|
</tr>
|
1439
1370
|
</tbody>
|
1440
1371
|
</table></div>
|
1441
1372
|
<p class="since">Since 2.10</p>
|
1442
1373
|
</div>
|
1443
1374
|
<hr>
|
1444
|
-
<div class="refsect2"
|
1375
|
+
<div class="refsect2">
|
1445
1376
|
<a name="gtk-targets-include-text"></a><h3>gtk_targets_include_text ()</h3>
|
1446
1377
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_targets_include_text (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> *targets</code></em>,
|
1447
1378
|
<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_targets</code></em>);</pre>
|
@@ -1454,8 +1385,7 @@ provide text.
|
|
1454
1385
|
<tbody>
|
1455
1386
|
<tr>
|
1456
1387
|
<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
|
1457
|
-
<td>an array of <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a>s
|
1458
|
-
</td>
|
1388
|
+
<td>an array of <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a>s</td>
|
1459
1389
|
</tr>
|
1460
1390
|
<tr>
|
1461
1391
|
<td><p><span class="term"><em class="parameter"><code>n_targets</code></em> :</span></p></td>
|
@@ -1464,17 +1394,16 @@ provide text.
|
|
1464
1394
|
</tr>
|
1465
1395
|
<tr>
|
1466
1396
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1467
|
-
<td>
|
1468
|
-
|
1469
|
-
|
1470
|
-
</td>
|
1397
|
+
<td>
|
1398
|
+
<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>targets</code></em> include a suitable target for text,
|
1399
|
+
otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
|
1471
1400
|
</tr>
|
1472
1401
|
</tbody>
|
1473
1402
|
</table></div>
|
1474
1403
|
<p class="since">Since 2.10</p>
|
1475
1404
|
</div>
|
1476
1405
|
<hr>
|
1477
|
-
<div class="refsect2"
|
1406
|
+
<div class="refsect2">
|
1478
1407
|
<a name="gtk-targets-include-uri"></a><h3>gtk_targets_include_uri ()</h3>
|
1479
1408
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_targets_include_uri (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> *targets</code></em>,
|
1480
1409
|
<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_targets</code></em>);</pre>
|
@@ -1487,8 +1416,7 @@ provide an uri list.
|
|
1487
1416
|
<tbody>
|
1488
1417
|
<tr>
|
1489
1418
|
<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
|
1490
|
-
<td>an array of <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a>s
|
1491
|
-
</td>
|
1419
|
+
<td>an array of <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a>s</td>
|
1492
1420
|
</tr>
|
1493
1421
|
<tr>
|
1494
1422
|
<td><p><span class="term"><em class="parameter"><code>n_targets</code></em> :</span></p></td>
|
@@ -1497,17 +1425,16 @@ provide an uri list.
|
|
1497
1425
|
</tr>
|
1498
1426
|
<tr>
|
1499
1427
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1500
|
-
<td>
|
1501
|
-
|
1502
|
-
|
1503
|
-
</td>
|
1428
|
+
<td>
|
1429
|
+
<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>targets</code></em> include a suitable target for uri lists,
|
1430
|
+
otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
|
1504
1431
|
</tr>
|
1505
1432
|
</tbody>
|
1506
1433
|
</table></div>
|
1507
1434
|
<p class="since">Since 2.10</p>
|
1508
1435
|
</div>
|
1509
1436
|
<hr>
|
1510
|
-
<div class="refsect2"
|
1437
|
+
<div class="refsect2">
|
1511
1438
|
<a name="gtk-targets-include-rich-text"></a><h3>gtk_targets_include_rich_text ()</h3>
|
1512
1439
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_targets_include_rich_text (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> *targets</code></em>,
|
1513
1440
|
<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_targets</code></em>,
|
@@ -1521,8 +1448,7 @@ provide rich text.
|
|
1521
1448
|
<tbody>
|
1522
1449
|
<tr>
|
1523
1450
|
<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
|
1524
|
-
<td>an array of <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a>s
|
1525
|
-
</td>
|
1451
|
+
<td>an array of <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a>s</td>
|
1526
1452
|
</tr>
|
1527
1453
|
<tr>
|
1528
1454
|
<td><p><span class="term"><em class="parameter"><code>n_targets</code></em> :</span></p></td>
|
@@ -1536,17 +1462,16 @@ provide rich text.
|
|
1536
1462
|
</tr>
|
1537
1463
|
<tr>
|
1538
1464
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1539
|
-
<td>
|
1540
|
-
|
1541
|
-
|
1542
|
-
</td>
|
1465
|
+
<td>
|
1466
|
+
<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>targets</code></em> include a suitable target for rich text,
|
1467
|
+
otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
|
1543
1468
|
</tr>
|
1544
1469
|
</tbody>
|
1545
1470
|
</table></div>
|
1546
1471
|
<p class="since">Since 2.10</p>
|
1547
1472
|
</div>
|
1548
1473
|
<hr>
|
1549
|
-
<div class="refsect2"
|
1474
|
+
<div class="refsect2">
|
1550
1475
|
<a name="gtk-selection-remove-all"></a><h3>gtk_selection_remove_all ()</h3>
|
1551
1476
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_selection_remove_all (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
1552
1477
|
<p>
|
@@ -1559,17 +1484,17 @@ called by applications.
|
|
1559
1484
|
<col align="left" valign="top">
|
1560
1485
|
<tbody><tr>
|
1561
1486
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
1562
|
-
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>
|
1487
|
+
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>
|
1563
1488
|
</td>
|
1564
1489
|
</tr></tbody>
|
1565
1490
|
</table></div>
|
1566
1491
|
</div>
|
1567
1492
|
<hr>
|
1568
|
-
<div class="refsect2"
|
1493
|
+
<div class="refsect2">
|
1569
1494
|
<a name="gtk-selection-clear"></a><h3>gtk_selection_clear ()</h3>
|
1570
1495
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_selection_clear (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1571
1496
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEventSelection"><span class="type">GdkEventSelection</span></a> *event</code></em>);</pre>
|
1572
|
-
<div class="warning"
|
1497
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1573
1498
|
<h3 class="title">Warning</h3>
|
1574
1499
|
<p><code class="literal">gtk_selection_clear</code> has been deprecated since version 2.4 and should not be used in newly-written code. Instead of calling this function, chain up from
|
1575
1500
|
your selection-clear-event handler. Calling this function
|
@@ -1589,61 +1514,56 @@ signal.
|
|
1589
1514
|
</tr>
|
1590
1515
|
<tr>
|
1591
1516
|
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
1592
|
-
<td>the event
|
1593
|
-
</td>
|
1517
|
+
<td>the event</td>
|
1594
1518
|
</tr>
|
1595
1519
|
<tr>
|
1596
1520
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1597
|
-
<td>
|
1598
|
-
|
1599
|
-
</td>
|
1521
|
+
<td>
|
1522
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event was handled, otherwise false</td>
|
1600
1523
|
</tr>
|
1601
1524
|
</tbody>
|
1602
1525
|
</table></div>
|
1603
1526
|
<p class="since">Since 2.2</p>
|
1604
1527
|
</div>
|
1605
1528
|
<hr>
|
1606
|
-
<div class="refsect2"
|
1529
|
+
<div class="refsect2">
|
1607
1530
|
<a name="gtk-selection-data-copy"></a><h3>gtk_selection_data_copy ()</h3>
|
1608
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html#GtkSelectionData"
|
1531
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="returnvalue">GtkSelectionData</span></a> * gtk_selection_data_copy (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *data</code></em>);</pre>
|
1609
1532
|
<p>
|
1610
|
-
Makes a copy of a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1533
|
+
Makes a copy of a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> structure and its data.
|
1611
1534
|
</p>
|
1612
1535
|
<div class="variablelist"><table border="0">
|
1613
1536
|
<col align="left" valign="top">
|
1614
1537
|
<tbody>
|
1615
1538
|
<tr>
|
1616
1539
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1617
|
-
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1618
|
-
</td>
|
1540
|
+
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> structure.</td>
|
1619
1541
|
</tr>
|
1620
1542
|
<tr>
|
1621
1543
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1622
|
-
<td>
|
1623
|
-
</td>
|
1544
|
+
<td>a pointer to a copy of <em class="parameter"><code>data</code></em>.</td>
|
1624
1545
|
</tr>
|
1625
1546
|
</tbody>
|
1626
1547
|
</table></div>
|
1627
1548
|
</div>
|
1628
1549
|
<hr>
|
1629
|
-
<div class="refsect2"
|
1550
|
+
<div class="refsect2">
|
1630
1551
|
<a name="gtk-selection-data-free"></a><h3>gtk_selection_data_free ()</h3>
|
1631
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_selection_data_free (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"
|
1552
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_selection_data_free (<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *data</code></em>);</pre>
|
1632
1553
|
<p>
|
1633
|
-
Frees a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1554
|
+
Frees a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> structure returned from
|
1634
1555
|
<a class="link" href="gtk-Selections.html#gtk-selection-data-copy" title="gtk_selection_data_copy ()"><code class="function">gtk_selection_data_copy()</code></a>.
|
1635
1556
|
</p>
|
1636
1557
|
<div class="variablelist"><table border="0">
|
1637
1558
|
<col align="left" valign="top">
|
1638
1559
|
<tbody><tr>
|
1639
1560
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1640
|
-
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"
|
1641
|
-
</td>
|
1561
|
+
<td>a pointer to a <a class="link" href="GtkWidget.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> structure.</td>
|
1642
1562
|
</tr></tbody>
|
1643
1563
|
</table></div>
|
1644
1564
|
</div>
|
1645
1565
|
</div>
|
1646
|
-
<div class="refsect1"
|
1566
|
+
<div class="refsect1">
|
1647
1567
|
<a name="gtk-Selections.see-also"></a><h2>See Also</h2>
|
1648
1568
|
<p>
|
1649
1569
|
</p>
|
@@ -1665,6 +1585,6 @@ Frees a <a class="link" href="GtkWidget.html#GtkSelectionData" title="GtkSelecti
|
|
1665
1585
|
</div>
|
1666
1586
|
<div class="footer">
|
1667
1587
|
<hr>
|
1668
|
-
Generated by GTK-Doc V1.
|
1588
|
+
Generated by GTK-Doc V1.16.1</div>
|
1669
1589
|
</body>
|
1670
1590
|
</html>
|