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
@@ -253,8 +253,8 @@ const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gt
|
|
253
253
|
<div class="refsect1">
|
254
254
|
<a name="GtkWindow.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
255
255
|
<pre class="synopsis">
|
256
|
-
|
257
|
-
|
256
|
+
GObject
|
257
|
+
+----GInitiallyUnowned
|
258
258
|
+----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
259
259
|
+----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
260
260
|
+----<a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
|
@@ -320,10 +320,10 @@ GtkWindow implements
|
|
320
320
|
<div class="refsect1">
|
321
321
|
<a name="GtkWindow.signals"></a><h2>Signals</h2>
|
322
322
|
<pre class="synopsis">
|
323
|
-
"<a class="link" href="GtkWindow.html#GtkWindow-activate-default" title='The "activate-default" signal'>activate-default</a>" : <
|
324
|
-
"<a class="link" href="GtkWindow.html#GtkWindow-activate-focus" title='The "activate-focus" signal'>activate-focus</a>" : <
|
325
|
-
"<a class="link" href="GtkWindow.html#GtkWindow-keys-changed" title='The "keys-changed" signal'>keys-changed</a>" : <
|
326
|
-
"<a class="link" href="GtkWindow.html#GtkWindow-set-focus" title='The "set-focus" signal'>set-focus</a>" : <
|
323
|
+
"<a class="link" href="GtkWindow.html#GtkWindow-activate-default" title='The "activate-default" signal'>activate-default</a>" : <code class="literal">Action</code>
|
324
|
+
"<a class="link" href="GtkWindow.html#GtkWindow-activate-focus" title='The "activate-focus" signal'>activate-focus</a>" : <code class="literal">Action</code>
|
325
|
+
"<a class="link" href="GtkWindow.html#GtkWindow-keys-changed" title='The "keys-changed" signal'>keys-changed</a>" : <code class="literal">Run First</code>
|
326
|
+
"<a class="link" href="GtkWindow.html#GtkWindow-set-focus" title='The "set-focus" signal'>set-focus</a>" : <code class="literal">Run Last</code>
|
327
327
|
</pre>
|
328
328
|
</div>
|
329
329
|
<div class="refsect1">
|
@@ -4309,7 +4309,7 @@ The <a class="link" href="GtkApplication.html" title="GtkApplication"><span clas
|
|
4309
4309
|
</p>
|
4310
4310
|
<p>
|
4311
4311
|
The application will be kept alive for at least as long as it
|
4312
|
-
has any windows associated with it (see <
|
4312
|
+
has any windows associated with it (see <code class="function">g_application_hold()</code>
|
4313
4313
|
for a way to keep it alive without windows).
|
4314
4314
|
</p>
|
4315
4315
|
<p>
|
@@ -4631,7 +4631,7 @@ more details about transient windows.
|
|
4631
4631
|
<div class="refsect2">
|
4632
4632
|
<a name="GtkWindow-activate-default"></a><h3>The <code class="literal">"activate-default"</code> signal</h3>
|
4633
4633
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window,
|
4634
|
-
<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) : <
|
4634
|
+
<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">Action</code></pre>
|
4635
4635
|
<p>
|
4636
4636
|
The ::activate-default signal is a
|
4637
4637
|
<a class="link" href="gtk3-Bindings.html#keybinding-signals">keybinding signal</a>
|
@@ -4659,7 +4659,7 @@ of <em class="parameter"><code>window</code></em>.
|
|
4659
4659
|
<div class="refsect2">
|
4660
4660
|
<a name="GtkWindow-activate-focus"></a><h3>The <code class="literal">"activate-focus"</code> signal</h3>
|
4661
4661
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window,
|
4662
|
-
<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) : <
|
4662
|
+
<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">Action</code></pre>
|
4663
4663
|
<p>
|
4664
4664
|
The ::activate-focus signal is a
|
4665
4665
|
<a class="link" href="gtk3-Bindings.html#keybinding-signals">keybinding signal</a>
|
@@ -4687,7 +4687,7 @@ focused widget of <em class="parameter"><code>window</code></em>.
|
|
4687
4687
|
<div class="refsect2">
|
4688
4688
|
<a name="GtkWindow-keys-changed"></a><h3>The <code class="literal">"keys-changed"</code> signal</h3>
|
4689
4689
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window,
|
4690
|
-
<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) : <
|
4690
|
+
<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>
|
4691
4691
|
<p>
|
4692
4692
|
The ::keys-changed signal gets emitted when the set of accelerators
|
4693
4693
|
or mnemonics that are associated with <em class="parameter"><code>window</code></em> changes.
|
@@ -4714,7 +4714,7 @@ or mnemonics that are associated with <em class="parameter"><code>window</code><
|
|
4714
4714
|
<a name="GtkWindow-set-focus"></a><h3>The <code class="literal">"set-focus"</code> signal</h3>
|
4715
4715
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window,
|
4716
4716
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
4717
|
-
<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) : <
|
4717
|
+
<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 Last</code></pre>
|
4718
4718
|
</div>
|
4719
4719
|
</div>
|
4720
4720
|
</div>
|
@@ -55,7 +55,7 @@ struct <a class="link" href="GtkWindowGroup.html#GtkWindowGroup-str
|
|
55
55
|
<div class="refsect1">
|
56
56
|
<a name="GtkWindowGroup.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
57
57
|
<pre class="synopsis">
|
58
|
-
|
58
|
+
GObject
|
59
59
|
+----GtkWindowGroup
|
60
60
|
</pre>
|
61
61
|
</div>
|
@@ -64,7 +64,7 @@ struct <a class="link" href="GtkWindowGroup.html#GtkWindowGroup-str
|
|
64
64
|
<p>
|
65
65
|
<a class="link" href="GtkWindowGroup.html" title="GtkWindowGroup"><span class="type">GtkWindowGroup</span></a> objects are referenced by each window in the group,
|
66
66
|
so once you have added all windows to a <a class="link" href="GtkWindowGroup.html" title="GtkWindowGroup"><span class="type">GtkWindowGroup</span></a>, you can drop
|
67
|
-
the initial reference to the window group with <
|
67
|
+
the initial reference to the window group with <code class="function">g_object_unref()</code>. If the
|
68
68
|
windows in the window group are subsequently destroyed, then they will
|
69
69
|
be removed from the window group and drop their references on the window
|
70
70
|
group; when all window have been removed, the window group will be
|
@@ -74,7 +74,7 @@
|
|
74
74
|
<tbody>
|
75
75
|
<tr>
|
76
76
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
77
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkListStore</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">store </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="number">2</span><span class="symbol">,</span><span class="normal">
|
77
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkListStore</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">store </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="number">2</span><span class="symbol">,</span><span class="normal"> G_TYPE_STRING</span><span class="symbol">,</span><span class="normal"> G_TYPE_BOOLEAN</span><span class="symbol">);</span></pre></td>
|
78
78
|
</tr>
|
79
79
|
</tbody>
|
80
80
|
</table>
|
@@ -113,9 +113,9 @@
|
|
113
113
|
<span class="cbracket">}</span><span class="symbol">;</span>
|
114
114
|
|
115
115
|
<span class="usertype">GtkTreeStore</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">store </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTreeStore.html#gtk-tree-store-new">gtk_tree_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"> </span><span class="comment">/* Total number of columns */</span>
|
116
|
-
<span class="normal">
|
117
|
-
<span class="normal">
|
118
|
-
<span class="normal">
|
116
|
+
<span class="normal"> G_TYPE_STRING</span><span class="symbol">,</span><span class="normal"> </span><span class="comment">/* Book title */</span>
|
117
|
+
<span class="normal"> G_TYPE_STRING</span><span class="symbol">,</span><span class="normal"> </span><span class="comment">/* Author */</span>
|
118
|
+
<span class="normal"> G_TYPE_BOOLEAN</span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* Is checked out? */</span></pre></td>
|
119
119
|
</tr>
|
120
120
|
</tbody>
|
121
121
|
</table>
|
@@ -337,8 +337,8 @@
|
|
337
337
|
|
338
338
|
<span class="normal">select </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTreeView.html#gtk-tree-view-get-selection">gtk_tree_view_get_selection</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TREE_VIEW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tree</span><span class="symbol">));</span>
|
339
339
|
<span class="function"><a href="GtkTreeSelection.html#gtk-tree-selection-set-mode">gtk_tree_selection_set_mode</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">select</span><span class="symbol">,</span><span class="normal"> <a href="gtk3-Standard-Enumerations.html#GTK-SELECTION-SINGLE:CAPS">GTK_SELECTION_SINGLE</a></span><span class="symbol">);</span>
|
340
|
-
<span class="function"
|
341
|
-
<span class="normal"> </span><span class="function"
|
340
|
+
<span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">select</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"changed"</span><span class="symbol">,</span>
|
341
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tree_selection_changed_cb</span><span class="symbol">),</span>
|
342
342
|
<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></pre></td>
|
343
343
|
</tr>
|
344
344
|
</tbody>
|
@@ -491,9 +491,9 @@
|
|
491
491
|
<span class="normal"> </span><span class="comment">/* Create a model. We are using the store model for now, though we</span>
|
492
492
|
<span class="comment"> * could use any other GtkTreeModel */</span>
|
493
493
|
<span class="normal"> store </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTreeStore.html#gtk-tree-store-new">gtk_tree_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">N_COLUMNS</span><span class="symbol">,</span>
|
494
|
-
<span class="normal">
|
495
|
-
<span class="normal">
|
496
|
-
<span class="normal">
|
494
|
+
<span class="normal"> G_TYPE_STRING</span><span class="symbol">,</span>
|
495
|
+
<span class="normal"> G_TYPE_STRING</span><span class="symbol">,</span>
|
496
|
+
<span class="normal"> G_TYPE_BOOLEAN</span><span class="symbol">);</span>
|
497
497
|
|
498
498
|
<span class="normal"> </span><span class="comment">/* custom function to fill the model with data */</span>
|
499
499
|
<span class="normal"> </span><span class="function">populate_tree_model</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">);</span>
|
@@ -503,12 +503,12 @@
|
|
503
503
|
|
504
504
|
<span class="normal"> </span><span class="comment">/* The view now holds a reference. We can get rid of our own</span>
|
505
505
|
<span class="comment"> * reference */</span>
|
506
|
-
<span class="normal"> </span><span class="function"
|
506
|
+
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">));</span>
|
507
507
|
|
508
508
|
<span class="normal"> </span><span class="comment">/* Create a cell render and arbitrarily make it red for demonstration</span>
|
509
509
|
<span class="comment"> * purposes */</span>
|
510
510
|
<span class="normal"> renderer </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkCellRendererText.html#gtk-cell-renderer-text-new">gtk_cell_renderer_text_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
511
|
-
<span class="normal"> </span><span class="function"
|
511
|
+
<span class="normal"> </span><span class="function">g_object_set</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">renderer</span><span class="symbol">),</span>
|
512
512
|
<span class="normal"> </span><span class="string">"foreground"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"red"</span><span class="symbol">,</span>
|
513
513
|
<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>
|
514
514
|
|
@@ -622,22 +622,98 @@
|
|
622
622
|
</dt>
|
623
623
|
<dd></dd>
|
624
624
|
<dt>
|
625
|
+
<a class="link" href="GtkColorSelectionDialog.html#gtk-color-selection-dialog-get-color-selection" title="gtk_color_selection_dialog_get_color_selection ()">gtk_color_selection_dialog_get_color_selection</a>, function in <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog">GtkColorSelectionDialog</a>
|
626
|
+
</dt>
|
627
|
+
<dd></dd>
|
628
|
+
<dt>
|
629
|
+
<a class="link" href="GtkColorSelectionDialog.html#gtk-color-selection-dialog-new" title="gtk_color_selection_dialog_new ()">gtk_color_selection_dialog_new</a>, function in <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog">GtkColorSelectionDialog</a>
|
630
|
+
</dt>
|
631
|
+
<dd></dd>
|
632
|
+
<dt>
|
633
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-get-current-alpha" title="gtk_color_selection_get_current_alpha ()">gtk_color_selection_get_current_alpha</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
634
|
+
</dt>
|
635
|
+
<dd></dd>
|
636
|
+
<dt>
|
625
637
|
<a class="link" href="GtkColorSelection.html#gtk-color-selection-get-current-color" title="gtk_color_selection_get_current_color ()">gtk_color_selection_get_current_color</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
626
638
|
</dt>
|
627
639
|
<dd></dd>
|
628
640
|
<dt>
|
641
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-get-current-rgba" title="gtk_color_selection_get_current_rgba ()">gtk_color_selection_get_current_rgba</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
642
|
+
</dt>
|
643
|
+
<dd></dd>
|
644
|
+
<dt>
|
645
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-get-has-opacity-control" title="gtk_color_selection_get_has_opacity_control ()">gtk_color_selection_get_has_opacity_control</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
646
|
+
</dt>
|
647
|
+
<dd></dd>
|
648
|
+
<dt>
|
649
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-get-has-palette" title="gtk_color_selection_get_has_palette ()">gtk_color_selection_get_has_palette</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
650
|
+
</dt>
|
651
|
+
<dd></dd>
|
652
|
+
<dt>
|
653
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-get-previous-alpha" title="gtk_color_selection_get_previous_alpha ()">gtk_color_selection_get_previous_alpha</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
654
|
+
</dt>
|
655
|
+
<dd></dd>
|
656
|
+
<dt>
|
629
657
|
<a class="link" href="GtkColorSelection.html#gtk-color-selection-get-previous-color" title="gtk_color_selection_get_previous_color ()">gtk_color_selection_get_previous_color</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
630
658
|
</dt>
|
631
659
|
<dd></dd>
|
632
660
|
<dt>
|
661
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-get-previous-rgba" title="gtk_color_selection_get_previous_rgba ()">gtk_color_selection_get_previous_rgba</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
662
|
+
</dt>
|
663
|
+
<dd></dd>
|
664
|
+
<dt>
|
665
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-is-adjusting" title="gtk_color_selection_is_adjusting ()">gtk_color_selection_is_adjusting</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
666
|
+
</dt>
|
667
|
+
<dd></dd>
|
668
|
+
<dt>
|
669
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-new" title="gtk_color_selection_new ()">gtk_color_selection_new</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
670
|
+
</dt>
|
671
|
+
<dd></dd>
|
672
|
+
<dt>
|
673
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-palette-from-string" title="gtk_color_selection_palette_from_string ()">gtk_color_selection_palette_from_string</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
674
|
+
</dt>
|
675
|
+
<dd></dd>
|
676
|
+
<dt>
|
677
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-palette-to-string" title="gtk_color_selection_palette_to_string ()">gtk_color_selection_palette_to_string</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
678
|
+
</dt>
|
679
|
+
<dd></dd>
|
680
|
+
<dt>
|
681
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-set-change-palette-with-screen-hook" title="gtk_color_selection_set_change_palette_with_screen_hook ()">gtk_color_selection_set_change_palette_with_screen_hook</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
682
|
+
</dt>
|
683
|
+
<dd></dd>
|
684
|
+
<dt>
|
685
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-set-current-alpha" title="gtk_color_selection_set_current_alpha ()">gtk_color_selection_set_current_alpha</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
686
|
+
</dt>
|
687
|
+
<dd></dd>
|
688
|
+
<dt>
|
633
689
|
<a class="link" href="GtkColorSelection.html#gtk-color-selection-set-current-color" title="gtk_color_selection_set_current_color ()">gtk_color_selection_set_current_color</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
634
690
|
</dt>
|
635
691
|
<dd></dd>
|
636
692
|
<dt>
|
693
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-set-current-rgba" title="gtk_color_selection_set_current_rgba ()">gtk_color_selection_set_current_rgba</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
694
|
+
</dt>
|
695
|
+
<dd></dd>
|
696
|
+
<dt>
|
697
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-set-has-opacity-control" title="gtk_color_selection_set_has_opacity_control ()">gtk_color_selection_set_has_opacity_control</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
698
|
+
</dt>
|
699
|
+
<dd></dd>
|
700
|
+
<dt>
|
701
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-set-has-palette" title="gtk_color_selection_set_has_palette ()">gtk_color_selection_set_has_palette</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
702
|
+
</dt>
|
703
|
+
<dd></dd>
|
704
|
+
<dt>
|
705
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-set-previous-alpha" title="gtk_color_selection_set_previous_alpha ()">gtk_color_selection_set_previous_alpha</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
706
|
+
</dt>
|
707
|
+
<dd></dd>
|
708
|
+
<dt>
|
637
709
|
<a class="link" href="GtkColorSelection.html#gtk-color-selection-set-previous-color" title="gtk_color_selection_set_previous_color ()">gtk_color_selection_set_previous_color</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
638
710
|
</dt>
|
639
711
|
<dd></dd>
|
640
712
|
<dt>
|
713
|
+
<a class="link" href="GtkColorSelection.html#gtk-color-selection-set-previous-rgba" title="gtk_color_selection_set_previous_rgba ()">gtk_color_selection_set_previous_rgba</a>, function in <a class="link" href="GtkColorSelection.html" title="GtkColorSelection">GtkColorSelection</a>
|
714
|
+
</dt>
|
715
|
+
<dd></dd>
|
716
|
+
<dt>
|
641
717
|
<a class="link" href="GtkComboBox.html#GtkComboBox--add-tearoffs" title='The "add-tearoffs" property'>GtkComboBox:add-tearoffs</a>, object property in <a class="link" href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a>
|
642
718
|
</dt>
|
643
719
|
<dd></dd>
|
@@ -665,6 +741,10 @@
|
|
665
741
|
<a class="link" href="GtkContainer.html#gtk-container-resize-children" title="gtk_container_resize_children ()">gtk_container_resize_children</a>, function in <a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
666
742
|
</dt>
|
667
743
|
<dd></dd>
|
744
|
+
<dt>
|
745
|
+
<a class="link" href="GtkCssProvider.html#GtkCssProviderError" title="enum GtkCssProviderError">GtkCssProviderError</a>, enum in <a class="link" href="GtkCssProvider.html" title="GtkCssProvider">GtkCssProvider</a>
|
746
|
+
</dt>
|
747
|
+
<dd></dd>
|
668
748
|
<a name="idxD"></a><h3 class="title">D</h3>
|
669
749
|
<dt>
|
670
750
|
<a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-begin" title="gtk_drag_begin ()">gtk_drag_begin</a>, function in <a class="link" href="gtk3-Drag-and-Drop.html" title="Drag and Drop">Drag and Drop</a>
|
@@ -822,6 +902,10 @@
|
|
822
902
|
</dt>
|
823
903
|
<dd></dd>
|
824
904
|
<dt>
|
905
|
+
<a class="link" href="gtk3-GtkGradient.html#gtk-gradient-resolve-for-context" title="gtk_gradient_resolve_for_context ()">gtk_gradient_resolve_for_context</a>, function in <a class="link" href="gtk3-GtkGradient.html" title="GtkGradient">GtkGradient</a>
|
906
|
+
</dt>
|
907
|
+
<dd></dd>
|
908
|
+
<dt>
|
825
909
|
<a class="link" href="gtk3-GtkGradient.html#gtk-gradient-to-string" title="gtk_gradient_to_string ()">gtk_gradient_to_string</a>, function in <a class="link" href="gtk3-GtkGradient.html" title="GtkGradient">GtkGradient</a>
|
826
910
|
</dt>
|
827
911
|
<dd></dd>
|
@@ -898,6 +982,30 @@
|
|
898
982
|
<a class="link" href="GtkHSeparator.html#gtk-hseparator-new" title="gtk_hseparator_new ()">gtk_hseparator_new</a>, function in <a class="link" href="GtkHSeparator.html" title="GtkHSeparator">GtkHSeparator</a>
|
899
983
|
</dt>
|
900
984
|
<dd></dd>
|
985
|
+
<dt>
|
986
|
+
<a class="link" href="GtkHSV.html#gtk-hsv-get-color" title="gtk_hsv_get_color ()">gtk_hsv_get_color</a>, function in <a class="link" href="GtkHSV.html" title="GtkHSV">GtkHSV</a>
|
987
|
+
</dt>
|
988
|
+
<dd></dd>
|
989
|
+
<dt>
|
990
|
+
<a class="link" href="GtkHSV.html#gtk-hsv-get-metrics" title="gtk_hsv_get_metrics ()">gtk_hsv_get_metrics</a>, function in <a class="link" href="GtkHSV.html" title="GtkHSV">GtkHSV</a>
|
991
|
+
</dt>
|
992
|
+
<dd></dd>
|
993
|
+
<dt>
|
994
|
+
<a class="link" href="GtkHSV.html#gtk-hsv-is-adjusting" title="gtk_hsv_is_adjusting ()">gtk_hsv_is_adjusting</a>, function in <a class="link" href="GtkHSV.html" title="GtkHSV">GtkHSV</a>
|
995
|
+
</dt>
|
996
|
+
<dd></dd>
|
997
|
+
<dt>
|
998
|
+
<a class="link" href="GtkHSV.html#gtk-hsv-new" title="gtk_hsv_new ()">gtk_hsv_new</a>, function in <a class="link" href="GtkHSV.html" title="GtkHSV">GtkHSV</a>
|
999
|
+
</dt>
|
1000
|
+
<dd></dd>
|
1001
|
+
<dt>
|
1002
|
+
<a class="link" href="GtkHSV.html#gtk-hsv-set-color" title="gtk_hsv_set_color ()">gtk_hsv_set_color</a>, function in <a class="link" href="GtkHSV.html" title="GtkHSV">GtkHSV</a>
|
1003
|
+
</dt>
|
1004
|
+
<dd></dd>
|
1005
|
+
<dt>
|
1006
|
+
<a class="link" href="GtkHSV.html#gtk-hsv-set-metrics" title="gtk_hsv_set_metrics ()">gtk_hsv_set_metrics</a>, function in <a class="link" href="GtkHSV.html" title="GtkHSV">GtkHSV</a>
|
1007
|
+
</dt>
|
1008
|
+
<dd></dd>
|
901
1009
|
<a name="idxI"></a><h3 class="title">I</h3>
|
902
1010
|
<dt>
|
903
1011
|
<a class="link" href="gtk3-Themeable-Stock-Images.html#gtk-icon-factory-add" title="gtk_icon_factory_add ()">gtk_icon_factory_add</a>, function in <a class="link" href="gtk3-Themeable-Stock-Images.html" title="Themeable Stock Images">Themeable Stock Images</a>
|
@@ -1691,11 +1799,11 @@
|
|
1691
1799
|
</dt>
|
1692
1800
|
<dd></dd>
|
1693
1801
|
<dt>
|
1694
|
-
<a class="link" href="gtk3-Stock-Items.html#
|
1802
|
+
<a class="link" href="gtk3-Stock-Items.html#gtk-stock-add" title="gtk_stock_add ()">gtk_stock_add</a>, function in <a class="link" href="gtk3-Stock-Items.html" title="Stock Items">Stock Items</a>
|
1695
1803
|
</dt>
|
1696
1804
|
<dd></dd>
|
1697
1805
|
<dt>
|
1698
|
-
<a class="link" href="gtk3-Stock-Items.html#
|
1806
|
+
<a class="link" href="gtk3-Stock-Items.html#GTK-STOCK-ADD:CAPS" title="GTK_STOCK_ADD">GTK_STOCK_ADD</a>, macro in <a class="link" href="gtk3-Stock-Items.html" title="Stock Items">Stock Items</a>
|
1699
1807
|
</dt>
|
1700
1808
|
<dd></dd>
|
1701
1809
|
<dt>
|
@@ -2191,6 +2299,22 @@
|
|
2191
2299
|
</dt>
|
2192
2300
|
<dd></dd>
|
2193
2301
|
<dt>
|
2302
|
+
<a class="link" href="GtkStyle.html#gtk-style-get" title="gtk_style_get ()">gtk_style_get</a>, function in <a class="link" href="GtkStyle.html" title="GtkStyle">GtkStyle</a>
|
2303
|
+
</dt>
|
2304
|
+
<dd></dd>
|
2305
|
+
<dt>
|
2306
|
+
<a class="link" href="GtkStyle.html#gtk-style-get-style-property" title="gtk_style_get_style_property ()">gtk_style_get_style_property</a>, function in <a class="link" href="GtkStyle.html" title="GtkStyle">GtkStyle</a>
|
2307
|
+
</dt>
|
2308
|
+
<dd></dd>
|
2309
|
+
<dt>
|
2310
|
+
<a class="link" href="GtkStyle.html#gtk-style-get-valist" title="gtk_style_get_valist ()">gtk_style_get_valist</a>, function in <a class="link" href="GtkStyle.html" title="GtkStyle">GtkStyle</a>
|
2311
|
+
</dt>
|
2312
|
+
<dd></dd>
|
2313
|
+
<dt>
|
2314
|
+
<a class="link" href="GtkStyle.html#gtk-style-has-context" title="gtk_style_has_context ()">gtk_style_has_context</a>, function in <a class="link" href="GtkStyle.html" title="GtkStyle">GtkStyle</a>
|
2315
|
+
</dt>
|
2316
|
+
<dd></dd>
|
2317
|
+
<dt>
|
2194
2318
|
<a class="link" href="GtkStyle.html#gtk-style-lookup-color" title="gtk_style_lookup_color ()">gtk_style_lookup_color</a>, function in <a class="link" href="GtkStyle.html" title="GtkStyle">GtkStyle</a>
|
2195
2319
|
</dt>
|
2196
2320
|
<dd></dd>
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<p>
|
61
61
|
</p>
|
62
62
|
<p>GTK+ includes application support that is built on top of
|
63
|
-
<
|
63
|
+
<span class="type">GApplication</span>. In this tutorial we'll build a simple application by
|
64
64
|
starting from scratch, adding more and more pieces over time. Along
|
65
65
|
the way, we'll learn about <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a>, templates, resources,
|
66
66
|
application menus, settings, <a class="link" href="GtkHeaderBar.html" title="GtkHeaderBar"><span class="type">GtkHeaderBar</span></a>, <a class="link" href="GtkStack.html" title="GtkStack"><span class="type">GtkStack</span></a>, <a class="link" href="GtkSearchBar.html" title="GtkSearchBar"><span class="type">GtkSearchBar</span></a>,
|
@@ -72,7 +72,7 @@
|
|
72
72
|
<div class="titlepage"><div><div><h3 class="title">
|
73
73
|
<a name="id-1.2.3.7.5"></a>A trivial application</h3></div></div></div>
|
74
74
|
<p>When using <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a>, the <code class="function">main()</code> function can be very
|
75
|
-
simple. We just call <
|
75
|
+
simple. We just call <code class="function">g_application_run()</code> and give it an instance
|
76
76
|
of our application class.</p>
|
77
77
|
<div class="informalexample">
|
78
78
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -92,7 +92,7 @@
|
|
92
92
|
<span class="type">int</span>
|
93
93
|
<span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
|
94
94
|
<span class="cbracket">{</span>
|
95
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"
|
95
|
+
<span class="normal"> </span><span class="keyword">return</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="function">example_app_new</span><span class="normal"> </span><span class="symbol">()),</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> argv</span><span class="symbol">);</span>
|
96
96
|
<span class="cbracket">}</span></pre></td>
|
97
97
|
</tr>
|
98
98
|
</tbody>
|
@@ -197,7 +197,7 @@
|
|
197
197
|
<span class="normal"> </span><span class="usertype">GtkApplicationClass</span><span class="normal"> parent_class</span><span class="symbol">;</span>
|
198
198
|
<span class="cbracket">}</span><span class="symbol">;</span>
|
199
199
|
|
200
|
-
<span class="function"
|
200
|
+
<span class="function">G_DEFINE_TYPE</span><span class="symbol">(</span><span class="normal">ExampleApp</span><span class="symbol">,</span><span class="normal"> example_app</span><span class="symbol">,</span><span class="normal"> GTK_TYPE_APPLICATION</span><span class="symbol">);</span>
|
201
201
|
|
202
202
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
203
203
|
<span class="function">example_app_init</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ExampleApp</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">app</span><span class="symbol">)</span>
|
@@ -245,9 +245,9 @@
|
|
245
245
|
<span class="normal">ExampleApp </span><span class="symbol">*</span>
|
246
246
|
<span class="function">example_app_new</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
|
247
247
|
<span class="cbracket">{</span>
|
248
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"
|
248
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function">g_object_new</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">EXAMPLE_APP_TYPE</span><span class="symbol">,</span>
|
249
249
|
<span class="normal"> </span><span class="string">"application-id"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"org.gtk.exampleapp"</span><span class="symbol">,</span>
|
250
|
-
<span class="normal"> </span><span class="string">"flags"</span><span class="symbol">,</span><span class="normal">
|
250
|
+
<span class="normal"> </span><span class="string">"flags"</span><span class="symbol">,</span><span class="normal"> G_APPLICATION_HANDLES_OPEN</span><span class="symbol">,</span>
|
251
251
|
<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>
|
252
252
|
<span class="cbracket">}</span></pre></td>
|
253
253
|
</tr>
|
@@ -314,7 +314,7 @@
|
|
314
314
|
<span class="normal"> </span><span class="usertype">GtkApplicationWindowClass</span><span class="normal"> parent_class</span><span class="symbol">;</span>
|
315
315
|
<span class="cbracket">}</span><span class="symbol">;</span>
|
316
316
|
|
317
|
-
<span class="function"
|
317
|
+
<span class="function">G_DEFINE_TYPE</span><span class="symbol">(</span><span class="normal">ExampleAppWindow</span><span class="symbol">,</span><span class="normal"> example_app_window</span><span class="symbol">,</span><span class="normal"> GTK_TYPE_APPLICATION_WINDOW</span><span class="symbol">);</span>
|
318
318
|
|
319
319
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
320
320
|
<span class="function">example_app_window_init</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ExampleAppWindow</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">app</span><span class="symbol">)</span>
|
@@ -329,7 +329,7 @@
|
|
329
329
|
<span class="normal">ExampleAppWindow </span><span class="symbol">*</span>
|
330
330
|
<span class="function">example_app_window_new</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ExampleApp</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">app</span><span class="symbol">)</span>
|
331
331
|
<span class="cbracket">{</span>
|
332
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"
|
332
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function">g_object_new</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">EXAMPLE_APP_WINDOW_TYPE</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"application"</span><span class="symbol">,</span><span class="normal"> app</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>
|
333
333
|
<span class="cbracket">}</span>
|
334
334
|
|
335
335
|
<span class="type">void</span>
|
@@ -665,7 +665,7 @@ example_app_window_open (ExampleAppWindow *win,
|
|
665
665
|
|
666
666
|
<p>To associate the app menu with the application, we have to call
|
667
667
|
<a class="link" href="GtkApplication.html#gtk-application-set-app-menu" title="gtk_application_set_app_menu ()"><code class="function">gtk_application_set_app_menu()</code></a>. Since app menus work by activating
|
668
|
-
<
|
668
|
+
<span class="type">GActions</span>, we also have to add a suitable set of actions to our
|
669
669
|
application.</p>
|
670
670
|
<p>Both of these tasks are best done in the <code class="function">startup()</code> vfunc,
|
671
671
|
which is guaranteed to be called once for each primary application
|
@@ -1116,7 +1116,7 @@ example_app_window_init (ExampleAppWindow *win)
|
|
1116
1116
|
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">transition</span><span class="symbol">;</span>
|
1117
1117
|
<span class="cbracket">}</span><span class="symbol">;</span>
|
1118
1118
|
|
1119
|
-
<span class="function"
|
1119
|
+
<span class="function">G_DEFINE_TYPE_WITH_PRIVATE</span><span class="symbol">(</span><span class="normal">ExampleAppPrefs</span><span class="symbol">,</span><span class="normal"> example_app_prefs</span><span class="symbol">,</span><span class="normal"> GTK_TYPE_DIALOG</span><span class="symbol">)</span>
|
1120
1120
|
|
1121
1121
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
1122
1122
|
<span class="function">preferences_closed</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">button</span><span class="symbol">)</span>
|
@@ -1131,14 +1131,14 @@ example_app_window_init (ExampleAppWindow *win)
|
|
1131
1131
|
|
1132
1132
|
<span class="normal"> priv </span><span class="symbol">=</span><span class="normal"> </span><span class="function">example_app_prefs_get_instance_private</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">prefs</span><span class="symbol">);</span>
|
1133
1133
|
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-init-template">gtk_widget_init_template</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_WIDGET</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">prefs</span><span class="symbol">));</span>
|
1134
|
-
<span class="normal"> priv</span><span class="symbol">-></span><span class="normal">settings </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
1134
|
+
<span class="normal"> priv</span><span class="symbol">-></span><span class="normal">settings </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_settings_new</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"org.gtk.exampleapp"</span><span class="symbol">);</span>
|
1135
1135
|
|
1136
|
-
<span class="normal"> </span><span class="function"
|
1136
|
+
<span class="normal"> </span><span class="function">g_settings_bind</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">priv</span><span class="symbol">-></span><span class="normal">settings</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"font"</span><span class="symbol">,</span>
|
1137
1137
|
<span class="normal"> priv</span><span class="symbol">-></span><span class="normal">font</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"font"</span><span class="symbol">,</span>
|
1138
|
-
<span class="normal">
|
1139
|
-
<span class="normal"> </span><span class="function"
|
1138
|
+
<span class="normal"> G_SETTINGS_BIND_DEFAULT</span><span class="symbol">);</span>
|
1139
|
+
<span class="normal"> </span><span class="function">g_settings_bind</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">priv</span><span class="symbol">-></span><span class="normal">settings</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"transition"</span><span class="symbol">,</span>
|
1140
1140
|
<span class="normal"> priv</span><span class="symbol">-></span><span class="normal">transition</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"active-id"</span><span class="symbol">,</span>
|
1141
|
-
<span class="normal">
|
1141
|
+
<span class="normal"> G_SETTINGS_BIND_DEFAULT</span><span class="symbol">);</span>
|
1142
1142
|
<span class="cbracket">}</span>
|
1143
1143
|
|
1144
1144
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -1147,15 +1147,15 @@ example_app_window_init (ExampleAppWindow *win)
|
|
1147
1147
|
<span class="normal"> </span><span class="usertype">ExampleAppPrefsPrivate</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">priv</span><span class="symbol">;</span>
|
1148
1148
|
|
1149
1149
|
<span class="normal"> priv </span><span class="symbol">=</span><span class="normal"> </span><span class="function">example_app_prefs_get_instance_private</span><span class="normal"> </span><span class="symbol">(</span><span class="function">EXAMPLE_APP_PREFS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">));</span>
|
1150
|
-
<span class="normal"> </span><span class="function"
|
1150
|
+
<span class="normal"> </span><span class="function">g_clear_object</span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">priv</span><span class="symbol">-></span><span class="normal">settings</span><span class="symbol">);</span>
|
1151
1151
|
|
1152
|
-
<span class="normal"> </span><span class="function"
|
1152
|
+
<span class="normal"> </span><span class="function">G_OBJECT_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">example_app_prefs_parent_class</span><span class="symbol">)-></span><span class="function">dispose</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
|
1153
1153
|
<span class="cbracket">}</span>
|
1154
1154
|
|
1155
1155
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
1156
1156
|
<span class="function">example_app_prefs_class_init</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ExampleAppPrefsClass</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">class</span><span class="symbol">)</span>
|
1157
1157
|
<span class="cbracket">{</span>
|
1158
|
-
<span class="normal"> </span><span class="function"
|
1158
|
+
<span class="normal"> </span><span class="function">G_OBJECT_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">class</span><span class="symbol">)-></span><span class="normal">dispose </span><span class="symbol">=</span><span class="normal"> example_app_prefs_dispose</span><span class="symbol">;</span>
|
1159
1159
|
|
1160
1160
|
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-class-set-template-from-resource">gtk_widget_class_set_template_from_resource</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_WIDGET_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">class</span><span class="symbol">),</span>
|
1161
1161
|
<span class="normal"> </span><span class="string">"/org/gtk/exampleapp/prefs.ui"</span><span class="symbol">);</span>
|
@@ -1168,7 +1168,7 @@ example_app_window_init (ExampleAppWindow *win)
|
|
1168
1168
|
<span class="normal">ExampleAppPrefs </span><span class="symbol">*</span>
|
1169
1169
|
<span class="function">example_app_prefs_new</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ExampleAppWindow</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">win</span><span class="symbol">)</span>
|
1170
1170
|
<span class="cbracket">{</span>
|
1171
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"
|
1171
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function">g_object_new</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">EXAMPLE_APP_PREFS_TYPE</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"transient-for"</span><span class="symbol">,</span><span class="normal"> win</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>
|
1172
1172
|
<span class="cbracket">}</span></pre></td>
|
1173
1173
|
</tr>
|
1174
1174
|
</tbody>
|
@@ -1680,8 +1680,8 @@ example_app_window_init (ExampleAppWindow *win)
|
|
1680
1680
|
<a name="id-1.2.3.7.12"></a>Properties</h3></div></div></div>
|
1681
1681
|
<p>Widgets and other objects have many useful properties.</p>
|
1682
1682
|
<p>Here we show some ways to use them in new and flexible ways,
|
1683
|
-
by wrapping them in actions with <
|
1684
|
-
with <
|
1683
|
+
by wrapping them in actions with <span class="type">GPropertyAction</span> or by binding them
|
1684
|
+
with <span class="type">GBinding</span>.</p>
|
1685
1685
|
<p>To set this up, we add two labels to the header bar in our
|
1686
1686
|
window template, named <em class="parameter"><code>lines_label</code></em> and <em class="parameter"><code>lines</code></em>, and bind them to
|
1687
1687
|
struct members in the private struct, as we've seen a couple of times
|