gdk3 2.0.0-x86-mingw32 → 2.0.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -2
- data/lib/2.0/gdk3.so +0 -0
- 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/gtktextbufferrichtext.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 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- data/vendor/local/lib/libgailutil-3.dll.a +0 -0
- data/vendor/local/lib/libgailutil-3.la +1 -1
- data/vendor/local/lib/libgdk-3.dll.a +0 -0
- data/vendor/local/lib/libgdk-3.la +2 -2
- 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/Gdk-3.0.gir +1 -1
- data/vendor/local/share/gir-1.0/Gtk-3.0.gir +42 -25
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailMisc.html +90 -90
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailTextUtil.html +28 -28
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/libgail-util-main.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDevice.html +115 -115
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDeviceManager.html +16 -16
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplay.html +104 -104
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplayManager.html +13 -13
- data/vendor/local/share/gtk-doc/html/gdk3/GdkScreen.html +103 -101
- data/vendor/local/share/gtk-doc/html/gdk3/annotation-glossary.html +5 -3
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-0.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-8.html +2 -2
- 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 +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Application-launching.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cairo-Interaction.html +48 -48
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Colors.html +16 -16
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cursors.html +14 -14
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Drag-and-Drop.html +44 -44
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html +122 -122
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Events.html +112 -113
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-GdkFrameClock.html +22 -22
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-GdkFrameTimings.html +19 -19
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-General.html +64 -64
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Keyboard-Handling.html +98 -98
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pango-Interaction.html +64 -64
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pixbufs.html +26 -26
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html +12 -12
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Properties-and-Atoms.html +52 -52
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-RGBA-Colors.html +23 -23
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Selections.html +38 -38
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Testing.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Threads.html +87 -87
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Visuals.html +54 -54
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Windows.html +389 -389
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-X-Window-System-Interaction.html +137 -137
- data/vendor/local/share/gtk-doc/html/gdk3/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk3/index.sgml +1 -0
- data/vendor/local/share/gtk-doc/html/gdk3/reference.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/AbstractObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/Actions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/Application.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/ApplicationChoosing.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/Builder.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/ButtonWidgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/DeprecatedObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/DisplayWidgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAboutDialog.html +121 -121
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccelLabel.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccessible.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAction.html +158 -146
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActionGroup.html +132 -126
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActionable.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActivatable.html +28 -27
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAdjustment.html +86 -81
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAlignment.html +56 -56
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooser.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserButton.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserDialog.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserWidget.html +58 -58
- data/vendor/local/share/gtk-doc/html/gtk3/GtkApplication.html +142 -142
- data/vendor/local/share/gtk-doc/html/gtk3/GtkApplicationWindow.html +49 -49
- data/vendor/local/share/gtk-doc/html/gtk3/GtkArrow.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAspectFrame.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAssistant.html +61 -61
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBin.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBox.html +63 -63
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuildable.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuilder.html +153 -153
- data/vendor/local/share/gtk-doc/html/gtk3/GtkButton.html +94 -88
- data/vendor/local/share/gtk-doc/html/gtk3/GtkButtonBox.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCalendar.html +91 -91
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellArea.html +182 -182
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellAreaBox.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellAreaContext.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellEditable.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellLayout.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRenderer.html +150 -147
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererAccel.html +32 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererCombo.html +26 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererPixbuf.html +21 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererProgress.html +24 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererSpin.html +10 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererSpinner.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererText.html +118 -109
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererToggle.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellView.html +34 -33
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCheckButton.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCheckMenuItem.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorButton.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooser.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooserDialog.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooserWidget.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelection.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelectionDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBox.html +140 -136
- data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBoxText.html +45 -44
- data/vendor/local/share/gtk-doc/html/gtk3/GtkContainer.html +103 -103
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCssProvider.html +140 -104
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDialog.html +71 -71
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDrawingArea.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEditable.html +64 -64
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntry.html +330 -310
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntryBuffer.html +61 -61
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntryCompletion.html +110 -110
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEventBox.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkExpander.html +69 -69
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooser.html +245 -243
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserButton.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserDialog.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserWidget.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileFilter.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFixed.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontButton.html +72 -64
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooser.html +68 -68
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooserDialog.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooserWidget.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelection.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelectionDialog.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFrame.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGrid.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHBox.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHButtonBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHPaned.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHSV.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHScale.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHScrollbar.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHSeparator.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHandleBox.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContext.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContextSimple.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMMulticontext.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconTheme.html +202 -211
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconView.html +251 -239
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImage.html +90 -89
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImageMenuItem.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInfoBar.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInvisible.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLabel.html +223 -212
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLayout.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLevelBar.html +56 -56
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLinkButton.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk3/GtkListStore.html +74 -73
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLockButton.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenu.html +126 -126
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuBar.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuButton.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuItem.html +81 -81
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuShell.html +60 -60
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuToolButton.html +20 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMessageDialog.html +54 -50
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMisc.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkNotebook.html +179 -179
- data/vendor/local/share/gtk-doc/html/gtk3/GtkNumerableIcon.html +58 -58
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOffscreenWindow.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOverlay.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPageSetup.html +81 -81
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPageSetupUnixDialog.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaned.html +79 -68
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaperSize.html +101 -77
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPlug.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintContext.html +61 -61
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintJob.html +71 -71
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintSettings.html +327 -215
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintUnixDialog.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrinter.html +101 -99
- data/vendor/local/share/gtk-doc/html/gtk3/GtkProgressBar.html +69 -69
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioAction.html +33 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioButton.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioMenuItem.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioToolButton.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRange.html +103 -103
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentAction.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooser.html +109 -109
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserDialog.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserMenu.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserWidget.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentFilter.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentManager.html +159 -159
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScale.html +65 -64
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScaleButton.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollable.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollbar.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrolledWindow.html +53 -51
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchEntry.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparator.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparatorMenuItem.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparatorToolItem.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSettings.html +227 -227
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSizeGroup.html +17 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSocket.html +18 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinButton.html +106 -104
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinner.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusIcon.html +174 -167
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusbar.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyle.html +333 -333
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleContext.html +305 -305
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleProvider.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSwitch.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTable.html +94 -94
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTearoffMenuItem.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextBuffer.html +327 -274
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextIter.html +341 -327
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextMark.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTag.html +145 -139
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTagTable.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextView.html +354 -284
- data/vendor/local/share/gtk-doc/html/gtk3/GtkThemingEngine.html +66 -66
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleAction.html +30 -29
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleButton.html +49 -49
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleToolButton.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolButton.html +65 -64
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItem.html +67 -66
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItemGroup.html +56 -56
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolPalette.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolShell.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolbar.html +87 -69
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTooltip.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModel.html +173 -173
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModelFilter.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModelSort.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSelection.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSortable.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeStore.html +81 -80
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeView.html +508 -500
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeViewColumn.html +180 -179
- data/vendor/local/share/gtk-doc/html/gtk3/GtkUIManager.html +91 -86
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVBox.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVButtonBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVPaned.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVScale.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVScrollbar.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVSeparator.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkViewport.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVolumeButton.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWidget.html +1012 -974
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindow.html +337 -337
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindowGroup.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/LayoutContainers.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/MenusAndCombos.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/MiscObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/NumericEntry.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/Ornaments.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/PlugSocket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/Printing.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/RecentDocuments.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/ScrollingWidgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/SelectorWidgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/TextWidget.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/TextWidgetObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/TreeWidget.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk3/TreeWidgetObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/WindowWidgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/annotation-glossary.html +5 -3
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-0.html +2 -6
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-8.html +17 -2
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/broadwayd.html +15 -4
- data/vendor/local/share/gtk-doc/html/gtk3/ch02.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/ch03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/ch25s02.html +113 -113
- data/vendor/local/share/gtk-doc/html/gtk3/ch27s02.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/ch29s02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/ch29s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/chap-drawing-model.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/checklist-gdkeventexpose-region.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/checklist-modifiers.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/checklist-named-icons.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/glossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-broadway.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-building.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-compiling.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-getting-started.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-launch.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-2-to-3.html +105 -105
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkGrid.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-bonus-points.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-checklist.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-css.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parsing.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-checklist.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-smclient-GtkApplication.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-theme-GtkStyleContext-engines.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-unique-GtkApplication.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-osx.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-query-immodules-3.0.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-question-index.html +104 -104
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-resources.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-running.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-update-icon-cache.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-wayland.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-windows.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-x11.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Accelerator-Maps.html +61 -61
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Bindings.html +61 -61
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Clipboards.html +119 -119
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Drag-and-Drop.html +87 -87
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Feature-Test-Macros.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Filesystem-utilities.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-General.html +115 -115
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkGradient.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkStyleProperties.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkSymbolicColor.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkTreeView-drag-and-drop.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkWidgetPath.html +145 -145
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html +294 -240
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html +118 -118
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Orientable.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Resource-Files.html +276 -84
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Selections.html +162 -162
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Standard-Enumerations.html +292 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Stock-Items.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Testing.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html +131 -95
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3.devhelp2 +209 -54
- data/vendor/local/share/gtk-doc/html/gtk3/gtkbase.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtkobjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/index.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk3/index.sgml +156 -0
- data/vendor/local/share/gtk-doc/html/gtk3/migrating.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk3/pt06.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/theming.html +2 -2
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/man/man1/broadwayd.1 +17 -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 +12 -11
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="Application.html" title="Application support">
|
9
9
|
<link rel="prev" href="Application.html" title="Application support">
|
10
10
|
<link rel="next" href="GtkApplicationWindow.html" title="GtkApplicationWindow">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -49,47 +49,47 @@
|
|
49
49
|
#include <gtk/gtk.h>
|
50
50
|
|
51
51
|
struct <a class="link" href="GtkApplication.html#GtkApplication-struct" title="struct GtkApplication">GtkApplication</a>;
|
52
|
-
<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 <span class="type">gchar</span> *application_id</code></em>,
|
53
|
-
<em class="parameter"><code><span class="type">GApplicationFlags</span> flags</code></em>);
|
52
|
+
<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>,
|
53
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GApplication.html#GApplicationFlags"><span class="type">GApplicationFlags</span></a> flags</code></em>);
|
54
54
|
<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>,
|
55
55
|
<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>);
|
56
56
|
<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>,
|
57
57
|
<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>);
|
58
|
-
<span class="returnvalue">GList</span> * <a class="link" href="GtkApplication.html#gtk-application-get-windows" title="gtk_application_get_windows ()">gtk_application_get_windows</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>);
|
58
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GtkApplication.html#gtk-application-get-windows" title="gtk_application_get_windows ()">gtk_application_get_windows</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>);
|
59
59
|
<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="returnvalue">GtkWindow</span></a> * <a class="link" href="GtkApplication.html#gtk-application-get-window-by-id" title="gtk_application_get_window_by_id ()">gtk_application_get_window_by_id</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
60
|
-
<em class="parameter"><code><span class="type">guint</span> id</code></em>);
|
60
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> id</code></em>);
|
61
61
|
<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="returnvalue">GtkWindow</span></a> * <a class="link" href="GtkApplication.html#gtk-application-get-active-window" title="gtk_application_get_active_window ()">gtk_application_get_active_window</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>);
|
62
62
|
|
63
63
|
enum <a class="link" href="GtkApplication.html#GtkApplicationInhibitFlags" title="enum GtkApplicationInhibitFlags">GtkApplicationInhibitFlags</a>;
|
64
|
-
<span class="returnvalue">guint</span> <a class="link" href="GtkApplication.html#gtk-application-inhibit" title="gtk_application_inhibit ()">gtk_application_inhibit</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
64
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GtkApplication.html#gtk-application-inhibit" title="gtk_application_inhibit ()">gtk_application_inhibit</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
65
65
|
<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
|
66
66
|
<em class="parameter"><code><a class="link" href="GtkApplication.html#GtkApplicationInhibitFlags" title="enum GtkApplicationInhibitFlags"><span class="type">GtkApplicationInhibitFlags</span></a> flags</code></em>,
|
67
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *reason</code></em>);
|
67
|
+
<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> *reason</code></em>);
|
68
68
|
<span class="returnvalue">void</span> <a class="link" href="GtkApplication.html#gtk-application-uninhibit" title="gtk_application_uninhibit ()">gtk_application_uninhibit</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
69
|
-
<em class="parameter"><code><span class="type">guint</span> cookie</code></em>);
|
70
|
-
<span class="returnvalue">gboolean</span> <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>,
|
69
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> cookie</code></em>);
|
70
|
+
<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>,
|
71
71
|
<em class="parameter"><code><a class="link" href="GtkApplication.html#GtkApplicationInhibitFlags" title="enum GtkApplicationInhibitFlags"><span class="type">GtkApplicationInhibitFlags</span></a> flags</code></em>);
|
72
72
|
|
73
|
-
<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>);
|
73
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="returnvalue">GMenuModel</span></a> * <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>);
|
74
74
|
<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>,
|
75
|
-
<em class="parameter"><code><span class="type">GMenuModel</span> *app_menu</code></em>);
|
76
|
-
<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>);
|
75
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="type">GMenuModel</span></a> *app_menu</code></em>);
|
76
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="returnvalue">GMenuModel</span></a> * <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>);
|
77
77
|
<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>,
|
78
|
-
<em class="parameter"><code><span class="type">GMenuModel</span> *menubar</code></em>);
|
78
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="type">GMenuModel</span></a> *menubar</code></em>);
|
79
79
|
<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>,
|
80
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *accelerator</code></em>,
|
81
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *action_name</code></em>,
|
82
|
-
<em class="parameter"><code><span class="type">GVariant</span> *parameter</code></em>);
|
80
|
+
<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>,
|
81
|
+
<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>,
|
82
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameter</code></em>);
|
83
83
|
<span class="returnvalue">void</span> <a class="link" href="GtkApplication.html#gtk-application-remove-accelerator" title="gtk_application_remove_accelerator ()">gtk_application_remove_accelerator</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
84
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *action_name</code></em>,
|
85
|
-
<em class="parameter"><code><span class="type">GVariant</span> *parameter</code></em>);
|
84
|
+
<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
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameter</code></em>);
|
86
86
|
</pre>
|
87
87
|
</div>
|
88
88
|
<div class="refsect1">
|
89
89
|
<a name="GtkApplication.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
90
90
|
<pre class="synopsis">
|
91
|
-
GObject
|
92
|
-
|
91
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
92
|
+
+----<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GApplication.html">GApplication</a>
|
93
93
|
+----GtkApplication
|
94
94
|
</pre>
|
95
95
|
</div>
|
@@ -97,22 +97,22 @@ enum <a class="link" href="GtkApplication.html#GtkApplicationInhi
|
|
97
97
|
<a name="GtkApplication.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
98
98
|
<p>
|
99
99
|
GtkApplication implements
|
100
|
-
GActionGroup and GActionMap
|
100
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GActionGroup.html">GActionGroup</a> and <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GActionMap.html">GActionMap</a>.</p>
|
101
101
|
</div>
|
102
102
|
<div class="refsect1">
|
103
103
|
<a name="GtkApplication.properties"></a><h2>Properties</h2>
|
104
104
|
<pre class="synopsis">
|
105
105
|
"<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
|
106
|
-
"<a class="link" href="GtkApplication.html#GtkApplication--app-menu" title='The "app-menu" property'>app-menu</a>" <span class="type">GMenuModel</span>* : Read / Write
|
107
|
-
"<a class="link" href="GtkApplication.html#GtkApplication--menubar" title='The "menubar" property'>menubar</a>" <span class="type">GMenuModel</span>* : Read / Write
|
108
|
-
"<a class="link" href="GtkApplication.html#GtkApplication--register-session" title='The "register-session" property'>register-session</a>" <span class="type">gboolean</span> : Read / Write
|
106
|
+
"<a class="link" href="GtkApplication.html#GtkApplication--app-menu" title='The "app-menu" property'>app-menu</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="type">GMenuModel</span></a>* : Read / Write
|
107
|
+
"<a class="link" href="GtkApplication.html#GtkApplication--menubar" title='The "menubar" property'>menubar</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="type">GMenuModel</span></a>* : Read / Write
|
108
|
+
"<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
|
109
109
|
</pre>
|
110
110
|
</div>
|
111
111
|
<div class="refsect1">
|
112
112
|
<a name="GtkApplication.signals"></a><h2>Signals</h2>
|
113
113
|
<pre class="synopsis">
|
114
|
-
"<a class="link" href="GtkApplication.html#GtkApplication-window-added" title='The "window-added" signal'>window-added</a>" : <code class="literal">Run First</code>
|
115
|
-
"<a class="link" href="GtkApplication.html#GtkApplication-window-removed" title='The "window-removed" signal'>window-removed</a>" : <code class="literal">Run First</code>
|
114
|
+
"<a class="link" href="GtkApplication.html#GtkApplication-window-added" title='The "window-added" signal'>window-added</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
|
115
|
+
"<a class="link" href="GtkApplication.html#GtkApplication-window-removed" title='The "window-removed" signal'>window-removed</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
|
116
116
|
</pre>
|
117
117
|
</div>
|
118
118
|
<div class="refsect1">
|
@@ -139,17 +139,17 @@ lock when invoking actions that arrive from other processes. The GDK
|
|
139
139
|
lock is not touched for local action invocations. In order to have
|
140
140
|
actions invoked in a predictable context it is therefore recommended
|
141
141
|
that the GDK lock be held while invoking actions locally with
|
142
|
-
<code class="function">g_action_group_activate_action()</code>. The same applies to actions
|
142
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GActionGroup.html#g-action-group-activate-action"><code class="function">g_action_group_activate_action()</code></a>. The same applies to actions
|
143
143
|
associated with <a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a> and to the 'activate' and
|
144
|
-
'open' <span class="type">GApplication</span> methods.
|
144
|
+
'open' <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GApplication.html"><span class="type">GApplication</span></a> methods.
|
145
145
|
</p>
|
146
146
|
<p>
|
147
147
|
To set an application menu for a GtkApplication, use
|
148
|
-
<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
|
148
|
+
<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 <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="type">GMenuModel</span></a> that this function
|
149
149
|
expects is usually constructed using <a class="link" href="GtkBuilder.html" title="GtkBuilder"><span class="type">GtkBuilder</span></a>, as seen in the
|
150
150
|
following example. To specify a menubar that will be shown by
|
151
151
|
<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
|
152
|
-
<span class="type">GActionMap</span> interface to add actions, to respond to the user
|
152
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GActionMap.html"><span class="type">GActionMap</span></a> interface to add actions, to respond to the user
|
153
153
|
selecting these menu items.
|
154
154
|
</p>
|
155
155
|
<p>
|
@@ -159,7 +159,7 @@ the application is running on.
|
|
159
159
|
<p>
|
160
160
|
</p>
|
161
161
|
<div class="figure">
|
162
|
-
<a name="
|
162
|
+
<a name="id-1.5.23.2.8.8.1"></a><p class="title"><b>Figure Menu integration in OS X. </b></p>
|
163
163
|
<div class="figure-contents"><div><img src="bloatpad-osx.png"></div></div>
|
164
164
|
</div>
|
165
165
|
<p><br class="figure-break">
|
@@ -167,7 +167,7 @@ the application is running on.
|
|
167
167
|
<p>
|
168
168
|
</p>
|
169
169
|
<div class="figure">
|
170
|
-
<a name="
|
170
|
+
<a name="id-1.5.23.2.8.9.1"></a><p class="title"><b>Figure Menu integration in GNOME. </b></p>
|
171
171
|
<div class="figure-contents"><div><img src="bloatpad-gnome.png"></div></div>
|
172
172
|
</div>
|
173
173
|
<p><br class="figure-break">
|
@@ -175,7 +175,7 @@ the application is running on.
|
|
175
175
|
<p>
|
176
176
|
</p>
|
177
177
|
<div class="figure">
|
178
|
-
<a name="
|
178
|
+
<a name="id-1.5.23.2.8.10.1"></a><p class="title"><b>Figure Menu integration in Xfce. </b></p>
|
179
179
|
<div class="figure-contents"><div><img src="bloatpad-xfce.png"></div></div>
|
180
180
|
</div>
|
181
181
|
<p><br class="figure-break">
|
@@ -640,9 +640,9 @@ the application is running on.
|
|
640
640
|
<span class="cbracket">{</span>
|
641
641
|
<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>
|
642
642
|
|
643
|
-
<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>
|
644
|
-
<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">g_variant_new_boolean</span><span class="normal"> </span><span class="symbol">(!</span><span class="function">g_variant_get_boolean</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state</span><span class="symbol">)));</span>
|
645
|
-
<span class="normal"> </span><span class="function">g_variant_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state</span><span class="symbol">);</span>
|
643
|
+
<span class="normal"> state </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/gio/GAction.html#g-action-get-state">g_action_get_state</a></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>
|
644
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAction.html#g-action-change-state">g_action_change_state</a></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>
|
645
|
+
<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>
|
646
646
|
<span class="cbracket">}</span>
|
647
647
|
|
648
648
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -650,7 +650,7 @@ the application is running on.
|
|
650
650
|
<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>
|
651
651
|
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
652
652
|
<span class="cbracket">{</span>
|
653
|
-
<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>
|
653
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAction.html#g-action-change-state">g_action_change_state</a></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>
|
654
654
|
<span class="cbracket">}</span>
|
655
655
|
|
656
656
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -658,12 +658,12 @@ the application is running on.
|
|
658
658
|
<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>
|
659
659
|
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
660
660
|
<span class="cbracket">{</span>
|
661
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">g_variant_get_boolean</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state</span><span class="symbol">))</span>
|
661
|
+
<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>
|
662
662
|
<span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-fullscreen">gtk_window_fullscreen</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user_data</span><span class="symbol">);</span>
|
663
663
|
<span class="normal"> </span><span class="keyword">else</span>
|
664
664
|
<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>
|
665
665
|
|
666
|
-
<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>
|
666
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html#g-simple-action-set-state">g_simple_action_set_state</a></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>
|
667
667
|
<span class="cbracket">}</span>
|
668
668
|
|
669
669
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -671,22 +671,22 @@ the application is running on.
|
|
671
671
|
<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>
|
672
672
|
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
673
673
|
<span class="cbracket">{</span>
|
674
|
-
<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>
|
674
|
+
<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"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-get-data">g_object_get_data</a></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>
|
675
675
|
<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>
|
676
676
|
|
677
|
-
<span class="normal"> str </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_variant_get_string</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state</span><span class="symbol">,</span><span class="normal"> <a href="/
|
677
|
+
<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>
|
678
678
|
|
679
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">g_str_equal</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">str</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"left"</span><span class="symbol">))</span>
|
679
|
+
<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-Hash-Tables.html#g-str-equal">g_str_equal</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">str</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"left"</span><span class="symbol">))</span>
|
680
680
|
<span class="normal"> </span><span class="function"><a href="GtkTextView.html#gtk-text-view-set-justification">gtk_text_view_set_justification</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> <a href="gtk3-Standard-Enumerations.html#GTK-JUSTIFY-LEFT:CAPS">GTK_JUSTIFY_LEFT</a></span><span class="symbol">);</span>
|
681
|
-
<span class="normal"> </span><span class="keyword">else</span><span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">g_str_equal</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">str</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"center"</span><span class="symbol">))</span>
|
681
|
+
<span class="normal"> </span><span class="keyword">else</span><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-Hash-Tables.html#g-str-equal">g_str_equal</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">str</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"center"</span><span class="symbol">))</span>
|
682
682
|
<span class="normal"> </span><span class="function"><a href="GtkTextView.html#gtk-text-view-set-justification">gtk_text_view_set_justification</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> <a href="gtk3-Standard-Enumerations.html#GTK-JUSTIFY-CENTER:CAPS">GTK_JUSTIFY_CENTER</a></span><span class="symbol">);</span>
|
683
|
-
<span class="normal"> </span><span class="keyword">else</span><span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">g_str_equal</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">str</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"right"</span><span class="symbol">))</span>
|
683
|
+
<span class="normal"> </span><span class="keyword">else</span><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-Hash-Tables.html#g-str-equal">g_str_equal</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">str</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"right"</span><span class="symbol">))</span>
|
684
684
|
<span class="normal"> </span><span class="function"><a href="GtkTextView.html#gtk-text-view-set-justification">gtk_text_view_set_justification</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> <a href="gtk3-Standard-Enumerations.html#GTK-JUSTIFY-RIGHT:CAPS">GTK_JUSTIFY_RIGHT</a></span><span class="symbol">);</span>
|
685
685
|
<span class="normal"> </span><span class="keyword">else</span>
|
686
686
|
<span class="normal"> </span><span class="comment">/* ignore this attempted change */</span>
|
687
687
|
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
688
688
|
|
689
|
-
<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>
|
689
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html#g-simple-action-set-state">g_simple_action_set_state</a></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>
|
690
690
|
<span class="cbracket">}</span>
|
691
691
|
|
692
692
|
<span class="keyword">static</span><span class="normal"> <a href="gtk3-Clipboards.html#GtkClipboard">GtkClipboard</a> </span><span class="symbol">*</span>
|
@@ -701,7 +701,7 @@ the application is running on.
|
|
701
701
|
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
702
702
|
<span class="cbracket">{</span>
|
703
703
|
<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>
|
704
|
-
<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>
|
704
|
+
<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"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-get-data">g_object_get_data</a></span><span class="normal"> </span><span class="symbol">((</span><span class="normal"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a></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>
|
705
705
|
|
706
706
|
<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>
|
707
707
|
<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>
|
@@ -713,19 +713,19 @@ the application is running on.
|
|
713
713
|
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
714
714
|
<span class="cbracket">{</span>
|
715
715
|
<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>
|
716
|
-
<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>
|
716
|
+
<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"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-get-data">g_object_get_data</a></span><span class="normal"> </span><span class="symbol">((</span><span class="normal"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a></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>
|
717
717
|
<span class="normal"> </span>
|
718
718
|
<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>
|
719
719
|
<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>
|
720
|
-
<span class="normal"> <a href="/
|
721
|
-
<span class="normal"> TRUE</span><span class="symbol">);</span>
|
720
|
+
<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>
|
721
|
+
<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>
|
722
722
|
|
723
723
|
<span class="cbracket">}</span>
|
724
724
|
|
725
725
|
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">GActionEntry</span><span class="normal"> win_entries</span><span class="symbol">[]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> </span><span class="cbracket">{</span>
|
726
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"copy"</span><span class="symbol">,</span><span class="normal"> window_copy</span><span class="symbol">,</span><span class="normal"> <a href="/
|
727
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"paste"</span><span class="symbol">,</span><span class="normal"> window_paste</span><span class="symbol">,</span><span class="normal"> <a href="/
|
728
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"fullscreen"</span><span class="symbol">,</span><span class="normal"> activate_toggle</span><span class="symbol">,</span><span class="normal"> <a href="/
|
726
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"copy"</span><span class="symbol">,</span><span class="normal"> window_copy</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><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="cbracket">}</span><span class="symbol">,</span>
|
727
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"paste"</span><span class="symbol">,</span><span class="normal"> window_paste</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><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="cbracket">}</span><span class="symbol">,</span>
|
728
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"fullscreen"</span><span class="symbol">,</span><span class="normal"> activate_toggle</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="string">"false"</span><span class="symbol">,</span><span class="normal"> change_fullscreen_state </span><span class="cbracket">}</span><span class="symbol">,</span>
|
729
729
|
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"justify"</span><span class="symbol">,</span><span class="normal"> activate_radio</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"s"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"'left'"</span><span class="symbol">,</span><span class="normal"> change_justify_state </span><span class="cbracket">}</span>
|
730
730
|
<span class="cbracket">}</span><span class="symbol">;</span>
|
731
731
|
|
@@ -740,7 +740,7 @@ the application is running on.
|
|
740
740
|
|
741
741
|
<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>
|
742
742
|
<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>
|
743
|
-
<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">G_N_ELEMENTS</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>
|
743
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GActionMap.html#g-action-map-add-action-entries">g_action_map_add_action_entries</a></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>
|
744
744
|
<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>
|
745
745
|
|
746
746
|
<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>
|
@@ -760,8 +760,8 @@ the application is running on.
|
|
760
760
|
<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">toolbar</span><span class="symbol">),</span><span class="normal"> </span><span class="function">GTK_WIDGET</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">));</span>
|
761
761
|
|
762
762
|
<span class="normal"> button </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkSeparatorToolItem.html#gtk-separator-tool-item-new">gtk_separator_tool_item_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
763
|
-
<span class="normal"> </span><span class="function"><a href="GtkSeparatorToolItem.html#gtk-separator-tool-item-set-draw">gtk_separator_tool_item_set_draw</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_SEPARATOR_TOOL_ITEM</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">),</span><span class="normal"> FALSE</span><span class="symbol">);</span>
|
764
|
-
<span class="normal"> </span><span class="function"><a href="GtkToolItem.html#gtk-tool-item-set-expand">gtk_tool_item_set_expand</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TOOL_ITEM</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">),</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
763
|
+
<span class="normal"> </span><span class="function"><a href="GtkSeparatorToolItem.html#gtk-separator-tool-item-set-draw">gtk_separator_tool_item_set_draw</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_SEPARATOR_TOOL_ITEM</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</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#FALSE:CAPS">FALSE</a></span><span class="symbol">);</span>
|
764
|
+
<span class="normal"> </span><span class="function"><a href="GtkToolItem.html#gtk-tool-item-set-expand">gtk_tool_item_set_expand</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TOOL_ITEM</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</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>
|
765
765
|
<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">toolbar</span><span class="symbol">),</span><span class="normal"> </span><span class="function">GTK_WIDGET</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">));</span>
|
766
766
|
|
767
767
|
<span class="normal"> button </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkToolItem.html#gtk-tool-item-new">gtk_tool_item_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
@@ -776,29 +776,29 @@ the application is running on.
|
|
776
776
|
|
777
777
|
<span class="normal"> </span><span class="function"><a href="GtkGrid.html#gtk-grid-attach">gtk_grid_attach</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_GRID</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">grid</span><span class="symbol">),</span><span class="normal"> toolbar</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
778
778
|
|
779
|
-
<span class="normal"> scrolled </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkScrolledWindow.html#gtk-scrolled-window-new">gtk_scrolled_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/
|
780
|
-
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-set-hexpand">gtk_widget_set_hexpand</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scrolled</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
781
|
-
<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"> TRUE</span><span class="symbol">);</span>
|
779
|
+
<span class="normal"> scrolled </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkScrolledWindow.html#gtk-scrolled-window-new">gtk_scrolled_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-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>
|
780
|
+
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-set-hexpand">gtk_widget_set_hexpand</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>
|
781
|
+
<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>
|
782
782
|
<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>
|
783
783
|
|
784
|
-
<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>
|
784
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-set-data">g_object_set_data</a></span><span class="normal"> </span><span class="symbol">((</span><span class="normal"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a></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>
|
785
785
|
|
786
786
|
<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>
|
787
787
|
|
788
788
|
<span class="normal"> </span><span class="function"><a href="GtkGrid.html#gtk-grid-attach">gtk_grid_attach</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_GRID</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">grid</span><span class="symbol">),</span><span class="normal"> scrolled</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
789
789
|
|
790
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">file </span><span class="symbol">!=</span><span class="normal"> <a href="/
|
790
|
+
<span class="normal"> </span><span class="keyword">if</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>
|
791
791
|
<span class="normal"> </span><span class="cbracket">{</span>
|
792
792
|
<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>
|
793
793
|
<span class="normal"> </span><span class="usertype">gsize</span><span class="normal"> length</span><span class="symbol">;</span>
|
794
794
|
|
795
|
-
<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="/
|
795
|
+
<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/gio/GFile.html#g-file-load-contents">g_file_load_contents</a></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>
|
796
796
|
<span class="normal"> </span><span class="cbracket">{</span>
|
797
797
|
<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>
|
798
798
|
|
799
799
|
<span class="normal"> buffer </span><span class="symbol">=</span><span class="normal"> </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="function">GTK_TEXT_VIEW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">view</span><span class="symbol">));</span>
|
800
800
|
<span class="normal"> </span><span class="function"><a href="GtkTextBuffer.html#gtk-text-buffer-set-text">gtk_text_buffer_set_text</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">buffer</span><span class="symbol">,</span><span class="normal"> contents</span><span class="symbol">,</span><span class="normal"> length</span><span class="symbol">);</span>
|
801
|
-
<span class="normal"> </span><span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">contents</span><span class="symbol">);</span>
|
801
|
+
<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">contents</span><span class="symbol">);</span>
|
802
802
|
<span class="normal"> </span><span class="cbracket">}</span>
|
803
803
|
<span class="normal"> </span><span class="cbracket">}</span>
|
804
804
|
|
@@ -808,7 +808,7 @@ the application is running on.
|
|
808
808
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
809
809
|
<span class="function">bloat_pad_activate</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GApplication</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">application</span><span class="symbol">)</span>
|
810
810
|
<span class="cbracket">{</span>
|
811
|
-
<span class="normal"> </span><span class="function">new_window</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">,</span><span class="normal"> <a href="/
|
811
|
+
<span class="normal"> </span><span class="function">new_window</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</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>
|
812
812
|
<span class="cbracket">}</span>
|
813
813
|
|
814
814
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -833,12 +833,12 @@ the application is running on.
|
|
833
833
|
|
834
834
|
<span class="keyword">typedef</span><span class="normal"> </span><span class="usertype">GtkApplicationClass</span><span class="normal"> BloatPadClass</span><span class="symbol">;</span>
|
835
835
|
|
836
|
-
<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>
|
836
|
+
<span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-DEFINE-TYPE:CAPS">G_DEFINE_TYPE</a></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>
|
837
837
|
|
838
838
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
839
839
|
<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>
|
840
840
|
<span class="cbracket">{</span>
|
841
|
-
<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>
|
841
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS">G_OBJECT_CLASS</a></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>
|
842
842
|
<span class="cbracket">}</span>
|
843
843
|
|
844
844
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -848,7 +848,7 @@ the application is running on.
|
|
848
848
|
<span class="cbracket">{</span>
|
849
849
|
<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>
|
850
850
|
|
851
|
-
<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>
|
851
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GApplication.html#g-application-activate">g_application_activate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span>
|
852
852
|
<span class="cbracket">}</span>
|
853
853
|
|
854
854
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -856,11 +856,11 @@ the application is running on.
|
|
856
856
|
<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>
|
857
857
|
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
858
858
|
<span class="cbracket">{</span>
|
859
|
-
<span class="normal"> </span><span class="function"><a href="GtkAboutDialog.html#gtk-show-about-dialog">gtk_show_about_dialog</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/
|
859
|
+
<span class="normal"> </span><span class="function"><a href="GtkAboutDialog.html#gtk-show-about-dialog">gtk_show_about_dialog</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span>
|
860
860
|
<span class="normal"> </span><span class="string">"program-name"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Bloatpad"</span><span class="symbol">,</span>
|
861
861
|
<span class="normal"> </span><span class="string">"title"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"About Bloatpad"</span><span class="symbol">,</span>
|
862
862
|
<span class="normal"> </span><span class="string">"comments"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Not much to say, really."</span><span class="symbol">,</span>
|
863
|
-
<span class="normal"> <a href="/
|
863
|
+
<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>
|
864
864
|
<span class="cbracket">}</span>
|
865
865
|
|
866
866
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -870,28 +870,28 @@ the application is running on.
|
|
870
870
|
<span class="cbracket">{</span>
|
871
871
|
<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>
|
872
872
|
|
873
|
-
<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>
|
873
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GApplication.html#g-application-quit">g_application_quit</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span>
|
874
874
|
<span class="cbracket">}</span>
|
875
875
|
|
876
|
-
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
876
|
+
<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>
|
877
877
|
<span class="function">update_time</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
878
878
|
<span class="cbracket">{</span>
|
879
879
|
<span class="normal"> </span><span class="usertype">BloatPad</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bloatpad </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
|
880
880
|
<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>
|
881
881
|
<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>
|
882
882
|
|
883
|
-
<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>
|
884
|
-
<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>
|
883
|
+
<span class="normal"> </span><span class="keyword">while</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/gio/GMenuModel.html#g-menu-model-get-n-items">g_menu_model_get_n_items</a></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>
|
884
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenu.html#g-menu-remove">g_menu_remove</a></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>
|
885
885
|
|
886
|
-
<span class="normal"> </span><span class="function">g_message</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>
|
886
|
+
<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>
|
887
887
|
|
888
|
-
<span class="normal"> now </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_date_time_new_now_local</span><span class="normal"> </span><span class="symbol">();</span>
|
889
|
-
<span class="normal"> time </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_date_time_format</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>
|
890
|
-
<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="/
|
891
|
-
<span class="normal"> </span><span class="function">g_date_time_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">now</span><span class="symbol">);</span>
|
892
|
-
<span class="normal"> </span><span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">time</span><span class="symbol">);</span>
|
888
|
+
<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>
|
889
|
+
<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>
|
890
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenu.html#g-menu-append">g_menu_append</a></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>
|
891
|
+
<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>
|
892
|
+
<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>
|
893
893
|
|
894
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> G_SOURCE_CONTINUE</span><span class="symbol">;</span>
|
894
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#G-SOURCE-CONTINUE:CAPS">G_SOURCE_CONTINUE</a></span><span class="symbol">;</span>
|
895
895
|
<span class="cbracket">}</span>
|
896
896
|
|
897
897
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -901,11 +901,11 @@ the application is running on.
|
|
901
901
|
<span class="cbracket">{</span>
|
902
902
|
<span class="normal"> </span><span class="usertype">BloatPad</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bloatpad </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
|
903
903
|
|
904
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">g_variant_get_boolean</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state</span><span class="symbol">))</span>
|
904
|
+
<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>
|
905
905
|
<span class="normal"> </span><span class="cbracket">{</span>
|
906
906
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="normal">bloatpad</span><span class="symbol">-></span><span class="normal">timeout</span><span class="symbol">)</span>
|
907
907
|
<span class="normal"> </span><span class="cbracket">{</span>
|
908
|
-
<span class="normal"> bloatpad</span><span class="symbol">-></span><span class="normal">timeout </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_timeout_add</span><span class="normal"> </span><span class="symbol">(</span><span class="number">1000</span><span class="symbol">,</span><span class="normal"> update_time</span><span class="symbol">,</span><span class="normal"> bloatpad</span><span class="symbol">);</span>
|
908
|
+
<span class="normal"> bloatpad</span><span class="symbol">-></span><span class="normal">timeout </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-The-Main-Event-Loop.html#g-timeout-add">g_timeout_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">1000</span><span class="symbol">,</span><span class="normal"> update_time</span><span class="symbol">,</span><span class="normal"> bloatpad</span><span class="symbol">);</span>
|
909
909
|
<span class="normal"> </span><span class="function">update_time</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bloatpad</span><span class="symbol">);</span>
|
910
910
|
<span class="normal"> </span><span class="cbracket">}</span>
|
911
911
|
<span class="normal"> </span><span class="cbracket">}</span>
|
@@ -913,19 +913,19 @@ the application is running on.
|
|
913
913
|
<span class="normal"> </span><span class="cbracket">{</span>
|
914
914
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bloatpad</span><span class="symbol">-></span><span class="normal">timeout</span><span class="symbol">)</span>
|
915
915
|
<span class="normal"> </span><span class="cbracket">{</span>
|
916
|
-
<span class="normal"> </span><span class="function">g_source_remove</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bloatpad</span><span class="symbol">-></span><span class="normal">timeout</span><span class="symbol">);</span>
|
916
|
+
<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-The-Main-Event-Loop.html#g-source-remove">g_source_remove</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bloatpad</span><span class="symbol">-></span><span class="normal">timeout</span><span class="symbol">);</span>
|
917
917
|
<span class="normal"> bloatpad</span><span class="symbol">-></span><span class="normal">timeout </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
918
918
|
<span class="normal"> </span><span class="cbracket">}</span>
|
919
919
|
<span class="normal"> </span><span class="cbracket">}</span>
|
920
920
|
|
921
|
-
<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>
|
921
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html#g-simple-action-set-state">g_simple_action_set_state</a></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>
|
922
922
|
<span class="cbracket">}</span>
|
923
923
|
|
924
924
|
<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>
|
925
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"new"</span><span class="symbol">,</span><span class="normal"> new_activated</span><span class="symbol">,</span><span class="normal"> <a href="/
|
926
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"about"</span><span class="symbol">,</span><span class="normal"> about_activated</span><span class="symbol">,</span><span class="normal"> <a href="/
|
927
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"quit"</span><span class="symbol">,</span><span class="normal"> quit_activated</span><span class="symbol">,</span><span class="normal"> <a href="/
|
928
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"time-active"</span><span class="symbol">,</span><span class="normal"> <a href="/
|
925
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"new"</span><span class="symbol">,</span><span class="normal"> new_activated</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><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="cbracket">}</span><span class="symbol">,</span>
|
926
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"about"</span><span class="symbol">,</span><span class="normal"> about_activated</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><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="cbracket">}</span><span class="symbol">,</span>
|
927
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"quit"</span><span class="symbol">,</span><span class="normal"> quit_activated</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><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="cbracket">}</span><span class="symbol">,</span>
|
928
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"time-active"</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><span class="normal"> </span><span class="string">"false"</span><span class="symbol">,</span><span class="normal"> time_active_changed </span><span class="cbracket">}</span>
|
929
929
|
<span class="cbracket">}</span><span class="symbol">;</span>
|
930
930
|
|
931
931
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -937,7 +937,7 @@ the application is running on.
|
|
937
937
|
<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>
|
938
938
|
<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>
|
939
939
|
|
940
|
-
<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">G_N_ELEMENTS</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>
|
940
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GActionMap.html#g-action-map-add-action-entries">g_action_map_add_action_entries</a></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>
|
941
941
|
|
942
942
|
<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>
|
943
943
|
<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>
|
@@ -995,12 +995,12 @@ the application is running on.
|
|
995
995
|
<span class="normal"> </span><span class="string">" <attribute name='submenu-action'>app.time-active</attribute>"</span>
|
996
996
|
<span class="normal"> </span><span class="string">" </submenu>"</span>
|
997
997
|
<span class="normal"> </span><span class="string">" </menu>"</span>
|
998
|
-
<span class="normal"> </span><span class="string">"</interface>"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span><span class="normal"> <a href="/
|
998
|
+
<span class="normal"> </span><span class="string">"</interface>"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</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>
|
999
999
|
<span class="normal"> </span><span class="function"><a href="GtkApplication.html#gtk-application-set-app-menu">gtk_application_set_app_menu</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">"app-menu"</span><span class="symbol">)));</span>
|
1000
1000
|
<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>
|
1001
1001
|
<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>
|
1002
1002
|
<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>
|
1003
|
-
<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>
|
1003
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">builder</span><span class="symbol">);</span>
|
1004
1004
|
<span class="cbracket">}</span>
|
1005
1005
|
|
1006
1006
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -1010,7 +1010,7 @@ the application is running on.
|
|
1010
1010
|
|
1011
1011
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bloatpad</span><span class="symbol">-></span><span class="normal">timeout</span><span class="symbol">)</span>
|
1012
1012
|
<span class="normal"> </span><span class="cbracket">{</span>
|
1013
|
-
<span class="normal"> </span><span class="function">g_source_remove</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bloatpad</span><span class="symbol">-></span><span class="normal">timeout</span><span class="symbol">);</span>
|
1013
|
+
<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-The-Main-Event-Loop.html#g-source-remove">g_source_remove</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bloatpad</span><span class="symbol">-></span><span class="normal">timeout</span><span class="symbol">);</span>
|
1014
1014
|
<span class="normal"> bloatpad</span><span class="symbol">-></span><span class="normal">timeout </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
1015
1015
|
<span class="normal"> </span><span class="cbracket">}</span>
|
1016
1016
|
|
@@ -1027,7 +1027,7 @@ the application is running on.
|
|
1027
1027
|
<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>
|
1028
1028
|
<span class="cbracket">{</span>
|
1029
1029
|
<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>
|
1030
|
-
<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>
|
1030
|
+
<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"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS">G_OBJECT_CLASS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">class</span><span class="symbol">);</span>
|
1031
1031
|
|
1032
1032
|
<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>
|
1033
1033
|
<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>
|
@@ -1043,14 +1043,14 @@ the application is running on.
|
|
1043
1043
|
<span class="cbracket">{</span>
|
1044
1044
|
<span class="normal"> </span><span class="usertype">BloatPad</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bloat_pad</span><span class="symbol">;</span>
|
1045
1045
|
|
1046
|
-
<span class="normal"> </span><span class="function">g_set_application_name</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Bloatpad"</span><span class="symbol">);</span>
|
1046
|
+
<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>
|
1047
1047
|
|
1048
|
-
<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>
|
1048
|
+
<span class="normal"> bloat_pad </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/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a></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>
|
1049
1049
|
<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>
|
1050
|
-
<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>
|
1050
|
+
<span class="normal"> </span><span class="string">"flags"</span><span class="symbol">,</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GApplication.html#G-APPLICATION-HANDLES-OPEN:CAPS">G_APPLICATION_HANDLES_OPEN</a></span><span class="symbol">,</span>
|
1051
1051
|
<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>
|
1052
|
-
<span class="normal"> </span><span class="string">"register-session"</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">,</span>
|
1053
|
-
<span class="normal"> <a href="/
|
1052
|
+
<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>
|
1053
|
+
<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>
|
1054
1054
|
|
1055
1055
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> bloat_pad</span><span class="symbol">;</span>
|
1056
1056
|
<span class="cbracket">}</span>
|
@@ -1064,11 +1064,11 @@ the application is running on.
|
|
1064
1064
|
<span class="normal"> bloat_pad </span><span class="symbol">=</span><span class="normal"> </span><span class="function">bloat_pad_new</span><span class="normal"> </span><span class="symbol">();</span>
|
1065
1065
|
|
1066
1066
|
<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>
|
1067
|
-
<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="/
|
1067
|
+
<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>
|
1068
1068
|
|
1069
|
-
<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>
|
1069
|
+
<span class="normal"> status </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/gio/GApplication.html#g-application-run">g_application_run</a></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>
|
1070
1070
|
|
1071
|
-
<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>
|
1071
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bloat_pad</span><span class="symbol">);</span>
|
1072
1072
|
|
1073
1073
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> status</span><span class="symbol">;</span>
|
1074
1074
|
<span class="cbracket">}</span></pre></td>
|
@@ -1105,8 +1105,8 @@ session while inhibitors are present.
|
|
1105
1105
|
<hr>
|
1106
1106
|
<div class="refsect2">
|
1107
1107
|
<a name="gtk-application-new"></a><h3>gtk_application_new ()</h3>
|
1108
|
-
<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 <span class="type">gchar</span> *application_id</code></em>,
|
1109
|
-
<em class="parameter"><code><span class="type">GApplicationFlags</span> flags</code></em>);</pre>
|
1108
|
+
<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>,
|
1109
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GApplication.html#GApplicationFlags"><span class="type">GApplicationFlags</span></a> flags</code></em>);</pre>
|
1110
1110
|
<p>
|
1111
1111
|
Creates a new <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> instance.
|
1112
1112
|
</p>
|
@@ -1117,7 +1117,7 @@ the primary instance.
|
|
1117
1117
|
</p>
|
1118
1118
|
<p>
|
1119
1119
|
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
|
1120
|
-
<span class="type">"startup"</span> signal. Therefore, <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> subclasses should
|
1120
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GApplication.html#GApplication-startup"><span class="type">"startup"</span></a> signal. Therefore, <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> subclasses should
|
1121
1121
|
chain up in their <span class="type">"startup"</span> handler before using any GTK+ API.
|
1122
1122
|
</p>
|
1123
1123
|
<p>
|
@@ -1130,8 +1130,8 @@ you can explicitly call <a class="link" href="gtk3-General.html#gtk-init" title=
|
|
1130
1130
|
instance.
|
1131
1131
|
</p>
|
1132
1132
|
<p>
|
1133
|
-
If non-<a href="/
|
1134
|
-
<code class="function">g_application_id_is_valid()</code>.
|
1133
|
+
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
|
1134
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GApplication.html#g-application-id-is-valid"><code class="function">g_application_id_is_valid()</code></a>.
|
1135
1135
|
</p>
|
1136
1136
|
<p>
|
1137
1137
|
If no application ID is given then some features (most notably application
|
@@ -1213,7 +1213,7 @@ Remove a window from <em class="parameter"><code>application</code></em>.
|
|
1213
1213
|
<p>
|
1214
1214
|
If <em class="parameter"><code>window</code></em> belongs to <em class="parameter"><code>application</code></em> then this call is equivalent to
|
1215
1215
|
setting the <a class="link" href="GtkWindow.html#GtkWindow--application" title='The "application" property'><span class="type">"application"</span></a> property of <em class="parameter"><code>window</code></em> to
|
1216
|
-
<a href="/
|
1216
|
+
<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>.
|
1217
1217
|
</p>
|
1218
1218
|
<p>
|
1219
1219
|
The application may stop running as a result of a call to this
|
@@ -1242,7 +1242,7 @@ function.
|
|
1242
1242
|
<hr>
|
1243
1243
|
<div class="refsect2">
|
1244
1244
|
<a name="gtk-application-get-windows"></a><h3>gtk_application_get_windows ()</h3>
|
1245
|
-
<pre class="programlisting"><span class="returnvalue">GList</span> * gtk_application_get_windows (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>);</pre>
|
1245
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gtk_application_get_windows (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>);</pre>
|
1246
1246
|
<p>
|
1247
1247
|
Gets a list of the <a href="GtkWindow.html"><span class="type">GtkWindows</span></a> associated with <em class="parameter"><code>application</code></em>.
|
1248
1248
|
</p>
|
@@ -1269,7 +1269,7 @@ deletion.
|
|
1269
1269
|
</tr>
|
1270
1270
|
<tr>
|
1271
1271
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1272
|
-
<td>a <span class="type">GList</span> of <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkWindow][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1272
|
+
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkWindow][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1273
1273
|
</td>
|
1274
1274
|
</tr>
|
1275
1275
|
</tbody>
|
@@ -1280,7 +1280,7 @@ deletion.
|
|
1280
1280
|
<div class="refsect2">
|
1281
1281
|
<a name="gtk-application-get-window-by-id"></a><h3>gtk_application_get_window_by_id ()</h3>
|
1282
1282
|
<pre class="programlisting"><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="returnvalue">GtkWindow</span></a> * gtk_application_get_window_by_id (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
1283
|
-
<em class="parameter"><code><span class="type">guint</span> id</code></em>);</pre>
|
1283
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> id</code></em>);</pre>
|
1284
1284
|
<p>
|
1285
1285
|
Returns the <a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a> with the given ID.
|
1286
1286
|
</p>
|
@@ -1302,7 +1302,7 @@ Returns the <a class="link" href="GtkApplicationWindow.html" title="GtkApplicati
|
|
1302
1302
|
<tr>
|
1303
1303
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1304
1304
|
<td>the window with ID <em class="parameter"><code>id</code></em>, or
|
1305
|
-
<a href="/
|
1305
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is no window with this ID. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1306
1306
|
</td>
|
1307
1307
|
</tr>
|
1308
1308
|
</tbody>
|
@@ -1391,10 +1391,10 @@ Types of user actions that may be blocked by <a class="link" href="GtkApplicatio
|
|
1391
1391
|
<hr>
|
1392
1392
|
<div class="refsect2">
|
1393
1393
|
<a name="gtk-application-inhibit"></a><h3>gtk_application_inhibit ()</h3>
|
1394
|
-
<pre class="programlisting"><span class="returnvalue">guint</span> gtk_application_inhibit (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
1394
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_application_inhibit (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
1395
1395
|
<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
|
1396
1396
|
<em class="parameter"><code><a class="link" href="GtkApplication.html#GtkApplicationInhibitFlags" title="enum GtkApplicationInhibitFlags"><span class="type">GtkApplicationInhibitFlags</span></a> flags</code></em>,
|
1397
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *reason</code></em>);</pre>
|
1397
|
+
<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> *reason</code></em>);</pre>
|
1398
1398
|
<p>
|
1399
1399
|
Inform the session manager that certain types of actions should be
|
1400
1400
|
inhibited. This is not guaranteed to work on all platforms and for
|
@@ -1430,12 +1430,12 @@ this window to find out more about why the action is inhibited.
|
|
1430
1430
|
<tbody>
|
1431
1431
|
<tr>
|
1432
1432
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
1433
|
-
<td>the <span class="type">GApplication</span>
|
1433
|
+
<td>the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GApplication.html"><span class="type">GApplication</span></a>
|
1434
1434
|
</td>
|
1435
1435
|
</tr>
|
1436
1436
|
<tr>
|
1437
1437
|
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
|
1438
|
-
<td>a <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>, or <a href="/
|
1438
|
+
<td>a <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>, 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>
|
1439
1439
|
</td>
|
1440
1440
|
</tr>
|
1441
1441
|
<tr>
|
@@ -1463,7 +1463,7 @@ inhibiting or the request failed for some reason, 0 is returned.</td>
|
|
1463
1463
|
<div class="refsect2">
|
1464
1464
|
<a name="gtk-application-uninhibit"></a><h3>gtk_application_uninhibit ()</h3>
|
1465
1465
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_application_uninhibit (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
1466
|
-
<em class="parameter"><code><span class="type">guint</span> cookie</code></em>);</pre>
|
1466
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> cookie</code></em>);</pre>
|
1467
1467
|
<p>
|
1468
1468
|
Removes an inhibitor that has been established with <a class="link" href="GtkApplication.html#gtk-application-inhibit" title="gtk_application_inhibit ()"><code class="function">gtk_application_inhibit()</code></a>.
|
1469
1469
|
Inhibitors are also cleared when the application exits.
|
@@ -1476,7 +1476,7 @@ Inhibitors are also cleared when the application exits.
|
|
1476
1476
|
<tbody>
|
1477
1477
|
<tr>
|
1478
1478
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
1479
|
-
<td>the <span class="type">GApplication</span>
|
1479
|
+
<td>the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GApplication.html"><span class="type">GApplication</span></a>
|
1480
1480
|
</td>
|
1481
1481
|
</tr>
|
1482
1482
|
<tr>
|
@@ -1491,7 +1491,7 @@ Inhibitors are also cleared when the application exits.
|
|
1491
1491
|
<hr>
|
1492
1492
|
<div class="refsect2">
|
1493
1493
|
<a name="gtk-application-is-inhibited"></a><h3>gtk_application_is_inhibited ()</h3>
|
1494
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_application_is_inhibited (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
1494
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_application_is_inhibited (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
1495
1495
|
<em class="parameter"><code><a class="link" href="GtkApplication.html#GtkApplicationInhibitFlags" title="enum GtkApplicationInhibitFlags"><span class="type">GtkApplicationInhibitFlags</span></a> flags</code></em>);</pre>
|
1496
1496
|
<p>
|
1497
1497
|
Determines if any of the actions specified in <em class="parameter"><code>flags</code></em> are
|
@@ -1505,7 +1505,7 @@ currently inhibited (possibly by another application).
|
|
1505
1505
|
<tbody>
|
1506
1506
|
<tr>
|
1507
1507
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
1508
|
-
<td>the <span class="type">GApplication</span>
|
1508
|
+
<td>the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GApplication.html"><span class="type">GApplication</span></a>
|
1509
1509
|
</td>
|
1510
1510
|
</tr>
|
1511
1511
|
<tr>
|
@@ -1515,7 +1515,7 @@ currently inhibited (possibly by another application).
|
|
1515
1515
|
<tr>
|
1516
1516
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1517
1517
|
<td>
|
1518
|
-
<code class="literal">TRUE</code> if any of the actions specified in <em class="parameter"><code>flags</code></em> are inhibited</td>
|
1518
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if any of the actions specified in <em class="parameter"><code>flags</code></em> are inhibited</td>
|
1519
1519
|
</tr>
|
1520
1520
|
</tbody>
|
1521
1521
|
</table></div>
|
@@ -1524,7 +1524,7 @@ currently inhibited (possibly by another application).
|
|
1524
1524
|
<hr>
|
1525
1525
|
<div class="refsect2">
|
1526
1526
|
<a name="gtk-application-get-app-menu"></a><h3>gtk_application_get_app_menu ()</h3>
|
1527
|
-
<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>
|
1527
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="returnvalue">GMenuModel</span></a> * 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>
|
1528
1528
|
<p>
|
1529
1529
|
Returns the menu model that has been set with
|
1530
1530
|
<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>.
|
@@ -1553,7 +1553,7 @@ Returns the menu model that has been set with
|
|
1553
1553
|
<div class="refsect2">
|
1554
1554
|
<a name="gtk-application-set-app-menu"></a><h3>gtk_application_set_app_menu ()</h3>
|
1555
1555
|
<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>,
|
1556
|
-
<em class="parameter"><code><span class="type">GMenuModel</span> *app_menu</code></em>);</pre>
|
1556
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="type">GMenuModel</span></a> *app_menu</code></em>);</pre>
|
1557
1557
|
<p>
|
1558
1558
|
Sets or unsets the application menu for <em class="parameter"><code>application</code></em>.
|
1559
1559
|
</p>
|
@@ -1574,7 +1574,7 @@ If supported, the application menu will be rendered by the desktop
|
|
1574
1574
|
environment.
|
1575
1575
|
</p>
|
1576
1576
|
<p>
|
1577
|
-
Use the base <span class="type">GActionMap</span> interface to add actions, to respond to the user
|
1577
|
+
Use the base <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GActionMap.html"><span class="type">GActionMap</span></a> interface to add actions, to respond to the user
|
1578
1578
|
selecting these menu items.
|
1579
1579
|
</p>
|
1580
1580
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -1590,7 +1590,7 @@ selecting these menu items.
|
|
1590
1590
|
</tr>
|
1591
1591
|
<tr>
|
1592
1592
|
<td><p><span class="term"><em class="parameter"><code>app_menu</code></em> :</span></p></td>
|
1593
|
-
<td>a <span class="type">GMenuModel</span>, or <a href="/
|
1593
|
+
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="type">GMenuModel</span></a>, 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>
|
1594
1594
|
</td>
|
1595
1595
|
</tr>
|
1596
1596
|
</tbody>
|
@@ -1600,7 +1600,7 @@ selecting these menu items.
|
|
1600
1600
|
<hr>
|
1601
1601
|
<div class="refsect2">
|
1602
1602
|
<a name="gtk-application-get-menubar"></a><h3>gtk_application_get_menubar ()</h3>
|
1603
|
-
<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>
|
1603
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="returnvalue">GMenuModel</span></a> * 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>
|
1604
1604
|
<p>
|
1605
1605
|
Returns the menu model that has been set with
|
1606
1606
|
<a class="link" href="GtkApplication.html#gtk-application-set-menubar" title="gtk_application_set_menubar ()"><code class="function">gtk_application_set_menubar()</code></a>.
|
@@ -1629,7 +1629,7 @@ Returns the menu model that has been set with
|
|
1629
1629
|
<div class="refsect2">
|
1630
1630
|
<a name="gtk-application-set-menubar"></a><h3>gtk_application_set_menubar ()</h3>
|
1631
1631
|
<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>,
|
1632
|
-
<em class="parameter"><code><span class="type">GMenuModel</span> *menubar</code></em>);</pre>
|
1632
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="type">GMenuModel</span></a> *menubar</code></em>);</pre>
|
1633
1633
|
<p>
|
1634
1634
|
Sets or unsets the menubar for windows of <em class="parameter"><code>application</code></em>.
|
1635
1635
|
</p>
|
@@ -1651,7 +1651,7 @@ example, the application menu may be rendered by the desktop shell
|
|
1651
1651
|
while the menubar (if set) remains in each individual window.
|
1652
1652
|
</p>
|
1653
1653
|
<p>
|
1654
|
-
Use the base <span class="type">GActionMap</span> interface to add actions, to respond to the user
|
1654
|
+
Use the base <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GActionMap.html"><span class="type">GActionMap</span></a> interface to add actions, to respond to the user
|
1655
1655
|
selecting these menu items.
|
1656
1656
|
</p>
|
1657
1657
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -1667,7 +1667,7 @@ selecting these menu items.
|
|
1667
1667
|
</tr>
|
1668
1668
|
<tr>
|
1669
1669
|
<td><p><span class="term"><em class="parameter"><code>menubar</code></em> :</span></p></td>
|
1670
|
-
<td>a <span class="type">GMenuModel</span>, or <a href="/
|
1670
|
+
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="type">GMenuModel</span></a>, 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>
|
1671
1671
|
</td>
|
1672
1672
|
</tr>
|
1673
1673
|
</tbody>
|
@@ -1678,9 +1678,9 @@ selecting these menu items.
|
|
1678
1678
|
<div class="refsect2">
|
1679
1679
|
<a name="gtk-application-add-accelerator"></a><h3>gtk_application_add_accelerator ()</h3>
|
1680
1680
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_application_add_accelerator (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
1681
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *accelerator</code></em>,
|
1682
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *action_name</code></em>,
|
1683
|
-
<em class="parameter"><code><span class="type">GVariant</span> *parameter</code></em>);</pre>
|
1681
|
+
<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>,
|
1682
|
+
<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>,
|
1683
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameter</code></em>);</pre>
|
1684
1684
|
<p>
|
1685
1685
|
Installs an accelerator that will cause the named action
|
1686
1686
|
to be activated when the key combination specificed by <em class="parameter"><code>accelerator</code></em>
|
@@ -1699,7 +1699,7 @@ with a "win." prefix.
|
|
1699
1699
|
</p>
|
1700
1700
|
<p>
|
1701
1701
|
GtkApplication also extracts accelerators out of 'accel' attributes
|
1702
|
-
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
|
1702
|
+
in the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="type">GMenuModels</span></a> 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
|
1703
1703
|
<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
|
1704
1704
|
than calling this function for each accelerator.
|
1705
1705
|
</p>
|
@@ -1725,7 +1725,7 @@ than calling this function for each accelerator.
|
|
1725
1725
|
<tr>
|
1726
1726
|
<td><p><span class="term"><em class="parameter"><code>parameter</code></em> :</span></p></td>
|
1727
1727
|
<td>parameter to pass when activating the action,
|
1728
|
-
or <a href="/
|
1728
|
+
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> if the action does not accept an activation parameter. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1729
1729
|
</td>
|
1730
1730
|
</tr>
|
1731
1731
|
</tbody>
|
@@ -1736,8 +1736,8 @@ or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><co
|
|
1736
1736
|
<div class="refsect2">
|
1737
1737
|
<a name="gtk-application-remove-accelerator"></a><h3>gtk_application_remove_accelerator ()</h3>
|
1738
1738
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_application_remove_accelerator (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>,
|
1739
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *action_name</code></em>,
|
1740
|
-
<em class="parameter"><code><span class="type">GVariant</span> *parameter</code></em>);</pre>
|
1739
|
+
<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>,
|
1740
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameter</code></em>);</pre>
|
1741
1741
|
<p>
|
1742
1742
|
Removes an accelerator that has been previously added
|
1743
1743
|
with <a class="link" href="GtkApplication.html#gtk-application-add-accelerator" title="gtk_application_add_accelerator ()"><code class="function">gtk_application_add_accelerator()</code></a>.
|
@@ -1760,7 +1760,7 @@ with <a class="link" href="GtkApplication.html#gtk-application-add-accelerator"
|
|
1760
1760
|
<tr>
|
1761
1761
|
<td><p><span class="term"><em class="parameter"><code>parameter</code></em> :</span></p></td>
|
1762
1762
|
<td>parameter to pass when activating the action,
|
1763
|
-
or <a href="/
|
1763
|
+
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> if the action does not accept an activation parameter. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1764
1764
|
</td>
|
1765
1765
|
</tr>
|
1766
1766
|
</tbody>
|
@@ -1778,21 +1778,21 @@ or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><co
|
|
1778
1778
|
<hr>
|
1779
1779
|
<div class="refsect2">
|
1780
1780
|
<a name="GtkApplication--app-menu"></a><h3>The <code class="literal">"app-menu"</code> property</h3>
|
1781
|
-
<pre class="programlisting"> "app-menu" <span class="type">GMenuModel</span>* : Read / Write</pre>
|
1781
|
+
<pre class="programlisting"> "app-menu" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="type">GMenuModel</span></a>* : Read / Write</pre>
|
1782
1782
|
<p>The GMenuModel for the application menu.</p>
|
1783
1783
|
</div>
|
1784
1784
|
<hr>
|
1785
1785
|
<div class="refsect2">
|
1786
1786
|
<a name="GtkApplication--menubar"></a><h3>The <code class="literal">"menubar"</code> property</h3>
|
1787
|
-
<pre class="programlisting"> "menubar" <span class="type">GMenuModel</span>* : Read / Write</pre>
|
1787
|
+
<pre class="programlisting"> "menubar" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMenuModel.html"><span class="type">GMenuModel</span></a>* : Read / Write</pre>
|
1788
1788
|
<p>The GMenuModel for the menubar.</p>
|
1789
1789
|
</div>
|
1790
1790
|
<hr>
|
1791
1791
|
<div class="refsect2">
|
1792
1792
|
<a name="GtkApplication--register-session"></a><h3>The <code class="literal">"register-session"</code> property</h3>
|
1793
|
-
<pre class="programlisting"> "register-session" <span class="type">gboolean</span> : Read / Write</pre>
|
1793
|
+
<pre class="programlisting"> "register-session" <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</pre>
|
1794
1794
|
<p>
|
1795
|
-
Set this property to <code class="literal">TRUE</code> to register with the session manager.
|
1795
|
+
Set this property to <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to register with the session manager.
|
1796
1796
|
</p>
|
1797
1797
|
<p>Default value: FALSE</p>
|
1798
1798
|
<p class="since">Since 3.4</p>
|
@@ -1804,7 +1804,7 @@ Set this property to <code class="literal">TRUE</code> to register with the sess
|
|
1804
1804
|
<a name="GtkApplication-window-added"></a><h3>The <code class="literal">"window-added"</code> signal</h3>
|
1805
1805
|
<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,
|
1806
1806
|
<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window,
|
1807
|
-
<span class="type">gpointer</span> user_data) : <code class="literal">Run First</code></pre>
|
1807
|
+
<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) : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
|
1808
1808
|
<p>
|
1809
1809
|
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
|
1810
1810
|
<a class="link" href="GtkApplication.html#gtk-application-add-window" title="gtk_application_add_window ()"><code class="function">gtk_application_add_window()</code></a>.
|
@@ -1837,7 +1837,7 @@ Emitted when a <a class="link" href="GtkWindow.html" title="GtkWindow"><span cla
|
|
1837
1837
|
<a name="GtkApplication-window-removed"></a><h3>The <code class="literal">"window-removed"</code> signal</h3>
|
1838
1838
|
<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,
|
1839
1839
|
<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window,
|
1840
|
-
<span class="type">gpointer</span> user_data) : <code class="literal">Run First</code></pre>
|
1840
|
+
<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) : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
|
1841
1841
|
<p>
|
1842
1842
|
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>,
|
1843
1843
|
either as a side-effect of being destroyed or explicitly
|
@@ -1869,6 +1869,6 @@ through <a class="link" href="GtkApplication.html#gtk-application-remove-window"
|
|
1869
1869
|
</div>
|
1870
1870
|
<div class="footer">
|
1871
1871
|
<hr>
|
1872
|
-
Generated by GTK-Doc V1.18</div>
|
1872
|
+
Generated by GTK-Doc V1.18.1</div>
|
1873
1873
|
</body>
|
1874
1874
|
</html>
|