gtk2 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gtk2/rbgdkproperty.c +4 -4
- data/ext/gtk2/rbgtk.c +17 -0
- data/ext/gtk2/rbgtkdialog.c +26 -7
- data/ext/gtk2/rbgtkselectiondata.c +4 -5
- data/lib/2.0/gtk2.so +0 -0
- data/test/test_gdk_pixbuf.rb +34 -0
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.la +1 -1
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.la +1 -1
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgailutil.la +1 -1
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.la +1 -1
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.la +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +46 -46
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplay.html +93 -93
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplayManager.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk2/GdkScreen.html +159 -159
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Application-launching.html +13 -13
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Bitmaps-and-Pixmaps.html +53 -53
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Colormaps-and-Colors.html +85 -85
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Cursors.html +17 -17
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drag-and-Drop.html +45 -45
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drawing-Primitives.html +200 -200
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Event-Structures.html +102 -102
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Events.html +61 -61
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Fonts.html +117 -117
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-GdkRGB.html +110 -110
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-General.html +75 -75
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Graphics-Contexts.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Images.html +52 -52
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input-Devices.html +55 -55
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input.html +23 -23
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Keyboard-Handling.html +99 -99
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pango-Interaction.html +32 -32
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pixbufs.html +20 -20
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Points-Rectangles-and-Regions.html +46 -46
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Properties-and-Atoms.html +125 -125
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Selections.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Testing.html +16 -16
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Threads.html +88 -88
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Visuals.html +56 -56
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Windows.html +395 -395
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-X-Window-System-Interaction.html +72 -72
- data/vendor/local/share/gtk-doc/html/gdk2/multihead.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAboutDialog.html +136 -136
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccelLabel.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccessible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAction.html +133 -133
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActionGroup.html +110 -110
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActivatable.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAdjustment.html +78 -78
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAlignment.html +54 -54
- data/vendor/local/share/gtk-doc/html/gtk2/GtkArrow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAspectFrame.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAssistant.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBin.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBox.html +67 -67
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuildable.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuilder.html +127 -127
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButton.html +73 -73
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButtonBox.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCList.html +294 -294
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCTree.html +212 -212
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCalendar.html +97 -97
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellEditable.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellLayout.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRenderer.html +100 -100
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererAccel.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererCombo.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererPixbuf.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererProgress.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpin.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpinner.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererText.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererToggle.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellView.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCheckButton.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorButton.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelection.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelectionDialog.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCombo.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBox.html +106 -106
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxEntry.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxText.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkContainer.html +92 -92
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCurve.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDialog.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDrawingArea.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEditable.html +60 -60
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntry.html +274 -274
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryBuffer.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryCompletion.html +103 -103
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEventBox.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkExpander.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooser.html +217 -217
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserButton.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserDialog.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserWidget.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileSelection.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFixed.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontButton.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelection.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelectionDialog.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFrame.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkGammaCurve.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHBox.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHButtonBox.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSV.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScale.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScrollbar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHandleBox.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContext.html +65 -65
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContextSimple.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMMulticontext.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconTheme.html +99 -99
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconView.html +214 -214
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImage.html +73 -73
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImageMenuItem.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInfoBar.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInputDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInvisible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItem.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItemFactory.html +107 -107
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLabel.html +158 -158
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLayout.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLinkButton.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkList.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListItem.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListStore.html +64 -64
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenu.html +107 -107
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuBar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuItem.html +66 -66
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuShell.html +45 -45
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuToolButton.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMessageDialog.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMisc.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkNotebook.html +225 -225
- data/vendor/local/share/gtk-doc/html/gtk2/GtkObject.html +117 -117
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOffscreenWindow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOldEditable.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOptionMenu.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetup.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetupUnixDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaned.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaperSize.html +68 -68
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPixmap.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPlug.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPreview.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintContext.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintJob.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintSettings.html +210 -210
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintUnixDialog.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrinter.html +96 -96
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgress.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgressBar.html +49 -49
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioAction.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioButton.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioMenuItem.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioToolButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRange.html +110 -110
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentAction.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooser.html +114 -114
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserDialog.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserMenu.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserWidget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentFilter.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentManager.html +147 -147
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRuler.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScale.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScaleButton.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrollbar.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrolledWindow.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorToolItem.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSettings.html +213 -213
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSizeGroup.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSocket.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinButton.html +93 -93
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinner.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusIcon.html +164 -164
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusbar.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStyle.html +467 -467
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTable.html +93 -93
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTearoffMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkText.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextBuffer.html +233 -233
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextIter.html +309 -309
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextMark.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTag.html +134 -134
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTagTable.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextView.html +237 -237
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTipsQuery.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleAction.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleButton.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleToolButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolButton.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItem.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItemGroup.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolPalette.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolShell.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolbar.html +127 -127
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltip.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltips.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTree.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeItem.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModel.html +156 -156
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelFilter.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelSort.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSelection.html +43 -43
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSortable.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeStore.html +74 -74
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeView.html +478 -478
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeViewColumn.html +175 -175
- data/vendor/local/share/gtk-doc/html/gtk2/GtkUIManager.html +64 -64
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVBox.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVButtonBox.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScale.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScrollbar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkViewport.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVolumeButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWidget.html +769 -769
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindow.html +310 -310
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindowGroup.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/TextWidget.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/TreeWidget.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/ch01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/chap-drawing-model.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-changes-2-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAboutDialog.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkColorButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkComboBox.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkIconView.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkLinkButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkRecentChooser.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-checklist.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-entry-icons.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-tooltips.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-question-index.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Accelerator-Maps.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Bindings.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Clipboards.html +115 -115
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Drag-and-Drop.html +80 -80
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Feature-Test-Macros.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Filesystem-utilities.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-General.html +173 -173
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Graphics-Contexts.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-GtkTreeView-drag-and-drop.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-High-level-Printing-API.html +168 -168
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Keyboard-Accelerators.html +100 -100
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Orientable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Resource-Files.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Selections.html +149 -149
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Signals.html +95 -95
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Stock-Items.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Testing.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Themeable-Stock-Images.html +69 -69
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Types.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkcheckmenuitem.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkfilefilter.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-selection-modes.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-advanced.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-chooser.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/migrating-GtkCombo.html +4 -4
- metadata +16 -17
- data/lib/1.9/gtk2.so +0 -0
- data/lib/2.1/gtk2.so +0 -0
@@ -45,32 +45,32 @@
|
|
45
45
|
#include <gtk/gtk.h>
|
46
46
|
|
47
47
|
struct <a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation-struct" title="struct GtkMountOperation">GtkMountOperation</a>;
|
48
|
-
<a href="
|
49
|
-
<a href="
|
48
|
+
<a href="http://library.gnome.org/devel/gio/unstable/GMountOperation.html"><span class="returnvalue">GMountOperation</span></a> * <a class="link" href="gtk2-Filesystem-utilities.html#gtk-mount-operation-new" title="gtk_mount_operation_new ()">gtk_mount_operation_new</a> (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>);
|
49
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-Filesystem-utilities.html#gtk-mount-operation-is-showing" title="gtk_mount_operation_is_showing ()">gtk_mount_operation_is_showing</a> (<em class="parameter"><code><a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a> *op</code></em>);
|
50
50
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-Filesystem-utilities.html#gtk-mount-operation-set-parent" title="gtk_mount_operation_set_parent ()">gtk_mount_operation_set_parent</a> (<em class="parameter"><code><a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a> *op</code></em>,
|
51
51
|
<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>);
|
52
52
|
<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="returnvalue">GtkWindow</span></a> * <a class="link" href="gtk2-Filesystem-utilities.html#gtk-mount-operation-get-parent" title="gtk_mount_operation_get_parent ()">gtk_mount_operation_get_parent</a> (<em class="parameter"><code><a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a> *op</code></em>);
|
53
53
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-Filesystem-utilities.html#gtk-mount-operation-set-screen" title="gtk_mount_operation_set_screen ()">gtk_mount_operation_set_screen</a> (<em class="parameter"><code><a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a> *op</code></em>,
|
54
54
|
<em class="parameter"><code><a href="../gdk2/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>);
|
55
55
|
<a href="../gdk2/GdkScreen.html"><span class="returnvalue">GdkScreen</span></a> * <a class="link" href="gtk2-Filesystem-utilities.html#gtk-mount-operation-get-screen" title="gtk_mount_operation_get_screen ()">gtk_mount_operation_get_screen</a> (<em class="parameter"><code><a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a> *op</code></em>);
|
56
|
-
<a href="
|
57
|
-
<em class="parameter"><code>const <a href="
|
58
|
-
<em class="parameter"><code><a href="
|
59
|
-
<em class="parameter"><code><a href="
|
56
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-Filesystem-utilities.html#gtk-show-uri" title="gtk_show_uri ()">gtk_show_uri</a> (<em class="parameter"><code><a href="../gdk2/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
57
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
58
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>,
|
59
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
60
60
|
</pre>
|
61
61
|
</div>
|
62
62
|
<div class="refsect1">
|
63
63
|
<a name="gtk2-Filesystem-utilities.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
64
64
|
<pre class="synopsis">
|
65
|
-
<a href="
|
66
|
-
+----<a href="
|
65
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
66
|
+
+----<a href="http://library.gnome.org/devel/gio/unstable/GMountOperation.html">GMountOperation</a>
|
67
67
|
+----GtkMountOperation
|
68
68
|
</pre>
|
69
69
|
</div>
|
70
70
|
<div class="refsect1">
|
71
71
|
<a name="gtk2-Filesystem-utilities.properties"></a><h2>Properties</h2>
|
72
72
|
<pre class="synopsis">
|
73
|
-
"<a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation--is-showing" title='The "is-showing" property'>is-showing</a>" <a href="
|
73
|
+
"<a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation--is-showing" title='The "is-showing" property'>is-showing</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read
|
74
74
|
"<a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation--parent" title='The "parent" property'>parent</a>" <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>* : Read / Write
|
75
75
|
"<a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation--screen" title='The "screen" property'>screen</a>" <a href="../gdk2/GdkScreen.html"><span class="type">GdkScreen</span></a>* : Read / Write
|
76
76
|
</pre>
|
@@ -83,10 +83,10 @@ GIO more convenient.
|
|
83
83
|
</p>
|
84
84
|
<p>
|
85
85
|
<a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a> is needed when mounting volumes:
|
86
|
-
It is an implementation of <a href="
|
86
|
+
It is an implementation of <a href="http://library.gnome.org/devel/gio/unstable/GMountOperation.html"><span class="type">GMountOperation</span></a> that can be used with
|
87
87
|
GIO functions for mounting volumes such as
|
88
|
-
<a href="
|
89
|
-
<a href="
|
88
|
+
<a href="http://library.gnome.org/devel/gio/unstable/GFile.html#g-file-mount-enclosing-volume"><code class="function">g_file_mount_enclosing_volume()</code></a>, <a href="http://library.gnome.org/devel/gio/unstable/GFile.html#g-file-mount-mountable"><code class="function">g_file_mount_mountable()</code></a>,
|
89
|
+
<a href="http://library.gnome.org/devel/gio/unstable/GVolume.html#g-volume-mount"><code class="function">g_volume_mount()</code></a>, <a href="http://library.gnome.org/devel/gio/unstable/GMount.html#g-mount-unmount-with-operation"><code class="function">g_mount_unmount_with_operation()</code></a> and others.
|
90
90
|
</p>
|
91
91
|
<p>
|
92
92
|
When necessary, <a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a> shows dialogs to ask for
|
@@ -113,7 +113,7 @@ This should not be accessed directly. Use the accessor functions below.
|
|
113
113
|
<hr>
|
114
114
|
<div class="refsect2">
|
115
115
|
<a name="gtk-mount-operation-new"></a><h3>gtk_mount_operation_new ()</h3>
|
116
|
-
<pre class="programlisting"><a href="
|
116
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GMountOperation.html"><span class="returnvalue">GMountOperation</span></a> * gtk_mount_operation_new (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>);</pre>
|
117
117
|
<p>
|
118
118
|
Creates a new <a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a>
|
119
119
|
</p>
|
@@ -125,7 +125,7 @@ Creates a new <a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOpera
|
|
125
125
|
<tbody>
|
126
126
|
<tr>
|
127
127
|
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
|
128
|
-
<td>transient parent of the window, or <a href="
|
128
|
+
<td>transient parent of the window, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
129
129
|
</td>
|
130
130
|
</tr>
|
131
131
|
<tr>
|
@@ -140,7 +140,7 @@ Creates a new <a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOpera
|
|
140
140
|
<hr>
|
141
141
|
<div class="refsect2">
|
142
142
|
<a name="gtk-mount-operation-is-showing"></a><h3>gtk_mount_operation_is_showing ()</h3>
|
143
|
-
<pre class="programlisting"><a href="
|
143
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_mount_operation_is_showing (<em class="parameter"><code><a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a> *op</code></em>);</pre>
|
144
144
|
<p>
|
145
145
|
Returns whether the <a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a> is currently displaying
|
146
146
|
a window.
|
@@ -159,7 +159,7 @@ a window.
|
|
159
159
|
<tr>
|
160
160
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
161
161
|
<td>
|
162
|
-
<a href="
|
162
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>op</code></em> is currently displaying a window</td>
|
163
163
|
</tr>
|
164
164
|
</tbody>
|
165
165
|
</table></div>
|
@@ -187,7 +187,7 @@ Sets the transient parent for windows shown by the
|
|
187
187
|
</tr>
|
188
188
|
<tr>
|
189
189
|
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
|
190
|
-
<td>transient parent of the window, or <a href="
|
190
|
+
<td>transient parent of the window, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
191
191
|
</td>
|
192
192
|
</tr>
|
193
193
|
</tbody>
|
@@ -280,10 +280,10 @@ will be shown.
|
|
280
280
|
<hr>
|
281
281
|
<div class="refsect2">
|
282
282
|
<a name="gtk-show-uri"></a><h3>gtk_show_uri ()</h3>
|
283
|
-
<pre class="programlisting"><a href="
|
284
|
-
<em class="parameter"><code>const <a href="
|
285
|
-
<em class="parameter"><code><a href="
|
286
|
-
<em class="parameter"><code><a href="
|
283
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_show_uri (<em class="parameter"><code><a href="../gdk2/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
284
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
285
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>,
|
286
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
287
287
|
<p>
|
288
288
|
This is a convenience function for launching the default application
|
289
289
|
to show the uri. The uri must be of a form understood by GIO (i.e. you
|
@@ -313,7 +313,7 @@ and <code class="function">gnome_url_show()</code>.
|
|
313
313
|
<tbody>
|
314
314
|
<tr>
|
315
315
|
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
|
316
|
-
<td>screen to show the uri on or <a href="
|
316
|
+
<td>screen to show the uri on or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for the default screen. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
317
317
|
</td>
|
318
318
|
</tr>
|
319
319
|
<tr>
|
@@ -326,12 +326,12 @@ and <code class="function">gnome_url_show()</code>.
|
|
326
326
|
</tr>
|
327
327
|
<tr>
|
328
328
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
329
|
-
<td>a <a href="
|
329
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> that is returned in case of errors</td>
|
330
330
|
</tr>
|
331
331
|
<tr>
|
332
332
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
333
333
|
<td>
|
334
|
-
<a href="
|
334
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</td>
|
335
335
|
</tr>
|
336
336
|
</tbody>
|
337
337
|
</table></div>
|
@@ -342,7 +342,7 @@ and <code class="function">gnome_url_show()</code>.
|
|
342
342
|
<a name="gtk2-Filesystem-utilities.property-details"></a><h2>Property Details</h2>
|
343
343
|
<div class="refsect2">
|
344
344
|
<a name="GtkMountOperation--is-showing"></a><h3>The <code class="literal">"is-showing"</code> property</h3>
|
345
|
-
<pre class="programlisting"> "is-showing" <a href="
|
345
|
+
<pre class="programlisting"> "is-showing" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre>
|
346
346
|
<p>Are we showing a dialog.</p>
|
347
347
|
<p>Default value: FALSE</p>
|
348
348
|
</div>
|
@@ -40,86 +40,86 @@
|
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <gtk/gtk.h>
|
42
42
|
|
43
|
-
<a href="
|
43
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gtk2-General.html#gtk-set-locale" title="gtk_set_locale ()">gtk_set_locale</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
44
44
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-disable-setlocale" title="gtk_disable_setlocale ()">gtk_disable_setlocale</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
45
45
|
<a href="/usr/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * <a class="link" href="gtk2-General.html#gtk-get-default-language" title="gtk_get_default_language ()">gtk_get_default_language</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
46
|
-
<a href="
|
46
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-General.html#gtk-parse-args" title="gtk_parse_args ()">gtk_parse_args</a> (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
47
47
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>);
|
48
48
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-init" title="gtk_init ()">gtk_init</a> (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
49
49
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>);
|
50
|
-
<a href="
|
50
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-General.html#gtk-init-check" title="gtk_init_check ()">gtk_init_check</a> (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
51
51
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>);
|
52
|
-
<a href="
|
52
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-General.html#gtk-init-with-args" title="gtk_init_with_args ()">gtk_init_with_args</a> (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
53
53
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>,
|
54
54
|
<em class="parameter"><code>const <span class="type">char</span> *parameter_string</code></em>,
|
55
|
-
<em class="parameter"><code><a href="
|
55
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a> *entries</code></em>,
|
56
56
|
<em class="parameter"><code>const <span class="type">char</span> *translation_domain</code></em>,
|
57
|
-
<em class="parameter"><code><a href="
|
58
|
-
<a href="
|
59
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-exit" title="gtk_exit ()">gtk_exit</a> (<em class="parameter"><code><a href="
|
60
|
-
<a href="
|
57
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
58
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#GOptionGroup"><span class="returnvalue">GOptionGroup</span></a> * <a class="link" href="gtk2-General.html#gtk-get-option-group" title="gtk_get_option_group ()">gtk_get_option_group</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> open_default_display</code></em>);
|
59
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-exit" title="gtk_exit ()">gtk_exit</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> error_code</code></em>);
|
60
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-General.html#gtk-events-pending" title="gtk_events_pending ()">gtk_events_pending</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
61
61
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-main" title="gtk_main ()">gtk_main</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
62
|
-
<a href="
|
62
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gtk2-General.html#gtk-main-level" title="gtk_main_level ()">gtk_main_level</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
63
63
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-main-quit" title="gtk_main_quit ()">gtk_main_quit</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
64
|
-
<a href="
|
65
|
-
<a href="
|
64
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-General.html#gtk-main-iteration" title="gtk_main_iteration ()">gtk_main_iteration</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
65
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-General.html#gtk-main-iteration-do" title="gtk_main_iteration_do ()">gtk_main_iteration_do</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>);
|
66
66
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-main-do-event" title="gtk_main_do_event ()">gtk_main_do_event</a> (<em class="parameter"><code><a href="../gdk2/gdk2-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
|
67
|
-
<span class="returnvalue">void</span> (<a class="link" href="gtk2-General.html#GtkModuleInitFunc" title="GtkModuleInitFunc ()">*GtkModuleInitFunc</a>) (<em class="parameter"><code><a href="
|
68
|
-
<em class="parameter"><code><a href="
|
67
|
+
<span class="returnvalue">void</span> (<a class="link" href="gtk2-General.html#GtkModuleInitFunc" title="GtkModuleInitFunc ()">*GtkModuleInitFunc</a>) (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *argc</code></em>,
|
68
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> ***argv</code></em>);
|
69
69
|
<span class="returnvalue">void</span> (<a class="link" href="gtk2-General.html#GtkModuleDisplayInitFunc" title="GtkModuleDisplayInitFunc ()">*GtkModuleDisplayInitFunc</a>) (<em class="parameter"><code><a href="../gdk2/GdkDisplay.html"><span class="type">GdkDisplay</span></a> *display</code></em>);
|
70
70
|
|
71
|
-
<a href="
|
72
|
-
<a href="
|
71
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-General.html#gtk-true" title="gtk_true ()">gtk_true</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
72
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-General.html#gtk-false" title="gtk_false ()">gtk_false</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
73
73
|
|
74
74
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-grab-add" title="gtk_grab_add ()">gtk_grab_add</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
75
75
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gtk2-General.html#gtk-grab-get-current" title="gtk_grab_get_current ()">gtk_grab_get_current</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
76
76
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-grab-remove" title="gtk_grab_remove ()">gtk_grab_remove</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
77
77
|
|
78
78
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-init-add" title="gtk_init_add ()">gtk_init_add</a> (<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
79
|
-
<em class="parameter"><code><a href="
|
80
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-quit-add-destroy" title="gtk_quit_add_destroy ()">gtk_quit_add_destroy</a> (<em class="parameter"><code><a href="
|
79
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
80
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-quit-add-destroy" title="gtk_quit_add_destroy ()">gtk_quit_add_destroy</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> main_level</code></em>,
|
81
81
|
<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>);
|
82
|
-
<a href="
|
82
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gtk2-General.html#gtk-quit-add" title="gtk_quit_add ()">gtk_quit_add</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> main_level</code></em>,
|
83
83
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
84
|
-
<em class="parameter"><code><a href="
|
85
|
-
<a href="
|
84
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
85
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gtk2-General.html#gtk-quit-add-full" title="gtk_quit_add_full ()">gtk_quit_add_full</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> main_level</code></em>,
|
86
86
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
87
87
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
88
|
-
<em class="parameter"><code><a href="
|
89
|
-
<em class="parameter"><code><a href="
|
90
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-quit-remove" title="gtk_quit_remove ()">gtk_quit_remove</a> (<em class="parameter"><code><a href="
|
91
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-quit-remove-by-data" title="gtk_quit_remove_by_data ()">gtk_quit_remove_by_data</a> (<em class="parameter"><code><a href="
|
88
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
89
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);
|
90
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-quit-remove" title="gtk_quit_remove ()">gtk_quit_remove</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> quit_handler_id</code></em>);
|
91
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-quit-remove-by-data" title="gtk_quit_remove_by_data ()">gtk_quit_remove_by_data</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
92
92
|
|
93
|
-
<a href="
|
93
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gtk2-General.html#gtk-timeout-add-full" title="gtk_timeout_add_full ()">gtk_timeout_add_full</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> interval</code></em>,
|
94
94
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
95
95
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
96
|
-
<em class="parameter"><code><a href="
|
97
|
-
<em class="parameter"><code><a href="
|
98
|
-
<a href="
|
96
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
97
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);
|
98
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gtk2-General.html#gtk-timeout-add" title="gtk_timeout_add ()">gtk_timeout_add</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> interval</code></em>,
|
99
99
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
100
|
-
<em class="parameter"><code><a href="
|
101
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-timeout-remove" title="gtk_timeout_remove ()">gtk_timeout_remove</a> (<em class="parameter"><code><a href="
|
100
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
101
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-timeout-remove" title="gtk_timeout_remove ()">gtk_timeout_remove</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout_handler_id</code></em>);
|
102
102
|
|
103
|
-
<a href="
|
104
|
-
<em class="parameter"><code><a href="
|
105
|
-
<a href="
|
103
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gtk2-General.html#gtk-idle-add" title="gtk_idle_add ()">gtk_idle_add</a> (<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
104
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
105
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gtk2-General.html#gtk-idle-add-priority" title="gtk_idle_add_priority ()">gtk_idle_add_priority</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>,
|
106
106
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
107
|
-
<em class="parameter"><code><a href="
|
108
|
-
<a href="
|
107
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
108
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gtk2-General.html#gtk-idle-add-full" title="gtk_idle_add_full ()">gtk_idle_add_full</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>,
|
109
109
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
110
110
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
111
|
-
<em class="parameter"><code><a href="
|
112
|
-
<em class="parameter"><code><a href="
|
113
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-idle-remove" title="gtk_idle_remove ()">gtk_idle_remove</a> (<em class="parameter"><code><a href="
|
114
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-idle-remove-by-data" title="gtk_idle_remove_by_data ()">gtk_idle_remove_by_data</a> (<em class="parameter"><code><a href="
|
111
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
112
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);
|
113
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-idle-remove" title="gtk_idle_remove ()">gtk_idle_remove</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idle_handler_id</code></em>);
|
114
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-idle-remove-by-data" title="gtk_idle_remove_by_data ()">gtk_idle_remove_by_data</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
115
115
|
|
116
|
-
<a href="
|
116
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gtk2-General.html#gtk-input-add-full" title="gtk_input_add_full ()">gtk_input_add_full</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> source</code></em>,
|
117
117
|
<em class="parameter"><code><a href="../gdk2/gdk2-Input.html#GdkInputCondition"><span class="type">GdkInputCondition</span></a> condition</code></em>,
|
118
118
|
<em class="parameter"><code><a href="../gdk2/gdk2-Input.html#GdkInputFunction"><span class="type">GdkInputFunction</span></a> function</code></em>,
|
119
119
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
120
|
-
<em class="parameter"><code><a href="
|
121
|
-
<em class="parameter"><code><a href="
|
122
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-input-remove" title="gtk_input_remove ()">gtk_input_remove</a> (<em class="parameter"><code><a href="
|
120
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
121
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);
|
122
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-input-remove" title="gtk_input_remove ()">gtk_input_remove</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> input_handler_id</code></em>);
|
123
123
|
|
124
124
|
#define <a class="link" href="gtk2-General.html#GTK-PRIORITY-REDRAW:CAPS" title="GTK_PRIORITY_REDRAW">GTK_PRIORITY_REDRAW</a>
|
125
125
|
#define <a class="link" href="gtk2-General.html#GTK-PRIORITY-RESIZE:CAPS" title="GTK_PRIORITY_RESIZE">GTK_PRIORITY_RESIZE</a>
|
@@ -128,16 +128,16 @@
|
|
128
128
|
#define <a class="link" href="gtk2-General.html#GTK-PRIORITY-DEFAULT:CAPS" title="GTK_PRIORITY_DEFAULT">GTK_PRIORITY_DEFAULT</a>
|
129
129
|
#define <a class="link" href="gtk2-General.html#GTK-PRIORITY-LOW:CAPS" title="GTK_PRIORITY_LOW">GTK_PRIORITY_LOW</a>
|
130
130
|
|
131
|
-
<a href="
|
132
|
-
<em class="parameter"><code><a href="
|
133
|
-
<a href="
|
131
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gtk2-General.html#gtk-key-snooper-install" title="gtk_key_snooper_install ()">gtk_key_snooper_install</a> (<em class="parameter"><code><a class="link" href="gtk2-General.html#GtkKeySnoopFunc" title="GtkKeySnoopFunc ()"><span class="type">GtkKeySnoopFunc</span></a> snooper</code></em>,
|
132
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>);
|
133
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> (<a class="link" href="gtk2-General.html#GtkKeySnoopFunc" title="GtkKeySnoopFunc ()">*GtkKeySnoopFunc</a>) (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *grab_widget</code></em>,
|
134
134
|
<em class="parameter"><code><a href="../gdk2/gdk2-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>,
|
135
|
-
<em class="parameter"><code><a href="
|
136
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-key-snooper-remove" title="gtk_key_snooper_remove ()">gtk_key_snooper_remove</a> (<em class="parameter"><code><a href="
|
135
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>);
|
136
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-key-snooper-remove" title="gtk_key_snooper_remove ()">gtk_key_snooper_remove</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> snooper_handler_id</code></em>);
|
137
137
|
|
138
138
|
<a href="../gdk2/gdk2-Event-Structures.html#GdkEvent"><span class="returnvalue">GdkEvent</span></a> * <a class="link" href="gtk2-General.html#gtk-get-current-event" title="gtk_get_current_event ()">gtk_get_current_event</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
139
|
-
<a href="
|
140
|
-
<a href="
|
139
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> <a class="link" href="gtk2-General.html#gtk-get-current-event-time" title="gtk_get_current_event_time ()">gtk_get_current_event_time</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
140
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-General.html#gtk-get-current-event-state" title="gtk_get_current_event_state ()">gtk_get_current_event_state</a> (<em class="parameter"><code><a href="../gdk2/gdk2-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> *state</code></em>);
|
141
141
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gtk2-General.html#gtk-get-event-widget" title="gtk_get_event_widget ()">gtk_get_event_widget</a> (<em class="parameter"><code><a href="../gdk2/gdk2-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
|
142
142
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-General.html#gtk-propagate-event" title="gtk_propagate_event ()">gtk_propagate_event</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
143
143
|
<em class="parameter"><code><a href="../gdk2/gdk2-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
|
@@ -165,7 +165,7 @@ more widgets.
|
|
165
165
|
When widgets receive an event, they frequently emit one or more
|
166
166
|
<em class="firstterm">signals</em>. Signals notify your program that
|
167
167
|
"something interesting happened" by invoking functions you've
|
168
|
-
connected to the signal with <a href="
|
168
|
+
connected to the signal with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect"><code class="function">g_signal_connect()</code></a>. Functions connected
|
169
169
|
to a signal are often termed <em class="firstterm">callbacks</em>.
|
170
170
|
</p>
|
171
171
|
<p>
|
@@ -224,7 +224,7 @@ to the main loop and await more user input.
|
|
224
224
|
</div>
|
225
225
|
<br class="example-break"><p>
|
226
226
|
It's OK to use the GLib main loop directly instead of <a class="link" href="gtk2-General.html#gtk-main" title="gtk_main ()"><code class="function">gtk_main()</code></a>,
|
227
|
-
though it involves slightly more typing. See <a href="
|
227
|
+
though it involves slightly more typing. See <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a> in the GLib
|
228
228
|
documentation.
|
229
229
|
</p>
|
230
230
|
</div>
|
@@ -232,10 +232,10 @@ documentation.
|
|
232
232
|
<a name="gtk2-General.details"></a><h2>Details</h2>
|
233
233
|
<div class="refsect2">
|
234
234
|
<a name="gtk-set-locale"></a><h3>gtk_set_locale ()</h3>
|
235
|
-
<pre class="programlisting"><a href="
|
235
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_set_locale (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
236
236
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
237
237
|
<h3 class="title">Warning</h3>
|
238
|
-
<p><code class="literal">gtk_set_locale</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a href="
|
238
|
+
<p><code class="literal">gtk_set_locale</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-running.html#setlocale"><code class="function">setlocale()</code></a> directly</p>
|
239
239
|
</div>
|
240
240
|
<p>
|
241
241
|
Initializes internationalization support for GTK+. <a class="link" href="gtk2-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>
|
@@ -265,7 +265,7 @@ locale specific setup of the windowing system used by GDK.
|
|
265
265
|
<td>a string corresponding to the locale set, typically in the
|
266
266
|
form lang_COUNTRY, where lang is an ISO-639 language code, and
|
267
267
|
COUNTRY is an ISO-3166 country code. On Unix, this form matches the
|
268
|
-
result of the <a href="
|
268
|
+
result of the <a href="http://library.gnome.org/devel/glib/unstable/glib-running.html#setlocale"><code class="function">setlocale()</code></a>; it is also used on other machines, such as
|
269
269
|
Windows, where the C library returns a different result. The string is
|
270
270
|
owned by GTK+ and should not be modified or freed.</td>
|
271
271
|
</tr></tbody>
|
@@ -317,7 +317,7 @@ freed</td>
|
|
317
317
|
<hr>
|
318
318
|
<div class="refsect2">
|
319
319
|
<a name="gtk-parse-args"></a><h3>gtk_parse_args ()</h3>
|
320
|
-
<pre class="programlisting"><a href="
|
320
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_parse_args (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
321
321
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>);</pre>
|
322
322
|
<p>
|
323
323
|
Parses command line arguments, and initializes global
|
@@ -352,7 +352,7 @@ command line arguments. <span class="annotation">[<acronym title="Parameter poin
|
|
352
352
|
<tr>
|
353
353
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
354
354
|
<td>
|
355
|
-
<a href="
|
355
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if initialization succeeded, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
|
356
356
|
</tr>
|
357
357
|
</tbody>
|
358
358
|
</table></div>
|
@@ -374,7 +374,7 @@ never see those standard arguments.
|
|
374
374
|
<p>
|
375
375
|
Note that there are some alternative ways to initialize GTK+:
|
376
376
|
if you are calling <a class="link" href="gtk2-General.html#gtk-parse-args" title="gtk_parse_args ()"><code class="function">gtk_parse_args()</code></a>, <a class="link" href="gtk2-General.html#gtk-init-check" title="gtk_init_check ()"><code class="function">gtk_init_check()</code></a>,
|
377
|
-
<a class="link" href="gtk2-General.html#gtk-init-with-args" title="gtk_init_with_args ()"><code class="function">gtk_init_with_args()</code></a> or <a href="
|
377
|
+
<a class="link" href="gtk2-General.html#gtk-init-with-args" title="gtk_init_with_args ()"><code class="function">gtk_init_with_args()</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#g-option-context-parse"><code class="function">g_option_context_parse()</code></a> with
|
378
378
|
the option group returned by <a class="link" href="gtk2-General.html#gtk-get-option-group" title="gtk_get_option_group ()"><code class="function">gtk_get_option_group()</code></a>,
|
379
379
|
you <span class="emphasis"><em>don't</em></span> have to call <a class="link" href="gtk2-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>.
|
380
380
|
</p>
|
@@ -438,12 +438,12 @@ understood by GTK+ are stripped before return. <span class="annotation">[<acrony
|
|
438
438
|
<hr>
|
439
439
|
<div class="refsect2">
|
440
440
|
<a name="gtk-init-check"></a><h3>gtk_init_check ()</h3>
|
441
|
-
<pre class="programlisting"><a href="
|
441
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_init_check (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
442
442
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>);</pre>
|
443
443
|
<p>
|
444
444
|
This function does the same work as <a class="link" href="gtk2-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a> with only
|
445
445
|
a single change: It does not terminate the program if the GUI can't be
|
446
|
-
initialized. Instead it returns <a href="
|
446
|
+
initialized. Instead it returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on failure.
|
447
447
|
</p>
|
448
448
|
<p>
|
449
449
|
This way the application can fall back to some other means of communication
|
@@ -470,8 +470,8 @@ Any parameters understood by <a class="link" href="gtk2-General.html#gtk-init" t
|
|
470
470
|
<tr>
|
471
471
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
472
472
|
<td>
|
473
|
-
<a href="
|
474
|
-
<a href="
|
473
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the GUI has been successfully initialized,
|
474
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
475
475
|
</tr>
|
476
476
|
</tbody>
|
477
477
|
</table></div>
|
@@ -479,12 +479,12 @@ Any parameters understood by <a class="link" href="gtk2-General.html#gtk-init" t
|
|
479
479
|
<hr>
|
480
480
|
<div class="refsect2">
|
481
481
|
<a name="gtk-init-with-args"></a><h3>gtk_init_with_args ()</h3>
|
482
|
-
<pre class="programlisting"><a href="
|
482
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_init_with_args (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
483
483
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>,
|
484
484
|
<em class="parameter"><code>const <span class="type">char</span> *parameter_string</code></em>,
|
485
|
-
<em class="parameter"><code><a href="
|
485
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a> *entries</code></em>,
|
486
486
|
<em class="parameter"><code>const <span class="type">char</span> *translation_domain</code></em>,
|
487
|
-
<em class="parameter"><code><a href="
|
487
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
488
488
|
<p>
|
489
489
|
This function does the same work as <a class="link" href="gtk2-General.html#gtk-init-check" title="gtk_init_check ()"><code class="function">gtk_init_check()</code></a>.
|
490
490
|
Additionally, it allows you to add your own commandline options,
|
@@ -517,15 +517,15 @@ the first line of <code class="option">--help</code> output, after
|
|
517
517
|
</tr>
|
518
518
|
<tr>
|
519
519
|
<td><p><span class="term"><em class="parameter"><code>entries</code></em> :</span></p></td>
|
520
|
-
<td>a <a href="
|
521
|
-
of <a href="
|
520
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array
|
521
|
+
of <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a>s describing the options of your program. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span>
|
522
522
|
</td>
|
523
523
|
</tr>
|
524
524
|
<tr>
|
525
525
|
<td><p><span class="term"><em class="parameter"><code>translation_domain</code></em> :</span></p></td>
|
526
526
|
<td>a translation domain to use for translating
|
527
527
|
the <code class="option">--help</code> output for the options in <em class="parameter"><code>entries</code></em>
|
528
|
-
with <code class="function">gettext()</code>, or <a href="
|
528
|
+
with <code class="function">gettext()</code>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
529
529
|
</td>
|
530
530
|
</tr>
|
531
531
|
<tr>
|
@@ -535,8 +535,8 @@ with <code class="function">gettext()</code>, or <a href="/home/kou/work/ruby/ru
|
|
535
535
|
<tr>
|
536
536
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
537
537
|
<td>
|
538
|
-
<a href="
|
539
|
-
<a href="
|
538
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the GUI has been successfully initialized,
|
539
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
540
540
|
</tr>
|
541
541
|
</tbody>
|
542
542
|
</table></div>
|
@@ -545,12 +545,12 @@ with <code class="function">gettext()</code>, or <a href="/home/kou/work/ruby/ru
|
|
545
545
|
<hr>
|
546
546
|
<div class="refsect2">
|
547
547
|
<a name="gtk-get-option-group"></a><h3>gtk_get_option_group ()</h3>
|
548
|
-
<pre class="programlisting"><a href="
|
548
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#GOptionGroup"><span class="returnvalue">GOptionGroup</span></a> * gtk_get_option_group (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> open_default_display</code></em>);</pre>
|
549
549
|
<p>
|
550
|
-
Returns a <a href="
|
551
|
-
by GTK+ and GDK. You should add this group to your <a href="
|
552
|
-
with <a href="
|
553
|
-
<a href="
|
550
|
+
Returns a <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#GOptionGroup"><span class="type">GOptionGroup</span></a> for the commandline arguments recognized
|
551
|
+
by GTK+ and GDK. You should add this group to your <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#GOptionContext"><span class="type">GOptionContext</span></a>
|
552
|
+
with <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#g-option-context-add-group"><code class="function">g_option_context_add_group()</code></a>, if you are using
|
553
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#g-option-context-parse"><code class="function">g_option_context_parse()</code></a> to parse your commandline arguments.
|
554
554
|
</p>
|
555
555
|
<div class="variablelist"><table border="0" class="variablelist">
|
556
556
|
<colgroup>
|
@@ -565,7 +565,7 @@ when parsing the commandline arguments</td>
|
|
565
565
|
</tr>
|
566
566
|
<tr>
|
567
567
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
568
|
-
<td>a <a href="
|
568
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#GOptionGroup"><span class="type">GOptionGroup</span></a> for the commandline arguments recognized
|
569
569
|
by GTK+</td>
|
570
570
|
</tr>
|
571
571
|
</tbody>
|
@@ -575,7 +575,7 @@ by GTK+</td>
|
|
575
575
|
<hr>
|
576
576
|
<div class="refsect2">
|
577
577
|
<a name="gtk-exit"></a><h3>gtk_exit ()</h3>
|
578
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_exit (<em class="parameter"><code><a href="
|
578
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_exit (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> error_code</code></em>);</pre>
|
579
579
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
580
580
|
<h3 class="title">Warning</h3>
|
581
581
|
<p><code class="literal">gtk_exit</code> is deprecated and should not be used in newly-written code. Use the standard <code class="function">exit()</code> function instead.</p>
|
@@ -600,7 +600,7 @@ target system but at least on Unix systems <code class="literal">0</code> means
|
|
600
600
|
<hr>
|
601
601
|
<div class="refsect2">
|
602
602
|
<a name="gtk-events-pending"></a><h3>gtk_events_pending ()</h3>
|
603
|
-
<pre class="programlisting"><a href="
|
603
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_events_pending (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
604
604
|
<p>
|
605
605
|
Checks if any events are pending. This can be used to update the GUI
|
606
606
|
and invoke timeouts etc. while doing some time intensive computation.
|
@@ -637,7 +637,7 @@ and invoke timeouts etc. while doing some time intensive computation.
|
|
637
637
|
<tbody><tr>
|
638
638
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
639
639
|
<td>
|
640
|
-
<a href="
|
640
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if any events are pending, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
641
641
|
</tr></tbody>
|
642
642
|
</table></div>
|
643
643
|
</div>
|
@@ -654,7 +654,7 @@ of the main loop return.
|
|
654
654
|
<hr>
|
655
655
|
<div class="refsect2">
|
656
656
|
<a name="gtk-main-level"></a><h3>gtk_main_level ()</h3>
|
657
|
-
<pre class="programlisting"><a href="
|
657
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_main_level (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
658
658
|
<p>
|
659
659
|
Asks for the current nesting level of the main loop. This can be useful
|
660
660
|
when calling <a class="link" href="gtk2-General.html#gtk-quit-add" title="gtk_quit_add ()"><code class="function">gtk_quit_add()</code></a>.
|
@@ -682,7 +682,7 @@ control.
|
|
682
682
|
<hr>
|
683
683
|
<div class="refsect2">
|
684
684
|
<a name="gtk-main-iteration"></a><h3>gtk_main_iteration ()</h3>
|
685
|
-
<pre class="programlisting"><a href="
|
685
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_main_iteration (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
686
686
|
<p>
|
687
687
|
Runs a single iteration of the mainloop. If no events are waiting to be
|
688
688
|
processed GTK+ will block until the next event is noticed. If you don't
|
@@ -697,14 +697,14 @@ pending with <a class="link" href="gtk2-General.html#gtk-events-pending" title="
|
|
697
697
|
<tbody><tr>
|
698
698
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
699
699
|
<td>
|
700
|
-
<a href="
|
700
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <a class="link" href="gtk2-General.html#gtk-main-quit" title="gtk_main_quit ()"><code class="function">gtk_main_quit()</code></a> has been called for the innermost mainloop.</td>
|
701
701
|
</tr></tbody>
|
702
702
|
</table></div>
|
703
703
|
</div>
|
704
704
|
<hr>
|
705
705
|
<div class="refsect2">
|
706
706
|
<a name="gtk-main-iteration-do"></a><h3>gtk_main_iteration_do ()</h3>
|
707
|
-
<pre class="programlisting"><a href="
|
707
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_main_iteration_do (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>);</pre>
|
708
708
|
<p>
|
709
709
|
Runs a single iteration of the mainloop. If no events are available either
|
710
710
|
return or block dependent on the value of <em class="parameter"><code>blocking</code></em>.
|
@@ -718,12 +718,12 @@ return or block dependent on the value of <em class="parameter"><code>blocking</
|
|
718
718
|
<tr>
|
719
719
|
<td><p><span class="term"><em class="parameter"><code>blocking</code></em> :</span></p></td>
|
720
720
|
<td>
|
721
|
-
<a href="
|
721
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want GTK+ to block if no events are pending.</td>
|
722
722
|
</tr>
|
723
723
|
<tr>
|
724
724
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
725
725
|
<td>
|
726
|
-
<a href="
|
726
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <a class="link" href="gtk2-General.html#gtk-main-quit" title="gtk_main_quit ()"><code class="function">gtk_main_quit()</code></a> has been called for the innermost mainloop.</td>
|
727
727
|
</tr>
|
728
728
|
</tbody>
|
729
729
|
</table></div>
|
@@ -805,8 +805,8 @@ the event:
|
|
805
805
|
<hr>
|
806
806
|
<div class="refsect2">
|
807
807
|
<a name="GtkModuleInitFunc"></a><h3>GtkModuleInitFunc ()</h3>
|
808
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*GtkModuleInitFunc) (<em class="parameter"><code><a href="
|
809
|
-
<em class="parameter"><code><a href="
|
808
|
+
<pre class="programlisting"><span class="returnvalue">void</span> (*GtkModuleInitFunc) (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *argc</code></em>,
|
809
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> ***argv</code></em>);</pre>
|
810
810
|
<p>
|
811
811
|
Each GTK+ module must have a function <code class="function">gtk_module_init()</code> with this prototype.
|
812
812
|
This function is called after loading the module with the <em class="parameter"><code>argc</code></em> and <em class="parameter"><code>argv</code></em>
|
@@ -840,9 +840,9 @@ cleaned from any arguments that GTK+ handles itself.
|
|
840
840
|
<hr>
|
841
841
|
<div class="refsect2">
|
842
842
|
<a name="gtk-true"></a><h3>gtk_true ()</h3>
|
843
|
-
<pre class="programlisting"><a href="
|
843
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_true (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
844
844
|
<p>
|
845
|
-
All this function does it to return <a href="
|
845
|
+
All this function does it to return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. This can be useful for example
|
846
846
|
if you want to inhibit the deletion of a window. Of course you should
|
847
847
|
not do this as the user expects a reaction from clicking the close
|
848
848
|
icon of the window...
|
@@ -879,13 +879,13 @@ icon of the window...
|
|
879
879
|
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">win</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">but</span><span class="symbol">;</span>
|
880
880
|
<span class="normal"> </span><span class="function"><a href="gtk2-General.html#gtk-init">gtk_init</a></span><span class="symbol">(</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argv </span><span class="symbol">);</span>
|
881
881
|
<span class="normal"> win </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-new">gtk_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk2-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS">GTK_WINDOW_TOPLEVEL</a></span><span class="symbol">);</span>
|
882
|
-
<span class="normal"> </span><span class="function"><a href="
|
883
|
-
<span class="normal"> </span><span class="function"><a href="
|
884
|
-
<span class="normal"> </span><span class="function"><a href="
|
885
|
-
<span class="normal"> </span><span class="function"><a href="
|
882
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">win</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"delete-event"</span><span class="symbol">,</span>
|
883
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk2-General.html#gtk-true">gtk_true</a></span><span class="symbol">),</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
884
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">win</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"destroy"</span><span class="symbol">,</span>
|
885
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk2-General.html#gtk-main-quit">gtk_main_quit</a></span><span class="symbol">),</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
886
886
|
<span class="normal"> but </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkButton.html#gtk-button-new-with-label">gtk_button_new_with_label</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Close yourself. I mean it!"</span><span class="symbol">);</span>
|
887
|
-
<span class="normal"> </span><span class="function"><a href="
|
888
|
-
<span class="normal"> </span><span class="function"><a href="
|
887
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect-swapped">g_signal_connect_swapped</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">but</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"clicked"</span><span class="symbol">,</span>
|
888
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GtkObject.html#gtk-object-destroy">gtk_object_destroy</a></span><span class="symbol">),</span><span class="normal"> win</span><span class="symbol">);</span>
|
889
889
|
<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">win</span><span class="symbol">),</span><span class="normal"> but</span><span class="symbol">);</span>
|
890
890
|
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-show-all">gtk_widget_show_all</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">win</span><span class="symbol">);</span>
|
891
891
|
<span class="normal"> </span><span class="function"><a href="gtk2-General.html#gtk-main">gtk_main</a></span><span class="normal"> </span><span class="symbol">();</span>
|
@@ -904,17 +904,17 @@ icon of the window...
|
|
904
904
|
</colgroup>
|
905
905
|
<tbody><tr>
|
906
906
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
907
|
-
<td><a href="
|
907
|
+
<td><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a></td>
|
908
908
|
</tr></tbody>
|
909
909
|
</table></div>
|
910
910
|
</div>
|
911
911
|
<hr>
|
912
912
|
<div class="refsect2">
|
913
913
|
<a name="gtk-false"></a><h3>gtk_false ()</h3>
|
914
|
-
<pre class="programlisting"><a href="
|
914
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_false (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
915
915
|
<p>
|
916
916
|
Analogical to <a class="link" href="gtk2-General.html#gtk-true" title="gtk_true ()"><code class="function">gtk_true()</code></a> this function does nothing
|
917
|
-
but always returns <a href="
|
917
|
+
but always returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
|
918
918
|
</p>
|
919
919
|
<div class="variablelist"><table border="0" class="variablelist">
|
920
920
|
<colgroup>
|
@@ -923,7 +923,7 @@ but always returns <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/l
|
|
923
923
|
</colgroup>
|
924
924
|
<tbody><tr>
|
925
925
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
926
|
-
<td><a href="
|
926
|
+
<td><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></td>
|
927
927
|
</tr></tbody>
|
928
928
|
</table></div>
|
929
929
|
</div>
|
@@ -969,7 +969,7 @@ Queries the current grab of the default window group.
|
|
969
969
|
<tbody><tr>
|
970
970
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
971
971
|
<td>The widget which currently
|
972
|
-
has the grab or <a href="
|
972
|
+
has the grab or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no grab is active. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
973
973
|
</td>
|
974
974
|
</tr></tbody>
|
975
975
|
</table></div>
|
@@ -1000,7 +1000,7 @@ If <em class="parameter"><code>widget</code></em> does not have the grab, this f
|
|
1000
1000
|
<div class="refsect2">
|
1001
1001
|
<a name="gtk-init-add"></a><h3>gtk_init_add ()</h3>
|
1002
1002
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_init_add (<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1003
|
-
<em class="parameter"><code><a href="
|
1003
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1004
1004
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1005
1005
|
<h3 class="title">Warning</h3>
|
1006
1006
|
<p><code class="literal">gtk_init_add</code> is deprecated and should not be used in newly-written code. This function is going to be removed in GTK+ 3.0</p>
|
@@ -1028,7 +1028,7 @@ Registers a function to be called when the mainloop is started.
|
|
1028
1028
|
<hr>
|
1029
1029
|
<div class="refsect2">
|
1030
1030
|
<a name="gtk-quit-add-destroy"></a><h3>gtk_quit_add_destroy ()</h3>
|
1031
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_quit_add_destroy (<em class="parameter"><code><a href="
|
1031
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_quit_add_destroy (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> main_level</code></em>,
|
1032
1032
|
<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>);</pre>
|
1033
1033
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1034
1034
|
<h3 class="title">Warning</h3>
|
@@ -1058,9 +1058,9 @@ is quit.
|
|
1058
1058
|
<hr>
|
1059
1059
|
<div class="refsect2">
|
1060
1060
|
<a name="gtk-quit-add"></a><h3>gtk_quit_add ()</h3>
|
1061
|
-
<pre class="programlisting"><a href="
|
1061
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_quit_add (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> main_level</code></em>,
|
1062
1062
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1063
|
-
<em class="parameter"><code><a href="
|
1063
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1064
1064
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1065
1065
|
<h3 class="title">Warning</h3>
|
1066
1066
|
<p><code class="literal">gtk_quit_add</code> is deprecated and should not be used in newly-written code. This function is going to be removed in GTK+ 3.0</p>
|
@@ -1092,7 +1092,7 @@ list of quit handlers. Otherwise the function might be called again.</td>
|
|
1092
1092
|
<tr>
|
1093
1093
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1094
1094
|
<td>A handle for this quit handler (you need this for <a class="link" href="gtk2-General.html#gtk-quit-remove" title="gtk_quit_remove ()"><code class="function">gtk_quit_remove()</code></a>)
|
1095
|
-
or 0 if you passed a <a href="
|
1095
|
+
or 0 if you passed a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> pointer in <em class="parameter"><code>function</code></em>.</td>
|
1096
1096
|
</tr>
|
1097
1097
|
</tbody>
|
1098
1098
|
</table></div>
|
@@ -1100,11 +1100,11 @@ or 0 if you passed a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor
|
|
1100
1100
|
<hr>
|
1101
1101
|
<div class="refsect2">
|
1102
1102
|
<a name="gtk-quit-add-full"></a><h3>gtk_quit_add_full ()</h3>
|
1103
|
-
<pre class="programlisting"><a href="
|
1103
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_quit_add_full (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> main_level</code></em>,
|
1104
1104
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1105
1105
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
1106
|
-
<em class="parameter"><code><a href="
|
1107
|
-
<em class="parameter"><code><a href="
|
1106
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1107
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
|
1108
1108
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1109
1109
|
<h3 class="title">Warning</h3>
|
1110
1110
|
<p><code class="literal">gtk_quit_add_full</code> is deprecated and should not be used in newly-written code. This function is going to be removed in GTK+ 3.0</p>
|
@@ -1139,7 +1139,7 @@ list of quit handlers. Otherwise the function might be called again.</td>
|
|
1139
1139
|
</tr>
|
1140
1140
|
<tr>
|
1141
1141
|
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
|
1142
|
-
<td>The marshaller to be used. If this is non-<a href="
|
1142
|
+
<td>The marshaller to be used. If this is non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, <em class="parameter"><code>function</code></em> is
|
1143
1143
|
ignored.</td>
|
1144
1144
|
</tr>
|
1145
1145
|
<tr>
|
@@ -1153,7 +1153,7 @@ ignored.</td>
|
|
1153
1153
|
<tr>
|
1154
1154
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1155
1155
|
<td>A handle for this quit handler (you need this for <a class="link" href="gtk2-General.html#gtk-quit-remove" title="gtk_quit_remove ()"><code class="function">gtk_quit_remove()</code></a>)
|
1156
|
-
or 0 if you passed a <a href="
|
1156
|
+
or 0 if you passed a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> pointer in <em class="parameter"><code>function</code></em>.</td>
|
1157
1157
|
</tr>
|
1158
1158
|
</tbody>
|
1159
1159
|
</table></div>
|
@@ -1161,7 +1161,7 @@ or 0 if you passed a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor
|
|
1161
1161
|
<hr>
|
1162
1162
|
<div class="refsect2">
|
1163
1163
|
<a name="gtk-quit-remove"></a><h3>gtk_quit_remove ()</h3>
|
1164
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_quit_remove (<em class="parameter"><code><a href="
|
1164
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_quit_remove (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> quit_handler_id</code></em>);</pre>
|
1165
1165
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1166
1166
|
<h3 class="title">Warning</h3>
|
1167
1167
|
<p><code class="literal">gtk_quit_remove</code> is deprecated and should not be used in newly-written code. This function is going to be removed in GTK+ 3.0</p>
|
@@ -1183,7 +1183,7 @@ Removes a quit handler by its identifier.
|
|
1183
1183
|
<hr>
|
1184
1184
|
<div class="refsect2">
|
1185
1185
|
<a name="gtk-quit-remove-by-data"></a><h3>gtk_quit_remove_by_data ()</h3>
|
1186
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_quit_remove_by_data (<em class="parameter"><code><a href="
|
1186
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_quit_remove_by_data (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1187
1187
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1188
1188
|
<h3 class="title">Warning</h3>
|
1189
1189
|
<p><code class="literal">gtk_quit_remove_by_data</code> is deprecated and should not be used in newly-written code. This function is going to be removed in GTK+ 3.0</p>
|
@@ -1205,18 +1205,18 @@ Removes a quit handler identified by its <em class="parameter"><code>data</code>
|
|
1205
1205
|
<hr>
|
1206
1206
|
<div class="refsect2">
|
1207
1207
|
<a name="gtk-timeout-add-full"></a><h3>gtk_timeout_add_full ()</h3>
|
1208
|
-
<pre class="programlisting"><a href="
|
1208
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_timeout_add_full (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> interval</code></em>,
|
1209
1209
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1210
1210
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
1211
|
-
<em class="parameter"><code><a href="
|
1212
|
-
<em class="parameter"><code><a href="
|
1211
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1212
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
|
1213
1213
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1214
1214
|
<h3 class="title">Warning</h3>
|
1215
|
-
<p><code class="literal">gtk_timeout_add_full</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="
|
1215
|
+
<p><code class="literal">gtk_timeout_add_full</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add-full"><code class="function">g_timeout_add_full()</code></a> instead.</p>
|
1216
1216
|
</div>
|
1217
1217
|
<p>
|
1218
1218
|
Registers a function to be called periodically. The function will be called
|
1219
|
-
repeatedly after <em class="parameter"><code>interval</code></em> milliseconds until it returns <a href="
|
1219
|
+
repeatedly after <em class="parameter"><code>interval</code></em> milliseconds until it returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> at which
|
1220
1220
|
point the timeout is destroyed and will not be called again.
|
1221
1221
|
</p>
|
1222
1222
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -1236,7 +1236,7 @@ point the timeout is destroyed and will not be called again.
|
|
1236
1236
|
</tr>
|
1237
1237
|
<tr>
|
1238
1238
|
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
|
1239
|
-
<td>The marshaller to use instead of the function (if non-<a href="
|
1239
|
+
<td>The marshaller to use instead of the function (if non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</td>
|
1240
1240
|
</tr>
|
1241
1241
|
<tr>
|
1242
1242
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
@@ -1244,7 +1244,7 @@ point the timeout is destroyed and will not be called again.
|
|
1244
1244
|
</tr>
|
1245
1245
|
<tr>
|
1246
1246
|
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
|
1247
|
-
<td>Function to call when the timeout is destroyed or <a href="
|
1247
|
+
<td>Function to call when the timeout is destroyed or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1248
1248
|
</tr>
|
1249
1249
|
<tr>
|
1250
1250
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1256,16 +1256,16 @@ point the timeout is destroyed and will not be called again.
|
|
1256
1256
|
<hr>
|
1257
1257
|
<div class="refsect2">
|
1258
1258
|
<a name="gtk-timeout-add"></a><h3>gtk_timeout_add ()</h3>
|
1259
|
-
<pre class="programlisting"><a href="
|
1259
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_timeout_add (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> interval</code></em>,
|
1260
1260
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1261
|
-
<em class="parameter"><code><a href="
|
1261
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1262
1262
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1263
1263
|
<h3 class="title">Warning</h3>
|
1264
|
-
<p><code class="literal">gtk_timeout_add</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="
|
1264
|
+
<p><code class="literal">gtk_timeout_add</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add"><code class="function">g_timeout_add()</code></a> instead.</p>
|
1265
1265
|
</div>
|
1266
1266
|
<p>
|
1267
1267
|
Registers a function to be called periodically. The function will be called
|
1268
|
-
repeatedly after <em class="parameter"><code>interval</code></em> milliseconds until it returns <a href="
|
1268
|
+
repeatedly after <em class="parameter"><code>interval</code></em> milliseconds until it returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> at which
|
1269
1269
|
point the timeout is destroyed and will not be called again.
|
1270
1270
|
</p>
|
1271
1271
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -1297,10 +1297,10 @@ point the timeout is destroyed and will not be called again.
|
|
1297
1297
|
<hr>
|
1298
1298
|
<div class="refsect2">
|
1299
1299
|
<a name="gtk-timeout-remove"></a><h3>gtk_timeout_remove ()</h3>
|
1300
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_timeout_remove (<em class="parameter"><code><a href="
|
1300
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_timeout_remove (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout_handler_id</code></em>);</pre>
|
1301
1301
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1302
1302
|
<h3 class="title">Warning</h3>
|
1303
|
-
<p><code class="literal">gtk_timeout_remove</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="
|
1303
|
+
<p><code class="literal">gtk_timeout_remove</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-source-remove"><code class="function">g_source_remove()</code></a> instead.</p>
|
1304
1304
|
</div>
|
1305
1305
|
<p>
|
1306
1306
|
Removes the given timeout destroying all information about it.
|
@@ -1319,11 +1319,11 @@ Removes the given timeout destroying all information about it.
|
|
1319
1319
|
<hr>
|
1320
1320
|
<div class="refsect2">
|
1321
1321
|
<a name="gtk-idle-add"></a><h3>gtk_idle_add ()</h3>
|
1322
|
-
<pre class="programlisting"><a href="
|
1323
|
-
<em class="parameter"><code><a href="
|
1322
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_idle_add (<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1323
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1324
1324
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1325
1325
|
<h3 class="title">Warning</h3>
|
1326
|
-
<p><code class="literal">gtk_idle_add</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="
|
1326
|
+
<p><code class="literal">gtk_idle_add</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-idle-add"><code class="function">g_idle_add()</code></a> instead.</p>
|
1327
1327
|
</div>
|
1328
1328
|
<p>
|
1329
1329
|
Causes the mainloop to call the given function whenever no events with
|
@@ -1354,12 +1354,12 @@ higher priority are to be processed. The default priority is
|
|
1354
1354
|
<hr>
|
1355
1355
|
<div class="refsect2">
|
1356
1356
|
<a name="gtk-idle-add-priority"></a><h3>gtk_idle_add_priority ()</h3>
|
1357
|
-
<pre class="programlisting"><a href="
|
1357
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_idle_add_priority (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>,
|
1358
1358
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1359
|
-
<em class="parameter"><code><a href="
|
1359
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1360
1360
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1361
1361
|
<h3 class="title">Warning</h3>
|
1362
|
-
<p><code class="literal">gtk_idle_add_priority</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="
|
1362
|
+
<p><code class="literal">gtk_idle_add_priority</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-idle-add-full"><code class="function">g_idle_add_full()</code></a> instead.</p>
|
1363
1363
|
</div>
|
1364
1364
|
<p>
|
1365
1365
|
Like <a class="link" href="gtk2-General.html#gtk-idle-add" title="gtk_idle_add ()"><code class="function">gtk_idle_add()</code></a> this function allows you to have a function called
|
@@ -1374,7 +1374,7 @@ priority different from <a class="link" href="gtk2-General.html#GTK-PRIORITY-DEF
|
|
1374
1374
|
<tbody>
|
1375
1375
|
<tr>
|
1376
1376
|
<td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
|
1377
|
-
<td>The priority which should not be above <a href="
|
1377
|
+
<td>The priority which should not be above <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS"><code class="literal">G_PRIORITY_HIGH_IDLE</code></a>.
|
1378
1378
|
Note that you will interfere with GTK+ if you use a priority above
|
1379
1379
|
<a class="link" href="gtk2-General.html#GTK-PRIORITY-RESIZE:CAPS" title="GTK_PRIORITY_RESIZE"><code class="literal">GTK_PRIORITY_RESIZE</code></a>.</td>
|
1380
1380
|
</tr>
|
@@ -1396,14 +1396,14 @@ Note that you will interfere with GTK+ if you use a priority above
|
|
1396
1396
|
<hr>
|
1397
1397
|
<div class="refsect2">
|
1398
1398
|
<a name="gtk-idle-add-full"></a><h3>gtk_idle_add_full ()</h3>
|
1399
|
-
<pre class="programlisting"><a href="
|
1399
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_idle_add_full (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>,
|
1400
1400
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1401
1401
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
1402
|
-
<em class="parameter"><code><a href="
|
1403
|
-
<em class="parameter"><code><a href="
|
1402
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1403
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
|
1404
1404
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1405
1405
|
<h3 class="title">Warning</h3>
|
1406
|
-
<p><code class="literal">gtk_idle_add_full</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="
|
1406
|
+
<p><code class="literal">gtk_idle_add_full</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-idle-add-full"><code class="function">g_idle_add_full()</code></a> instead.</p>
|
1407
1407
|
</div>
|
1408
1408
|
<p>
|
1409
1409
|
Like <a class="link" href="gtk2-General.html#gtk-idle-add" title="gtk_idle_add ()"><code class="function">gtk_idle_add()</code></a> this function allows you to have a function called
|
@@ -1418,7 +1418,7 @@ priority different from <a class="link" href="gtk2-General.html#GTK-PRIORITY-DEF
|
|
1418
1418
|
<tbody>
|
1419
1419
|
<tr>
|
1420
1420
|
<td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
|
1421
|
-
<td>The priority which should not be above <a href="
|
1421
|
+
<td>The priority which should not be above <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS"><code class="literal">G_PRIORITY_HIGH_IDLE</code></a>.
|
1422
1422
|
Note that you will interfere with GTK+ if you use a priority above
|
1423
1423
|
<a class="link" href="gtk2-General.html#GTK-PRIORITY-RESIZE:CAPS" title="GTK_PRIORITY_RESIZE"><code class="literal">GTK_PRIORITY_RESIZE</code></a>.</td>
|
1424
1424
|
</tr>
|
@@ -1428,7 +1428,7 @@ Note that you will interfere with GTK+ if you use a priority above
|
|
1428
1428
|
</tr>
|
1429
1429
|
<tr>
|
1430
1430
|
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
|
1431
|
-
<td>The marshaller to use instead of the function (if non-<a href="
|
1431
|
+
<td>The marshaller to use instead of the function (if non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</td>
|
1432
1432
|
</tr>
|
1433
1433
|
<tr>
|
1434
1434
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
@@ -1436,7 +1436,7 @@ Note that you will interfere with GTK+ if you use a priority above
|
|
1436
1436
|
</tr>
|
1437
1437
|
<tr>
|
1438
1438
|
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
|
1439
|
-
<td>Function to call when the timeout is destroyed or <a href="
|
1439
|
+
<td>Function to call when the timeout is destroyed or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1440
1440
|
</tr>
|
1441
1441
|
<tr>
|
1442
1442
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1448,10 +1448,10 @@ Note that you will interfere with GTK+ if you use a priority above
|
|
1448
1448
|
<hr>
|
1449
1449
|
<div class="refsect2">
|
1450
1450
|
<a name="gtk-idle-remove"></a><h3>gtk_idle_remove ()</h3>
|
1451
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_idle_remove (<em class="parameter"><code><a href="
|
1451
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_idle_remove (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idle_handler_id</code></em>);</pre>
|
1452
1452
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1453
1453
|
<h3 class="title">Warning</h3>
|
1454
|
-
<p><code class="literal">gtk_idle_remove</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="
|
1454
|
+
<p><code class="literal">gtk_idle_remove</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-source-remove"><code class="function">g_source_remove()</code></a> instead.</p>
|
1455
1455
|
</div>
|
1456
1456
|
<p>
|
1457
1457
|
Removes the idle function with the given id.
|
@@ -1470,10 +1470,10 @@ Removes the idle function with the given id.
|
|
1470
1470
|
<hr>
|
1471
1471
|
<div class="refsect2">
|
1472
1472
|
<a name="gtk-idle-remove-by-data"></a><h3>gtk_idle_remove_by_data ()</h3>
|
1473
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_idle_remove_by_data (<em class="parameter"><code><a href="
|
1473
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_idle_remove_by_data (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1474
1474
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1475
1475
|
<h3 class="title">Warning</h3>
|
1476
|
-
<p><code class="literal">gtk_idle_remove_by_data</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="
|
1476
|
+
<p><code class="literal">gtk_idle_remove_by_data</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-idle-remove-by-data"><code class="function">g_idle_remove_by_data()</code></a> instead.</p>
|
1477
1477
|
</div>
|
1478
1478
|
<p>
|
1479
1479
|
Removes the idle function identified by the user data.
|
@@ -1492,15 +1492,15 @@ Removes the idle function identified by the user data.
|
|
1492
1492
|
<hr>
|
1493
1493
|
<div class="refsect2">
|
1494
1494
|
<a name="gtk-input-add-full"></a><h3>gtk_input_add_full ()</h3>
|
1495
|
-
<pre class="programlisting"><a href="
|
1495
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_input_add_full (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> source</code></em>,
|
1496
1496
|
<em class="parameter"><code><a href="../gdk2/gdk2-Input.html#GdkInputCondition"><span class="type">GdkInputCondition</span></a> condition</code></em>,
|
1497
1497
|
<em class="parameter"><code><a href="../gdk2/gdk2-Input.html#GdkInputFunction"><span class="type">GdkInputFunction</span></a> function</code></em>,
|
1498
1498
|
<em class="parameter"><code><a class="link" href="gtk2-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
1499
|
-
<em class="parameter"><code><a href="
|
1500
|
-
<em class="parameter"><code><a href="
|
1499
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1500
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
|
1501
1501
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1502
1502
|
<h3 class="title">Warning</h3>
|
1503
|
-
<p><code class="literal">gtk_input_add_full</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="
|
1503
|
+
<p><code class="literal">gtk_input_add_full</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#g-io-add-watch-full"><code class="function">g_io_add_watch_full()</code></a> instead.</p>
|
1504
1504
|
</div>
|
1505
1505
|
<p>
|
1506
1506
|
Registers a function to be called when a condition becomes true
|
@@ -1526,7 +1526,7 @@ on a file descriptor.
|
|
1526
1526
|
</tr>
|
1527
1527
|
<tr>
|
1528
1528
|
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
|
1529
|
-
<td>The marshaller to use instead of the function (if non-<a href="
|
1529
|
+
<td>The marshaller to use instead of the function (if non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</td>
|
1530
1530
|
</tr>
|
1531
1531
|
<tr>
|
1532
1532
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
@@ -1535,7 +1535,7 @@ on a file descriptor.
|
|
1535
1535
|
<tr>
|
1536
1536
|
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
|
1537
1537
|
<td>callback function to call with <em class="parameter"><code>data</code></em> when the input
|
1538
|
-
handler is removed, or <a href="
|
1538
|
+
handler is removed, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1539
1539
|
</tr>
|
1540
1540
|
<tr>
|
1541
1541
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1547,10 +1547,10 @@ handler is removed, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vend
|
|
1547
1547
|
<hr>
|
1548
1548
|
<div class="refsect2">
|
1549
1549
|
<a name="gtk-input-remove"></a><h3>gtk_input_remove ()</h3>
|
1550
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_input_remove (<em class="parameter"><code><a href="
|
1550
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_input_remove (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> input_handler_id</code></em>);</pre>
|
1551
1551
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1552
1552
|
<h3 class="title">Warning</h3>
|
1553
|
-
<p><code class="literal">gtk_input_remove</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="
|
1553
|
+
<p><code class="literal">gtk_input_remove</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-source-remove"><code class="function">g_source_remove()</code></a> instead.</p>
|
1554
1554
|
</div>
|
1555
1555
|
<p>
|
1556
1556
|
Removes the function with the given id.
|
@@ -1600,7 +1600,7 @@ GTK+ to compute the sizes of widgets. This priority is higher than
|
|
1600
1600
|
</pre>
|
1601
1601
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1602
1602
|
<h3 class="title">Warning</h3>
|
1603
|
-
<p><code class="literal">GTK_PRIORITY_HIGH</code> has been deprecated since version 2.4 and should not be used in newly-written code. This macro is deprecated. You should use <a href="
|
1603
|
+
<p><code class="literal">GTK_PRIORITY_HIGH</code> has been deprecated since version 2.4 and should not be used in newly-written code. This macro is deprecated. You should use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH:CAPS"><code class="literal">G_PRIORITY_HIGH</code></a> instead.</p>
|
1604
1604
|
</div>
|
1605
1605
|
<p>
|
1606
1606
|
Use this for high priority timeouts. This priority is never used inside
|
@@ -1628,7 +1628,7 @@ This priority is for GTK+ internal stuff. Don't use it in your applications.
|
|
1628
1628
|
</pre>
|
1629
1629
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1630
1630
|
<h3 class="title">Warning</h3>
|
1631
|
-
<p><code class="literal">GTK_PRIORITY_DEFAULT</code> has been deprecated since version 2.4 and should not be used in newly-written code. This macro is deprecated. You should use <a href="
|
1631
|
+
<p><code class="literal">GTK_PRIORITY_DEFAULT</code> has been deprecated since version 2.4 and should not be used in newly-written code. This macro is deprecated. You should use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT-IDLE:CAPS"><code class="literal">G_PRIORITY_DEFAULT_IDLE</code></a> instead.</p>
|
1632
1632
|
</div>
|
1633
1633
|
<p>
|
1634
1634
|
Default priority for idle functions.
|
@@ -1641,7 +1641,7 @@ Default priority for idle functions.
|
|
1641
1641
|
</pre>
|
1642
1642
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1643
1643
|
<h3 class="title">Warning</h3>
|
1644
|
-
<p><code class="literal">GTK_PRIORITY_LOW</code> has been deprecated since version 2.4 and should not be used in newly-written code. This macro is deprecated. You should use <a href="
|
1644
|
+
<p><code class="literal">GTK_PRIORITY_LOW</code> has been deprecated since version 2.4 and should not be used in newly-written code. This macro is deprecated. You should use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-LOW:CAPS"><code class="literal">G_PRIORITY_LOW</code></a> instead.</p>
|
1645
1645
|
</div>
|
1646
1646
|
<p>
|
1647
1647
|
Priority for very unimportant background tasks.
|
@@ -1650,8 +1650,8 @@ Priority for very unimportant background tasks.
|
|
1650
1650
|
<hr>
|
1651
1651
|
<div class="refsect2">
|
1652
1652
|
<a name="gtk-key-snooper-install"></a><h3>gtk_key_snooper_install ()</h3>
|
1653
|
-
<pre class="programlisting"><a href="
|
1654
|
-
<em class="parameter"><code><a href="
|
1653
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_key_snooper_install (<em class="parameter"><code><a class="link" href="gtk2-General.html#GtkKeySnoopFunc" title="GtkKeySnoopFunc ()"><span class="type">GtkKeySnoopFunc</span></a> snooper</code></em>,
|
1654
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>);</pre>
|
1655
1655
|
<p>
|
1656
1656
|
Installs a key snooper function, which will get called on all key events
|
1657
1657
|
before delivering them normally.
|
@@ -1680,9 +1680,9 @@ before delivering them normally.
|
|
1680
1680
|
<hr>
|
1681
1681
|
<div class="refsect2">
|
1682
1682
|
<a name="GtkKeySnoopFunc"></a><h3>GtkKeySnoopFunc ()</h3>
|
1683
|
-
<pre class="programlisting"><a href="
|
1683
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> (*GtkKeySnoopFunc) (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *grab_widget</code></em>,
|
1684
1684
|
<em class="parameter"><code><a href="../gdk2/gdk2-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>,
|
1685
|
-
<em class="parameter"><code><a href="
|
1685
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>);</pre>
|
1686
1686
|
<p>
|
1687
1687
|
Key snooper functions are called before normal event delivery.
|
1688
1688
|
They can be used to implement custom key event handling.
|
@@ -1708,7 +1708,7 @@ They can be used to implement custom key event handling.
|
|
1708
1708
|
<tr>
|
1709
1709
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1710
1710
|
<td>
|
1711
|
-
<a href="
|
1711
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop further processing of <em class="parameter"><code>event</code></em>, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to continue.</td>
|
1712
1712
|
</tr>
|
1713
1713
|
</tbody>
|
1714
1714
|
</table></div>
|
@@ -1716,7 +1716,7 @@ They can be used to implement custom key event handling.
|
|
1716
1716
|
<hr>
|
1717
1717
|
<div class="refsect2">
|
1718
1718
|
<a name="gtk-key-snooper-remove"></a><h3>gtk_key_snooper_remove ()</h3>
|
1719
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_key_snooper_remove (<em class="parameter"><code><a href="
|
1719
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_key_snooper_remove (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> snooper_handler_id</code></em>);</pre>
|
1720
1720
|
<p>
|
1721
1721
|
Removes the key snooper function with the given id.
|
1722
1722
|
</p>
|
@@ -1740,7 +1740,7 @@ Obtains a copy of the event currently being processed by GTK+. For
|
|
1740
1740
|
example, if you get a "clicked" signal from <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a>, the current
|
1741
1741
|
event will be the <a href="../gdk2/gdk2-Event-Structures.html#GdkEventButton"><span class="type">GdkEventButton</span></a> that triggered the "clicked"
|
1742
1742
|
signal. The returned event must be freed with <a href="../gdk2/gdk2-Events.html#gdk-event-free"><code class="function">gdk_event_free()</code></a>.
|
1743
|
-
If there is no current event, the function returns <a href="
|
1743
|
+
If there is no current event, the function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1744
1744
|
</p>
|
1745
1745
|
<div class="variablelist"><table border="0" class="variablelist">
|
1746
1746
|
<colgroup>
|
@@ -1749,7 +1749,7 @@ If there is no current event, the function returns <a href="/home/kou/work/ruby/
|
|
1749
1749
|
</colgroup>
|
1750
1750
|
<tbody><tr>
|
1751
1751
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1752
|
-
<td>a copy of the current event, or <a href="
|
1752
|
+
<td>a copy of the current event, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no
|
1753
1753
|
current event. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1754
1754
|
</td>
|
1755
1755
|
</tr></tbody>
|
@@ -1758,7 +1758,7 @@ current event. <span class="annotation">[<acronym title="Free data after the cod
|
|
1758
1758
|
<hr>
|
1759
1759
|
<div class="refsect2">
|
1760
1760
|
<a name="gtk-get-current-event-time"></a><h3>gtk_get_current_event_time ()</h3>
|
1761
|
-
<pre class="programlisting"><a href="
|
1761
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> gtk_get_current_event_time (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1762
1762
|
<p>
|
1763
1763
|
If there is a current event and it has a timestamp, return that
|
1764
1764
|
timestamp, otherwise return <a href="../gdk2/gdk2-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>.
|
@@ -1777,11 +1777,11 @@ timestamp, otherwise return <a href="../gdk2/gdk2-Events.html#GDK-CURRENT-TIME:C
|
|
1777
1777
|
<hr>
|
1778
1778
|
<div class="refsect2">
|
1779
1779
|
<a name="gtk-get-current-event-state"></a><h3>gtk_get_current_event_state ()</h3>
|
1780
|
-
<pre class="programlisting"><a href="
|
1780
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_get_current_event_state (<em class="parameter"><code><a href="../gdk2/gdk2-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> *state</code></em>);</pre>
|
1781
1781
|
<p>
|
1782
1782
|
If there is a current event and it has a state field, place
|
1783
|
-
that state field in <em class="parameter"><code>state</code></em> and return <a href="
|
1784
|
-
<a href="
|
1783
|
+
that state field in <em class="parameter"><code>state</code></em> and return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, otherwise return
|
1784
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
|
1785
1785
|
</p>
|
1786
1786
|
<div class="variablelist"><table border="0" class="variablelist">
|
1787
1787
|
<colgroup>
|
@@ -1797,7 +1797,7 @@ that state field in <em class="parameter"><code>state</code></em> and return <a
|
|
1797
1797
|
<tr>
|
1798
1798
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1799
1799
|
<td>
|
1800
|
-
<a href="
|
1800
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there was a current event and it had a state field</td>
|
1801
1801
|
</tr>
|
1802
1802
|
</tbody>
|
1803
1803
|
</table></div>
|
@@ -1807,8 +1807,8 @@ that state field in <em class="parameter"><code>state</code></em> and return <a
|
|
1807
1807
|
<a name="gtk-get-event-widget"></a><h3>gtk_get_event_widget ()</h3>
|
1808
1808
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_get_event_widget (<em class="parameter"><code><a href="../gdk2/gdk2-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
1809
1809
|
<p>
|
1810
|
-
If <em class="parameter"><code>event</code></em> is <a href="
|
1811
|
-
returns <a href="
|
1810
|
+
If <em class="parameter"><code>event</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> or the event was not associated with any widget,
|
1811
|
+
returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, otherwise returns the widget that received the event
|
1812
1812
|
originally.
|
1813
1813
|
</p>
|
1814
1814
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -1825,7 +1825,7 @@ originally.
|
|
1825
1825
|
<tr>
|
1826
1826
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1827
1827
|
<td>the widget that originally
|
1828
|
-
received <em class="parameter"><code>event</code></em>, or <a href="
|
1828
|
+
received <em class="parameter"><code>event</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1829
1829
|
</td>
|
1830
1830
|
</tr>
|
1831
1831
|
</tbody>
|
@@ -1877,8 +1877,8 @@ example, use <a href="../gdk2/gdk2-Windows.html#gdk-window-invalidate-rect"><cod
|
|
1877
1877
|
<div class="refsect1">
|
1878
1878
|
<a name="gtk2-General.see-also"></a><h2>See Also</h2>
|
1879
1879
|
<p>
|
1880
|
-
See the GLib manual, especially <a href="
|
1881
|
-
functions such as <a href="
|
1880
|
+
See the GLib manual, especially <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a> and signal-related
|
1881
|
+
functions such as <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect"><code class="function">g_signal_connect()</code></a>.
|
1882
1882
|
</p>
|
1883
1883
|
</div>
|
1884
1884
|
</div>
|