gtk2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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="gtk-Clipboards.html" title="Clipboards">
|
10
10
|
<link rel="next" href="GtkIconTheme.html" title="GtkIconTheme">
|
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">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#gtk-Drag-and-Drop.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="gtk-Drag-and-Drop"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="gtk-Drag-and-Drop.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <gtk/gtk.h>
|
@@ -45,7 +45,7 @@ enum <a class="link" href="gtk-Drag-and-Drop.html#GtkTargetFlags"
|
|
45
45
|
|
46
46
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-set" title="gtk_drag_dest_set ()">gtk_drag_dest_set</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
47
47
|
<em class="parameter"><code><a class="link" href="gtk-Drag-and-Drop.html#GtkDestDefaults" title="enum GtkDestDefaults"><span class="type">GtkDestDefaults</span></a> flags</code></em>,
|
48
|
-
<em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
48
|
+
<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>,
|
49
49
|
<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>,
|
50
50
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);
|
51
51
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-set-proxy" title="gtk_drag_dest_set_proxy ()">gtk_drag_dest_set_proxy</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
@@ -55,10 +55,10 @@ enum <a class="link" href="gtk-Drag-and-Drop.html#GtkTargetFlags"
|
|
55
55
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-unset" title="gtk_drag_dest_unset ()">gtk_drag_dest_unset</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
56
56
|
<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-Drag-and-Drop.html#gtk-drag-dest-find-target" title="gtk_drag_dest_find_target ()">gtk_drag_dest_find_target</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
57
57
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
58
|
-
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
59
|
-
<a class="link" href="gtk-Selections.html#GtkTargetList"
|
58
|
+
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *target_list</code></em>);
|
59
|
+
<a class="link" href="gtk-Selections.html#GtkTargetList"><span class="returnvalue">GtkTargetList</span></a> * <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-get-target-list" title="gtk_drag_dest_get_target_list ()">gtk_drag_dest_get_target_list</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
60
60
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-set-target-list" title="gtk_drag_dest_set_target_list ()">gtk_drag_dest_set_target_list</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
61
|
-
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
61
|
+
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *target_list</code></em>);
|
62
62
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-add-text-targets" title="gtk_drag_dest_add_text_targets ()">gtk_drag_dest_add_text_targets</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
63
63
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-add-image-targets" title="gtk_drag_dest_add_image_targets ()">gtk_drag_dest_add_image_targets</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
64
64
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-add-uri-targets" title="gtk_drag_dest_add_uri_targets ()">gtk_drag_dest_add_uri_targets</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
@@ -78,7 +78,7 @@ enum <a class="link" href="gtk-Drag-and-Drop.html#GtkTargetFlags"
|
|
78
78
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-unhighlight" title="gtk_drag_unhighlight ()">gtk_drag_unhighlight</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
79
79
|
|
80
80
|
<a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragContext"><span class="returnvalue">GdkDragContext</span></a> * <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-begin" title="gtk_drag_begin ()">gtk_drag_begin</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
81
|
-
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
81
|
+
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *targets</code></em>,
|
82
82
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>,
|
83
83
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> button</code></em>,
|
84
84
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
|
@@ -117,7 +117,7 @@ enum <a class="link" href="gtk-Drag-and-Drop.html#GtkTargetFlags"
|
|
117
117
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> current_y</code></em>);
|
118
118
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-source-set" title="gtk_drag_source_set ()">gtk_drag_source_set</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
119
119
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> start_button_mask</code></em>,
|
120
|
-
<em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
120
|
+
<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>,
|
121
121
|
<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>,
|
122
122
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);
|
123
123
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-source-set-icon" title="gtk_drag_source_set_icon ()">gtk_drag_source_set_icon</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
@@ -132,14 +132,14 @@ enum <a class="link" href="gtk-Drag-and-Drop.html#GtkTargetFlags"
|
|
132
132
|
<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> *icon_name</code></em>);
|
133
133
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-source-unset" title="gtk_drag_source_unset ()">gtk_drag_source_unset</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
134
134
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-source-set-target-list" title="gtk_drag_source_set_target_list ()">gtk_drag_source_set_target_list</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
135
|
-
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
136
|
-
<a class="link" href="gtk-Selections.html#GtkTargetList"
|
135
|
+
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *target_list</code></em>);
|
136
|
+
<a class="link" href="gtk-Selections.html#GtkTargetList"><span class="returnvalue">GtkTargetList</span></a> * <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-source-get-target-list" title="gtk_drag_source_get_target_list ()">gtk_drag_source_get_target_list</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
137
137
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-source-add-text-targets" title="gtk_drag_source_add_text_targets ()">gtk_drag_source_add_text_targets</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
138
138
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-source-add-image-targets" title="gtk_drag_source_add_image_targets ()">gtk_drag_source_add_image_targets</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
139
139
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-source-add-uri-targets" title="gtk_drag_source_add_uri_targets ()">gtk_drag_source_add_uri_targets</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
140
140
|
</pre>
|
141
141
|
</div>
|
142
|
-
<div class="refsect1"
|
142
|
+
<div class="refsect1">
|
143
143
|
<a name="gtk-Drag-and-Drop.description"></a><h2>Description</h2>
|
144
144
|
<p>
|
145
145
|
GTK+ has a rich set of functions for doing inter-process
|
@@ -154,9 +154,9 @@ Also, the Drag and Drop API makes use of signals
|
|
154
154
|
in the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> class.
|
155
155
|
</p>
|
156
156
|
</div>
|
157
|
-
<div class="refsect1"
|
157
|
+
<div class="refsect1">
|
158
158
|
<a name="gtk-Drag-and-Drop.details"></a><h2>Details</h2>
|
159
|
-
<div class="refsect2"
|
159
|
+
<div class="refsect2">
|
160
160
|
<a name="GtkDestDefaults"></a><h3>enum GtkDestDefaults</h3>
|
161
161
|
<pre class="programlisting">typedef enum {
|
162
162
|
GTK_DEST_DEFAULT_MOTION = 1 << 0, /* respond to "drag_motion" */
|
@@ -215,7 +215,7 @@ of the user for a drag destination site.
|
|
215
215
|
</table></div>
|
216
216
|
</div>
|
217
217
|
<hr>
|
218
|
-
<div class="refsect2"
|
218
|
+
<div class="refsect2">
|
219
219
|
<a name="GtkTargetFlags"></a><h3>enum GtkTargetFlags</h3>
|
220
220
|
<pre class="programlisting">typedef enum {
|
221
221
|
GTK_TARGET_SAME_APP = 1 << 0, /*< nick=same-app >*/
|
@@ -263,11 +263,11 @@ constraints on an entry in a <span class="type">GtkTargetTable</span>.
|
|
263
263
|
</table></div>
|
264
264
|
</div>
|
265
265
|
<hr>
|
266
|
-
<div class="refsect2"
|
266
|
+
<div class="refsect2">
|
267
267
|
<a name="gtk-drag-dest-set"></a><h3>gtk_drag_dest_set ()</h3>
|
268
268
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_dest_set (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
269
269
|
<em class="parameter"><code><a class="link" href="gtk-Drag-and-Drop.html#GtkDestDefaults" title="enum GtkDestDefaults"><span class="type">GtkDestDefaults</span></a> flags</code></em>,
|
270
|
-
<em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
270
|
+
<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>,
|
271
271
|
<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>,
|
272
272
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
|
273
273
|
<p>
|
@@ -349,15 +349,14 @@ the action to use depending on whether the control key is pressed or not:
|
|
349
349
|
</tr>
|
350
350
|
<tr>
|
351
351
|
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
352
|
-
<td>which types of default drag behavior to use
|
353
|
-
</td>
|
352
|
+
<td>which types of default drag behavior to use</td>
|
354
353
|
</tr>
|
355
354
|
<tr>
|
356
355
|
<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
|
357
|
-
<td>
|
358
|
-
|
359
|
-
|
360
|
-
|
356
|
+
<td>a pointer to an array of <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a>s
|
357
|
+
indicating the drop types that this <em class="parameter"><code>widget</code></em> will accept, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
358
|
+
Later you can access the list with <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-get-target-list" title="gtk_drag_dest_get_target_list ()"><code class="function">gtk_drag_dest_get_target_list()</code></a>
|
359
|
+
and <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-find-target" title="gtk_drag_dest_find_target ()"><code class="function">gtk_drag_dest_find_target()</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_targets]</span>
|
361
360
|
</td>
|
362
361
|
</tr>
|
363
362
|
<tr>
|
@@ -367,14 +366,13 @@ the action to use depending on whether the control key is pressed or not:
|
|
367
366
|
</tr>
|
368
367
|
<tr>
|
369
368
|
<td><p><span class="term"><em class="parameter"><code>actions</code></em> :</span></p></td>
|
370
|
-
<td>a bitmask of possible actions for a drop onto this <em class="parameter"><code>widget</code></em
|
371
|
-
</td>
|
369
|
+
<td>a bitmask of possible actions for a drop onto this <em class="parameter"><code>widget</code></em>.</td>
|
372
370
|
</tr>
|
373
371
|
</tbody>
|
374
372
|
</table></div>
|
375
373
|
</div>
|
376
374
|
<hr>
|
377
|
-
<div class="refsect2"
|
375
|
+
<div class="refsect2">
|
378
376
|
<a name="gtk-drag-dest-set-proxy"></a><h3>gtk_drag_dest_set_proxy ()</h3>
|
379
377
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_dest_set_proxy (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
380
378
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *proxy_window</code></em>,
|
@@ -393,27 +391,24 @@ Sets this widget as a proxy for drops to another window.
|
|
393
391
|
</tr>
|
394
392
|
<tr>
|
395
393
|
<td><p><span class="term"><em class="parameter"><code>proxy_window</code></em> :</span></p></td>
|
396
|
-
<td>the window to which to forward drag events
|
397
|
-
</td>
|
394
|
+
<td>the window to which to forward drag events</td>
|
398
395
|
</tr>
|
399
396
|
<tr>
|
400
397
|
<td><p><span class="term"><em class="parameter"><code>protocol</code></em> :</span></p></td>
|
401
398
|
<td>the drag protocol which the <em class="parameter"><code>proxy_window</code></em> accepts
|
402
|
-
|
403
|
-
</td>
|
399
|
+
(You can use <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#gdk-drag-get-protocol"><code class="function">gdk_drag_get_protocol()</code></a> to determine this)</td>
|
404
400
|
</tr>
|
405
401
|
<tr>
|
406
402
|
<td><p><span class="term"><em class="parameter"><code>use_coordinates</code></em> :</span></p></td>
|
407
403
|
<td>If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, send the same coordinates to the
|
408
|
-
|
409
|
-
|
410
|
-
</td>
|
404
|
+
destination, because it is an embedded
|
405
|
+
subwindow.</td>
|
411
406
|
</tr>
|
412
407
|
</tbody>
|
413
408
|
</table></div>
|
414
409
|
</div>
|
415
410
|
<hr>
|
416
|
-
<div class="refsect2"
|
411
|
+
<div class="refsect2">
|
417
412
|
<a name="gtk-drag-dest-unset"></a><h3>gtk_drag_dest_unset ()</h3>
|
418
413
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_dest_unset (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
419
414
|
<p>
|
@@ -431,51 +426,48 @@ notification of drags.
|
|
431
426
|
</table></div>
|
432
427
|
</div>
|
433
428
|
<hr>
|
434
|
-
<div class="refsect2"
|
429
|
+
<div class="refsect2">
|
435
430
|
<a name="gtk-drag-dest-find-target"></a><h3>gtk_drag_dest_find_target ()</h3>
|
436
431
|
<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_drag_dest_find_target (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
437
432
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
438
|
-
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
439
|
-
<p>
|
440
|
-
Looks for a match between <em class="parameter"><code>context->targets</code></em> and the
|
441
|
-
<em class="parameter"><code>dest_target_list</code></em>, returning the first matching target, otherwise
|
442
|
-
returning <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GDK-NONE:CAPS"><code class="literal">GDK_NONE</code></a>. <em class="parameter"><code>dest_target_list</code></em> should usually be the return
|
443
|
-
value from <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-get-target-list" title="gtk_drag_dest_get_target_list ()"><code class="function">gtk_drag_dest_get_target_list()</code></a>, but some widgets may
|
444
|
-
have different valid targets for different parts of the widget; in
|
445
|
-
that case, they will have to implement a drag_motion handler that
|
446
|
-
passes the correct target list to this function.
|
447
|
-
</p>
|
433
|
+
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *target_list</code></em>);</pre>
|
448
434
|
<div class="variablelist"><table border="0">
|
449
435
|
<col align="left" valign="top">
|
450
436
|
<tbody>
|
451
437
|
<tr>
|
452
438
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
453
|
-
<td>drag destination widget
|
454
|
-
</td>
|
439
|
+
<td>drag destination widget</td>
|
455
440
|
</tr>
|
456
441
|
<tr>
|
457
442
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
458
|
-
<td>drag context
|
459
|
-
</td>
|
443
|
+
<td>drag context</td>
|
460
444
|
</tr>
|
461
445
|
<tr>
|
462
446
|
<td><p><span class="term"><em class="parameter"><code>target_list</code></em> :</span></p></td>
|
463
|
-
<td>
|
464
|
-
|
447
|
+
<td>list of droppable targets, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use
|
448
|
+
gtk_drag_dest_get_target_list (<em class="parameter"><code>widget</code></em>).
|
449
|
+
Looks for a match between the supported targets of <em class="parameter"><code>context</code></em> and the
|
450
|
+
<em class="parameter"><code>dest_target_list</code></em>, returning the first matching target, otherwise
|
451
|
+
returning <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GDK-NONE:CAPS"><code class="literal">GDK_NONE</code></a>. <em class="parameter"><code>dest_target_list</code></em> should usually be the return
|
452
|
+
value from <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-get-target-list" title="gtk_drag_dest_get_target_list ()"><code class="function">gtk_drag_dest_get_target_list()</code></a>, but some widgets may
|
453
|
+
have different valid targets for different parts of the widget; in
|
454
|
+
that case, they will have to implement a drag_motion handler that
|
455
|
+
passes the correct target list to this function. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
465
456
|
</td>
|
466
457
|
</tr>
|
467
458
|
<tr>
|
468
459
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
469
|
-
<td>
|
460
|
+
<td>first target that the source offers
|
461
|
+
and the dest can accept, or <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GDK-NONE:CAPS"><code class="literal">GDK_NONE</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
470
462
|
</td>
|
471
463
|
</tr>
|
472
464
|
</tbody>
|
473
465
|
</table></div>
|
474
466
|
</div>
|
475
467
|
<hr>
|
476
|
-
<div class="refsect2"
|
468
|
+
<div class="refsect2">
|
477
469
|
<a name="gtk-drag-dest-get-target-list"></a><h3>gtk_drag_dest_get_target_list ()</h3>
|
478
|
-
<pre class="programlisting"><a class="link" href="gtk-Selections.html#GtkTargetList"
|
470
|
+
<pre class="programlisting"><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="returnvalue">GtkTargetList</span></a> * gtk_drag_dest_get_target_list (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
479
471
|
<p>
|
480
472
|
Returns the list of targets this widget can accept from
|
481
473
|
drag-and-drop.
|
@@ -490,17 +482,17 @@ drag-and-drop.
|
|
490
482
|
</tr>
|
491
483
|
<tr>
|
492
484
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
493
|
-
<td>
|
485
|
+
<td>the <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
494
486
|
</td>
|
495
487
|
</tr>
|
496
488
|
</tbody>
|
497
489
|
</table></div>
|
498
490
|
</div>
|
499
491
|
<hr>
|
500
|
-
<div class="refsect2"
|
492
|
+
<div class="refsect2">
|
501
493
|
<a name="gtk-drag-dest-set-target-list"></a><h3>gtk_drag_dest_set_target_list ()</h3>
|
502
494
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_dest_set_target_list (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
503
|
-
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
495
|
+
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *target_list</code></em>);</pre>
|
504
496
|
<p>
|
505
497
|
Sets the target types that this widget can accept from drag-and-drop.
|
506
498
|
The widget must first be made into a drag destination with
|
@@ -511,19 +503,18 @@ The widget must first be made into a drag destination with
|
|
511
503
|
<tbody>
|
512
504
|
<tr>
|
513
505
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
514
|
-
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's a drag destination
|
515
|
-
</td>
|
506
|
+
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's a drag destination</td>
|
516
507
|
</tr>
|
517
508
|
<tr>
|
518
509
|
<td><p><span class="term"><em class="parameter"><code>target_list</code></em> :</span></p></td>
|
519
|
-
<td>
|
510
|
+
<td>list of droppable targets, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for none. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
520
511
|
</td>
|
521
512
|
</tr>
|
522
513
|
</tbody>
|
523
514
|
</table></div>
|
524
515
|
</div>
|
525
516
|
<hr>
|
526
|
-
<div class="refsect2"
|
517
|
+
<div class="refsect2">
|
527
518
|
<a name="gtk-drag-dest-add-text-targets"></a><h3>gtk_drag_dest_add_text_targets ()</h3>
|
528
519
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_dest_add_text_targets (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
529
520
|
<p>
|
@@ -537,14 +528,13 @@ use <a class="link" href="gtk-Selections.html#gtk-target-list-add-text-targets"
|
|
537
528
|
<col align="left" valign="top">
|
538
529
|
<tbody><tr>
|
539
530
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
540
|
-
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's a drag destination
|
541
|
-
</td>
|
531
|
+
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's a drag destination</td>
|
542
532
|
</tr></tbody>
|
543
533
|
</table></div>
|
544
534
|
<p class="since">Since 2.6</p>
|
545
535
|
</div>
|
546
536
|
<hr>
|
547
|
-
<div class="refsect2"
|
537
|
+
<div class="refsect2">
|
548
538
|
<a name="gtk-drag-dest-add-image-targets"></a><h3>gtk_drag_dest_add_image_targets ()</h3>
|
549
539
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_dest_add_image_targets (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
550
540
|
<p>
|
@@ -558,14 +548,13 @@ use <a class="link" href="gtk-Selections.html#gtk-target-list-add-image-targets"
|
|
558
548
|
<col align="left" valign="top">
|
559
549
|
<tbody><tr>
|
560
550
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
561
|
-
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's a drag destination
|
562
|
-
</td>
|
551
|
+
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's a drag destination</td>
|
563
552
|
</tr></tbody>
|
564
553
|
</table></div>
|
565
554
|
<p class="since">Since 2.6</p>
|
566
555
|
</div>
|
567
556
|
<hr>
|
568
|
-
<div class="refsect2"
|
557
|
+
<div class="refsect2">
|
569
558
|
<a name="gtk-drag-dest-add-uri-targets"></a><h3>gtk_drag_dest_add_uri_targets ()</h3>
|
570
559
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_dest_add_uri_targets (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
571
560
|
<p>
|
@@ -579,14 +568,13 @@ use <a class="link" href="gtk-Selections.html#gtk-target-list-add-uri-targets" t
|
|
579
568
|
<col align="left" valign="top">
|
580
569
|
<tbody><tr>
|
581
570
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
582
|
-
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's a drag destination
|
583
|
-
</td>
|
571
|
+
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's a drag destination</td>
|
584
572
|
</tr></tbody>
|
585
573
|
</table></div>
|
586
574
|
<p class="since">Since 2.6</p>
|
587
575
|
</div>
|
588
576
|
<hr>
|
589
|
-
<div class="refsect2"
|
577
|
+
<div class="refsect2">
|
590
578
|
<a name="gtk-drag-dest-set-track-motion"></a><h3>gtk_drag_dest_set_track_motion ()</h3>
|
591
579
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_dest_set_track_motion (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
592
580
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> track_motion</code></em>);</pre>
|
@@ -604,20 +592,18 @@ actions regardless of the targets that the source offers.
|
|
604
592
|
<tbody>
|
605
593
|
<tr>
|
606
594
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
607
|
-
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's a drag destination
|
608
|
-
</td>
|
595
|
+
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's a drag destination</td>
|
609
596
|
</tr>
|
610
597
|
<tr>
|
611
598
|
<td><p><span class="term"><em class="parameter"><code>track_motion</code></em> :</span></p></td>
|
612
|
-
<td>whether to accept all targets
|
613
|
-
</td>
|
599
|
+
<td>whether to accept all targets</td>
|
614
600
|
</tr>
|
615
601
|
</tbody>
|
616
602
|
</table></div>
|
617
603
|
<p class="since">Since 2.10</p>
|
618
604
|
</div>
|
619
605
|
<hr>
|
620
|
-
<div class="refsect2"
|
606
|
+
<div class="refsect2">
|
621
607
|
<a name="gtk-drag-dest-get-track-motion"></a><h3>gtk_drag_dest_get_track_motion ()</h3>
|
622
608
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_drag_dest_get_track_motion (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
623
609
|
<p>
|
@@ -629,21 +615,19 @@ emit ::drag-motion signals.
|
|
629
615
|
<tbody>
|
630
616
|
<tr>
|
631
617
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
632
|
-
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's a drag destination
|
633
|
-
</td>
|
618
|
+
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's a drag destination</td>
|
634
619
|
</tr>
|
635
620
|
<tr>
|
636
621
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
637
|
-
<td>
|
638
|
-
|
639
|
-
</td>
|
622
|
+
<td>
|
623
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the widget always emits ::drag-motion events</td>
|
640
624
|
</tr>
|
641
625
|
</tbody>
|
642
626
|
</table></div>
|
643
627
|
<p class="since">Since 2.10</p>
|
644
628
|
</div>
|
645
629
|
<hr>
|
646
|
-
<div class="refsect2"
|
630
|
+
<div class="refsect2">
|
647
631
|
<a name="gtk-drag-finish"></a><h3>gtk_drag_finish ()</h3>
|
648
632
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_finish (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
649
633
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> success</code></em>,
|
@@ -658,30 +642,26 @@ that the data of the drag will no longer be required.
|
|
658
642
|
<tbody>
|
659
643
|
<tr>
|
660
644
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
661
|
-
<td>the drag context
|
662
|
-
</td>
|
645
|
+
<td>the drag context.</td>
|
663
646
|
</tr>
|
664
647
|
<tr>
|
665
648
|
<td><p><span class="term"><em class="parameter"><code>success</code></em> :</span></p></td>
|
666
|
-
<td>a flag indicating whether the drop was successful
|
667
|
-
</td>
|
649
|
+
<td>a flag indicating whether the drop was successful</td>
|
668
650
|
</tr>
|
669
651
|
<tr>
|
670
652
|
<td><p><span class="term"><em class="parameter"><code>del</code></em> :</span></p></td>
|
671
653
|
<td>a flag indicating whether the source should delete the
|
672
|
-
|
673
|
-
</td>
|
654
|
+
original data. (This should be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for a move)</td>
|
674
655
|
</tr>
|
675
656
|
<tr>
|
676
657
|
<td><p><span class="term"><em class="parameter"><code>time_</code></em> :</span></p></td>
|
677
|
-
<td>the timestamp from the "drag_data_drop" signal
|
678
|
-
</td>
|
658
|
+
<td>the timestamp from the "drag_data_drop" signal.</td>
|
679
659
|
</tr>
|
680
660
|
</tbody>
|
681
661
|
</table></div>
|
682
662
|
</div>
|
683
663
|
<hr>
|
684
|
-
<div class="refsect2"
|
664
|
+
<div class="refsect2">
|
685
665
|
<a name="gtk-drag-get-data"></a><h3>gtk_drag_get_data ()</h3>
|
686
666
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_get_data (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
687
667
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
@@ -703,55 +683,54 @@ drops.
|
|
703
683
|
<tr>
|
704
684
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
705
685
|
<td>the widget that will receive the "drag_data_received"
|
706
|
-
|
707
|
-
</td>
|
686
|
+
signal.</td>
|
708
687
|
</tr>
|
709
688
|
<tr>
|
710
689
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
711
|
-
<td>the drag context
|
712
|
-
</td>
|
690
|
+
<td>the drag context</td>
|
713
691
|
</tr>
|
714
692
|
<tr>
|
715
693
|
<td><p><span class="term"><em class="parameter"><code>target</code></em> :</span></p></td>
|
716
|
-
<td>the target (form of the data) to retrieve
|
717
|
-
</td>
|
694
|
+
<td>the target (form of the data) to retrieve.</td>
|
718
695
|
</tr>
|
719
696
|
<tr>
|
720
697
|
<td><p><span class="term"><em class="parameter"><code>time_</code></em> :</span></p></td>
|
721
698
|
<td>a timestamp for retrieving the data. This will
|
722
|
-
|
723
|
-
|
724
|
-
</td>
|
699
|
+
generally be the time received in a "drag_data_motion"
|
700
|
+
or "drag_data_drop" signal.</td>
|
725
701
|
</tr>
|
726
702
|
</tbody>
|
727
703
|
</table></div>
|
728
704
|
</div>
|
729
705
|
<hr>
|
730
|
-
<div class="refsect2"
|
706
|
+
<div class="refsect2">
|
731
707
|
<a name="gtk-drag-get-source-widget"></a><h3>gtk_drag_get_source_widget ()</h3>
|
732
708
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_drag_get_source_widget (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>);</pre>
|
733
709
|
<p>
|
734
710
|
Determines the source widget for a drag.
|
735
711
|
</p>
|
712
|
+
<p>
|
713
|
+
Determines the source widget for a drag.
|
714
|
+
</p>
|
736
715
|
<div class="variablelist"><table border="0">
|
737
716
|
<col align="left" valign="top">
|
738
717
|
<tbody>
|
739
718
|
<tr>
|
740
719
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
741
|
-
<td>a (destination side) drag context
|
742
|
-
</td>
|
720
|
+
<td>a (destination side) drag context</td>
|
743
721
|
</tr>
|
744
722
|
<tr>
|
745
723
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
746
|
-
<td>if the drag is occurring
|
747
|
-
|
724
|
+
<td>if the drag is occurring
|
725
|
+
within a single application, a pointer to the source widget.
|
726
|
+
Otherwise, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
748
727
|
</td>
|
749
728
|
</tr>
|
750
729
|
</tbody>
|
751
730
|
</table></div>
|
752
731
|
</div>
|
753
732
|
<hr>
|
754
|
-
<div class="refsect2"
|
733
|
+
<div class="refsect2">
|
755
734
|
<a name="gtk-drag-highlight"></a><h3>gtk_drag_highlight ()</h3>
|
756
735
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_highlight (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
757
736
|
<p>
|
@@ -764,13 +743,12 @@ is called.
|
|
764
743
|
<col align="left" valign="top">
|
765
744
|
<tbody><tr>
|
766
745
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
767
|
-
<td>a widget to highlight
|
768
|
-
</td>
|
746
|
+
<td>a widget to highlight</td>
|
769
747
|
</tr></tbody>
|
770
748
|
</table></div>
|
771
749
|
</div>
|
772
750
|
<hr>
|
773
|
-
<div class="refsect2"
|
751
|
+
<div class="refsect2">
|
774
752
|
<a name="gtk-drag-unhighlight"></a><h3>gtk_drag_unhighlight ()</h3>
|
775
753
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_unhighlight (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
776
754
|
<p>
|
@@ -781,16 +759,15 @@ a widget.
|
|
781
759
|
<col align="left" valign="top">
|
782
760
|
<tbody><tr>
|
783
761
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
784
|
-
<td>a widget to remove the highlight from
|
785
|
-
</td>
|
762
|
+
<td>a widget to remove the highlight from.</td>
|
786
763
|
</tr></tbody>
|
787
764
|
</table></div>
|
788
765
|
</div>
|
789
766
|
<hr>
|
790
|
-
<div class="refsect2"
|
767
|
+
<div class="refsect2">
|
791
768
|
<a name="gtk-drag-begin"></a><h3>gtk_drag_begin ()</h3>
|
792
769
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragContext"><span class="returnvalue">GdkDragContext</span></a> * gtk_drag_begin (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
793
|
-
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
770
|
+
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *targets</code></em>,
|
794
771
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>,
|
795
772
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> button</code></em>,
|
796
773
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
@@ -833,40 +810,35 @@ can really not pass a real event, pass <a href="http://library.gnome.org/devel/g
|
|
833
810
|
<tbody>
|
834
811
|
<tr>
|
835
812
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
836
|
-
<td>the source widget
|
837
|
-
</td>
|
813
|
+
<td>the source widget.</td>
|
838
814
|
</tr>
|
839
815
|
<tr>
|
840
816
|
<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
|
841
817
|
<td>The targets (data formats) in which the
|
842
|
-
|
843
|
-
</td>
|
818
|
+
source can provide the data.</td>
|
844
819
|
</tr>
|
845
820
|
<tr>
|
846
821
|
<td><p><span class="term"><em class="parameter"><code>actions</code></em> :</span></p></td>
|
847
|
-
<td>A bitmask of the allowed drag actions for this drag
|
848
|
-
</td>
|
822
|
+
<td>A bitmask of the allowed drag actions for this drag.</td>
|
849
823
|
</tr>
|
850
824
|
<tr>
|
851
825
|
<td><p><span class="term"><em class="parameter"><code>button</code></em> :</span></p></td>
|
852
|
-
<td>The button the user clicked to start the drag
|
853
|
-
</td>
|
826
|
+
<td>The button the user clicked to start the drag.</td>
|
854
827
|
</tr>
|
855
828
|
<tr>
|
856
829
|
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
857
|
-
<td>The event that triggered the start of the drag
|
858
|
-
</td>
|
830
|
+
<td>The event that triggered the start of the drag.</td>
|
859
831
|
</tr>
|
860
832
|
<tr>
|
861
833
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
862
|
-
<td>
|
834
|
+
<td>the context for this drag. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
863
835
|
</td>
|
864
836
|
</tr>
|
865
837
|
</tbody>
|
866
838
|
</table></div>
|
867
839
|
</div>
|
868
840
|
<hr>
|
869
|
-
<div class="refsect2"
|
841
|
+
<div class="refsect2">
|
870
842
|
<a name="gtk-drag-set-icon-widget"></a><h3>gtk_drag_set_icon_widget ()</h3>
|
871
843
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_set_icon_widget (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
872
844
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
@@ -883,30 +855,26 @@ signal and destroy it yourself.
|
|
883
855
|
<tbody>
|
884
856
|
<tr>
|
885
857
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
886
|
-
<td>the context for a drag. (This must be called
|
887
|
-
|
888
|
-
</td>
|
858
|
+
<td>the context for a drag. (This must be called
|
859
|
+
with a context for the source side of a drag)</td>
|
889
860
|
</tr>
|
890
861
|
<tr>
|
891
862
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
892
|
-
<td>a toplevel window to use as an icon
|
893
|
-
</td>
|
863
|
+
<td>a toplevel window to use as an icon.</td>
|
894
864
|
</tr>
|
895
865
|
<tr>
|
896
866
|
<td><p><span class="term"><em class="parameter"><code>hot_x</code></em> :</span></p></td>
|
897
|
-
<td>the X offset within <em class="parameter"><code>widget</code></em> of the hotspot
|
898
|
-
</td>
|
867
|
+
<td>the X offset within <em class="parameter"><code>widget</code></em> of the hotspot.</td>
|
899
868
|
</tr>
|
900
869
|
<tr>
|
901
870
|
<td><p><span class="term"><em class="parameter"><code>hot_y</code></em> :</span></p></td>
|
902
|
-
<td>the Y offset within <em class="parameter"><code>widget</code></em> of the hotspot
|
903
|
-
</td>
|
871
|
+
<td>the Y offset within <em class="parameter"><code>widget</code></em> of the hotspot.</td>
|
904
872
|
</tr>
|
905
873
|
</tbody>
|
906
874
|
</table></div>
|
907
875
|
</div>
|
908
876
|
<hr>
|
909
|
-
<div class="refsect2"
|
877
|
+
<div class="refsect2">
|
910
878
|
<a name="gtk-drag-set-icon-pixmap"></a><h3>gtk_drag_set_icon_pixmap ()</h3>
|
911
879
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_set_icon_pixmap (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
912
880
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
@@ -925,40 +893,34 @@ will be more convenient to use.
|
|
925
893
|
<tbody>
|
926
894
|
<tr>
|
927
895
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
928
|
-
<td>the context for a drag. (This must be called
|
929
|
-
|
930
|
-
</td>
|
896
|
+
<td>the context for a drag. (This must be called
|
897
|
+
with a context for the source side of a drag)</td>
|
931
898
|
</tr>
|
932
899
|
<tr>
|
933
900
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
934
|
-
<td>the colormap of the icon
|
935
|
-
</td>
|
901
|
+
<td>the colormap of the icon</td>
|
936
902
|
</tr>
|
937
903
|
<tr>
|
938
904
|
<td><p><span class="term"><em class="parameter"><code>pixmap</code></em> :</span></p></td>
|
939
|
-
<td>the image data for the icon
|
940
|
-
</td>
|
905
|
+
<td>the image data for the icon</td>
|
941
906
|
</tr>
|
942
907
|
<tr>
|
943
908
|
<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
|
944
|
-
<td>the transparency mask for the icon
|
945
|
-
</td>
|
909
|
+
<td>the transparency mask for the icon</td>
|
946
910
|
</tr>
|
947
911
|
<tr>
|
948
912
|
<td><p><span class="term"><em class="parameter"><code>hot_x</code></em> :</span></p></td>
|
949
|
-
<td>the X offset within <em class="parameter"><code>pixmap</code></em> of the hotspot
|
950
|
-
</td>
|
913
|
+
<td>the X offset within <em class="parameter"><code>pixmap</code></em> of the hotspot.</td>
|
951
914
|
</tr>
|
952
915
|
<tr>
|
953
916
|
<td><p><span class="term"><em class="parameter"><code>hot_y</code></em> :</span></p></td>
|
954
|
-
<td>the Y offset within <em class="parameter"><code>pixmap</code></em> of the hotspot
|
955
|
-
</td>
|
917
|
+
<td>the Y offset within <em class="parameter"><code>pixmap</code></em> of the hotspot.</td>
|
956
918
|
</tr>
|
957
919
|
</tbody>
|
958
920
|
</table></div>
|
959
921
|
</div>
|
960
922
|
<hr>
|
961
|
-
<div class="refsect2"
|
923
|
+
<div class="refsect2">
|
962
924
|
<a name="gtk-drag-set-icon-pixbuf"></a><h3>gtk_drag_set_icon_pixbuf ()</h3>
|
963
925
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_set_icon_pixbuf (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
964
926
|
<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>,
|
@@ -972,30 +934,26 @@ Sets <em class="parameter"><code>pixbuf</code></em> as the icon for a given drag
|
|
972
934
|
<tbody>
|
973
935
|
<tr>
|
974
936
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
975
|
-
<td>the context for a drag. (This must be called
|
976
|
-
|
977
|
-
</td>
|
937
|
+
<td>the context for a drag. (This must be called
|
938
|
+
with a context for the source side of a drag)</td>
|
978
939
|
</tr>
|
979
940
|
<tr>
|
980
941
|
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
|
981
|
-
<td>the <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> to use as the drag icon
|
982
|
-
</td>
|
942
|
+
<td>the <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> to use as the drag icon.</td>
|
983
943
|
</tr>
|
984
944
|
<tr>
|
985
945
|
<td><p><span class="term"><em class="parameter"><code>hot_x</code></em> :</span></p></td>
|
986
|
-
<td>the X offset within <em class="parameter"><code>widget</code></em> of the hotspot
|
987
|
-
</td>
|
946
|
+
<td>the X offset within <em class="parameter"><code>widget</code></em> of the hotspot.</td>
|
988
947
|
</tr>
|
989
948
|
<tr>
|
990
949
|
<td><p><span class="term"><em class="parameter"><code>hot_y</code></em> :</span></p></td>
|
991
|
-
<td>the Y offset within <em class="parameter"><code>widget</code></em> of the hotspot
|
992
|
-
</td>
|
950
|
+
<td>the Y offset within <em class="parameter"><code>widget</code></em> of the hotspot.</td>
|
993
951
|
</tr>
|
994
952
|
</tbody>
|
995
953
|
</table></div>
|
996
954
|
</div>
|
997
955
|
<hr>
|
998
|
-
<div class="refsect2"
|
956
|
+
<div class="refsect2">
|
999
957
|
<a name="gtk-drag-set-icon-stock"></a><h3>gtk_drag_set_icon_stock ()</h3>
|
1000
958
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_set_icon_stock (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
1001
959
|
<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> *stock_id</code></em>,
|
@@ -1009,30 +967,26 @@ Sets the icon for a given drag from a stock ID.
|
|
1009
967
|
<tbody>
|
1010
968
|
<tr>
|
1011
969
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
1012
|
-
<td>the context for a drag. (This must be called
|
1013
|
-
|
1014
|
-
</td>
|
970
|
+
<td>the context for a drag. (This must be called
|
971
|
+
with a context for the source side of a drag)</td>
|
1015
972
|
</tr>
|
1016
973
|
<tr>
|
1017
974
|
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
|
1018
|
-
<td>the ID of the stock icon to use for the drag
|
1019
|
-
</td>
|
975
|
+
<td>the ID of the stock icon to use for the drag.</td>
|
1020
976
|
</tr>
|
1021
977
|
<tr>
|
1022
978
|
<td><p><span class="term"><em class="parameter"><code>hot_x</code></em> :</span></p></td>
|
1023
|
-
<td>the X offset within the icon of the hotspot
|
1024
|
-
</td>
|
979
|
+
<td>the X offset within the icon of the hotspot.</td>
|
1025
980
|
</tr>
|
1026
981
|
<tr>
|
1027
982
|
<td><p><span class="term"><em class="parameter"><code>hot_y</code></em> :</span></p></td>
|
1028
|
-
<td>the Y offset within the icon of the hotspot
|
1029
|
-
</td>
|
983
|
+
<td>the Y offset within the icon of the hotspot.</td>
|
1030
984
|
</tr>
|
1031
985
|
</tbody>
|
1032
986
|
</table></div>
|
1033
987
|
</div>
|
1034
988
|
<hr>
|
1035
|
-
<div class="refsect2"
|
989
|
+
<div class="refsect2">
|
1036
990
|
<a name="gtk-drag-set-icon-name"></a><h3>gtk_drag_set_icon_name ()</h3>
|
1037
991
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_set_icon_name (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
1038
992
|
<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> *icon_name</code></em>,
|
@@ -1050,31 +1004,27 @@ loaded at the symbolic size <span class="type">GTK_ICON_SIZE_DND</span>), thus
|
|
1050
1004
|
<tbody>
|
1051
1005
|
<tr>
|
1052
1006
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
1053
|
-
<td>the context for a drag. (This must be called
|
1054
|
-
|
1055
|
-
</td>
|
1007
|
+
<td>the context for a drag. (This must be called
|
1008
|
+
with a context for the source side of a drag)</td>
|
1056
1009
|
</tr>
|
1057
1010
|
<tr>
|
1058
1011
|
<td><p><span class="term"><em class="parameter"><code>icon_name</code></em> :</span></p></td>
|
1059
|
-
<td>name of icon to use
|
1060
|
-
</td>
|
1012
|
+
<td>name of icon to use</td>
|
1061
1013
|
</tr>
|
1062
1014
|
<tr>
|
1063
1015
|
<td><p><span class="term"><em class="parameter"><code>hot_x</code></em> :</span></p></td>
|
1064
|
-
<td>the X offset of the hotspot within the icon
|
1065
|
-
</td>
|
1016
|
+
<td>the X offset of the hotspot within the icon</td>
|
1066
1017
|
</tr>
|
1067
1018
|
<tr>
|
1068
1019
|
<td><p><span class="term"><em class="parameter"><code>hot_y</code></em> :</span></p></td>
|
1069
|
-
<td>the Y offset of the hotspot within the icon
|
1070
|
-
</td>
|
1020
|
+
<td>the Y offset of the hotspot within the icon</td>
|
1071
1021
|
</tr>
|
1072
1022
|
</tbody>
|
1073
1023
|
</table></div>
|
1074
1024
|
<p class="since">Since 2.8</p>
|
1075
1025
|
</div>
|
1076
1026
|
<hr>
|
1077
|
-
<div class="refsect2"
|
1027
|
+
<div class="refsect2">
|
1078
1028
|
<a name="gtk-drag-set-icon-default"></a><h3>gtk_drag_set_icon_default ()</h3>
|
1079
1029
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_set_icon_default (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>);</pre>
|
1080
1030
|
<p>
|
@@ -1085,21 +1035,20 @@ icon.
|
|
1085
1035
|
<col align="left" valign="top">
|
1086
1036
|
<tbody><tr>
|
1087
1037
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
1088
|
-
<td>the context for a drag. (This must be called
|
1089
|
-
|
1090
|
-
</td>
|
1038
|
+
<td>the context for a drag. (This must be called
|
1039
|
+
with a context for the source side of a drag)</td>
|
1091
1040
|
</tr></tbody>
|
1092
1041
|
</table></div>
|
1093
1042
|
</div>
|
1094
1043
|
<hr>
|
1095
|
-
<div class="refsect2"
|
1044
|
+
<div class="refsect2">
|
1096
1045
|
<a name="gtk-drag-set-default-icon"></a><h3>gtk_drag_set_default_icon ()</h3>
|
1097
1046
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_set_default_icon (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
1098
1047
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
|
1099
1048
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>,
|
1100
1049
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_x</code></em>,
|
1101
1050
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_y</code></em>);</pre>
|
1102
|
-
<div class="warning"
|
1051
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1103
1052
|
<h3 class="title">Warning</h3>
|
1104
1053
|
<p><code class="literal">gtk_drag_set_default_icon</code> is deprecated and should not be used in newly-written code. Change the default drag icon via the stock system by
|
1105
1054
|
changing the stock pixbuf for <a class="link" href="gtk-Stock-Items.html#GTK-STOCK-DND:CAPS" title="GTK_STOCK_DND"><span class="type">GTK_STOCK_DND</span></a> instead.</p>
|
@@ -1113,34 +1062,30 @@ arguments, and will release them when they are no longer needed.
|
|
1113
1062
|
<tbody>
|
1114
1063
|
<tr>
|
1115
1064
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
1116
|
-
<td>the colormap of the icon
|
1117
|
-
</td>
|
1065
|
+
<td>the colormap of the icon</td>
|
1118
1066
|
</tr>
|
1119
1067
|
<tr>
|
1120
1068
|
<td><p><span class="term"><em class="parameter"><code>pixmap</code></em> :</span></p></td>
|
1121
|
-
<td>the image data for the icon
|
1122
|
-
</td>
|
1069
|
+
<td>the image data for the icon</td>
|
1123
1070
|
</tr>
|
1124
1071
|
<tr>
|
1125
1072
|
<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
|
1126
|
-
<td>
|
1073
|
+
<td>the transparency mask for an image, 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>
|
1127
1074
|
</td>
|
1128
1075
|
</tr>
|
1129
1076
|
<tr>
|
1130
1077
|
<td><p><span class="term"><em class="parameter"><code>hot_x</code></em> :</span></p></td>
|
1131
|
-
<td>The X offset within <em class="parameter"><code>widget</code></em> of the hotspot
|
1132
|
-
</td>
|
1078
|
+
<td>The X offset within <em class="parameter"><code>widget</code></em> of the hotspot.</td>
|
1133
1079
|
</tr>
|
1134
1080
|
<tr>
|
1135
1081
|
<td><p><span class="term"><em class="parameter"><code>hot_y</code></em> :</span></p></td>
|
1136
|
-
<td>The Y offset within <em class="parameter"><code>widget</code></em> of the hotspot
|
1137
|
-
</td>
|
1082
|
+
<td>The Y offset within <em class="parameter"><code>widget</code></em> of the hotspot.</td>
|
1138
1083
|
</tr>
|
1139
1084
|
</tbody>
|
1140
1085
|
</table></div>
|
1141
1086
|
</div>
|
1142
1087
|
<hr>
|
1143
|
-
<div class="refsect2"
|
1088
|
+
<div class="refsect2">
|
1144
1089
|
<a name="gtk-drag-check-threshold"></a><h3>gtk_drag_check_threshold ()</h3>
|
1145
1090
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_drag_check_threshold (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1146
1091
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> start_x</code></em>,
|
@@ -1162,38 +1107,34 @@ should trigger the beginning of a drag-and-drop operation.
|
|
1162
1107
|
</tr>
|
1163
1108
|
<tr>
|
1164
1109
|
<td><p><span class="term"><em class="parameter"><code>start_x</code></em> :</span></p></td>
|
1165
|
-
<td>X coordinate of start of drag
|
1166
|
-
</td>
|
1110
|
+
<td>X coordinate of start of drag</td>
|
1167
1111
|
</tr>
|
1168
1112
|
<tr>
|
1169
1113
|
<td><p><span class="term"><em class="parameter"><code>start_y</code></em> :</span></p></td>
|
1170
|
-
<td>Y coordinate of start of drag
|
1171
|
-
</td>
|
1114
|
+
<td>Y coordinate of start of drag</td>
|
1172
1115
|
</tr>
|
1173
1116
|
<tr>
|
1174
1117
|
<td><p><span class="term"><em class="parameter"><code>current_x</code></em> :</span></p></td>
|
1175
|
-
<td>current X coordinate
|
1176
|
-
</td>
|
1118
|
+
<td>current X coordinate</td>
|
1177
1119
|
</tr>
|
1178
1120
|
<tr>
|
1179
1121
|
<td><p><span class="term"><em class="parameter"><code>current_y</code></em> :</span></p></td>
|
1180
|
-
<td>current Y coordinate
|
1181
|
-
</td>
|
1122
|
+
<td>current Y coordinate</td>
|
1182
1123
|
</tr>
|
1183
1124
|
<tr>
|
1184
1125
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1185
|
-
<td>
|
1186
|
-
</td>
|
1126
|
+
<td>
|
1127
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the drag threshold has been passed.</td>
|
1187
1128
|
</tr>
|
1188
1129
|
</tbody>
|
1189
1130
|
</table></div>
|
1190
1131
|
</div>
|
1191
1132
|
<hr>
|
1192
|
-
<div class="refsect2"
|
1133
|
+
<div class="refsect2">
|
1193
1134
|
<a name="gtk-drag-source-set"></a><h3>gtk_drag_source_set ()</h3>
|
1194
1135
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_source_set (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1195
1136
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> start_button_mask</code></em>,
|
1196
|
-
<em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
1137
|
+
<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>,
|
1197
1138
|
<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>,
|
1198
1139
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
|
1199
1140
|
<p>
|
@@ -1210,13 +1151,12 @@ clicks and drags on the widget. The widget must have a window.
|
|
1210
1151
|
</tr>
|
1211
1152
|
<tr>
|
1212
1153
|
<td><p><span class="term"><em class="parameter"><code>start_button_mask</code></em> :</span></p></td>
|
1213
|
-
<td>the bitmask of buttons that can start the drag
|
1214
|
-
</td>
|
1154
|
+
<td>the bitmask of buttons that can start the drag</td>
|
1215
1155
|
</tr>
|
1216
1156
|
<tr>
|
1217
1157
|
<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
|
1218
|
-
<td>
|
1219
|
-
|
1158
|
+
<td>the table of targets that the drag will support,
|
1159
|
+
may be <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>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_targets]</span>
|
1220
1160
|
</td>
|
1221
1161
|
</tr>
|
1222
1162
|
<tr>
|
@@ -1226,14 +1166,13 @@ clicks and drags on the widget. The widget must have a window.
|
|
1226
1166
|
</tr>
|
1227
1167
|
<tr>
|
1228
1168
|
<td><p><span class="term"><em class="parameter"><code>actions</code></em> :</span></p></td>
|
1229
|
-
<td>the bitmask of possible actions for a drag from this widget
|
1230
|
-
</td>
|
1169
|
+
<td>the bitmask of possible actions for a drag from this widget</td>
|
1231
1170
|
</tr>
|
1232
1171
|
</tbody>
|
1233
1172
|
</table></div>
|
1234
1173
|
</div>
|
1235
1174
|
<hr>
|
1236
|
-
<div class="refsect2"
|
1175
|
+
<div class="refsect2">
|
1237
1176
|
<a name="gtk-drag-source-set-icon"></a><h3>gtk_drag_source_set_icon ()</h3>
|
1238
1177
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_source_set_icon (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1239
1178
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
@@ -1255,24 +1194,22 @@ Use <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-source-set-icon-pixbuf
|
|
1255
1194
|
</tr>
|
1256
1195
|
<tr>
|
1257
1196
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
1258
|
-
<td>the colormap of the icon
|
1259
|
-
</td>
|
1197
|
+
<td>the colormap of the icon</td>
|
1260
1198
|
</tr>
|
1261
1199
|
<tr>
|
1262
1200
|
<td><p><span class="term"><em class="parameter"><code>pixmap</code></em> :</span></p></td>
|
1263
|
-
<td>the image data for the icon
|
1264
|
-
</td>
|
1201
|
+
<td>the image data for the icon</td>
|
1265
1202
|
</tr>
|
1266
1203
|
<tr>
|
1267
1204
|
<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
|
1268
|
-
<td>
|
1205
|
+
<td>the transparency mask for an image. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1269
1206
|
</td>
|
1270
1207
|
</tr>
|
1271
1208
|
</tbody>
|
1272
1209
|
</table></div>
|
1273
1210
|
</div>
|
1274
1211
|
<hr>
|
1275
|
-
<div class="refsect2"
|
1212
|
+
<div class="refsect2">
|
1276
1213
|
<a name="gtk-drag-source-set-icon-pixbuf"></a><h3>gtk_drag_source_set_icon_pixbuf ()</h3>
|
1277
1214
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_source_set_icon_pixbuf (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1278
1215
|
<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>
|
@@ -1291,14 +1228,13 @@ release it when it is no longer needed.
|
|
1291
1228
|
</tr>
|
1292
1229
|
<tr>
|
1293
1230
|
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
|
1294
|
-
<td>the <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> for the drag icon
|
1295
|
-
</td>
|
1231
|
+
<td>the <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> for the drag icon</td>
|
1296
1232
|
</tr>
|
1297
1233
|
</tbody>
|
1298
1234
|
</table></div>
|
1299
1235
|
</div>
|
1300
1236
|
<hr>
|
1301
|
-
<div class="refsect2"
|
1237
|
+
<div class="refsect2">
|
1302
1238
|
<a name="gtk-drag-source-set-icon-stock"></a><h3>gtk_drag_source_set_icon_stock ()</h3>
|
1303
1239
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_source_set_icon_stock (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1304
1240
|
<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> *stock_id</code></em>);</pre>
|
@@ -1316,14 +1252,13 @@ to a stock icon.
|
|
1316
1252
|
</tr>
|
1317
1253
|
<tr>
|
1318
1254
|
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
|
1319
|
-
<td>the ID of the stock icon to use
|
1320
|
-
</td>
|
1255
|
+
<td>the ID of the stock icon to use</td>
|
1321
1256
|
</tr>
|
1322
1257
|
</tbody>
|
1323
1258
|
</table></div>
|
1324
1259
|
</div>
|
1325
1260
|
<hr>
|
1326
|
-
<div class="refsect2"
|
1261
|
+
<div class="refsect2">
|
1327
1262
|
<a name="gtk-drag-source-set-icon-name"></a><h3>gtk_drag_source_set_icon_name ()</h3>
|
1328
1263
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_source_set_icon_name (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1329
1264
|
<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> *icon_name</code></em>);</pre>
|
@@ -1341,15 +1276,14 @@ to a themed icon. See the docs for <a class="link" href="GtkIconTheme.html" titl
|
|
1341
1276
|
</tr>
|
1342
1277
|
<tr>
|
1343
1278
|
<td><p><span class="term"><em class="parameter"><code>icon_name</code></em> :</span></p></td>
|
1344
|
-
<td>name of icon to use
|
1345
|
-
</td>
|
1279
|
+
<td>name of icon to use</td>
|
1346
1280
|
</tr>
|
1347
1281
|
</tbody>
|
1348
1282
|
</table></div>
|
1349
1283
|
<p class="since">Since 2.8</p>
|
1350
1284
|
</div>
|
1351
1285
|
<hr>
|
1352
|
-
<div class="refsect2"
|
1286
|
+
<div class="refsect2">
|
1353
1287
|
<a name="gtk-drag-source-unset"></a><h3>gtk_drag_source_unset ()</h3>
|
1354
1288
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_source_unset (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
1355
1289
|
<p>
|
@@ -1365,10 +1299,10 @@ Undoes the effects of <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-sour
|
|
1365
1299
|
</table></div>
|
1366
1300
|
</div>
|
1367
1301
|
<hr>
|
1368
|
-
<div class="refsect2"
|
1302
|
+
<div class="refsect2">
|
1369
1303
|
<a name="gtk-drag-source-set-target-list"></a><h3>gtk_drag_source_set_target_list ()</h3>
|
1370
1304
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_source_set_target_list (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1371
|
-
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"
|
1305
|
+
<em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *target_list</code></em>);</pre>
|
1372
1306
|
<p>
|
1373
1307
|
Changes the target types that this widget offers for drag-and-drop.
|
1374
1308
|
The widget must first be made into a drag source with
|
@@ -1379,12 +1313,11 @@ The widget must first be made into a drag source with
|
|
1379
1313
|
<tbody>
|
1380
1314
|
<tr>
|
1381
1315
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
1382
|
-
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's a drag source
|
1383
|
-
</td>
|
1316
|
+
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's a drag source</td>
|
1384
1317
|
</tr>
|
1385
1318
|
<tr>
|
1386
1319
|
<td><p><span class="term"><em class="parameter"><code>target_list</code></em> :</span></p></td>
|
1387
|
-
<td>
|
1320
|
+
<td>list of draggable targets, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for none. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1388
1321
|
</td>
|
1389
1322
|
</tr>
|
1390
1323
|
</tbody>
|
@@ -1392,9 +1325,9 @@ The widget must first be made into a drag source with
|
|
1392
1325
|
<p class="since">Since 2.4</p>
|
1393
1326
|
</div>
|
1394
1327
|
<hr>
|
1395
|
-
<div class="refsect2"
|
1328
|
+
<div class="refsect2">
|
1396
1329
|
<a name="gtk-drag-source-get-target-list"></a><h3>gtk_drag_source_get_target_list ()</h3>
|
1397
|
-
<pre class="programlisting"><a class="link" href="gtk-Selections.html#GtkTargetList"
|
1330
|
+
<pre class="programlisting"><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="returnvalue">GtkTargetList</span></a> * gtk_drag_source_get_target_list (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
1398
1331
|
<p>
|
1399
1332
|
Gets the list of targets this widget can provide for
|
1400
1333
|
drag-and-drop.
|
@@ -1409,8 +1342,7 @@ drag-and-drop.
|
|
1409
1342
|
</tr>
|
1410
1343
|
<tr>
|
1411
1344
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1412
|
-
<td>
|
1413
|
-
|
1345
|
+
<td>the <a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1414
1346
|
</td>
|
1415
1347
|
</tr>
|
1416
1348
|
</tbody>
|
@@ -1418,7 +1350,7 @@ drag-and-drop.
|
|
1418
1350
|
<p class="since">Since 2.4</p>
|
1419
1351
|
</div>
|
1420
1352
|
<hr>
|
1421
|
-
<div class="refsect2"
|
1353
|
+
<div class="refsect2">
|
1422
1354
|
<a name="gtk-drag-source-add-text-targets"></a><h3>gtk_drag_source_add_text_targets ()</h3>
|
1423
1355
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_source_add_text_targets (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
1424
1356
|
<p>
|
@@ -1432,14 +1364,13 @@ use <a class="link" href="gtk-Selections.html#gtk-target-list-add-text-targets"
|
|
1432
1364
|
<col align="left" valign="top">
|
1433
1365
|
<tbody><tr>
|
1434
1366
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
1435
|
-
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's is a drag source
|
1436
|
-
</td>
|
1367
|
+
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's is a drag source</td>
|
1437
1368
|
</tr></tbody>
|
1438
1369
|
</table></div>
|
1439
1370
|
<p class="since">Since 2.6</p>
|
1440
1371
|
</div>
|
1441
1372
|
<hr>
|
1442
|
-
<div class="refsect2"
|
1373
|
+
<div class="refsect2">
|
1443
1374
|
<a name="gtk-drag-source-add-image-targets"></a><h3>gtk_drag_source_add_image_targets ()</h3>
|
1444
1375
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_source_add_image_targets (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
1445
1376
|
<p>
|
@@ -1453,14 +1384,13 @@ use <a class="link" href="gtk-Selections.html#gtk-target-list-add-image-targets"
|
|
1453
1384
|
<col align="left" valign="top">
|
1454
1385
|
<tbody><tr>
|
1455
1386
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
1456
|
-
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's is a drag source
|
1457
|
-
</td>
|
1387
|
+
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's is a drag source</td>
|
1458
1388
|
</tr></tbody>
|
1459
1389
|
</table></div>
|
1460
1390
|
<p class="since">Since 2.6</p>
|
1461
1391
|
</div>
|
1462
1392
|
<hr>
|
1463
|
-
<div class="refsect2"
|
1393
|
+
<div class="refsect2">
|
1464
1394
|
<a name="gtk-drag-source-add-uri-targets"></a><h3>gtk_drag_source_add_uri_targets ()</h3>
|
1465
1395
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_drag_source_add_uri_targets (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
1466
1396
|
<p>
|
@@ -1474,8 +1404,7 @@ use <a class="link" href="gtk-Selections.html#gtk-target-list-add-uri-targets" t
|
|
1474
1404
|
<col align="left" valign="top">
|
1475
1405
|
<tbody><tr>
|
1476
1406
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
1477
|
-
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's is a drag source
|
1478
|
-
</td>
|
1407
|
+
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that's is a drag source</td>
|
1479
1408
|
</tr></tbody>
|
1480
1409
|
</table></div>
|
1481
1410
|
<p class="since">Since 2.6</p>
|
@@ -1484,6 +1413,6 @@ use <a class="link" href="gtk-Selections.html#gtk-target-list-add-uri-targets" t
|
|
1484
1413
|
</div>
|
1485
1414
|
<div class="footer">
|
1486
1415
|
<hr>
|
1487
|
-
Generated by GTK-Doc V1.
|
1416
|
+
Generated by GTK-Doc V1.16.1</div>
|
1488
1417
|
</body>
|
1489
1418
|
</html>
|