gdk3 2.1.0-x86-mingw32 → 2.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -1
- data/ext/gdk3/rbgdkcursor.c +5 -12
- data/ext/gdk3/rbgdkdevicemanager.c +2 -2
- data/ext/gdk3/rbgdkdisplay.c +7 -0
- data/ext/gdk3/rbgdkevent.c +8 -9
- data/ext/gdk3/rbgdkwindow.c +7 -0
- data/lib/1.9/gdk3.so +0 -0
- data/lib/2.0/gdk3.so +0 -0
- data/lib/2.1/gdk3.so +0 -0
- data/test/test-gdk-event.rb +126 -20
- data/vendor/local/bin/gtk-launch.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-3.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/gtk3-demo-application.exe +0 -0
- data/vendor/local/bin/gtk3-demo.exe +0 -0
- data/vendor/local/bin/gtk3-widget-factory.exe +0 -0
- data/vendor/local/bin/libgailutil-3-0.dll +0 -0
- data/vendor/local/bin/libgdk-3-0.dll +0 -0
- data/vendor/local/bin/libgtk-3-0.dll +0 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkversionmacros.h +1 -1
- data/vendor/local/include/gtk-3.0/gtk/gtkversion.h +3 -3
- data/vendor/local/lib/girepository-1.0/Gtk-3.0.typelib +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules.cache +1 -34
- data/vendor/local/lib/libgailutil-3.dll.a +0 -0
- data/vendor/local/lib/libgdk-3.dll.a +0 -0
- data/vendor/local/lib/libgdk-3.la +1 -1
- data/vendor/local/lib/libgtk-3.dll.a +0 -0
- data/vendor/local/lib/libgtk-3.la +2 -2
- data/vendor/local/lib/pkgconfig/gail-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-3.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Gtk-3.0.gir +5 -4
- data/vendor/local/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml +36 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDevice.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDeviceManager.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplay.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplayManager.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk3/GdkScreen.html +11 -11
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-full.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Application-launching.html +9 -9
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cursors.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Drag-and-Drop.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Events.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-GdkFrameClock.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-General.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Keyboard-Handling.html +9 -9
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pango-Interaction.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Threads.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Visuals.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Wayland-Interaction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Windows.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-X-Window-System-Interaction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAboutDialog.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccelLabel.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccessible.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAction.html +81 -81
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActionGroup.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActionable.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActivatable.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAdjustment.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAlignment.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooser.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserButton.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserDialog.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserWidget.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk3/GtkApplication.html +66 -66
- data/vendor/local/share/gtk-doc/html/gtk3/GtkApplicationWindow.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkArrow.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAspectFrame.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAssistant.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBin.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBox.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuildable.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuilder.html +45 -45
- data/vendor/local/share/gtk-doc/html/gtk3/GtkButton.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk3/GtkButtonBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCalendar.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellArea.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellAreaBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellAreaContext.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellEditable.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellLayout.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRenderer.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererAccel.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererCombo.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererPixbuf.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererProgress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererSpin.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererSpinner.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererText.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererToggle.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellView.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCheckButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCheckMenuItem.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorButton.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooser.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooserDialog.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooserWidget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelection.html +72 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelectionDialog.html +10 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBox.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBoxText.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkContainer.html +43 -43
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCssProvider.html +14 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDialog.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDrawingArea.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEditable.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntry.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntryBuffer.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntryCompletion.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEventBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkExpander.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooser.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserButton.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserDialog.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserWidget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileFilter.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFixed.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontButton.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooser.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooserDialog.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooserWidget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelection.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelectionDialog.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFrame.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGrid.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHButtonBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHSV.html +30 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHScale.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHScrollbar.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHandleBox.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHeaderBar.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContext.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContextSimple.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMMulticontext.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconTheme.html +49 -49
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconView.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImage.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImageMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInfoBar.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInvisible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLabel.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLayout.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLevelBar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLinkButton.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkListBox.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkListStore.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLockButton.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenu.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuBar.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuButton.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuItem.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuShell.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuToolButton.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMessageDialog.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMisc.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkNotebook.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkNumerableIcon.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOffscreenWindow.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOverlay.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPageSetup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPageSetupUnixDialog.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaned.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPlacesSidebar.html +45 -45
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintContext.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintJob.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintSettings.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintUnixDialog.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrinter.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkProgressBar.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioAction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioButton.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioMenuItem.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioToolButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRange.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooser.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserDialog.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserMenu.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserWidget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentFilter.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentManager.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRevealer.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScale.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScaleButton.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollbar.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrolledWindow.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchBar.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchEntry.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparatorMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparatorToolItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSettings.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSizeGroup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinButton.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinner.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStack.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStackSwitcher.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusIcon.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusbar.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyle.html +37 -21
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleContext.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleProvider.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSwitch.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTearoffMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextBuffer.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextMark.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTag.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTagTable.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextView.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk3/GtkThemingEngine.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleAction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleButton.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleToolButton.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolButton.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItem.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItemGroup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolPalette.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolbar.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTooltip.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModel.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModelFilter.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModelSort.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSelection.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSortable.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeStore.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeView.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeViewColumn.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkUIManager.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVButtonBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVScale.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVScrollbar.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkViewport.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVolumeButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWidget.html +188 -188
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindow.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindowGroup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/TreeWidget.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-deprecated.html +126 -2
- data/vendor/local/share/gtk-doc/html/gtk3/ch01s05.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk3/ch02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/ch24s02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/ch26s02.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-compiling.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-2-to-3.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parsing.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-smclient-GtkApplication.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-unique-GtkApplication.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-question-index.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Accelerator-Maps.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Bindings.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Clipboards.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Drag-and-Drop.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Feature-Test-Macros.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Filesystem-utilities.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-General.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkGradient.html +4 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkStyleProperties.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkWidgetPath.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html +43 -43
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Orientable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Resource-Files.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Selections.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Testing.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3.devhelp2 +31 -31
- data/vendor/local/share/gtk-doc/html/gtk3/index.html +1 -1
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/man/man1/broadwayd.1 +1 -1
- data/vendor/local/share/man/man1/gtk-launch.1 +1 -1
- data/vendor/local/share/man/man1/gtk-query-immodules-3.0.1 +1 -1
- data/vendor/local/share/man/man1/gtk-update-icon-cache.1 +1 -1
- metadata +6 -39
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-am-et.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-am-et.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-am-et.la +0 -41
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cedilla.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cedilla.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cedilla.la +0 -41
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.la +0 -41
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ime.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ime.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ime.la +0 -41
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-inuktitut.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-inuktitut.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-inuktitut.la +0 -41
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ipa.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ipa.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ipa.la +0 -41
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-multipress.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-multipress.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-multipress.la +0 -41
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-thai.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-thai.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-thai.la +0 -41
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-er.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-er.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-er.la +0 -41
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-et.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-et.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-et.la +0 -41
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-viqr.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-viqr.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-viqr.la +0 -41
@@ -23,8 +23,8 @@
|
|
23
23
|
<div class="titlepage"><div><div><h2 class="title">
|
24
24
|
<a name="id-1.3.2"></a>Object Hierarchy</h2></div></div></div>
|
25
25
|
<pre class="screen">
|
26
|
-
|
27
|
-
|
26
|
+
GObject
|
27
|
+
GInitiallyUnowned
|
28
28
|
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
29
29
|
<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
30
30
|
<a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
|
@@ -172,7 +172,7 @@
|
|
172
172
|
<a class="link" href="GtkRadioAction.html" title="GtkRadioAction">GtkRadioAction</a>
|
173
173
|
<a class="link" href="GtkRecentAction.html" title="GtkRecentAction">GtkRecentAction</a>
|
174
174
|
<a class="link" href="GtkActionGroup.html" title="GtkActionGroup">GtkActionGroup</a>
|
175
|
-
|
175
|
+
GApplication
|
176
176
|
<a class="link" href="GtkApplication.html" title="GtkApplication">GtkApplication</a>
|
177
177
|
<a class="link" href="GtkBuilder.html" title="GtkBuilder">GtkBuilder</a>
|
178
178
|
<a class="link" href="GtkCellAreaContext.html" title="GtkCellAreaContext">GtkCellAreaContext</a>
|
@@ -186,9 +186,9 @@
|
|
186
186
|
<a class="link" href="GtkIMContextSimple.html" title="GtkIMContextSimple">GtkIMContextSimple</a>
|
187
187
|
<a class="link" href="GtkIMMulticontext.html" title="GtkIMMulticontext">GtkIMMulticontext</a>
|
188
188
|
<a class="link" href="GtkListStore.html" title="GtkListStore">GtkListStore</a>
|
189
|
-
|
189
|
+
GMountOperation
|
190
190
|
<a class="link" href="gtk3-Filesystem-utilities.html#GtkMountOperation">GtkMountOperation</a>
|
191
|
-
|
191
|
+
GEmblemedIcon
|
192
192
|
<a class="link" href="GtkNumerableIcon.html" title="GtkNumerableIcon">GtkNumerableIcon</a>
|
193
193
|
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a>
|
194
194
|
<a class="link" href="GtkPrinter.html" title="GtkPrinter">GtkPrinter</a>
|
@@ -558,7 +558,7 @@
|
|
558
558
|
|
559
559
|
<span class="normal">cursor </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk3/gdk2-Cursors.html#gdk-cursor-new-from-pixmap">gdk_cursor_new_from_pixmap</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixmap</span><span class="symbol">,</span><span class="normal"> pixmap</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">fg</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">fg</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
560
560
|
|
561
|
-
<span class="function"
|
561
|
+
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixmap</span><span class="symbol">);</span></pre></td>
|
562
562
|
</tr>
|
563
563
|
</tbody>
|
564
564
|
</table>
|
@@ -611,7 +611,7 @@
|
|
611
611
|
|
612
612
|
<span class="normal">cursor </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gdk2/gdk3-Cursors.html#gdk-cursor-new-from-pixbuf">gdk_cursor_new_from_pixbuf</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">display</span><span class="symbol">,</span><span class="normal"> pixbuf</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
613
613
|
|
614
|
-
<span class="function"
|
614
|
+
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span></pre></td>
|
615
615
|
</tr>
|
616
616
|
</tbody>
|
617
617
|
</table>
|
@@ -1276,8 +1276,8 @@
|
|
1276
1276
|
GtkObject has been removed in GTK+ 3. Its remaining functionality,
|
1277
1277
|
the ::destroy signal, has been moved to GtkWidget. If you have non-widget
|
1278
1278
|
classes that are directly derived from GtkObject, you have to make
|
1279
|
-
them derive from <
|
1280
|
-
functionality, <
|
1279
|
+
them derive from <span class="type">GInitiallyUnowned</span> (or, if you don't need the floating
|
1280
|
+
functionality, <span class="type">GObject</span>). If you have widgets that override the
|
1281
1281
|
destroy class handler, you have to adjust your class_init function,
|
1282
1282
|
since destroy is now a member of GtkWidgetClass:
|
1283
1283
|
</p>
|
@@ -27,18 +27,18 @@
|
|
27
27
|
instance using <code class="function">unique_app_send_message()</code>. The commands can be either
|
28
28
|
predefined or custom. Some of the predefined libunique commands have
|
29
29
|
equivalents in GApplication. Instead of sending the <code class="literal">UNIQUE_ACTIVATE</code>
|
30
|
-
command, call <
|
31
|
-
<code class="literal">UNIQUE_OPEN</code> command, call <
|
30
|
+
command, call <code class="function">g_application_activate()</code>, instead of sending the
|
31
|
+
<code class="literal">UNIQUE_OPEN</code> command, call <code class="function">g_application_open()</code>. The
|
32
32
|
<code class="literal">UNIQUE_NEW</code> and <code class="literal">UNIQUE_CLOSE</code> and user-defined commands don't
|
33
33
|
have direct replacement at this time.
|
34
34
|
</p>
|
35
35
|
<p>
|
36
36
|
As a replacement for custom commands, GApplication implements the
|
37
|
-
<
|
38
|
-
<
|
39
|
-
either by using the D-Bus interface for <
|
40
|
-
calling <
|
41
|
-
the GApplication. The <
|
37
|
+
<span class="type">GActionGroup</span> interface and lets you add a group of actions with
|
38
|
+
<code class="function">g_application_set_action_group()</code>. The actions can then be invoked,
|
39
|
+
either by using the D-Bus interface for <span class="type">GAction</span> directly, or by
|
40
|
+
calling <code class="function">g_action_group_activate_action()</code> from another instance of
|
41
|
+
the GApplication. The <span class="type">GApplication</span> documentation contains an
|
42
42
|
example for using GApplication with actions.
|
43
43
|
</p>
|
44
44
|
<p>
|
@@ -67,7 +67,7 @@ Deprecated GTK+ functions are annotated to make the compiler
|
|
67
67
|
emit warnings when they are used (e.g. with gcc, you need to use
|
68
68
|
the -Wdeprecated-declarations option). If these warnings are
|
69
69
|
problematic, they can be turned off by defining the preprocessor
|
70
|
-
symbol <code class="literal">GDK_DISABLE_DEPRECATION_WARNINGS</code> by using the commandline
|
70
|
+
symbol <a href="http://developer.gnome.org/gdk2/gdk3-General.html#GDK-DISABLE-DEPRECATION-WARNINGS:CAPS"><code class="literal">GDK_DISABLE_DEPRECATION_WARNINGS</code></a> by using the commandline
|
71
71
|
option <code class="literal">-DGDK_DISABLE_DEPRECATION_WARNINGS</code>
|
72
72
|
</p>
|
73
73
|
<p>
|
@@ -283,7 +283,7 @@
|
|
283
283
|
<a class="link" href="gtk3-Filesystem-utilities.html#gtk-show-uri" title="gtk_show_uri ()"><code class="function">gtk_show_uri()</code></a>; as an added benefit, your application will henceforth
|
284
284
|
respect the users preference for what application to use.</li>
|
285
285
|
<li class="listitem">If you are launching a regular, installed application that
|
286
|
-
has a desktop file, it is best to use GIOs <
|
286
|
+
has a desktop file, it is best to use GIOs <span class="type">GAppInfo</span> with a suitable
|
287
287
|
launch context.
|
288
288
|
<div class="informalexample">
|
289
289
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -309,9 +309,9 @@
|
|
309
309
|
<span class="usertype">GAppLaunchContext</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">context</span><span class="symbol">;</span>
|
310
310
|
<span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
311
311
|
|
312
|
-
<span class="normal">info </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"
|
313
|
-
<span class="normal">context </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"
|
314
|
-
<span class="function"
|
312
|
+
<span class="normal">info </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">GAppInfo</span><span class="symbol">*)</span><span class="normal"> </span><span class="function">g_desktop_app_info_new</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"epiphany.desktop"</span><span class="symbol">);</span>
|
313
|
+
<span class="normal">context </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">GAppLaunchContext</span><span class="symbol">*)</span><span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gdk2/GdkDisplay.html#gdk-display-get-app-launch-context">gdk_display_get_app_launch_context</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">display</span><span class="symbol">);</span>
|
314
|
+
<span class="function">g_app_info_launch</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">info</span><span class="symbol">,</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> context</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span>
|
315
315
|
|
316
316
|
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">)</span>
|
317
317
|
<span class="normal"> </span><span class="cbracket">{</span>
|
@@ -319,8 +319,8 @@
|
|
319
319
|
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-error-free">g_error_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
|
320
320
|
<span class="normal"> </span><span class="cbracket">}</span>
|
321
321
|
|
322
|
-
<span class="function"
|
323
|
-
<span class="function"
|
322
|
+
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">info</span><span class="symbol">);</span>
|
323
|
+
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">);</span></pre></td>
|
324
324
|
</tr>
|
325
325
|
</tbody>
|
326
326
|
</table>
|
@@ -329,11 +329,11 @@
|
|
329
329
|
Remember that you have to include
|
330
330
|
<code class="filename">gio/gdesktopappinfo.h</code>
|
331
331
|
and use the <code class="filename">gio-unix-2.0</code> pkg-config file
|
332
|
-
when using <
|
332
|
+
when using <code class="function">g_desktop_app_info_new()</code>.
|
333
333
|
</li>
|
334
334
|
<li class="listitem">If you are launching a custom commandline, you can
|
335
|
-
still use <
|
336
|
-
with <
|
335
|
+
still use <code class="function">g_app_info_launch()</code> with a GAppInfo that is constructed
|
336
|
+
with <code class="function">g_app_info_create_from_commandline()</code>, or you can use the
|
337
337
|
more lowlevel <code class="literal">g_spawn</code> family of functions
|
338
338
|
(e.g. <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html#g-spawn-command-line-async"><code class="function">g_spawn_command_line_async()</code></a>), and pass <code class="envar">DISPLAY</code>
|
339
339
|
in the environment. <a href="http://developer.gnome.org/gdk2/GdkScreen.html#gdk-screen-make-display-name"><code class="function">gdk_screen_make_display_name()</code></a> can be
|
@@ -62,7 +62,7 @@
|
|
62
62
|
<span class="function"><a href="GtkStyleContext.html#gtk-style-context-add-provider">gtk_style_context_add_provider</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span>
|
63
63
|
<span class="normal"> </span><span class="function">GTK_STYLE_PROVIDER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">provider</span><span class="symbol">),</span>
|
64
64
|
<span class="normal"> <a href="GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-APPLICATION:CAPS">GTK_STYLE_PROVIDER_PRIORITY_APPLICATION</a></span><span class="symbol">);</span>
|
65
|
-
<span class="function"
|
65
|
+
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">provider</span><span class="symbol">);</span></pre></td>
|
66
66
|
</tr>
|
67
67
|
</tbody>
|
68
68
|
</table>
|
@@ -58,7 +58,7 @@
|
|
58
58
|
</tr>
|
59
59
|
<tr>
|
60
60
|
<td>EggSMClient::quit</td>
|
61
|
-
<td>the <
|
61
|
+
<td>the <span class="type">"shutdown"</span> signal</td>
|
62
62
|
</tr>
|
63
63
|
<tr>
|
64
64
|
<td>EggSMClient::quit-cancelled</td>
|
@@ -78,7 +78,7 @@
|
|
78
78
|
<br class="table-break"><p>
|
79
79
|
At this point, GtkApplication has no special support for state saving
|
80
80
|
and restarting. Applications can use GSettings or GKeyFile and save as
|
81
|
-
much state as they see fit in response to <
|
81
|
+
much state as they see fit in response to <span class="type">"shutdown"</span> or
|
82
82
|
whenever they consider appropriate.
|
83
83
|
</p>
|
84
84
|
</div>
|
@@ -33,7 +33,7 @@
|
|
33
33
|
</p>
|
34
34
|
<p>
|
35
35
|
Starting with GLib 2.26, D-Bus support has been integrated into GIO
|
36
|
-
in the form of GDBus, and <
|
36
|
+
in the form of GDBus, and <span class="type">GApplication</span> has been added to provide
|
37
37
|
the same level of application support as libunique.
|
38
38
|
</p>
|
39
39
|
<div class="example">
|
@@ -92,7 +92,7 @@
|
|
92
92
|
<span class="normal"> </span><span class="usertype">UniqueResponse</span><span class="normal"> response</span><span class="symbol">;</span>
|
93
93
|
|
94
94
|
<span class="normal"> response </span><span class="symbol">=</span><span class="normal"> </span><span class="function">unique_app_send_message</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> UNIQUE_ACTIVATE</span><span class="symbol">,</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
95
|
-
<span class="normal"> </span><span class="function"
|
95
|
+
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span>
|
96
96
|
|
97
97
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> response </span><span class="symbol">==</span><span class="normal"> UNIQUE_RESPONSE_OK </span><span class="symbol">?</span><span class="normal"> </span><span class="number">0</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="number">1</span><span class="symbol">;</span>
|
98
98
|
<span class="normal"> </span><span class="cbracket">}</span>
|
@@ -105,7 +105,7 @@
|
|
105
105
|
|
106
106
|
<span class="normal"> </span><span class="function"><a href="gtk3-General.html#gtk-main">gtk_main</a></span><span class="normal"> </span><span class="symbol">();</span>
|
107
107
|
|
108
|
-
<span class="normal"> </span><span class="function"
|
108
|
+
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span>
|
109
109
|
|
110
110
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
111
111
|
<span class="cbracket">}</span></pre></td>
|
@@ -183,11 +183,11 @@ The same application using GtkApplication:
|
|
183
183
|
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> status</span><span class="symbol">;</span>
|
184
184
|
|
185
185
|
<span class="normal"> app </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkApplication.html#gtk-application-new">gtk_application_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"org.gtk.TestApplication"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
186
|
-
<span class="normal"> </span><span class="function"
|
186
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"activate"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">activate</span><span class="symbol">),</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
187
187
|
|
188
|
-
<span class="normal"> status </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
188
|
+
<span class="normal"> status </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_application_run</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_APPLICATION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">),</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> argv</span><span class="symbol">);</span>
|
189
189
|
|
190
|
-
<span class="normal"> </span><span class="function"
|
190
|
+
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span>
|
191
191
|
|
192
192
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> status</span><span class="symbol">;</span>
|
193
193
|
<span class="cbracket">}</span></pre></td>
|
@@ -205,19 +205,19 @@ The same application using GtkApplication:
|
|
205
205
|
<a name="id-1.6.5.5"></a>Uniqueness</h2></div></div></div>
|
206
206
|
<p>
|
207
207
|
Instead of creating a <span class="type">UniqueApp</span> with <code class="function">unique_app_new()</code>, create
|
208
|
-
a <
|
208
|
+
a <span class="type">GApplication</span> with <code class="function">g_application_new()</code> or a <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a>
|
209
209
|
with <a class="link" href="GtkApplication.html#gtk-application-new" title="gtk_application_new ()"><code class="function">gtk_application_new()</code></a>. The <em class="parameter"><code>name</code></em> that was used with
|
210
210
|
<code class="function">unique_app_new()</code> is very likely usable as the <em class="parameter"><code>application_id</code></em> for
|
211
|
-
<
|
211
|
+
<code class="function">g_application_new()</code> without any changes, and GtkApplication passes
|
212
212
|
the <code class="envar">DESKTOP_STARTUP_ID</code> environment variable
|
213
213
|
automatically.
|
214
214
|
</p>
|
215
215
|
<p>
|
216
216
|
While libunique expects you to check for an already running instance
|
217
217
|
yourself and activate it manually, GApplication handles all this on
|
218
|
-
its own in <
|
218
|
+
its own in <code class="function">g_application_run()</code>. If you still need to find out if there
|
219
219
|
is a running instance of your application, use
|
220
|
-
<
|
220
|
+
<code class="function">g_application_get_is_remote()</code> instead of <code class="function">unique_app_is_running()</code>.
|
221
221
|
</p>
|
222
222
|
</div>
|
223
223
|
</div>
|
@@ -116,9 +116,9 @@ from functions?
|
|
116
116
|
<td align="left" valign="top"></td>
|
117
117
|
<td align="left" valign="top">
|
118
118
|
<p>
|
119
|
-
See the documentation for <
|
120
|
-
specifically <
|
121
|
-
subclass of <
|
119
|
+
See the documentation for <span class="type">GObject</span> and <span class="type">GInitiallyUnowned</span>. For <span class="type">GObject</span> note
|
120
|
+
specifically <code class="function">g_object_ref()</code> and <code class="function">g_object_unref()</code>. <span class="type">GInitiallyUnowned</span> is a
|
121
|
+
subclass of <span class="type">GObject</span> so the same points apply, except that it has a "floating"
|
122
122
|
state (explained in its documentation).
|
123
123
|
</p>
|
124
124
|
<p>
|
@@ -175,7 +175,7 @@ creating it:
|
|
175
175
|
<td class="listing_lines" align="right"><pre>1
|
176
176
|
2</pre></td>
|
177
177
|
<td class="listing_code"><pre class="programlisting"><span class="normal">foo </span><span class="symbol">=</span><span class="normal"> </span><span class="function">gtk_foo_new</span><span class="normal"> </span><span class="symbol">();</span>
|
178
|
-
<span class="function"
|
178
|
+
<span class="function">g_object_ref_sink</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span></pre></td>
|
179
179
|
</tr>
|
180
180
|
</tbody>
|
181
181
|
</table>
|
@@ -193,7 +193,7 @@ reference:
|
|
193
193
|
<td class="listing_lines" align="right"><pre>1
|
194
194
|
2</pre></td>
|
195
195
|
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="GtkWidget.html#gtk-widget-destroy">gtk_widget_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span>
|
196
|
-
<span class="function"
|
196
|
+
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span></pre></td>
|
197
197
|
</tr>
|
198
198
|
</tbody>
|
199
199
|
</table>
|
@@ -645,7 +645,7 @@ To draw a piece of text, use a Pango layout and <a href="/home/mclasen/gnome/sha
|
|
645
645
|
<span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-set-font-description">pango_layout_set_font_description</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> fontdesc</span><span class="symbol">);</span>
|
646
646
|
<span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Cairo-Rendering.html#pango-cairo-show-layout">pango_cairo_show_layout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> layout</span><span class="symbol">);</span>
|
647
647
|
<span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-free">pango_font_description_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">fontdesc</span><span class="symbol">);</span>
|
648
|
-
<span class="function"
|
648
|
+
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span></pre></td>
|
649
649
|
</tr>
|
650
650
|
</tbody>
|
651
651
|
</table>
|
@@ -690,7 +690,7 @@ To obtain the size of a piece of text, use a Pango layout and
|
|
690
690
|
<span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-set-font-description">pango_layout_set_font_description</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> fontdesc</span><span class="symbol">);</span>
|
691
691
|
<span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-get-pixel-size">pango_layout_get_pixel_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">height</span><span class="symbol">);</span>
|
692
692
|
<span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-free">pango_font_description_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">fontdesc</span><span class="symbol">);</span>
|
693
|
-
<span class="function"
|
693
|
+
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span></pre></td>
|
694
694
|
</tr>
|
695
695
|
</tbody>
|
696
696
|
</table>
|
@@ -1251,7 +1251,7 @@ The following example demonstrates this:
|
|
1251
1251
|
<span class="normal"> </span><span class="function"><a href="GtkTreeModel.html#gtk-tree-model-get">gtk_tree_model_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tree_model</span><span class="symbol">,</span><span class="normal"> iter</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a></span><span class="symbol">)</span><span class="normal">data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">d</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
|
1252
1252
|
<span class="normal"> </span><span class="comment">/* Now we can format the value ourselves. */</span>
|
1253
1253
|
<span class="normal"> text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strdup-printf">g_strdup_printf</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"%.2f"</span><span class="symbol">,</span><span class="normal"> d</span><span class="symbol">);</span>
|
1254
|
-
<span class="normal"> </span><span class="function"
|
1254
|
+
<span class="normal"> </span><span class="function">g_object_set</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cell</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"text"</span><span class="symbol">,</span><span class="normal"> text</span><span class="symbol">,</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
1255
1255
|
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span>
|
1256
1256
|
<span class="cbracket">}</span>
|
1257
1257
|
|
@@ -1263,7 +1263,7 @@ The following example demonstrates this:
|
|
1263
1263
|
<span class="normal"> </span><span class="usertype">GtkListStore</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">mycolumns</span><span class="symbol">;</span>
|
1264
1264
|
|
1265
1265
|
<span class="normal"> </span><span class="comment">/* Create the data model and associate it with the given TreeView */</span>
|
1266
|
-
<span class="normal"> mycolumns </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-new">gtk_list_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">N_COLUMNS</span><span class="symbol">,</span><span class="normal">
|
1266
|
+
<span class="normal"> mycolumns </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-new">gtk_list_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">N_COLUMNS</span><span class="symbol">,</span><span class="normal"> G_TYPE_DOUBLE</span><span class="symbol">);</span>
|
1267
1267
|
<span class="normal"> </span><span class="function"><a href="GtkTreeView.html#gtk-tree-view-set-model">gtk_tree_view_set_model</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">myview</span><span class="symbol">,</span><span class="normal"> </span><span class="function">GTK_TREE_MODEL</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mycolumns</span><span class="symbol">));</span>
|
1268
1268
|
|
1269
1269
|
<span class="normal"> </span><span class="comment">/* Create a GtkCellRendererText */</span>
|
@@ -74,14 +74,14 @@
|
|
74
74
|
<div class="refsect1">
|
75
75
|
<a name="gtk3-Accelerator-Maps.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
76
76
|
<pre class="synopsis">
|
77
|
-
|
77
|
+
GObject
|
78
78
|
+----GtkAccelMap
|
79
79
|
</pre>
|
80
80
|
</div>
|
81
81
|
<div class="refsect1">
|
82
82
|
<a name="gtk3-Accelerator-Maps.signals"></a><h2>Signals</h2>
|
83
83
|
<pre class="synopsis">
|
84
|
-
"<a class="link" href="gtk3-Accelerator-Maps.html#GtkAccelMap-changed" title='The "changed" signal'>changed</a>" : <
|
84
|
+
"<a class="link" href="gtk3-Accelerator-Maps.html#GtkAccelMap-changed" title='The "changed" signal'>changed</a>" : <code class="literal">Has Details</code>
|
85
85
|
</pre>
|
86
86
|
</div>
|
87
87
|
<div class="refsect1">
|
@@ -621,7 +621,7 @@ Refer to <a class="link" href="gtk3-Accelerator-Maps.html#gtk-accel-map-lock-pat
|
|
621
621
|
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *accel_path,
|
622
622
|
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> accel_key,
|
623
623
|
<a href="http://developer.gnome.org/gdk2/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> accel_mods,
|
624
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <
|
624
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <code class="literal">Has Details</code></pre>
|
625
625
|
<p>
|
626
626
|
Notifies of a change in the global accelerator map.
|
627
627
|
The path is also used as the detail for the signal,
|
@@ -49,15 +49,15 @@ struct <a class="link" href="gtk3-Bindings.html#GtkBindingArg" titl
|
|
49
49
|
<a class="link" href="gtk3-Bindings.html#GtkBindingSet" title="struct GtkBindingSet"><span class="returnvalue">GtkBindingSet</span></a> * <a class="link" href="gtk3-Bindings.html#gtk-binding-set-new" title="gtk_binding_set_new ()">gtk_binding_set_new</a> (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *set_name</code></em>);
|
50
50
|
<a class="link" href="gtk3-Bindings.html#GtkBindingSet" title="struct GtkBindingSet"><span class="returnvalue">GtkBindingSet</span></a> * <a class="link" href="gtk3-Bindings.html#gtk-binding-set-by-class" title="gtk_binding_set_by_class ()">gtk_binding_set_by_class</a> (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object_class</code></em>);
|
51
51
|
<a class="link" href="gtk3-Bindings.html#GtkBindingSet" title="struct GtkBindingSet"><span class="returnvalue">GtkBindingSet</span></a> * <a class="link" href="gtk3-Bindings.html#gtk-binding-set-find" title="gtk_binding_set_find ()">gtk_binding_set_find</a> (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *set_name</code></em>);
|
52
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk3-Bindings.html#gtk-bindings-activate" title="gtk_bindings_activate ()">gtk_bindings_activate</a> (<em class="parameter"><code><
|
52
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk3-Bindings.html#gtk-bindings-activate" title="gtk_bindings_activate ()">gtk_bindings_activate</a> (<em class="parameter"><code><span class="type">GObject</span> *object</code></em>,
|
53
53
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>,
|
54
54
|
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>);
|
55
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk3-Bindings.html#gtk-bindings-activate-event" title="gtk_bindings_activate_event ()">gtk_bindings_activate_event</a> (<em class="parameter"><code><
|
55
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk3-Bindings.html#gtk-bindings-activate-event" title="gtk_bindings_activate_event ()">gtk_bindings_activate_event</a> (<em class="parameter"><code><span class="type">GObject</span> *object</code></em>,
|
56
56
|
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>);
|
57
57
|
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk3-Bindings.html#gtk-binding-set-activate" title="gtk_binding_set_activate ()">gtk_binding_set_activate</a> (<em class="parameter"><code><a class="link" href="gtk3-Bindings.html#GtkBindingSet" title="struct GtkBindingSet"><span class="type">GtkBindingSet</span></a> *binding_set</code></em>,
|
58
58
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>,
|
59
59
|
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>,
|
60
|
-
<em class="parameter"><code><
|
60
|
+
<em class="parameter"><code><span class="type">GObject</span> *object</code></em>);
|
61
61
|
<span class="returnvalue">void</span> <a class="link" href="gtk3-Bindings.html#gtk-binding-entry-add-signal" title="gtk_binding_entry_add_signal ()">gtk_binding_entry_add_signal</a> (<em class="parameter"><code><a class="link" href="gtk3-Bindings.html#GtkBindingSet" title="struct GtkBindingSet"><span class="type">GtkBindingSet</span></a> *binding_set</code></em>,
|
62
62
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>,
|
63
63
|
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>,
|
@@ -428,7 +428,7 @@ stored in <a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="stru
|
|
428
428
|
<col>
|
429
429
|
</colgroup>
|
430
430
|
<tbody><tr>
|
431
|
-
<td><p><span class="term"><
|
431
|
+
<td><p><span class="term"><span class="type">GType</span> <em class="structfield"><code><a name="GtkBindingArg.arg-type"></a>arg_type</code></em>;</span></p></td>
|
432
432
|
<td>implementation detail</td>
|
433
433
|
</tr></tbody>
|
434
434
|
</table></div>
|
@@ -518,7 +518,7 @@ demand by this function.
|
|
518
518
|
<tbody>
|
519
519
|
<tr>
|
520
520
|
<td><p><span class="term"><em class="parameter"><code>object_class</code></em> :</span></p></td>
|
521
|
-
<td>a valid <
|
521
|
+
<td>a valid <span class="type">GObject</span> class</td>
|
522
522
|
</tr>
|
523
523
|
<tr>
|
524
524
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -562,7 +562,7 @@ or the type name of a class used in <a class="link" href="gtk3-Bindings.html#gtk
|
|
562
562
|
<hr>
|
563
563
|
<div class="refsect2">
|
564
564
|
<a name="gtk-bindings-activate"></a><h3>gtk_bindings_activate ()</h3>
|
565
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_bindings_activate (<em class="parameter"><code><
|
565
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_bindings_activate (<em class="parameter"><code><span class="type">GObject</span> *object</code></em>,
|
566
566
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>,
|
567
567
|
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>);</pre>
|
568
568
|
<p>
|
@@ -598,7 +598,7 @@ binding on <em class="parameter"><code>object</code></em>.
|
|
598
598
|
<hr>
|
599
599
|
<div class="refsect2">
|
600
600
|
<a name="gtk-bindings-activate-event"></a><h3>gtk_bindings_activate_event ()</h3>
|
601
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_bindings_activate_event (<em class="parameter"><code><
|
601
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_bindings_activate_event (<em class="parameter"><code><span class="type">GObject</span> *object</code></em>,
|
602
602
|
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>);</pre>
|
603
603
|
<p>
|
604
604
|
Looks up key bindings for <em class="parameter"><code>object</code></em> to find one matching
|
@@ -612,7 +612,7 @@ Looks up key bindings for <em class="parameter"><code>object</code></em> to find
|
|
612
612
|
<tbody>
|
613
613
|
<tr>
|
614
614
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
615
|
-
<td>a <
|
615
|
+
<td>a <span class="type">GObject</span> (generally must be a widget)</td>
|
616
616
|
</tr>
|
617
617
|
<tr>
|
618
618
|
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
@@ -634,7 +634,7 @@ Looks up key bindings for <em class="parameter"><code>object</code></em> to find
|
|
634
634
|
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_binding_set_activate (<em class="parameter"><code><a class="link" href="gtk3-Bindings.html#GtkBindingSet" title="struct GtkBindingSet"><span class="type">GtkBindingSet</span></a> *binding_set</code></em>,
|
635
635
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>,
|
636
636
|
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>,
|
637
|
-
<em class="parameter"><code><
|
637
|
+
<em class="parameter"><code><span class="type">GObject</span> *object</code></em>);</pre>
|
638
638
|
<p>
|
639
639
|
Find a key binding matching <em class="parameter"><code>keyval</code></em> and <em class="parameter"><code>modifiers</code></em> within
|
640
640
|
<em class="parameter"><code>binding_set</code></em> and activate the binding on <em class="parameter"><code>object</code></em>.
|
@@ -84,8 +84,8 @@
|
|
84
84
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_targets</code></em>,
|
85
85
|
<em class="parameter"><code><a class="link" href="gtk3-Clipboards.html#GtkClipboardGetFunc" title="GtkClipboardGetFunc ()"><span class="type">GtkClipboardGetFunc</span></a> get_func</code></em>,
|
86
86
|
<em class="parameter"><code><a class="link" href="gtk3-Clipboards.html#GtkClipboardClearFunc" title="GtkClipboardClearFunc ()"><span class="type">GtkClipboardClearFunc</span></a> clear_func</code></em>,
|
87
|
-
<em class="parameter"><code><
|
88
|
-
<
|
87
|
+
<em class="parameter"><code><span class="type">GObject</span> *owner</code></em>);
|
88
|
+
<span class="returnvalue">GObject</span> * <a class="link" href="gtk3-Clipboards.html#gtk-clipboard-get-owner" title="gtk_clipboard_get_owner ()">gtk_clipboard_get_owner</a> (<em class="parameter"><code><a class="link" href="gtk3-Clipboards.html#GtkClipboard"><span class="type">GtkClipboard</span></a> *clipboard</code></em>);
|
89
89
|
<span class="returnvalue">void</span> <a class="link" href="gtk3-Clipboards.html#gtk-clipboard-clear" title="gtk_clipboard_clear ()">gtk_clipboard_clear</a> (<em class="parameter"><code><a class="link" href="gtk3-Clipboards.html#GtkClipboard"><span class="type">GtkClipboard</span></a> *clipboard</code></em>);
|
90
90
|
<span class="returnvalue">void</span> <a class="link" href="gtk3-Clipboards.html#gtk-clipboard-set-text" title="gtk_clipboard_set_text ()">gtk_clipboard_set_text</a> (<em class="parameter"><code><a class="link" href="gtk3-Clipboards.html#GtkClipboard"><span class="type">GtkClipboard</span></a> *clipboard</code></em>,
|
91
91
|
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
@@ -145,14 +145,14 @@
|
|
145
145
|
<div class="refsect1">
|
146
146
|
<a name="gtk3-Clipboards.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
147
147
|
<pre class="synopsis">
|
148
|
-
|
148
|
+
GObject
|
149
149
|
+----GtkClipboard
|
150
150
|
</pre>
|
151
151
|
</div>
|
152
152
|
<div class="refsect1">
|
153
153
|
<a name="gtk3-Clipboards.signals"></a><h2>Signals</h2>
|
154
154
|
<pre class="synopsis">
|
155
|
-
"<a class="link" href="gtk3-Clipboards.html#GtkClipboard-owner-change" title='The "owner-change" signal'>owner-change</a>" : <
|
155
|
+
"<a class="link" href="gtk3-Clipboards.html#GtkClipboard-owner-change" title='The "owner-change" signal'>owner-change</a>" : <code class="literal">Run First</code>
|
156
156
|
</pre>
|
157
157
|
</div>
|
158
158
|
<div class="refsect1">
|
@@ -186,7 +186,7 @@ The former is most useful when you want to have a blob of data
|
|
186
186
|
with callbacks to convert it into the various data types that you
|
187
187
|
advertise. When the <em class="parameter"><code>clear_func</code></em> you provided is called, you
|
188
188
|
simply free the data blob. The latter is more useful when the
|
189
|
-
contents of clipboard reflect the internal state of a <
|
189
|
+
contents of clipboard reflect the internal state of a <span class="type">GObject</span>
|
190
190
|
(As an example, for the PRIMARY clipboard, when an entry widget
|
191
191
|
provides the clipboard's contents the contents are simply the
|
192
192
|
text within the selected region.) If the contents change, the
|
@@ -646,7 +646,7 @@ functions will be ignored.</td>
|
|
646
646
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_targets</code></em>,
|
647
647
|
<em class="parameter"><code><a class="link" href="gtk3-Clipboards.html#GtkClipboardGetFunc" title="GtkClipboardGetFunc ()"><span class="type">GtkClipboardGetFunc</span></a> get_func</code></em>,
|
648
648
|
<em class="parameter"><code><a class="link" href="gtk3-Clipboards.html#GtkClipboardClearFunc" title="GtkClipboardClearFunc ()"><span class="type">GtkClipboardClearFunc</span></a> clear_func</code></em>,
|
649
|
-
<em class="parameter"><code><
|
649
|
+
<em class="parameter"><code><span class="type">GObject</span> *owner</code></em>);</pre>
|
650
650
|
<p>
|
651
651
|
Virtually sets the contents of the specified clipboard by providing
|
652
652
|
a list of supported formats for the clipboard data and a function
|
@@ -654,7 +654,7 @@ to call to get the actual data when it is requested.
|
|
654
654
|
</p>
|
655
655
|
<p>
|
656
656
|
The difference between this function and <a class="link" href="gtk3-Clipboards.html#gtk-clipboard-set-with-data" title="gtk_clipboard_set_with_data ()"><code class="function">gtk_clipboard_set_with_data()</code></a>
|
657
|
-
is that instead of an generic <em class="parameter"><code>user_data</code></em> pointer, a <
|
657
|
+
is that instead of an generic <em class="parameter"><code>user_data</code></em> pointer, a <span class="type">GObject</span> is passed
|
658
658
|
in.
|
659
659
|
</p>
|
660
660
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -709,7 +709,7 @@ functions will be ignored.</td>
|
|
709
709
|
<hr>
|
710
710
|
<div class="refsect2">
|
711
711
|
<a name="gtk-clipboard-get-owner"></a><h3>gtk_clipboard_get_owner ()</h3>
|
712
|
-
<pre class="programlisting"><
|
712
|
+
<pre class="programlisting"><span class="returnvalue">GObject</span> * gtk_clipboard_get_owner (<em class="parameter"><code><a class="link" href="gtk3-Clipboards.html#GtkClipboard"><span class="type">GtkClipboard</span></a> *clipboard</code></em>);</pre>
|
713
713
|
<p>
|
714
714
|
If the clipboard contents callbacks were set with
|
715
715
|
<a class="link" href="gtk3-Clipboards.html#gtk-clipboard-set-with-owner" title="gtk_clipboard_set_with_owner ()"><code class="function">gtk_clipboard_set_with_owner()</code></a>, and the <a class="link" href="gtk3-Clipboards.html#gtk-clipboard-set-with-data" title="gtk_clipboard_set_with_data ()"><code class="function">gtk_clipboard_set_with_data()</code></a> or
|
@@ -1172,7 +1172,7 @@ timeouts, etc, may be dispatched during the wait.
|
|
1172
1172
|
<tr>
|
1173
1173
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1174
1174
|
<td>a newly-allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
|
1175
|
-
object which must be disposed with <
|
1175
|
+
object which must be disposed with <code class="function">g_object_unref()</code>, or
|
1176
1176
|
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if retrieving the selection data failed. (This could
|
1177
1177
|
happen for various reasons, in particular if the clipboard
|
1178
1178
|
was empty or if the contents of the clipboard could not be
|
@@ -1579,7 +1579,7 @@ around after the application has quit.
|
|
1579
1579
|
<a name="GtkClipboard-owner-change"></a><h3>The <code class="literal">"owner-change"</code> signal</h3>
|
1580
1580
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk3-Clipboards.html#GtkClipboard"><span class="type">GtkClipboard</span></a> *clipboard,
|
1581
1581
|
<a href="http://developer.gnome.org/gdk2/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event,
|
1582
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <
|
1582
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <code class="literal">Run First</code></pre>
|
1583
1583
|
<p>
|
1584
1584
|
The ::owner-change signal is emitted when GTK+ receives an
|
1585
1585
|
event that indicates that the ownership of the selection
|