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
@@ -47,7 +47,7 @@
|
|
47
47
|
|
48
48
|
struct <a class="link" href="GtkApplication.html#GtkApplication-struct" title="struct GtkApplication">GtkApplication</a>;
|
49
49
|
<a class="link" href="GtkApplication.html" title="GtkApplication"><span class="returnvalue">GtkApplication</span></a> * <a class="link" href="GtkApplication.html#gtk-application-new" title="gtk_application_new ()">gtk_application_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> *application_id</code></em>,
|
50
|
-
<em class="parameter"><code><
|
50
|
+
<em class="parameter"><code><span class="type">GApplicationFlags</span> flags</code></em>);
|
51
51
|
<span class="returnvalue">void</span> <a class="link" href="GtkApplication.html#gtk-application-add-window" title="gtk_application_add_window ()">gtk_application_add_window</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
52
52
|
<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>);
|
53
53
|
<span class="returnvalue">void</span> <a class="link" href="GtkApplication.html#gtk-application-remove-window" title="gtk_application_remove_window ()">gtk_application_remove_window</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
@@ -67,12 +67,12 @@ enum <a class="link" href="GtkApplication.html#GtkApplicationInhi
|
|
67
67
|
<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="GtkApplication.html#gtk-application-is-inhibited" title="gtk_application_is_inhibited ()">gtk_application_is_inhibited</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
68
68
|
<em class="parameter"><code><a class="link" href="GtkApplication.html#GtkApplicationInhibitFlags" title="enum GtkApplicationInhibitFlags"><span class="type">GtkApplicationInhibitFlags</span></a> flags</code></em>);
|
69
69
|
|
70
|
-
<
|
70
|
+
<span class="returnvalue">GMenuModel</span> * <a class="link" href="GtkApplication.html#gtk-application-get-app-menu" title="gtk_application_get_app_menu ()">gtk_application_get_app_menu</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>);
|
71
71
|
<span class="returnvalue">void</span> <a class="link" href="GtkApplication.html#gtk-application-set-app-menu" title="gtk_application_set_app_menu ()">gtk_application_set_app_menu</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
72
|
-
<em class="parameter"><code><
|
73
|
-
<
|
72
|
+
<em class="parameter"><code><span class="type">GMenuModel</span> *app_menu</code></em>);
|
73
|
+
<span class="returnvalue">GMenuModel</span> * <a class="link" href="GtkApplication.html#gtk-application-get-menubar" title="gtk_application_get_menubar ()">gtk_application_get_menubar</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>);
|
74
74
|
<span class="returnvalue">void</span> <a class="link" href="GtkApplication.html#gtk-application-set-menubar" title="gtk_application_set_menubar ()">gtk_application_set_menubar</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
75
|
-
<em class="parameter"><code><
|
75
|
+
<em class="parameter"><code><span class="type">GMenuModel</span> *menubar</code></em>);
|
76
76
|
<span class="returnvalue">void</span> <a class="link" href="GtkApplication.html#gtk-application-add-accelerator" title="gtk_application_add_accelerator ()">gtk_application_add_accelerator</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
77
77
|
<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> *accelerator</code></em>,
|
78
78
|
<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> *action_name</code></em>,
|
@@ -85,8 +85,8 @@ enum <a class="link" href="GtkApplication.html#GtkApplicationInhi
|
|
85
85
|
<div class="refsect1">
|
86
86
|
<a name="GtkApplication.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
87
87
|
<pre class="synopsis">
|
88
|
-
|
89
|
-
|
88
|
+
GObject
|
89
|
+
+----GApplication
|
90
90
|
+----GtkApplication
|
91
91
|
</pre>
|
92
92
|
</div>
|
@@ -94,22 +94,22 @@ enum <a class="link" href="GtkApplication.html#GtkApplicationInhi
|
|
94
94
|
<a name="GtkApplication.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
95
95
|
<p>
|
96
96
|
GtkApplication implements
|
97
|
-
|
97
|
+
GActionGroup and GActionMap.</p>
|
98
98
|
</div>
|
99
99
|
<div class="refsect1">
|
100
100
|
<a name="GtkApplication.properties"></a><h2>Properties</h2>
|
101
101
|
<pre class="synopsis">
|
102
102
|
"<a class="link" href="GtkApplication.html#GtkApplication--active-window" title='The "active-window" property'>active-window</a>" <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>* : Read
|
103
|
-
"<a class="link" href="GtkApplication.html#GtkApplication--app-menu" title='The "app-menu" property'>app-menu</a>" <
|
104
|
-
"<a class="link" href="GtkApplication.html#GtkApplication--menubar" title='The "menubar" property'>menubar</a>" <
|
103
|
+
"<a class="link" href="GtkApplication.html#GtkApplication--app-menu" title='The "app-menu" property'>app-menu</a>" <span class="type">GMenuModel</span>* : Read / Write
|
104
|
+
"<a class="link" href="GtkApplication.html#GtkApplication--menubar" title='The "menubar" property'>menubar</a>" <span class="type">GMenuModel</span>* : Read / Write
|
105
105
|
"<a class="link" href="GtkApplication.html#GtkApplication--register-session" title='The "register-session" property'>register-session</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
106
106
|
</pre>
|
107
107
|
</div>
|
108
108
|
<div class="refsect1">
|
109
109
|
<a name="GtkApplication.signals"></a><h2>Signals</h2>
|
110
110
|
<pre class="synopsis">
|
111
|
-
"<a class="link" href="GtkApplication.html#GtkApplication-window-added" title='The "window-added" signal'>window-added</a>" : <
|
112
|
-
"<a class="link" href="GtkApplication.html#GtkApplication-window-removed" title='The "window-removed" signal'>window-removed</a>" : <
|
111
|
+
"<a class="link" href="GtkApplication.html#GtkApplication-window-added" title='The "window-added" signal'>window-added</a>" : <code class="literal">Run First</code>
|
112
|
+
"<a class="link" href="GtkApplication.html#GtkApplication-window-removed" title='The "window-removed" signal'>window-removed</a>" : <code class="literal">Run First</code>
|
113
113
|
</pre>
|
114
114
|
</div>
|
115
115
|
<div class="refsect1">
|
@@ -136,17 +136,17 @@ lock when invoking actions that arrive from other processes. The GDK
|
|
136
136
|
lock is not touched for local action invocations. In order to have
|
137
137
|
actions invoked in a predictable context it is therefore recommended
|
138
138
|
that the GDK lock be held while invoking actions locally with
|
139
|
-
<
|
139
|
+
<code class="function">g_action_group_activate_action()</code>. The same applies to actions
|
140
140
|
associated with <a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a> and to the 'activate' and
|
141
|
-
'open' <
|
141
|
+
'open' <span class="type">GApplication</span> methods.
|
142
142
|
</p>
|
143
143
|
<p>
|
144
144
|
To set an application menu for a GtkApplication, use
|
145
|
-
<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>. The <
|
145
|
+
<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>. The <span class="type">GMenuModel</span> that this function
|
146
146
|
expects is usually constructed using <a class="link" href="GtkBuilder.html" title="GtkBuilder"><span class="type">GtkBuilder</span></a>, as seen in the
|
147
147
|
following example. To specify a menubar that will be shown by
|
148
148
|
<a href="GtkApplicationWindow.html"><span class="type">GtkApplicationWindows</span></a>, use <a class="link" href="GtkApplication.html#gtk-application-set-menubar" title="gtk_application_set_menubar ()"><code class="function">gtk_application_set_menubar()</code></a>. Use the base
|
149
|
-
<
|
149
|
+
<span class="type">GActionMap</span> interface to add actions, to respond to the user
|
150
150
|
selecting these menu items.
|
151
151
|
</p>
|
152
152
|
<p>
|
@@ -668,8 +668,8 @@ the application is running on.
|
|
668
668
|
<span class="cbracket">{</span>
|
669
669
|
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">state</span><span class="symbol">;</span>
|
670
670
|
|
671
|
-
<span class="normal"> state </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
672
|
-
<span class="normal"> </span><span class="function"
|
671
|
+
<span class="normal"> state </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_action_get_state</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_ACTION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">));</span>
|
672
|
+
<span class="normal"> </span><span class="function">g_action_change_state</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_ACTION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</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-GVariant.html#g-variant-new-boolean">g_variant_new_boolean</a></span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#g-variant-get-boolean">g_variant_get_boolean</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state</span><span class="symbol">)));</span>
|
673
673
|
<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-GVariant.html#g-variant-unref">g_variant_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state</span><span class="symbol">);</span>
|
674
674
|
<span class="cbracket">}</span>
|
675
675
|
|
@@ -678,7 +678,7 @@ the application is running on.
|
|
678
678
|
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">parameter</span><span class="symbol">,</span>
|
679
679
|
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
680
680
|
<span class="cbracket">{</span>
|
681
|
-
<span class="normal"> </span><span class="function"
|
681
|
+
<span class="normal"> </span><span class="function">g_action_change_state</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_ACTION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">),</span><span class="normal"> parameter</span><span class="symbol">);</span>
|
682
682
|
<span class="cbracket">}</span>
|
683
683
|
|
684
684
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -691,7 +691,7 @@ the application is running on.
|
|
691
691
|
<span class="normal"> </span><span class="keyword">else</span>
|
692
692
|
<span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-unfullscreen">gtk_window_unfullscreen</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user_data</span><span class="symbol">);</span>
|
693
693
|
|
694
|
-
<span class="normal"> </span><span class="function"
|
694
|
+
<span class="normal"> </span><span class="function">g_simple_action_set_state</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> state</span><span class="symbol">);</span>
|
695
695
|
<span class="cbracket">}</span>
|
696
696
|
|
697
697
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -705,16 +705,16 @@ the application is running on.
|
|
705
705
|
<span class="normal"> </span><span class="comment">/* do this twice to test multiple busy counter increases */</span>
|
706
706
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#g-variant-get-boolean">g_variant_get_boolean</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state</span><span class="symbol">))</span>
|
707
707
|
<span class="normal"> </span><span class="cbracket">{</span>
|
708
|
-
<span class="normal"> </span><span class="function"
|
709
|
-
<span class="normal"> </span><span class="function"
|
708
|
+
<span class="normal"> </span><span class="function">g_application_mark_busy</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">);</span>
|
709
|
+
<span class="normal"> </span><span class="function">g_application_mark_busy</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">);</span>
|
710
710
|
<span class="normal"> </span><span class="cbracket">}</span>
|
711
711
|
<span class="normal"> </span><span class="keyword">else</span>
|
712
712
|
<span class="normal"> </span><span class="cbracket">{</span>
|
713
|
-
<span class="normal"> </span><span class="function"
|
714
|
-
<span class="normal"> </span><span class="function"
|
713
|
+
<span class="normal"> </span><span class="function">g_application_unmark_busy</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">);</span>
|
714
|
+
<span class="normal"> </span><span class="function">g_application_unmark_busy</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">);</span>
|
715
715
|
<span class="normal"> </span><span class="cbracket">}</span>
|
716
716
|
|
717
|
-
<span class="normal"> </span><span class="function"
|
717
|
+
<span class="normal"> </span><span class="function">g_simple_action_set_state</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> state</span><span class="symbol">);</span>
|
718
718
|
<span class="cbracket">}</span>
|
719
719
|
|
720
720
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -722,7 +722,7 @@ the application is running on.
|
|
722
722
|
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">state</span><span class="symbol">,</span>
|
723
723
|
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
724
724
|
<span class="cbracket">{</span>
|
725
|
-
<span class="normal"> </span><span class="usertype">GtkTextView</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
725
|
+
<span class="normal"> </span><span class="usertype">GtkTextView</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_object_get_data</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user_data</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"bloatpad-text"</span><span class="symbol">);</span>
|
726
726
|
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">str</span><span class="symbol">;</span>
|
727
727
|
|
728
728
|
<span class="normal"> str </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-GVariant.html#g-variant-get-string">g_variant_get_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state</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>
|
@@ -737,7 +737,7 @@ the application is running on.
|
|
737
737
|
<span class="normal"> </span><span class="comment">/* ignore this attempted change */</span>
|
738
738
|
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
739
739
|
|
740
|
-
<span class="normal"> </span><span class="function"
|
740
|
+
<span class="normal"> </span><span class="function">g_simple_action_set_state</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> state</span><span class="symbol">);</span>
|
741
741
|
<span class="cbracket">}</span>
|
742
742
|
|
743
743
|
<span class="keyword">static</span><span class="normal"> <a href="gtk3-Clipboards.html#GtkClipboard">GtkClipboard</a> </span><span class="symbol">*</span>
|
@@ -752,7 +752,7 @@ the application is running on.
|
|
752
752
|
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
753
753
|
<span class="cbracket">{</span>
|
754
754
|
<span class="normal"> </span><span class="usertype">GtkWindow</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">window </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user_data</span><span class="symbol">);</span>
|
755
|
-
<span class="normal"> </span><span class="usertype">GtkTextView</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
755
|
+
<span class="normal"> </span><span class="usertype">GtkTextView</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_object_get_data</span><span class="normal"> </span><span class="symbol">((</span><span class="normal">GObject</span><span class="symbol">*)</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"bloatpad-text"</span><span class="symbol">);</span>
|
756
756
|
|
757
757
|
<span class="normal"> </span><span class="function"><a href="GtkTextBuffer.html#gtk-text-buffer-copy-clipboard">gtk_text_buffer_copy_clipboard</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkTextView.html#gtk-text-view-get-buffer">gtk_text_view_get_buffer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">),</span>
|
758
758
|
<span class="normal"> </span><span class="function">get_clipboard</span><span class="normal"> </span><span class="symbol">((</span><span class="normal"><a href="GtkWidget.html">GtkWidget</a></span><span class="symbol">*)</span><span class="normal"> text</span><span class="symbol">));</span>
|
@@ -764,7 +764,7 @@ the application is running on.
|
|
764
764
|
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
765
765
|
<span class="cbracket">{</span>
|
766
766
|
<span class="normal"> </span><span class="usertype">GtkWindow</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">window </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user_data</span><span class="symbol">);</span>
|
767
|
-
<span class="normal"> </span><span class="usertype">GtkTextView</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
767
|
+
<span class="normal"> </span><span class="usertype">GtkTextView</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_object_get_data</span><span class="normal"> </span><span class="symbol">((</span><span class="normal">GObject</span><span class="symbol">*)</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"bloatpad-text"</span><span class="symbol">);</span>
|
768
768
|
<span class="normal"> </span>
|
769
769
|
<span class="normal"> </span><span class="function"><a href="GtkTextBuffer.html#gtk-text-buffer-paste-clipboard">gtk_text_buffer_paste_clipboard</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkTextView.html#gtk-text-view-get-buffer">gtk_text_view_get_buffer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">),</span>
|
770
770
|
<span class="normal"> </span><span class="function">get_clipboard</span><span class="normal"> </span><span class="symbol">((</span><span class="normal"><a href="GtkWidget.html">GtkWidget</a></span><span class="symbol">*)</span><span class="normal"> text</span><span class="symbol">),</span>
|
@@ -792,7 +792,7 @@ the application is running on.
|
|
792
792
|
|
793
793
|
<span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkApplicationWindow.html#gtk-application-window-new">gtk_application_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_APPLICATION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">));</span>
|
794
794
|
<span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-set-default-size">gtk_window_set_default_size</a></span><span class="normal"> </span><span class="symbol">((</span><span class="normal"><a href="GtkWindow.html">GtkWindow</a></span><span class="symbol">*)</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="number">640</span><span class="symbol">,</span><span class="normal"> </span><span class="number">480</span><span class="symbol">);</span>
|
795
|
-
<span class="normal"> </span><span class="function"
|
795
|
+
<span class="normal"> </span><span class="function">g_action_map_add_action_entries</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_ACTION_MAP</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> win_entries</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-Standard-Macros.html#G-N-ELEMENTS:CAPS">G_N_ELEMENTS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">win_entries</span><span class="symbol">),</span><span class="normal"> window</span><span class="symbol">);</span>
|
796
796
|
<span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-set-title">gtk_window_set_title</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"Bloatpad"</span><span class="symbol">);</span>
|
797
797
|
|
798
798
|
<span class="normal"> grid </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkGrid.html#gtk-grid-new">gtk_grid_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
@@ -836,7 +836,7 @@ the application is running on.
|
|
836
836
|
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-set-vexpand">gtk_widget_set_vexpand</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scrolled</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#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
837
837
|
<span class="normal"> view </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTextView.html#gtk-text-view-new">gtk_text_view_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
838
838
|
|
839
|
-
<span class="normal"> </span><span class="function"
|
839
|
+
<span class="normal"> </span><span class="function">g_object_set_data</span><span class="normal"> </span><span class="symbol">((</span><span class="normal">GObject</span><span class="symbol">*)</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"bloatpad-text"</span><span class="symbol">,</span><span class="normal"> view</span><span class="symbol">);</span>
|
840
840
|
|
841
841
|
<span class="normal"> </span><span class="function"><a href="GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scrolled</span><span class="symbol">),</span><span class="normal"> view</span><span class="symbol">);</span>
|
842
842
|
|
@@ -847,7 +847,7 @@ the application is running on.
|
|
847
847
|
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">contents</span><span class="symbol">;</span>
|
848
848
|
<span class="normal"> </span><span class="usertype">gsize</span><span class="normal"> length</span><span class="symbol">;</span>
|
849
849
|
|
850
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"
|
850
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">g_file_load_contents</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">file</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"> </span><span class="symbol">&</span><span class="normal">contents</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">length</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"> <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>
|
851
851
|
<span class="normal"> </span><span class="cbracket">{</span>
|
852
852
|
<span class="normal"> </span><span class="usertype">GtkTextBuffer</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">buffer</span><span class="symbol">;</span>
|
853
853
|
|
@@ -888,12 +888,12 @@ the application is running on.
|
|
888
888
|
|
889
889
|
<span class="keyword">typedef</span><span class="normal"> </span><span class="usertype">GtkApplicationClass</span><span class="normal"> BloatPadClass</span><span class="symbol">;</span>
|
890
890
|
|
891
|
-
<span class="function"
|
891
|
+
<span class="function">G_DEFINE_TYPE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">BloatPad</span><span class="symbol">,</span><span class="normal"> bloat_pad</span><span class="symbol">,</span><span class="normal"> GTK_TYPE_APPLICATION</span><span class="symbol">)</span>
|
892
892
|
|
893
893
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
894
894
|
<span class="function">bloat_pad_finalize</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GObject</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">object</span><span class="symbol">)</span>
|
895
895
|
<span class="cbracket">{</span>
|
896
|
-
<span class="normal"> </span><span class="function"
|
896
|
+
<span class="normal"> </span><span class="function">G_OBJECT_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bloat_pad_parent_class</span><span class="symbol">)-></span><span class="function">finalize</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
|
897
897
|
<span class="cbracket">}</span>
|
898
898
|
|
899
899
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -903,7 +903,7 @@ the application is running on.
|
|
903
903
|
<span class="cbracket">{</span>
|
904
904
|
<span class="normal"> </span><span class="usertype">GApplication</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">app </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
|
905
905
|
|
906
|
-
<span class="normal"> </span><span class="function"
|
906
|
+
<span class="normal"> </span><span class="function">g_application_activate</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span>
|
907
907
|
<span class="cbracket">}</span>
|
908
908
|
|
909
909
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -925,7 +925,7 @@ the application is running on.
|
|
925
925
|
<span class="cbracket">{</span>
|
926
926
|
<span class="normal"> </span><span class="usertype">GApplication</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">app </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
|
927
927
|
|
928
|
-
<span class="normal"> </span><span class="function"
|
928
|
+
<span class="normal"> </span><span class="function">g_application_quit</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span>
|
929
929
|
<span class="cbracket">}</span>
|
930
930
|
|
931
931
|
<span class="keyword">static</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#gboolean">gboolean</a></span>
|
@@ -935,14 +935,14 @@ the application is running on.
|
|
935
935
|
<span class="normal"> </span><span class="usertype">GDateTime</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">now</span><span class="symbol">;</span>
|
936
936
|
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">time</span><span class="symbol">;</span>
|
937
937
|
|
938
|
-
<span class="normal"> </span><span class="keyword">while</span><span class="normal"> </span><span class="symbol">(</span><span class="function"
|
939
|
-
<span class="normal"> </span><span class="function"
|
938
|
+
<span class="normal"> </span><span class="keyword">while</span><span class="normal"> </span><span class="symbol">(</span><span class="function">g_menu_model_get_n_items</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_MENU_MODEL</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bloatpad</span><span class="symbol">-></span><span class="normal">time</span><span class="symbol">)))</span>
|
939
|
+
<span class="normal"> </span><span class="function">g_menu_remove</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bloatpad</span><span class="symbol">-></span><span class="normal">time</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
940
940
|
|
941
941
|
<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-Message-Logging.html#g-message">g_message</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Updating the time menu (which should be open now)..."</span><span class="symbol">);</span>
|
942
942
|
|
943
943
|
<span class="normal"> now </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-GDateTime.html#g-date-time-new-now-local">g_date_time_new_now_local</a></span><span class="normal"> </span><span class="symbol">();</span>
|
944
944
|
<span class="normal"> time </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-GDateTime.html#g-date-time-format">g_date_time_format</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">now</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"%c"</span><span class="symbol">);</span>
|
945
|
-
<span class="normal"> </span><span class="function"
|
945
|
+
<span class="normal"> </span><span class="function">g_menu_append</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bloatpad</span><span class="symbol">-></span><span class="normal">time</span><span class="symbol">,</span><span class="normal"> time</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>
|
946
946
|
<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-GDateTime.html#g-date-time-unref">g_date_time_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">now</span><span class="symbol">);</span>
|
947
947
|
<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">time</span><span class="symbol">);</span>
|
948
948
|
|
@@ -973,7 +973,7 @@ the application is running on.
|
|
973
973
|
<span class="normal"> </span><span class="cbracket">}</span>
|
974
974
|
<span class="normal"> </span><span class="cbracket">}</span>
|
975
975
|
|
976
|
-
<span class="normal"> </span><span class="function"
|
976
|
+
<span class="normal"> </span><span class="function">g_simple_action_set_state</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> state</span><span class="symbol">);</span>
|
977
977
|
<span class="cbracket">}</span>
|
978
978
|
|
979
979
|
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">GActionEntry</span><span class="normal"> app_entries</span><span class="symbol">[]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> </span><span class="cbracket">{</span>
|
@@ -992,7 +992,7 @@ the application is running on.
|
|
992
992
|
<span class="normal"> </span><span class="function">G_APPLICATION_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bloat_pad_parent_class</span><span class="symbol">)</span>
|
993
993
|
<span class="normal"> </span><span class="symbol">-></span><span class="function">startup</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">);</span>
|
994
994
|
|
995
|
-
<span class="normal"> </span><span class="function"
|
995
|
+
<span class="normal"> </span><span class="function">g_action_map_add_action_entries</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_ACTION_MAP</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">),</span><span class="normal"> app_entries</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-Standard-Macros.html#G-N-ELEMENTS:CAPS">G_N_ELEMENTS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app_entries</span><span class="symbol">),</span><span class="normal"> application</span><span class="symbol">);</span>
|
996
996
|
|
997
997
|
<span class="normal"> builder </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkBuilder.html#gtk-builder-new">gtk_builder_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
998
998
|
<span class="normal"> </span><span class="function"><a href="GtkBuilder.html#gtk-builder-add-from-string">gtk_builder_add_from_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">builder</span><span class="symbol">,</span>
|
@@ -1059,7 +1059,7 @@ the application is running on.
|
|
1059
1059
|
<span class="normal"> </span><span class="function"><a href="GtkApplication.html#gtk-application-set-menubar">gtk_application_set_menubar</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_APPLICATION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">),</span><span class="normal"> </span><span class="function">G_MENU_MODEL</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkBuilder.html#gtk-builder-get-object">gtk_builder_get_object</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">builder</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"menubar"</span><span class="symbol">)));</span>
|
1060
1060
|
<span class="normal"> </span><span class="comment">//gtk_application_set_menubar (GTK_APPLICATION (application), G_MENU_MODEL (gtk_builder_get_object (builder, "app-menu")));</span>
|
1061
1061
|
<span class="normal"> bloatpad</span><span class="symbol">-></span><span class="normal">time </span><span class="symbol">=</span><span class="normal"> </span><span class="function">G_MENU</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkBuilder.html#gtk-builder-get-object">gtk_builder_get_object</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">builder</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"time-menu"</span><span class="symbol">));</span>
|
1062
|
-
<span class="normal"> </span><span class="function"
|
1062
|
+
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">builder</span><span class="symbol">);</span>
|
1063
1063
|
<span class="cbracket">}</span>
|
1064
1064
|
|
1065
1065
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -1086,7 +1086,7 @@ the application is running on.
|
|
1086
1086
|
<span class="function">bloat_pad_class_init</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">BloatPadClass</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">class</span><span class="symbol">)</span>
|
1087
1087
|
<span class="cbracket">{</span>
|
1088
1088
|
<span class="normal"> </span><span class="usertype">GApplicationClass</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">application_class </span><span class="symbol">=</span><span class="normal"> </span><span class="function">G_APPLICATION_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">class</span><span class="symbol">);</span>
|
1089
|
-
<span class="normal"> </span><span class="usertype">GObjectClass</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">object_class </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
1089
|
+
<span class="normal"> </span><span class="usertype">GObjectClass</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">object_class </span><span class="symbol">=</span><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>
|
1090
1090
|
|
1091
1091
|
<span class="normal"> application_class</span><span class="symbol">-></span><span class="normal">startup </span><span class="symbol">=</span><span class="normal"> bloat_pad_startup</span><span class="symbol">;</span>
|
1092
1092
|
<span class="normal"> application_class</span><span class="symbol">-></span><span class="normal">shutdown </span><span class="symbol">=</span><span class="normal"> bloat_pad_shutdown</span><span class="symbol">;</span>
|
@@ -1104,9 +1104,9 @@ the application is running on.
|
|
1104
1104
|
|
1105
1105
|
<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-Miscellaneous-Utility-Functions.html#g-set-application-name">g_set_application_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Bloatpad"</span><span class="symbol">);</span>
|
1106
1106
|
|
1107
|
-
<span class="normal"> bloat_pad </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
1107
|
+
<span class="normal"> bloat_pad </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_object_new</span><span class="normal"> </span><span class="symbol">(</span><span class="function">bloat_pad_get_type</span><span class="normal"> </span><span class="symbol">(),</span>
|
1108
1108
|
<span class="normal"> </span><span class="string">"application-id"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"org.gtk.Test.bloatpad"</span><span class="symbol">,</span>
|
1109
|
-
<span class="normal"> </span><span class="string">"flags"</span><span class="symbol">,</span><span class="normal">
|
1109
|
+
<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>
|
1110
1110
|
<span class="normal"> </span><span class="string">"inactivity-timeout"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">30000</span><span class="symbol">,</span>
|
1111
1111
|
<span class="normal"> </span><span class="string">"register-session"</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#TRUE:CAPS">TRUE</a></span><span class="symbol">,</span>
|
1112
1112
|
<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>
|
@@ -1125,9 +1125,9 @@ the application is running on.
|
|
1125
1125
|
<span class="normal"> </span><span class="function"><a href="GtkApplication.html#gtk-application-add-accelerator">gtk_application_add_accelerator</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_APPLICATION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bloat_pad</span><span class="symbol">),</span>
|
1126
1126
|
<span class="normal"> </span><span class="string">"F11"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"win.fullscreen"</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>
|
1127
1127
|
|
1128
|
-
<span class="normal"> status </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
1128
|
+
<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">bloat_pad</span><span class="symbol">),</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> argv</span><span class="symbol">);</span>
|
1129
1129
|
|
1130
|
-
<span class="normal"> </span><span class="function"
|
1130
|
+
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bloat_pad</span><span class="symbol">);</span>
|
1131
1131
|
|
1132
1132
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> status</span><span class="symbol">;</span>
|
1133
1133
|
<span class="cbracket">}</span></pre></td>
|
@@ -1165,7 +1165,7 @@ session while inhibitors are present.
|
|
1165
1165
|
<div class="refsect2">
|
1166
1166
|
<a name="gtk-application-new"></a><h3>gtk_application_new ()</h3>
|
1167
1167
|
<pre class="programlisting"><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="returnvalue">GtkApplication</span></a> * gtk_application_new (<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> *application_id</code></em>,
|
1168
|
-
<em class="parameter"><code><
|
1168
|
+
<em class="parameter"><code><span class="type">GApplicationFlags</span> flags</code></em>);</pre>
|
1169
1169
|
<p>
|
1170
1170
|
Creates a new <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> instance.
|
1171
1171
|
</p>
|
@@ -1176,7 +1176,7 @@ the primary instance.
|
|
1176
1176
|
</p>
|
1177
1177
|
<p>
|
1178
1178
|
Concretely, <a class="link" href="gtk3-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a> is called in the default handler for the
|
1179
|
-
<
|
1179
|
+
<span class="type">"startup"</span> signal. Therefore, <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> subclasses should
|
1180
1180
|
chain up in their <span class="type">"startup"</span> handler before using any GTK+ API.
|
1181
1181
|
</p>
|
1182
1182
|
<p>
|
@@ -1190,7 +1190,7 @@ instance.
|
|
1190
1190
|
</p>
|
1191
1191
|
<p>
|
1192
1192
|
If non-<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>, the application ID must be valid. See
|
1193
|
-
<
|
1193
|
+
<code class="function">g_application_id_is_valid()</code>.
|
1194
1194
|
</p>
|
1195
1195
|
<p>
|
1196
1196
|
If no application ID is given then some features (most notably application
|
@@ -1489,7 +1489,7 @@ this window to find out more about why the action is inhibited.
|
|
1489
1489
|
<tbody>
|
1490
1490
|
<tr>
|
1491
1491
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
1492
|
-
<td>the <
|
1492
|
+
<td>the <span class="type">GApplication</span>
|
1493
1493
|
</td>
|
1494
1494
|
</tr>
|
1495
1495
|
<tr>
|
@@ -1535,7 +1535,7 @@ Inhibitors are also cleared when the application exits.
|
|
1535
1535
|
<tbody>
|
1536
1536
|
<tr>
|
1537
1537
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
1538
|
-
<td>the <
|
1538
|
+
<td>the <span class="type">GApplication</span>
|
1539
1539
|
</td>
|
1540
1540
|
</tr>
|
1541
1541
|
<tr>
|
@@ -1564,7 +1564,7 @@ currently inhibited (possibly by another application).
|
|
1564
1564
|
<tbody>
|
1565
1565
|
<tr>
|
1566
1566
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
1567
|
-
<td>the <
|
1567
|
+
<td>the <span class="type">GApplication</span>
|
1568
1568
|
</td>
|
1569
1569
|
</tr>
|
1570
1570
|
<tr>
|
@@ -1583,7 +1583,7 @@ currently inhibited (possibly by another application).
|
|
1583
1583
|
<hr>
|
1584
1584
|
<div class="refsect2">
|
1585
1585
|
<a name="gtk-application-get-app-menu"></a><h3>gtk_application_get_app_menu ()</h3>
|
1586
|
-
<pre class="programlisting"><
|
1586
|
+
<pre class="programlisting"><span class="returnvalue">GMenuModel</span> * gtk_application_get_app_menu (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>);</pre>
|
1587
1587
|
<p>
|
1588
1588
|
Returns the menu model that has been set with
|
1589
1589
|
<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>.
|
@@ -1612,7 +1612,7 @@ Returns the menu model that has been set with
|
|
1612
1612
|
<div class="refsect2">
|
1613
1613
|
<a name="gtk-application-set-app-menu"></a><h3>gtk_application_set_app_menu ()</h3>
|
1614
1614
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_application_set_app_menu (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
1615
|
-
<em class="parameter"><code><
|
1615
|
+
<em class="parameter"><code><span class="type">GMenuModel</span> *app_menu</code></em>);</pre>
|
1616
1616
|
<p>
|
1617
1617
|
Sets or unsets the application menu for <em class="parameter"><code>application</code></em>.
|
1618
1618
|
</p>
|
@@ -1633,7 +1633,7 @@ If supported, the application menu will be rendered by the desktop
|
|
1633
1633
|
environment.
|
1634
1634
|
</p>
|
1635
1635
|
<p>
|
1636
|
-
Use the base <
|
1636
|
+
Use the base <span class="type">GActionMap</span> interface to add actions, to respond to the user
|
1637
1637
|
selecting these menu items.
|
1638
1638
|
</p>
|
1639
1639
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -1649,7 +1649,7 @@ selecting these menu items.
|
|
1649
1649
|
</tr>
|
1650
1650
|
<tr>
|
1651
1651
|
<td><p><span class="term"><em class="parameter"><code>app_menu</code></em> :</span></p></td>
|
1652
|
-
<td>a <
|
1652
|
+
<td>a <span class="type">GMenuModel</span>, or <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>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1653
1653
|
</td>
|
1654
1654
|
</tr>
|
1655
1655
|
</tbody>
|
@@ -1659,7 +1659,7 @@ selecting these menu items.
|
|
1659
1659
|
<hr>
|
1660
1660
|
<div class="refsect2">
|
1661
1661
|
<a name="gtk-application-get-menubar"></a><h3>gtk_application_get_menubar ()</h3>
|
1662
|
-
<pre class="programlisting"><
|
1662
|
+
<pre class="programlisting"><span class="returnvalue">GMenuModel</span> * gtk_application_get_menubar (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>);</pre>
|
1663
1663
|
<p>
|
1664
1664
|
Returns the menu model that has been set with
|
1665
1665
|
<a class="link" href="GtkApplication.html#gtk-application-set-menubar" title="gtk_application_set_menubar ()"><code class="function">gtk_application_set_menubar()</code></a>.
|
@@ -1688,7 +1688,7 @@ Returns the menu model that has been set with
|
|
1688
1688
|
<div class="refsect2">
|
1689
1689
|
<a name="gtk-application-set-menubar"></a><h3>gtk_application_set_menubar ()</h3>
|
1690
1690
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_application_set_menubar (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
1691
|
-
<em class="parameter"><code><
|
1691
|
+
<em class="parameter"><code><span class="type">GMenuModel</span> *menubar</code></em>);</pre>
|
1692
1692
|
<p>
|
1693
1693
|
Sets or unsets the menubar for windows of <em class="parameter"><code>application</code></em>.
|
1694
1694
|
</p>
|
@@ -1710,7 +1710,7 @@ example, the application menu may be rendered by the desktop shell
|
|
1710
1710
|
while the menubar (if set) remains in each individual window.
|
1711
1711
|
</p>
|
1712
1712
|
<p>
|
1713
|
-
Use the base <
|
1713
|
+
Use the base <span class="type">GActionMap</span> interface to add actions, to respond to the user
|
1714
1714
|
selecting these menu items.
|
1715
1715
|
</p>
|
1716
1716
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -1726,7 +1726,7 @@ selecting these menu items.
|
|
1726
1726
|
</tr>
|
1727
1727
|
<tr>
|
1728
1728
|
<td><p><span class="term"><em class="parameter"><code>menubar</code></em> :</span></p></td>
|
1729
|
-
<td>a <
|
1729
|
+
<td>a <span class="type">GMenuModel</span>, or <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>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1730
1730
|
</td>
|
1731
1731
|
</tr>
|
1732
1732
|
</tbody>
|
@@ -1758,7 +1758,7 @@ with a "win." prefix.
|
|
1758
1758
|
</p>
|
1759
1759
|
<p>
|
1760
1760
|
GtkApplication also extracts accelerators out of 'accel' attributes
|
1761
|
-
in the <
|
1761
|
+
in the <span class="type">GMenuModels</span> passed to <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> and
|
1762
1762
|
<a class="link" href="GtkApplication.html#gtk-application-set-menubar" title="gtk_application_set_menubar ()"><code class="function">gtk_application_set_menubar()</code></a>, which is usually more convenient
|
1763
1763
|
than calling this function for each accelerator.
|
1764
1764
|
</p>
|
@@ -1837,13 +1837,13 @@ or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-d
|
|
1837
1837
|
<hr>
|
1838
1838
|
<div class="refsect2">
|
1839
1839
|
<a name="GtkApplication--app-menu"></a><h3>The <code class="literal">"app-menu"</code> property</h3>
|
1840
|
-
<pre class="programlisting"> "app-menu" <
|
1840
|
+
<pre class="programlisting"> "app-menu" <span class="type">GMenuModel</span>* : Read / Write</pre>
|
1841
1841
|
<p>The GMenuModel for the application menu.</p>
|
1842
1842
|
</div>
|
1843
1843
|
<hr>
|
1844
1844
|
<div class="refsect2">
|
1845
1845
|
<a name="GtkApplication--menubar"></a><h3>The <code class="literal">"menubar"</code> property</h3>
|
1846
|
-
<pre class="programlisting"> "menubar" <
|
1846
|
+
<pre class="programlisting"> "menubar" <span class="type">GMenuModel</span>* : Read / Write</pre>
|
1847
1847
|
<p>The GMenuModel for the menubar.</p>
|
1848
1848
|
</div>
|
1849
1849
|
<hr>
|
@@ -1863,7 +1863,7 @@ Set this property to <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor
|
|
1863
1863
|
<a name="GtkApplication-window-added"></a><h3>The <code class="literal">"window-added"</code> signal</h3>
|
1864
1864
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application,
|
1865
1865
|
<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window,
|
1866
|
-
<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) : <
|
1866
|
+
<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>
|
1867
1867
|
<p>
|
1868
1868
|
Emitted when a <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> is added to <em class="parameter"><code>application</code></em> through
|
1869
1869
|
<a class="link" href="GtkApplication.html#gtk-application-add-window" title="gtk_application_add_window ()"><code class="function">gtk_application_add_window()</code></a>.
|
@@ -1896,7 +1896,7 @@ Emitted when a <a class="link" href="GtkWindow.html" title="GtkWindow"><span cla
|
|
1896
1896
|
<a name="GtkApplication-window-removed"></a><h3>The <code class="literal">"window-removed"</code> signal</h3>
|
1897
1897
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application,
|
1898
1898
|
<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window,
|
1899
|
-
<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) : <
|
1899
|
+
<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>
|
1900
1900
|
<p>
|
1901
1901
|
Emitted when a <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> is removed from <em class="parameter"><code>application</code></em>,
|
1902
1902
|
either as a side-effect of being destroyed or explicitly
|