gtk2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +22 -0
- data/ext/gtk2/rbgtkwindow.c +3 -1
- data/lib/1.8/gtk2.so +0 -0
- data/lib/1.9/gtk2.so +0 -0
- data/sample/gtk-demo/cairo-operator.rb +1 -1
- data/sample/misc/bindings.rb +1 -1
- data/sample/misc/cairo-pong.rb +1 -1
- data/vendor/local/bin/gtk-builder-convert +29 -2
- 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/etc/gtk-2.0/gtk.immodules +1 -1
- data/vendor/local/include/gtk-2.0/gdk/gdk.h +2 -5
- data/vendor/local/include/gtk-2.0/gdk/gdkcairo.h +4 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdisplay.h +2 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdnd.h +7 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdrawable.h +7 -4
- data/vendor/local/include/gtk-2.0/gdk/gdkfont.h +1 -1
- data/vendor/local/include/gtk-2.0/gdk/gdkinput.h +1 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkpixmap.h +4 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkproperty.h +13 -9
- data/vendor/local/include/gtk-2.0/gdk/gdkspawn.h +2 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwin32.h +5 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwindow.h +16 -6
- data/vendor/local/include/gtk-2.0/gtk/gtk.h +1 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaboutdialog.h +5 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkcombobox.h +14 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxentry.h +3 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxtext.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtklinkbutton.h +2 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmain.h +2 -2
- data/vendor/local/include/gtk-2.0/gtk/gtknotebook.h +5 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkrange.h +6 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktypeutils.h +2 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkversion.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkvruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkwidget.h +5 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkwindow.h +2 -1
- data/vendor/local/lib/gailutil.lib +0 -0
- data/vendor/local/lib/gdk-win32-2.0.lib +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/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/manifest/{gtk+-dev_2.22.1-1_win32.mft → gtk+-dev_2.24.0-1_win32.mft} +9 -6
- data/vendor/local/manifest/{gtk+_2.22.1-1_win32.mft → gtk+_2.24.0-1_win32.mft} +2 -6
- data/vendor/local/share/doc/{gtk+-2.22.1 → gtk+-2.24.0}/COPYING +0 -0
- data/vendor/local/share/doc/{gtk+-dev-2.22.1 → gtk+-dev-2.24.0}/COPYING +0 -0
- data/vendor/local/share/gtk-2.0/demo/appwindow.c +0 -21
- data/vendor/local/share/gtk-2.0/demo/combobox.c +6 -6
- data/vendor/local/share/gtk-2.0/demo/offscreen_window.c +1 -1
- data/vendor/local/share/gtk-2.0/demo/offscreen_window2.c +1 -1
- data/vendor/local/share/gtk-2.0/demo/sizegroup.c +2 -2
- data/vendor/local/share/gtk-2.0/demo/textview.c +4 -4
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +60 -94
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +44 -58
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp2 +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/libgail-util-main.html +3 -3
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplay.html +151 -208
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplayManager.html +33 -37
- data/vendor/local/share/gtk-doc/html/gdk/GdkScreen.html +180 -239
- data/vendor/local/share/gtk-doc/html/gdk/annotation-glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-2.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-4.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-6.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-8.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/api-index-deprecated.html +135 -5
- data/vendor/local/share/gtk-doc/html/gdk/api-index-full.html +83 -47
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Application-launching.html +20 -23
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html +126 -126
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cairo-Interaction.html +81 -39
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html +135 -199
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cursors.html +71 -90
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html +161 -200
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html +293 -409
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Event-Structures.html +320 -435
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Events.html +109 -141
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Fonts.html +155 -234
- data/vendor/local/share/gtk-doc/html/gdk/gdk-GdkRGB.html +143 -217
- data/vendor/local/share/gtk-doc/html/gdk/gdk-General.html +103 -124
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html +168 -250
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Images.html +90 -131
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input-Devices.html +143 -191
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input.html +35 -53
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Keyboard-Handling.html +162 -195
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pango-Interaction.html +85 -112
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pixbufs.html +79 -137
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Points-Rectangles-and-Regions.html +144 -176
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Properties-and-Atoms.html +188 -235
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Selections.html +97 -134
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Testing.html +22 -35
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Threads.html +44 -70
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Visuals.html +83 -108
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Windows.html +653 -744
- data/vendor/local/share/gtk-doc/html/gdk/gdk-X-Window-System-Interaction.html +476 -490
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp +53 -44
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp2 +85 -76
- data/vendor/local/share/gtk-doc/html/gdk/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/index.sgml +10 -1
- data/vendor/local/share/gtk-doc/html/gdk/multihead.html +9 -9
- data/vendor/local/share/gtk-doc/html/gdk/reference.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gtk/AbstractObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Actions.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Builder.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/ButtonWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/DeprecatedObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/DisplayWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkAboutDialog.html +193 -186
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccelLabel.html +38 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccessible.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkAction.html +169 -236
- data/vendor/local/share/gtk-doc/html/gtk/GtkActionGroup.html +175 -258
- data/vendor/local/share/gtk-doc/html/gtk/GtkActivatable.html +46 -50
- data/vendor/local/share/gtk-doc/html/gtk/GtkAdjustment.html +78 -114
- data/vendor/local/share/gtk-doc/html/gtk/GtkAlignment.html +52 -66
- data/vendor/local/share/gtk-doc/html/gtk/GtkArrow.html +30 -36
- data/vendor/local/share/gtk-doc/html/gtk/GtkAspectFrame.html +36 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkAssistant.html +97 -118
- data/vendor/local/share/gtk-doc/html/gtk/GtkBin.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/GtkBox.html +95 -120
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuildable.html +86 -117
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuilder.html +96 -137
- data/vendor/local/share/gtk-doc/html/gtk/GtkButton.html +152 -185
- data/vendor/local/share/gtk-doc/html/gtk/GtkButtonBox.html +59 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkCList.html +615 -895
- data/vendor/local/share/gtk-doc/html/gtk/GtkCTree.html +520 -1791
- data/vendor/local/share/gtk-doc/html/gtk/GtkCalendar.html +125 -163
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellEditable.html +33 -35
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellLayout.html +60 -87
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRenderer.html +106 -130
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererAccel.html +35 -44
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererCombo.html +27 -32
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererPixbuf.html +24 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererProgress.html +23 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpin.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpinner.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererText.html +69 -74
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererToggle.html +45 -54
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellView.html +57 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkCheckButton.html +30 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorButton.html +53 -75
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelection.html +104 -180
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelectionDialog.html +29 -32
- data/vendor/local/share/gtk-doc/html/gtk/GtkCombo.html +63 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBox.html +344 -186
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxEntry.html +57 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxText.html +301 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkContainer.html +311 -260
- data/vendor/local/share/gtk-doc/html/gtk/GtkCurve.html +61 -79
- data/vendor/local/share/gtk-doc/html/gtk/GtkDialog.html +97 -121
- data/vendor/local/share/gtk-doc/html/gtk/GtkDrawingArea.html +21 -23
- data/vendor/local/share/gtk-doc/html/gtk/GtkEditable.html +68 -88
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntry.html +360 -470
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryBuffer.html +71 -104
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryCompletion.html +130 -185
- data/vendor/local/share/gtk-doc/html/gtk/GtkEventBox.html +33 -38
- data/vendor/local/share/gtk-doc/html/gtk/GtkExpander.html +76 -96
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooser.html +331 -403
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserButton.html +64 -89
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserDialog.html +30 -35
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserWidget.html +21 -26
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileSelection.html +102 -146
- data/vendor/local/share/gtk-doc/html/gtk/GtkFixed.html +38 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontButton.html +60 -86
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelection.html +66 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelectionDialog.html +52 -61
- data/vendor/local/share/gtk-doc/html/gtk/GtkFrame.html +51 -58
- data/vendor/local/share/gtk-doc/html/gtk/GtkGammaCurve.html +18 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkHBox.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkHButtonBox.html +29 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkHPaned.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk/GtkHRuler.html +30 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSV.html +65 -101
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScale.html +25 -30
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScrollbar.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSeparator.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkHandleBox.html +55 -66
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContext.html +140 -182
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContextSimple.html +18 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMMulticontext.html +18 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconTheme.html +184 -248
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconView.html +321 -447
- data/vendor/local/share/gtk-doc/html/gtk/GtkImage.html +174 -195
- data/vendor/local/share/gtk-doc/html/gtk/GtkImageMenuItem.html +58 -69
- data/vendor/local/share/gtk-doc/html/gtk/GtkInfoBar.html +67 -80
- data/vendor/local/share/gtk-doc/html/gtk/GtkInputDialog.html +32 -37
- data/vendor/local/share/gtk-doc/html/gtk/GtkInvisible.html +33 -41
- data/vendor/local/share/gtk-doc/html/gtk/GtkItem.html +36 -42
- data/vendor/local/share/gtk-doc/html/gtk/GtkItemFactory.html +179 -272
- data/vendor/local/share/gtk-doc/html/gtk/GtkLabel.html +197 -249
- data/vendor/local/share/gtk-doc/html/gtk/GtkLayout.html +68 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkLinkButton.html +51 -60
- data/vendor/local/share/gtk-doc/html/gtk/GtkList.html +130 -180
- data/vendor/local/share/gtk-doc/html/gtk/GtkListItem.html +80 -130
- data/vendor/local/share/gtk-doc/html/gtk/GtkListStore.html +138 -168
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenu.html +177 -221
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuBar.html +41 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuItem.html +112 -145
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuShell.html +86 -118
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuToolButton.html +73 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkMessageDialog.html +81 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkMisc.html +33 -39
- data/vendor/local/share/gtk-doc/html/gtk/GtkNotebook.html +396 -452
- data/vendor/local/share/gtk-doc/html/gtk/GtkObject.html +148 -206
- data/vendor/local/share/gtk-doc/html/gtk/GtkOffscreenWindow.html +21 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkOldEditable.html +80 -165
- data/vendor/local/share/gtk-doc/html/gtk/GtkOptionMenu.html +56 -66
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetup.html +115 -160
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetupUnixDialog.html +22 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkPaned.html +94 -134
- data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkPaperSize.html → GtkPaperSize.html} +204 -252
- data/vendor/local/share/gtk-doc/html/gtk/GtkPixmap.html +34 -44
- data/vendor/local/share/gtk-doc/html/gtk/GtkPlug.html +51 -67
- data/vendor/local/share/gtk-doc/html/gtk/GtkPreview.html +109 -136
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintContext.html +38 -53
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintJob.html +53 -68
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintSettings.html +265 -403
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintUnixDialog.html +74 -94
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrinter.html +100 -134
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgress.html +80 -111
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgressBar.html +91 -108
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioAction.html +42 -53
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioButton.html +86 -79
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioMenuItem.html +63 -71
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioToolButton.html +33 -42
- data/vendor/local/share/gtk-doc/html/gtk/GtkRange.html +218 -185
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentAction.html +34 -41
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooser.html +135 -194
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserDialog.html +27 -29
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserMenu.html +25 -30
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserWidget.html +17 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentFilter.html +63 -85
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentManager.html +202 -269
- data/vendor/local/share/gtk-doc/html/gtk/GtkRuler.html +83 -58
- data/vendor/local/share/gtk-doc/html/gtk/GtkScale.html +61 -72
- data/vendor/local/share/gtk-doc/html/gtk/GtkScaleButton.html +64 -83
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrollbar.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrolledWindow.html +93 -143
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparator.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorMenuItem.html +17 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorToolItem.html +24 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkSettings.html +129 -259
- data/vendor/local/share/gtk-doc/html/gtk/GtkSizeGroup.html +38 -45
- data/vendor/local/share/gtk-doc/html/gtk/GtkSocket.html +44 -53
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinButton.html +132 -177
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinner.html +24 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusIcon.html +190 -254
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusbar.html +60 -75
- data/vendor/local/share/gtk-doc/html/gtk/GtkStyle.html +546 -928
- data/vendor/local/share/gtk-doc/html/gtk/GtkTable.html +94 -135
- data/vendor/local/share/gtk-doc/html/gtk/GtkTearoffMenuItem.html +18 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkText.html +97 -140
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextBuffer.html +494 -656
- data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkTextIter.html → GtkTextIter.html} +664 -806
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextMark.html +41 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTag.html +164 -194
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTagTable.html +84 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextView.html +340 -425
- data/vendor/local/share/gtk-doc/html/gtk/GtkTipsQuery.html +74 -94
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleAction.html +43 -57
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleButton.html +59 -71
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleToolButton.html +32 -38
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolButton.html +74 -85
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItem.html +133 -166
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItemGroup.html +84 -103
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolPalette.html +116 -139
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolShell.html +42 -59
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolbar.html +249 -360
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltip.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltips.html +60 -70
- data/vendor/local/share/gtk-doc/html/gtk/GtkTree.html +105 -152
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeItem.html +46 -134
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModel.html +428 -557
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelFilter.html +95 -126
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelSort.html +63 -70
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSelection.html +123 -171
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSortable.html +53 -62
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeStore.html +170 -199
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeView.html +565 -863
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeViewColumn.html +203 -282
- data/vendor/local/share/gtk-doc/html/gtk/GtkUIManager.html +125 -189
- data/vendor/local/share/gtk-doc/html/gtk/GtkVBox.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkVButtonBox.html +27 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkVPaned.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/GtkVRuler.html +31 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScale.html +24 -29
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScrollbar.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkVSeparator.html +17 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkViewport.html +58 -69
- data/vendor/local/share/gtk-doc/html/gtk/GtkVolumeButton.html +16 -17
- data/vendor/local/share/gtk-doc/html/gtk/GtkWidget.html +1278 -1579
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindow.html +380 -532
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindowGroup.html +21 -39
- data/vendor/local/share/gtk-doc/html/gtk/LayoutContainers.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/MenusAndCombos.html +6 -3
- data/vendor/local/share/gtk-doc/html/gtk/MiscObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/NumericEntry.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Ornaments.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/PlugSocket.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Printing.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/RecentDocuments.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/ScrollingWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/SelectorWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/SpecialObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/TextWidget.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk/TextWidgetObjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidget.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidgetObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/WindowWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/annotation-glossary.html +17 -11
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-10.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-12.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-16.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-22.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-24.html +117 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-4.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-8.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/api-index-deprecated.html +236 -45
- data/vendor/local/share/gtk-doc/html/gtk/api-index-full.html +469 -385
- data/vendor/local/share/gtk-doc/html/gtk/ch01.html +15 -4
- data/vendor/local/share/gtk-doc/html/gtk/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/chap-drawing-model.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/checklist-gdkeventexpose-region.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/checklist-modifiers.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/checklist-named-icons.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/decorating-the-assistant-pages.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Accelerator-Maps.html +69 -124
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Bindings.html +149 -211
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Clipboards.html +189 -293
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Drag-and-Drop.html +175 -246
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Feature-Test-Macros.html +35 -41
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Filesystem-utilities.html +41 -47
- data/vendor/local/share/gtk-doc/html/gtk/gtk-General.html +270 -318
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Graphics-Contexts.html +16 -22
- data/vendor/local/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html +75 -82
- data/vendor/local/share/gtk-doc/html/gtk/gtk-High-level-Printing-API.html +221 -289
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Keyboard-Accelerators.html +142 -232
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Orientable.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Resource-Files.html +150 -190
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Selections.html +328 -408
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Signals.html +190 -306
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Stock-Items.html +152 -158
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Testing.html +85 -136
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html +204 -239
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Types.html +271 -343
- data/vendor/local/share/gtk-doc/html/gtk/gtk-builder-convert.html +18 -11
- data/vendor/local/share/gtk-doc/html/gtk/gtk-building.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-1-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-2-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-directfb.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkcheckmenuitem.html +63 -75
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkfilefilter.html +58 -75
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-ClientSideWindows.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAboutDialog.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAssistant.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkBuilder.html +5 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkColorButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkComboBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkFileChooser.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkIconView.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkLinkButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkRecentChooser.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-checklist.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-entry-icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-label-links.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-tooltips.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-osx.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-query-immodules-2.0.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-question-index.html +90 -90
- data/vendor/local/share/gtk-doc/html/gtk/gtk-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk/gtk-running.html +39 -31
- data/vendor/local/share/gtk-doc/html/gtk/gtk-update-icon-cache.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-windows.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/gtk-x11.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp +445 -412
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp2 +488 -455
- data/vendor/local/share/gtk-doc/html/gtk/gtk.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtkbase.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-extra-widgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-preview.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-new-features.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-selection-modes.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkobjects.html +8 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-advanced.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-chooser.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/index.html +10 -6
- data/vendor/local/share/gtk-doc/html/gtk/index.sgml +194 -142
- data/vendor/local/share/gtk-doc/html/gtk/migrating-GtkCombo.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/migrating-gnomeuiinfo.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk/migrating.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/new-features-GtkComboBox.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/pt05.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/setting-the-page-flow.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gtk/ui-manager.html +3 -3
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/src/tml/packaging/gtk+_2.24.0-1_win32.log +4934 -0
- data/vendor/local/src/tml/packaging/{gtk+_2.22.1-1_win32.sh → gtk+_2.24.0-1_win32.sh} +2 -2
- metadata +26 -33
- data/ext/gtk2/Makefile +0 -169
- data/ext/gtk2/rbgdkkeysyms.h +0 -2174
- data/ext/gtk2/rbgtkinits.c +0 -473
- data/ext/gtk2/ruby-gtk2.pc +0 -3
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/src/tml/packaging/gtk+_2.22.1-1_win32.log +0 -5048
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="gtkbase.html" title="Part II. GTK+ Core Reference">
|
9
9
|
<link rel="prev" href="gtkbase.html" title="Part II. GTK+ Core Reference">
|
10
10
|
<link rel="next" href="gtk-Keyboard-Accelerators.html" title="Accelerator Groups">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.16.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#gtk-General.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="gtk-General"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="gtk-General.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <gtk/gtk.h>
|
@@ -72,7 +72,7 @@
|
|
72
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="gtk-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="gtk-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
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
75
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gtk-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="gtk-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="gtk-General.html#gtk-init-add" title="gtk_init_add ()">gtk_init_add</a> (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
@@ -135,15 +135,15 @@
|
|
135
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
136
|
<span class="returnvalue">void</span> <a class="link" href="gtk-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
|
-
<a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEvent"><span class="returnvalue">GdkEvent</span></a
|
138
|
+
<a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEvent"><span class="returnvalue">GdkEvent</span></a> * <a class="link" href="gtk-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
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="gtk-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
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="gtk-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="http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> *state</code></em>);
|
141
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
141
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gtk-General.html#gtk-get-event-widget" title="gtk_get_event_widget ()">gtk_get_event_widget</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
|
142
142
|
<span class="returnvalue">void</span> <a class="link" href="gtk-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="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
|
144
144
|
</pre>
|
145
145
|
</div>
|
146
|
-
<div class="refsect1"
|
146
|
+
<div class="refsect1">
|
147
147
|
<a name="gtk-General.description"></a><h2>Description</h2>
|
148
148
|
<p>
|
149
149
|
Before using GTK+, you need to initialize it; initialization connects
|
@@ -175,7 +175,7 @@ When your callbacks are invoked, you would typically take some action
|
|
175
175
|
to the main loop and await more user input.
|
176
176
|
</p>
|
177
177
|
<div class="example">
|
178
|
-
<a name="
|
178
|
+
<a name="id474222"></a><p class="title"><b>Example 2. Typical <code class="function">main</code> function for a GTK+ application</b></p>
|
179
179
|
<div class="example-contents">
|
180
180
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
181
181
|
<tbody>
|
@@ -228,11 +228,15 @@ though it involves slightly more typing. See <a href="http://library.gnome.org/d
|
|
228
228
|
documentation.
|
229
229
|
</p>
|
230
230
|
</div>
|
231
|
-
<div class="refsect1"
|
231
|
+
<div class="refsect1">
|
232
232
|
<a name="gtk-General.details"></a><h2>Details</h2>
|
233
|
-
<div class="refsect2"
|
233
|
+
<div class="refsect2">
|
234
234
|
<a name="gtk-set-locale"></a><h3>gtk_set_locale ()</h3>
|
235
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
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
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="http://library.gnome.org/devel/glib/unstable/glib-running.html#setlocale"><code class="function">setlocale()</code></a> directly</p>
|
239
|
+
</div>
|
236
240
|
<p>
|
237
241
|
Initializes internationalization support for GTK+. <a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>
|
238
242
|
automatically does this, so there is typically no point
|
@@ -255,26 +259,25 @@ locale specific setup of the windowing system used by GDK.
|
|
255
259
|
<col align="left" valign="top">
|
256
260
|
<tbody><tr>
|
257
261
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
258
|
-
<td>
|
262
|
+
<td>a string corresponding to the locale set, typically in the
|
259
263
|
form lang_COUNTRY, where lang is an ISO-639 language code, and
|
260
264
|
COUNTRY is an ISO-3166 country code. On Unix, this form matches the
|
261
|
-
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
|
262
|
-
Windows, where the C library returns a different result. The string is
|
263
|
-
owned by GTK+ and should not be modified or freed
|
264
|
-
</td>
|
265
|
+
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
|
266
|
+
Windows, where the C library returns a different result. The string is
|
267
|
+
owned by GTK+ and should not be modified or freed.</td>
|
265
268
|
</tr></tbody>
|
266
269
|
</table></div>
|
267
270
|
</div>
|
268
271
|
<hr>
|
269
|
-
<div class="refsect2"
|
272
|
+
<div class="refsect2">
|
270
273
|
<a name="gtk-disable-setlocale"></a><h3>gtk_disable_setlocale ()</h3>
|
271
274
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_disable_setlocale (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
272
275
|
<p>
|
273
276
|
Prevents <a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>, <a class="link" href="gtk-General.html#gtk-init-check" title="gtk_init_check ()"><code class="function">gtk_init_check()</code></a>, <a class="link" href="gtk-General.html#gtk-init-with-args" title="gtk_init_with_args ()"><code class="function">gtk_init_with_args()</code></a> and
|
274
277
|
<a class="link" href="gtk-General.html#gtk-parse-args" title="gtk_parse_args ()"><code class="function">gtk_parse_args()</code></a> from automatically
|
275
|
-
calling <code class="literal">setlocale (LC_ALL, "")</code>. You would
|
276
|
-
want to use this function if you wanted to set the locale for
|
277
|
-
your program to something other than the user's locale, or if
|
278
|
+
calling <code class="literal">setlocale (LC_ALL, "")</code>. You would
|
279
|
+
want to use this function if you wanted to set the locale for
|
280
|
+
your program to something other than the user's locale, or if
|
278
281
|
you wanted to set different values for different locale categories.
|
279
282
|
</p>
|
280
283
|
<p>
|
@@ -282,7 +285,7 @@ Most programs should not need to call this function.
|
|
282
285
|
</p>
|
283
286
|
</div>
|
284
287
|
<hr>
|
285
|
-
<div class="refsect2"
|
288
|
+
<div class="refsect2">
|
286
289
|
<a name="gtk-get-default-language"></a><h3>gtk_get_default_language ()</h3>
|
287
290
|
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * gtk_get_default_language (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
288
291
|
<p>
|
@@ -300,14 +303,13 @@ that function for details.
|
|
300
303
|
<col align="left" valign="top">
|
301
304
|
<tbody><tr>
|
302
305
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
303
|
-
<td>
|
304
|
-
freed
|
305
|
-
</td>
|
306
|
+
<td>the default language as a <a href="/usr/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, must not be
|
307
|
+
freed</td>
|
306
308
|
</tr></tbody>
|
307
309
|
</table></div>
|
308
310
|
</div>
|
309
311
|
<hr>
|
310
|
-
<div class="refsect2"
|
312
|
+
<div class="refsect2">
|
311
313
|
<a name="gtk-parse-args"></a><h3>gtk_parse_args ()</h3>
|
312
314
|
<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>,
|
313
315
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>);</pre>
|
@@ -321,7 +323,7 @@ Any arguments used by GTK+ or GDK are removed from the array and
|
|
321
323
|
<em class="parameter"><code>argc</code></em> and <em class="parameter"><code>argv</code></em> are updated accordingly.
|
322
324
|
</p>
|
323
325
|
<p>
|
324
|
-
|
326
|
+
There is no need to call this function explicitely if you are using
|
325
327
|
<a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>, or <a class="link" href="gtk-General.html#gtk-init-check" title="gtk_init_check ()"><code class="function">gtk_init_check()</code></a>.
|
326
328
|
</p>
|
327
329
|
<div class="variablelist"><table border="0">
|
@@ -329,56 +331,60 @@ You shouldn't call this function explicitely if you are using
|
|
329
331
|
<tbody>
|
330
332
|
<tr>
|
331
333
|
<td><p><span class="term"><em class="parameter"><code>argc</code></em> :</span></p></td>
|
332
|
-
<td>
|
334
|
+
<td>a pointer to the number of command line arguments. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
333
335
|
</td>
|
334
336
|
</tr>
|
335
337
|
<tr>
|
336
338
|
<td><p><span class="term"><em class="parameter"><code>argv</code></em> :</span></p></td>
|
337
|
-
<td>
|
339
|
+
<td>a pointer to the array of
|
340
|
+
command line arguments. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=argc][<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
338
341
|
</td>
|
339
342
|
</tr>
|
340
343
|
<tr>
|
341
344
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
342
|
-
<td>
|
343
|
-
</td>
|
345
|
+
<td>
|
346
|
+
<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>
|
344
347
|
</tr>
|
345
348
|
</tbody>
|
346
349
|
</table></div>
|
347
350
|
</div>
|
348
351
|
<hr>
|
349
|
-
<div class="refsect2"
|
352
|
+
<div class="refsect2">
|
350
353
|
<a name="gtk-init"></a><h3>gtk_init ()</h3>
|
351
354
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_init (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
352
355
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>);</pre>
|
353
356
|
<p>
|
354
357
|
Call this function before using any other GTK+ functions in your GUI
|
355
358
|
applications. It will initialize everything needed to operate the
|
356
|
-
toolkit and parses some standard command line options.
|
357
|
-
|
358
|
-
|
359
|
+
toolkit and parses some standard command line options.
|
360
|
+
</p>
|
361
|
+
<p>
|
362
|
+
<em class="parameter"><code>argc</code></em> and <em class="parameter"><code>argv</code></em> are adjusted accordingly so your own code will
|
363
|
+
never see those standard arguments.
|
359
364
|
</p>
|
360
365
|
<p>
|
361
|
-
Note that there are some alternative ways to initialize GTK+:
|
362
|
-
if you are calling <a class="link" href="gtk-General.html#gtk-parse-args" title="gtk_parse_args ()"><code class="function">gtk_parse_args()</code></a>, <a class="link" href="gtk-General.html#gtk-init-check" title="gtk_init_check ()"><code class="function">gtk_init_check()</code></a>,
|
363
|
-
<a class="link" href="gtk-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
|
364
|
-
the option group returned by <a class="link" href="gtk-General.html#gtk-get-option-group" title="gtk_get_option_group ()"><code class="function">gtk_get_option_group()</code></a>,
|
365
|
-
<span class="emphasis"><em>don't</em></span> have to call <a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>.
|
366
|
+
Note that there are some alternative ways to initialize GTK+:
|
367
|
+
if you are calling <a class="link" href="gtk-General.html#gtk-parse-args" title="gtk_parse_args ()"><code class="function">gtk_parse_args()</code></a>, <a class="link" href="gtk-General.html#gtk-init-check" title="gtk_init_check ()"><code class="function">gtk_init_check()</code></a>,
|
368
|
+
<a class="link" href="gtk-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
|
369
|
+
the option group returned by <a class="link" href="gtk-General.html#gtk-get-option-group" title="gtk_get_option_group ()"><code class="function">gtk_get_option_group()</code></a>,
|
370
|
+
you <span class="emphasis"><em>don't</em></span> have to call <a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>.
|
366
371
|
</p>
|
367
372
|
<p>
|
368
373
|
</p>
|
369
|
-
<div class="note"
|
374
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
370
375
|
<h3 class="title">Note</h3>
|
371
376
|
<p>
|
372
|
-
This function will terminate your program if it was unable to
|
373
|
-
the
|
374
|
-
|
377
|
+
This function will terminate your program if it was unable to
|
378
|
+
initialize the windowing system for some reason. If you want
|
379
|
+
your program to fall back to a textual interface you want to
|
380
|
+
call <a class="link" href="gtk-General.html#gtk-init-check" title="gtk_init_check ()"><code class="function">gtk_init_check()</code></a> instead.
|
375
381
|
</p>
|
376
382
|
</div>
|
377
383
|
<p>
|
378
384
|
</p>
|
379
385
|
<p>
|
380
386
|
</p>
|
381
|
-
<div class="note"
|
387
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
382
388
|
<h3 class="title">Note</h3>
|
383
389
|
<p>
|
384
390
|
Since 2.18, GTK+ calls <code class="literal">signal (SIGPIPE, SIG_IGN)</code>
|
@@ -391,26 +397,34 @@ similar things.
|
|
391
397
|
</div>
|
392
398
|
<p>
|
393
399
|
</p>
|
400
|
+
<p>
|
401
|
+
</p>
|
402
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
403
|
+
<h3 class="title">Note</h3>
|
404
|
+
<p>
|
405
|
+
</p>
|
406
|
+
</div>
|
394
407
|
<div class="variablelist"><table border="0">
|
395
408
|
<col align="left" valign="top">
|
396
409
|
<tbody>
|
397
410
|
<tr>
|
398
411
|
<td><p><span class="term"><em class="parameter"><code>argc</code></em> :</span></p></td>
|
399
|
-
<td>
|
400
|
-
|
412
|
+
<td>Address of the <em class="parameter"><code>argc</code></em> parameter of
|
413
|
+
your <code class="function">main()</code> function. Changed if any arguments were handled. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
401
414
|
</td>
|
402
415
|
</tr>
|
403
416
|
<tr>
|
404
417
|
<td><p><span class="term"><em class="parameter"><code>argv</code></em> :</span></p></td>
|
405
|
-
<td>
|
406
|
-
|
418
|
+
<td>Address of the
|
419
|
+
<em class="parameter"><code>argv</code></em> parameter of <code class="function">main()</code>. Any options
|
420
|
+
understood by GTK+ are stripped before return. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=argc][<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
407
421
|
</td>
|
408
422
|
</tr>
|
409
423
|
</tbody>
|
410
424
|
</table></div>
|
411
425
|
</div>
|
412
426
|
<hr>
|
413
|
-
<div class="refsect2"
|
427
|
+
<div class="refsect2">
|
414
428
|
<a name="gtk-init-check"></a><h3>gtk_init_check ()</h3>
|
415
429
|
<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>,
|
416
430
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>);</pre>
|
@@ -428,27 +442,27 @@ with the user - for example a curses or command line interface.
|
|
428
442
|
<tbody>
|
429
443
|
<tr>
|
430
444
|
<td><p><span class="term"><em class="parameter"><code>argc</code></em> :</span></p></td>
|
431
|
-
<td>
|
432
|
-
|
445
|
+
<td>Address of the <em class="parameter"><code>argc</code></em> parameter of your
|
446
|
+
<code class="function">main()</code> function. Changed if any arguments were handled. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
433
447
|
</td>
|
434
448
|
</tr>
|
435
449
|
<tr>
|
436
450
|
<td><p><span class="term"><em class="parameter"><code>argv</code></em> :</span></p></td>
|
437
|
-
<td>
|
438
|
-
|
451
|
+
<td>Address of the <em class="parameter"><code>argv</code></em> parameter of <code class="function">main()</code>.
|
452
|
+
Any parameters understood by <a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a> are stripped before return. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=argc][<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
439
453
|
</td>
|
440
454
|
</tr>
|
441
455
|
<tr>
|
442
456
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
443
|
-
<td>
|
444
|
-
|
445
|
-
</td>
|
457
|
+
<td>
|
458
|
+
<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,
|
459
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
446
460
|
</tr>
|
447
461
|
</tbody>
|
448
462
|
</table></div>
|
449
463
|
</div>
|
450
464
|
<hr>
|
451
|
-
<div class="refsect2"
|
465
|
+
<div class="refsect2">
|
452
466
|
<a name="gtk-init-with-args"></a><h3>gtk_init_with_args ()</h3>
|
453
467
|
<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>,
|
454
468
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>,
|
@@ -468,52 +482,47 @@ be terminated after writing out the help output.
|
|
468
482
|
<tbody>
|
469
483
|
<tr>
|
470
484
|
<td><p><span class="term"><em class="parameter"><code>argc</code></em> :</span></p></td>
|
471
|
-
<td>a pointer to the number of command line arguments
|
472
|
-
</td>
|
485
|
+
<td>a pointer to the number of command line arguments.</td>
|
473
486
|
</tr>
|
474
487
|
<tr>
|
475
488
|
<td><p><span class="term"><em class="parameter"><code>argv</code></em> :</span></p></td>
|
476
|
-
<td>a pointer to the array of command line arguments
|
477
|
-
</td>
|
489
|
+
<td>a pointer to the array of command line arguments.</td>
|
478
490
|
</tr>
|
479
491
|
<tr>
|
480
492
|
<td><p><span class="term"><em class="parameter"><code>parameter_string</code></em> :</span></p></td>
|
481
493
|
<td>a string which is displayed in
|
482
|
-
|
483
|
-
|
494
|
+
the first line of <code class="option">--help</code> output, after
|
495
|
+
<code class="literal"><em class="replaceable"><code>programname</code></em> [OPTION...]</code>
|
484
496
|
</td>
|
485
497
|
</tr>
|
486
498
|
<tr>
|
487
499
|
<td><p><span class="term"><em class="parameter"><code>entries</code></em> :</span></p></td>
|
488
500
|
<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 of <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a>s
|
489
|
-
|
490
|
-
</td>
|
501
|
+
describing the options of your program</td>
|
491
502
|
</tr>
|
492
503
|
<tr>
|
493
504
|
<td><p><span class="term"><em class="parameter"><code>translation_domain</code></em> :</span></p></td>
|
494
505
|
<td>a translation domain to use for translating
|
495
|
-
|
496
|
-
|
506
|
+
the <code class="option">--help</code> output for the options in <em class="parameter"><code>entries</code></em>
|
507
|
+
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>
|
497
508
|
</td>
|
498
509
|
</tr>
|
499
510
|
<tr>
|
500
511
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
501
|
-
<td>a return location for errors
|
502
|
-
</td>
|
512
|
+
<td>a return location for errors</td>
|
503
513
|
</tr>
|
504
514
|
<tr>
|
505
515
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
506
|
-
<td>
|
507
|
-
|
508
|
-
|
509
|
-
</td>
|
516
|
+
<td>
|
517
|
+
<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,
|
518
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
510
519
|
</tr>
|
511
520
|
</tbody>
|
512
521
|
</table></div>
|
513
522
|
<p class="since">Since 2.6</p>
|
514
523
|
</div>
|
515
524
|
<hr>
|
516
|
-
<div class="refsect2"
|
525
|
+
<div class="refsect2">
|
517
526
|
<a name="gtk-get-option-group"></a><h3>gtk_get_option_group ()</h3>
|
518
527
|
<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>
|
519
528
|
<p>
|
@@ -527,26 +536,23 @@ with <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-opti
|
|
527
536
|
<tbody>
|
528
537
|
<tr>
|
529
538
|
<td><p><span class="term"><em class="parameter"><code>open_default_display</code></em> :</span></p></td>
|
530
|
-
<td>whether to open the default display
|
531
|
-
|
532
|
-
</td>
|
539
|
+
<td>whether to open the default display
|
540
|
+
when parsing the commandline arguments</td>
|
533
541
|
</tr>
|
534
542
|
<tr>
|
535
543
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
536
|
-
<td>
|
537
|
-
|
538
|
-
|
539
|
-
</td>
|
544
|
+
<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
|
545
|
+
by GTK+</td>
|
540
546
|
</tr>
|
541
547
|
</tbody>
|
542
548
|
</table></div>
|
543
549
|
<p class="since">Since 2.6</p>
|
544
550
|
</div>
|
545
551
|
<hr>
|
546
|
-
<div class="refsect2"
|
552
|
+
<div class="refsect2">
|
547
553
|
<a name="gtk-exit"></a><h3>gtk_exit ()</h3>
|
548
554
|
<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>
|
549
|
-
<div class="warning"
|
555
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
550
556
|
<h3 class="title">Warning</h3>
|
551
557
|
<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>
|
552
558
|
</div>
|
@@ -560,13 +566,12 @@ for GTK+.
|
|
560
566
|
<tbody><tr>
|
561
567
|
<td><p><span class="term"><em class="parameter"><code>error_code</code></em> :</span></p></td>
|
562
568
|
<td>Return value to pass to the caller. This is dependent on the
|
563
|
-
target system but at least on Unix systems <code class="literal">0</code> means success
|
564
|
-
</td>
|
569
|
+
target system but at least on Unix systems <code class="literal">0</code> means success.</td>
|
565
570
|
</tr></tbody>
|
566
571
|
</table></div>
|
567
572
|
</div>
|
568
573
|
<hr>
|
569
|
-
<div class="refsect2"
|
574
|
+
<div class="refsect2">
|
570
575
|
<a name="gtk-events-pending"></a><h3>gtk_events_pending ()</h3>
|
571
576
|
<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>
|
572
577
|
<p>
|
@@ -574,7 +579,7 @@ Checks if any events are pending. This can be used to update the GUI
|
|
574
579
|
and invoke timeouts etc. while doing some time intensive computation.
|
575
580
|
</p>
|
576
581
|
<div class="example">
|
577
|
-
<a name="
|
582
|
+
<a name="id491848"></a><p class="title"><b>Example 3. Updating the GUI during a long computation.</b></p>
|
578
583
|
<div class="example-contents">
|
579
584
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
580
585
|
<tbody>
|
@@ -602,13 +607,12 @@ and invoke timeouts etc. while doing some time intensive computation.
|
|
602
607
|
<tbody><tr>
|
603
608
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
604
609
|
<td>
|
605
|
-
<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
|
606
|
-
</td>
|
610
|
+
<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>
|
607
611
|
</tr></tbody>
|
608
612
|
</table></div>
|
609
613
|
</div>
|
610
614
|
<hr>
|
611
|
-
<div class="refsect2"
|
615
|
+
<div class="refsect2">
|
612
616
|
<a name="gtk-main"></a><h3>gtk_main ()</h3>
|
613
617
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_main (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
614
618
|
<p>
|
@@ -618,7 +622,7 @@ of the main loop return.
|
|
618
622
|
</p>
|
619
623
|
</div>
|
620
624
|
<hr>
|
621
|
-
<div class="refsect2"
|
625
|
+
<div class="refsect2">
|
622
626
|
<a name="gtk-main-level"></a><h3>gtk_main_level ()</h3>
|
623
627
|
<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>
|
624
628
|
<p>
|
@@ -629,13 +633,12 @@ when calling <a class="link" href="gtk-General.html#gtk-quit-add" title="gtk_qui
|
|
629
633
|
<col align="left" valign="top">
|
630
634
|
<tbody><tr>
|
631
635
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
632
|
-
<td>the nesting level of the current invocation of the main loop
|
633
|
-
</td>
|
636
|
+
<td>the nesting level of the current invocation of the main loop.</td>
|
634
637
|
</tr></tbody>
|
635
638
|
</table></div>
|
636
639
|
</div>
|
637
640
|
<hr>
|
638
|
-
<div class="refsect2"
|
641
|
+
<div class="refsect2">
|
639
642
|
<a name="gtk-main-quit"></a><h3>gtk_main_quit ()</h3>
|
640
643
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_main_quit (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
641
644
|
<p>
|
@@ -644,7 +647,7 @@ control.
|
|
644
647
|
</p>
|
645
648
|
</div>
|
646
649
|
<hr>
|
647
|
-
<div class="refsect2"
|
650
|
+
<div class="refsect2">
|
648
651
|
<a name="gtk-main-iteration"></a><h3>gtk_main_iteration ()</h3>
|
649
652
|
<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>
|
650
653
|
<p>
|
@@ -658,13 +661,12 @@ pending with <a class="link" href="gtk-General.html#gtk-events-pending" title="g
|
|
658
661
|
<tbody><tr>
|
659
662
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
660
663
|
<td>
|
661
|
-
<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="gtk-General.html#gtk-main-quit" title="gtk_main_quit ()"><code class="function">gtk_main_quit()</code></a> has been called for the innermost mainloop
|
662
|
-
</td>
|
664
|
+
<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="gtk-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>
|
663
665
|
</tr></tbody>
|
664
666
|
</table></div>
|
665
667
|
</div>
|
666
668
|
<hr>
|
667
|
-
<div class="refsect2"
|
669
|
+
<div class="refsect2">
|
668
670
|
<a name="gtk-main-iteration-do"></a><h3>gtk_main_iteration_do ()</h3>
|
669
671
|
<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>
|
670
672
|
<p>
|
@@ -677,20 +679,18 @@ return or block dependent on the value of <em class="parameter"><code>blocking</
|
|
677
679
|
<tr>
|
678
680
|
<td><p><span class="term"><em class="parameter"><code>blocking</code></em> :</span></p></td>
|
679
681
|
<td>
|
680
|
-
<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
|
681
|
-
</td>
|
682
|
+
<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>
|
682
683
|
</tr>
|
683
684
|
<tr>
|
684
685
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
685
686
|
<td>
|
686
|
-
<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="gtk-General.html#gtk-main-quit" title="gtk_main_quit ()"><code class="function">gtk_main_quit()</code></a> has been called for the innermost mainloop
|
687
|
-
</td>
|
687
|
+
<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="gtk-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>
|
688
688
|
</tr>
|
689
689
|
</tbody>
|
690
690
|
</table></div>
|
691
691
|
</div>
|
692
692
|
<hr>
|
693
|
-
<div class="refsect2"
|
693
|
+
<div class="refsect2">
|
694
694
|
<a name="gtk-main-do-event"></a><h3>gtk_main_do_event ()</h3>
|
695
695
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_main_do_event (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
696
696
|
<p>
|
@@ -756,13 +756,12 @@ the event:
|
|
756
756
|
<col align="left" valign="top">
|
757
757
|
<tbody><tr>
|
758
758
|
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
759
|
-
<td>An event to process (normally) passed by GDK
|
760
|
-
</td>
|
759
|
+
<td>An event to process (normally) passed by GDK.</td>
|
761
760
|
</tr></tbody>
|
762
761
|
</table></div>
|
763
762
|
</div>
|
764
763
|
<hr>
|
765
|
-
<div class="refsect2"
|
764
|
+
<div class="refsect2">
|
766
765
|
<a name="GtkModuleInitFunc"></a><h3>GtkModuleInitFunc ()</h3>
|
767
766
|
<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>,
|
768
767
|
<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>
|
@@ -776,35 +775,25 @@ cleaned from any arguments that GTK+ handles itself.
|
|
776
775
|
<tbody>
|
777
776
|
<tr>
|
778
777
|
<td><p><span class="term"><em class="parameter"><code>argc</code></em> :</span></p></td>
|
779
|
-
<td>Pointer to the number of arguments remaining after <a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a
|
780
|
-
</td>
|
778
|
+
<td>Pointer to the number of arguments remaining after <a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>.</td>
|
781
779
|
</tr>
|
782
780
|
<tr>
|
783
781
|
<td><p><span class="term"><em class="parameter"><code>argv</code></em> :</span></p></td>
|
784
|
-
<td>Points to the argument vector
|
785
|
-
</td>
|
782
|
+
<td>Points to the argument vector.</td>
|
786
783
|
</tr>
|
787
784
|
</tbody>
|
788
785
|
</table></div>
|
789
786
|
</div>
|
790
787
|
<hr>
|
791
|
-
<div class="refsect2"
|
788
|
+
<div class="refsect2">
|
792
789
|
<a name="GtkModuleDisplayInitFunc"></a><h3>GtkModuleDisplayInitFunc ()</h3>
|
793
790
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GtkModuleDisplayInitFunc) (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/GdkDisplay.html"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
794
791
|
<p>
|
795
792
|
</p>
|
796
|
-
<div class="variablelist"><table border="0">
|
797
|
-
<col align="left" valign="top">
|
798
|
-
<tbody><tr>
|
799
|
-
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
800
|
-
<td>
|
801
|
-
</td>
|
802
|
-
</tr></tbody>
|
803
|
-
</table></div>
|
804
793
|
<p class="since">Since 2.2</p>
|
805
794
|
</div>
|
806
795
|
<hr>
|
807
|
-
<div class="refsect2"
|
796
|
+
<div class="refsect2">
|
808
797
|
<a name="gtk-true"></a><h3>gtk_true ()</h3>
|
809
798
|
<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>
|
810
799
|
<p>
|
@@ -814,7 +803,7 @@ not do this as the user expects a reaction from clicking the close
|
|
814
803
|
icon of the window...
|
815
804
|
</p>
|
816
805
|
<div class="example">
|
817
|
-
<a name="
|
806
|
+
<a name="id492771"></a><p class="title"><b>Example 4. A persistent window</b></p>
|
818
807
|
<div class="example-contents">
|
819
808
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
820
809
|
<tbody>
|
@@ -867,14 +856,12 @@ icon of the window...
|
|
867
856
|
<col align="left" valign="top">
|
868
857
|
<tbody><tr>
|
869
858
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
870
|
-
<td>
|
871
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
872
|
-
</td>
|
859
|
+
<td><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a></td>
|
873
860
|
</tr></tbody>
|
874
861
|
</table></div>
|
875
862
|
</div>
|
876
863
|
<hr>
|
877
|
-
<div class="refsect2"
|
864
|
+
<div class="refsect2">
|
878
865
|
<a name="gtk-false"></a><h3>gtk_false ()</h3>
|
879
866
|
<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>
|
880
867
|
<p>
|
@@ -885,14 +872,12 @@ but always returns <a href="http://library.gnome.org/devel/glib/unstable/glib-St
|
|
885
872
|
<col align="left" valign="top">
|
886
873
|
<tbody><tr>
|
887
874
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
888
|
-
<td>
|
889
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
890
|
-
</td>
|
875
|
+
<td><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></td>
|
891
876
|
</tr></tbody>
|
892
877
|
</table></div>
|
893
878
|
</div>
|
894
879
|
<hr>
|
895
|
-
<div class="refsect2"
|
880
|
+
<div class="refsect2">
|
896
881
|
<a name="gtk-grab-add"></a><h3>gtk_grab_add ()</h3>
|
897
882
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_grab_add (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
898
883
|
<p>
|
@@ -908,15 +893,17 @@ widget and this function does nothing.
|
|
908
893
|
<col align="left" valign="top">
|
909
894
|
<tbody><tr>
|
910
895
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
911
|
-
<td>The widget that grabs keyboard and pointer events
|
912
|
-
</td>
|
896
|
+
<td>The widget that grabs keyboard and pointer events.</td>
|
913
897
|
</tr></tbody>
|
914
898
|
</table></div>
|
915
899
|
</div>
|
916
900
|
<hr>
|
917
|
-
<div class="refsect2"
|
901
|
+
<div class="refsect2">
|
918
902
|
<a name="gtk-grab-get-current"></a><h3>gtk_grab_get_current ()</h3>
|
919
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
903
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_grab_get_current (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
904
|
+
<p>
|
905
|
+
Queries the current grab of the default window group.
|
906
|
+
</p>
|
920
907
|
<p>
|
921
908
|
Queries the current grab of the default window group.
|
922
909
|
</p>
|
@@ -924,13 +911,14 @@ Queries the current grab of the default window group.
|
|
924
911
|
<col align="left" valign="top">
|
925
912
|
<tbody><tr>
|
926
913
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
927
|
-
<td>The widget which currently
|
914
|
+
<td>The widget which currently
|
915
|
+
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>
|
928
916
|
</td>
|
929
917
|
</tr></tbody>
|
930
918
|
</table></div>
|
931
919
|
</div>
|
932
920
|
<hr>
|
933
|
-
<div class="refsect2"
|
921
|
+
<div class="refsect2">
|
934
922
|
<a name="gtk-grab-remove"></a><h3>gtk_grab_remove ()</h3>
|
935
923
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_grab_remove (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
936
924
|
<p>
|
@@ -944,16 +932,19 @@ If <em class="parameter"><code>widget</code></em> does not have the grab, this f
|
|
944
932
|
<col align="left" valign="top">
|
945
933
|
<tbody><tr>
|
946
934
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
947
|
-
<td>The widget which gives up the grab
|
948
|
-
</td>
|
935
|
+
<td>The widget which gives up the grab.</td>
|
949
936
|
</tr></tbody>
|
950
937
|
</table></div>
|
951
938
|
</div>
|
952
939
|
<hr>
|
953
|
-
<div class="refsect2"
|
940
|
+
<div class="refsect2">
|
954
941
|
<a name="gtk-init-add"></a><h3>gtk_init_add ()</h3>
|
955
942
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_init_add (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
956
943
|
<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>
|
944
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
945
|
+
<h3 class="title">Warning</h3>
|
946
|
+
<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>
|
947
|
+
</div>
|
957
948
|
<p>
|
958
949
|
Registers a function to be called when the mainloop is started.
|
959
950
|
</p>
|
@@ -962,22 +953,24 @@ Registers a function to be called when the mainloop is started.
|
|
962
953
|
<tbody>
|
963
954
|
<tr>
|
964
955
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
965
|
-
<td>Function to invoke when <a class="link" href="gtk-General.html#gtk-main" title="gtk_main ()"><code class="function">gtk_main()</code></a> is called next
|
966
|
-
</td>
|
956
|
+
<td>Function to invoke when <a class="link" href="gtk-General.html#gtk-main" title="gtk_main ()"><code class="function">gtk_main()</code></a> is called next.</td>
|
967
957
|
</tr>
|
968
958
|
<tr>
|
969
959
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
970
|
-
<td>Data to pass to that function
|
971
|
-
</td>
|
960
|
+
<td>Data to pass to that function.</td>
|
972
961
|
</tr>
|
973
962
|
</tbody>
|
974
963
|
</table></div>
|
975
964
|
</div>
|
976
965
|
<hr>
|
977
|
-
<div class="refsect2"
|
966
|
+
<div class="refsect2">
|
978
967
|
<a name="gtk-quit-add-destroy"></a><h3>gtk_quit_add_destroy ()</h3>
|
979
968
|
<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>,
|
980
969
|
<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>);</pre>
|
970
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
971
|
+
<h3 class="title">Warning</h3>
|
972
|
+
<p><code class="literal">gtk_quit_add_destroy</code> is deprecated and should not be used in newly-written code. This function is going to be removed in GTK+ 3.0</p>
|
973
|
+
</div>
|
981
974
|
<p>
|
982
975
|
Trigger destruction of <em class="parameter"><code>object</code></em> in case the mainloop at level <em class="parameter"><code>main_level</code></em>
|
983
976
|
is quit.
|
@@ -987,23 +980,25 @@ is quit.
|
|
987
980
|
<tbody>
|
988
981
|
<tr>
|
989
982
|
<td><p><span class="term"><em class="parameter"><code>main_level</code></em> :</span></p></td>
|
990
|
-
<td>Level of the mainloop which shall trigger the destruction
|
991
|
-
</td>
|
983
|
+
<td>Level of the mainloop which shall trigger the destruction.</td>
|
992
984
|
</tr>
|
993
985
|
<tr>
|
994
986
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
995
|
-
<td>Object to be destroyed
|
996
|
-
</td>
|
987
|
+
<td>Object to be destroyed.</td>
|
997
988
|
</tr>
|
998
989
|
</tbody>
|
999
990
|
</table></div>
|
1000
991
|
</div>
|
1001
992
|
<hr>
|
1002
|
-
<div class="refsect2"
|
993
|
+
<div class="refsect2">
|
1003
994
|
<a name="gtk-quit-add"></a><h3>gtk_quit_add ()</h3>
|
1004
995
|
<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>,
|
1005
996
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1006
997
|
<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>
|
998
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
999
|
+
<h3 class="title">Warning</h3>
|
1000
|
+
<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>
|
1001
|
+
</div>
|
1007
1002
|
<p>
|
1008
1003
|
Registers a function to be called when an instance of the mainloop is left.
|
1009
1004
|
</p>
|
@@ -1013,38 +1008,38 @@ Registers a function to be called when an instance of the mainloop is left.
|
|
1013
1008
|
<tr>
|
1014
1009
|
<td><p><span class="term"><em class="parameter"><code>main_level</code></em> :</span></p></td>
|
1015
1010
|
<td>Level at which termination the function shall be called. You
|
1016
|
-
|
1017
|
-
|
1018
|
-
</td>
|
1011
|
+
can pass 0 here to have the function run at the termination of the current
|
1012
|
+
mainloop.</td>
|
1019
1013
|
</tr>
|
1020
1014
|
<tr>
|
1021
1015
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1022
|
-
<td>The function to call. This should return 0 to be removed from the
|
1023
|
-
|
1024
|
-
</td>
|
1016
|
+
<td>The function to call. This should return 0 to be removed from the
|
1017
|
+
list of quit handlers. Otherwise the function might be called again.</td>
|
1025
1018
|
</tr>
|
1026
1019
|
<tr>
|
1027
1020
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1028
|
-
<td>Pointer to pass when calling <em class="parameter"><code>function</code></em
|
1029
|
-
</td>
|
1021
|
+
<td>Pointer to pass when calling <em class="parameter"><code>function</code></em>.</td>
|
1030
1022
|
</tr>
|
1031
1023
|
<tr>
|
1032
1024
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1033
1025
|
<td>A handle for this quit handler (you need this for <a class="link" href="gtk-General.html#gtk-quit-remove" title="gtk_quit_remove ()"><code class="function">gtk_quit_remove()</code></a>)
|
1034
|
-
|
1035
|
-
</td>
|
1026
|
+
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>
|
1036
1027
|
</tr>
|
1037
1028
|
</tbody>
|
1038
1029
|
</table></div>
|
1039
1030
|
</div>
|
1040
1031
|
<hr>
|
1041
|
-
<div class="refsect2"
|
1032
|
+
<div class="refsect2">
|
1042
1033
|
<a name="gtk-quit-add-full"></a><h3>gtk_quit_add_full ()</h3>
|
1043
1034
|
<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>,
|
1044
1035
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1045
1036
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
1046
1037
|
<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>,
|
1047
1038
|
<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>
|
1039
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1040
|
+
<h3 class="title">Warning</h3>
|
1041
|
+
<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>
|
1042
|
+
</div>
|
1048
1043
|
<p>
|
1049
1044
|
Registers a function to be called when an instance of the mainloop is left.
|
1050
1045
|
In comparison to <a class="link" href="gtk-General.html#gtk-quit-add" title="gtk_quit_add ()"><code class="function">gtk_quit_add()</code></a> this function adds the possibility to
|
@@ -1062,45 +1057,43 @@ used by GTK+ wrappers for languages other than C.
|
|
1062
1057
|
<tr>
|
1063
1058
|
<td><p><span class="term"><em class="parameter"><code>main_level</code></em> :</span></p></td>
|
1064
1059
|
<td>Level at which termination the function shall be called. You
|
1065
|
-
|
1066
|
-
|
1067
|
-
</td>
|
1060
|
+
can pass 0 here to have the function run at the termination of the current
|
1061
|
+
mainloop.</td>
|
1068
1062
|
</tr>
|
1069
1063
|
<tr>
|
1070
1064
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1071
|
-
<td>The function to call. This should return 0 to be removed from the
|
1072
|
-
|
1073
|
-
</td>
|
1065
|
+
<td>The function to call. This should return 0 to be removed from the
|
1066
|
+
list of quit handlers. Otherwise the function might be called again.</td>
|
1074
1067
|
</tr>
|
1075
1068
|
<tr>
|
1076
1069
|
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
|
1077
|
-
<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
|
1078
|
-
|
1079
|
-
</td>
|
1070
|
+
<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
|
1071
|
+
ignored.</td>
|
1080
1072
|
</tr>
|
1081
1073
|
<tr>
|
1082
1074
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1083
|
-
<td>Pointer to pass when calling <em class="parameter"><code>function</code></em
|
1084
|
-
</td>
|
1075
|
+
<td>Pointer to pass when calling <em class="parameter"><code>function</code></em>.</td>
|
1085
1076
|
</tr>
|
1086
1077
|
<tr>
|
1087
1078
|
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
|
1088
|
-
<td>Function to call to destruct <em class="parameter"><code>data</code></em>. Gets <em class="parameter"><code>data</code></em> as argument
|
1089
|
-
</td>
|
1079
|
+
<td>Function to call to destruct <em class="parameter"><code>data</code></em>. Gets <em class="parameter"><code>data</code></em> as argument.</td>
|
1090
1080
|
</tr>
|
1091
1081
|
<tr>
|
1092
1082
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1093
1083
|
<td>A handle for this quit handler (you need this for <a class="link" href="gtk-General.html#gtk-quit-remove" title="gtk_quit_remove ()"><code class="function">gtk_quit_remove()</code></a>)
|
1094
|
-
|
1095
|
-
</td>
|
1084
|
+
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
1085
|
</tr>
|
1097
1086
|
</tbody>
|
1098
1087
|
</table></div>
|
1099
1088
|
</div>
|
1100
1089
|
<hr>
|
1101
|
-
<div class="refsect2"
|
1090
|
+
<div class="refsect2">
|
1102
1091
|
<a name="gtk-quit-remove"></a><h3>gtk_quit_remove ()</h3>
|
1103
1092
|
<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>
|
1093
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1094
|
+
<h3 class="title">Warning</h3>
|
1095
|
+
<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>
|
1096
|
+
</div>
|
1104
1097
|
<p>
|
1105
1098
|
Removes a quit handler by its identifier.
|
1106
1099
|
</p>
|
@@ -1108,15 +1101,18 @@ Removes a quit handler by its identifier.
|
|
1108
1101
|
<col align="left" valign="top">
|
1109
1102
|
<tbody><tr>
|
1110
1103
|
<td><p><span class="term"><em class="parameter"><code>quit_handler_id</code></em> :</span></p></td>
|
1111
|
-
<td>Identifier for the handler returned when installing it
|
1112
|
-
</td>
|
1104
|
+
<td>Identifier for the handler returned when installing it.</td>
|
1113
1105
|
</tr></tbody>
|
1114
1106
|
</table></div>
|
1115
1107
|
</div>
|
1116
1108
|
<hr>
|
1117
|
-
<div class="refsect2"
|
1109
|
+
<div class="refsect2">
|
1118
1110
|
<a name="gtk-quit-remove-by-data"></a><h3>gtk_quit_remove_by_data ()</h3>
|
1119
1111
|
<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>
|
1112
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1113
|
+
<h3 class="title">Warning</h3>
|
1114
|
+
<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>
|
1115
|
+
</div>
|
1120
1116
|
<p>
|
1121
1117
|
Removes a quit handler identified by its <em class="parameter"><code>data</code></em> field.
|
1122
1118
|
</p>
|
@@ -1124,20 +1120,19 @@ Removes a quit handler identified by its <em class="parameter"><code>data</code>
|
|
1124
1120
|
<col align="left" valign="top">
|
1125
1121
|
<tbody><tr>
|
1126
1122
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1127
|
-
<td>The pointer passed as <em class="parameter"><code>data</code></em> to <a class="link" href="gtk-General.html#gtk-quit-add" title="gtk_quit_add ()"><code class="function">gtk_quit_add()</code></a> or <a class="link" href="gtk-General.html#gtk-quit-add-full" title="gtk_quit_add_full ()"><code class="function">gtk_quit_add_full()</code></a
|
1128
|
-
</td>
|
1123
|
+
<td>The pointer passed as <em class="parameter"><code>data</code></em> to <a class="link" href="gtk-General.html#gtk-quit-add" title="gtk_quit_add ()"><code class="function">gtk_quit_add()</code></a> or <a class="link" href="gtk-General.html#gtk-quit-add-full" title="gtk_quit_add_full ()"><code class="function">gtk_quit_add_full()</code></a>.</td>
|
1129
1124
|
</tr></tbody>
|
1130
1125
|
</table></div>
|
1131
1126
|
</div>
|
1132
1127
|
<hr>
|
1133
|
-
<div class="refsect2"
|
1128
|
+
<div class="refsect2">
|
1134
1129
|
<a name="gtk-timeout-add-full"></a><h3>gtk_timeout_add_full ()</h3>
|
1135
1130
|
<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>,
|
1136
1131
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1137
1132
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
1138
1133
|
<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>,
|
1139
1134
|
<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>
|
1140
|
-
<div class="warning"
|
1135
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1141
1136
|
<h3 class="title">Warning</h3>
|
1142
1137
|
<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>
|
1143
1138
|
</div>
|
@@ -1151,45 +1146,39 @@ point the timeout is destroyed and will not be called again.
|
|
1151
1146
|
<tbody>
|
1152
1147
|
<tr>
|
1153
1148
|
<td><p><span class="term"><em class="parameter"><code>interval</code></em> :</span></p></td>
|
1154
|
-
<td>The time between calls to the function, in milliseconds
|
1155
|
-
|
1156
|
-
</td>
|
1149
|
+
<td>The time between calls to the function, in milliseconds
|
1150
|
+
(1/1000ths of a second.)</td>
|
1157
1151
|
</tr>
|
1158
1152
|
<tr>
|
1159
1153
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1160
|
-
<td>The function to call periodically
|
1161
|
-
</td>
|
1154
|
+
<td>The function to call periodically.</td>
|
1162
1155
|
</tr>
|
1163
1156
|
<tr>
|
1164
1157
|
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
|
1165
|
-
<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>)
|
1166
|
-
</td>
|
1158
|
+
<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>
|
1167
1159
|
</tr>
|
1168
1160
|
<tr>
|
1169
1161
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1170
|
-
<td>The data to pass to the function
|
1171
|
-
</td>
|
1162
|
+
<td>The data to pass to the function.</td>
|
1172
1163
|
</tr>
|
1173
1164
|
<tr>
|
1174
1165
|
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
|
1175
|
-
<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
|
1176
|
-
</td>
|
1166
|
+
<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>
|
1177
1167
|
</tr>
|
1178
1168
|
<tr>
|
1179
1169
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1180
|
-
<td>A unique id for the event source
|
1181
|
-
</td>
|
1170
|
+
<td>A unique id for the event source.</td>
|
1182
1171
|
</tr>
|
1183
1172
|
</tbody>
|
1184
1173
|
</table></div>
|
1185
1174
|
</div>
|
1186
1175
|
<hr>
|
1187
|
-
<div class="refsect2"
|
1176
|
+
<div class="refsect2">
|
1188
1177
|
<a name="gtk-timeout-add"></a><h3>gtk_timeout_add ()</h3>
|
1189
1178
|
<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>,
|
1190
1179
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1191
1180
|
<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>
|
1192
|
-
<div class="warning"
|
1181
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1193
1182
|
<h3 class="title">Warning</h3>
|
1194
1183
|
<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>
|
1195
1184
|
</div>
|
@@ -1203,33 +1192,29 @@ point the timeout is destroyed and will not be called again.
|
|
1203
1192
|
<tbody>
|
1204
1193
|
<tr>
|
1205
1194
|
<td><p><span class="term"><em class="parameter"><code>interval</code></em> :</span></p></td>
|
1206
|
-
<td>The time between calls to the function, in milliseconds
|
1207
|
-
|
1208
|
-
</td>
|
1195
|
+
<td>The time between calls to the function, in milliseconds
|
1196
|
+
(1/1000ths of a second.)</td>
|
1209
1197
|
</tr>
|
1210
1198
|
<tr>
|
1211
1199
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1212
|
-
<td>The function to call periodically
|
1213
|
-
</td>
|
1200
|
+
<td>The function to call periodically.</td>
|
1214
1201
|
</tr>
|
1215
1202
|
<tr>
|
1216
1203
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1217
|
-
<td>The data to pass to the function
|
1218
|
-
</td>
|
1204
|
+
<td>The data to pass to the function.</td>
|
1219
1205
|
</tr>
|
1220
1206
|
<tr>
|
1221
1207
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1222
|
-
<td>A unique id for the event source
|
1223
|
-
</td>
|
1208
|
+
<td>A unique id for the event source.</td>
|
1224
1209
|
</tr>
|
1225
1210
|
</tbody>
|
1226
1211
|
</table></div>
|
1227
1212
|
</div>
|
1228
1213
|
<hr>
|
1229
|
-
<div class="refsect2"
|
1214
|
+
<div class="refsect2">
|
1230
1215
|
<a name="gtk-timeout-remove"></a><h3>gtk_timeout_remove ()</h3>
|
1231
1216
|
<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>
|
1232
|
-
<div class="warning"
|
1217
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1233
1218
|
<h3 class="title">Warning</h3>
|
1234
1219
|
<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>
|
1235
1220
|
</div>
|
@@ -1240,17 +1225,16 @@ Removes the given timeout destroying all information about it.
|
|
1240
1225
|
<col align="left" valign="top">
|
1241
1226
|
<tbody><tr>
|
1242
1227
|
<td><p><span class="term"><em class="parameter"><code>timeout_handler_id</code></em> :</span></p></td>
|
1243
|
-
<td>The identifier returned when installing the timeout
|
1244
|
-
</td>
|
1228
|
+
<td>The identifier returned when installing the timeout.</td>
|
1245
1229
|
</tr></tbody>
|
1246
1230
|
</table></div>
|
1247
1231
|
</div>
|
1248
1232
|
<hr>
|
1249
|
-
<div class="refsect2"
|
1233
|
+
<div class="refsect2">
|
1250
1234
|
<a name="gtk-idle-add"></a><h3>gtk_idle_add ()</h3>
|
1251
1235
|
<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="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1252
1236
|
<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>
|
1253
|
-
<div class="warning"
|
1237
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1254
1238
|
<h3 class="title">Warning</h3>
|
1255
1239
|
<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>
|
1256
1240
|
</div>
|
@@ -1264,29 +1248,26 @@ higher priority are to be processed. The default priority is
|
|
1264
1248
|
<tbody>
|
1265
1249
|
<tr>
|
1266
1250
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1267
|
-
<td>The function to call
|
1268
|
-
</td>
|
1251
|
+
<td>The function to call.</td>
|
1269
1252
|
</tr>
|
1270
1253
|
<tr>
|
1271
1254
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1272
|
-
<td>The information to pass to the function
|
1273
|
-
</td>
|
1255
|
+
<td>The information to pass to the function.</td>
|
1274
1256
|
</tr>
|
1275
1257
|
<tr>
|
1276
1258
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1277
|
-
<td>a unique handle for this registration
|
1278
|
-
</td>
|
1259
|
+
<td>a unique handle for this registration.</td>
|
1279
1260
|
</tr>
|
1280
1261
|
</tbody>
|
1281
1262
|
</table></div>
|
1282
1263
|
</div>
|
1283
1264
|
<hr>
|
1284
|
-
<div class="refsect2"
|
1265
|
+
<div class="refsect2">
|
1285
1266
|
<a name="gtk-idle-add-priority"></a><h3>gtk_idle_add_priority ()</h3>
|
1286
1267
|
<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>,
|
1287
1268
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1288
1269
|
<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>
|
1289
|
-
<div class="warning"
|
1270
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1290
1271
|
<h3 class="title">Warning</h3>
|
1291
1272
|
<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>
|
1292
1273
|
</div>
|
@@ -1302,36 +1283,32 @@ priority different from <a class="link" href="gtk-General.html#GTK-PRIORITY-DEFA
|
|
1302
1283
|
<td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
|
1303
1284
|
<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>.
|
1304
1285
|
Note that you will interfere with GTK+ if you use a priority above
|
1305
|
-
<a class="link" href="gtk-General.html#GTK-PRIORITY-RESIZE:CAPS" title="GTK_PRIORITY_RESIZE"><code class="literal">GTK_PRIORITY_RESIZE</code></a
|
1306
|
-
</td>
|
1286
|
+
<a class="link" href="gtk-General.html#GTK-PRIORITY-RESIZE:CAPS" title="GTK_PRIORITY_RESIZE"><code class="literal">GTK_PRIORITY_RESIZE</code></a>.</td>
|
1307
1287
|
</tr>
|
1308
1288
|
<tr>
|
1309
1289
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1310
|
-
<td>The function to call
|
1311
|
-
</td>
|
1290
|
+
<td>The function to call.</td>
|
1312
1291
|
</tr>
|
1313
1292
|
<tr>
|
1314
1293
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1315
|
-
<td>Data to pass to that function
|
1316
|
-
</td>
|
1294
|
+
<td>Data to pass to that function.</td>
|
1317
1295
|
</tr>
|
1318
1296
|
<tr>
|
1319
1297
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1320
|
-
<td>A unique id for the event source
|
1321
|
-
</td>
|
1298
|
+
<td>A unique id for the event source.</td>
|
1322
1299
|
</tr>
|
1323
1300
|
</tbody>
|
1324
1301
|
</table></div>
|
1325
1302
|
</div>
|
1326
1303
|
<hr>
|
1327
|
-
<div class="refsect2"
|
1304
|
+
<div class="refsect2">
|
1328
1305
|
<a name="gtk-idle-add-full"></a><h3>gtk_idle_add_full ()</h3>
|
1329
1306
|
<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>,
|
1330
1307
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1331
1308
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
1332
1309
|
<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>,
|
1333
1310
|
<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>
|
1334
|
-
<div class="warning"
|
1311
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1335
1312
|
<h3 class="title">Warning</h3>
|
1336
1313
|
<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>
|
1337
1314
|
</div>
|
@@ -1347,42 +1324,36 @@ priority different from <a class="link" href="gtk-General.html#GTK-PRIORITY-DEFA
|
|
1347
1324
|
<td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
|
1348
1325
|
<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>.
|
1349
1326
|
Note that you will interfere with GTK+ if you use a priority above
|
1350
|
-
<a class="link" href="gtk-General.html#GTK-PRIORITY-RESIZE:CAPS" title="GTK_PRIORITY_RESIZE"><code class="literal">GTK_PRIORITY_RESIZE</code></a
|
1351
|
-
</td>
|
1327
|
+
<a class="link" href="gtk-General.html#GTK-PRIORITY-RESIZE:CAPS" title="GTK_PRIORITY_RESIZE"><code class="literal">GTK_PRIORITY_RESIZE</code></a>.</td>
|
1352
1328
|
</tr>
|
1353
1329
|
<tr>
|
1354
1330
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1355
|
-
<td>The function to call
|
1356
|
-
</td>
|
1331
|
+
<td>The function to call.</td>
|
1357
1332
|
</tr>
|
1358
1333
|
<tr>
|
1359
1334
|
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
|
1360
|
-
<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>)
|
1361
|
-
</td>
|
1335
|
+
<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>
|
1362
1336
|
</tr>
|
1363
1337
|
<tr>
|
1364
1338
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1365
|
-
<td>Data to pass to that function
|
1366
|
-
</td>
|
1339
|
+
<td>Data to pass to that function.</td>
|
1367
1340
|
</tr>
|
1368
1341
|
<tr>
|
1369
1342
|
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
|
1370
|
-
<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
|
1371
|
-
</td>
|
1343
|
+
<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>
|
1372
1344
|
</tr>
|
1373
1345
|
<tr>
|
1374
1346
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1375
|
-
<td>A unique id for the event source
|
1376
|
-
</td>
|
1347
|
+
<td>A unique id for the event source.</td>
|
1377
1348
|
</tr>
|
1378
1349
|
</tbody>
|
1379
1350
|
</table></div>
|
1380
1351
|
</div>
|
1381
1352
|
<hr>
|
1382
|
-
<div class="refsect2"
|
1353
|
+
<div class="refsect2">
|
1383
1354
|
<a name="gtk-idle-remove"></a><h3>gtk_idle_remove ()</h3>
|
1384
1355
|
<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>
|
1385
|
-
<div class="warning"
|
1356
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1386
1357
|
<h3 class="title">Warning</h3>
|
1387
1358
|
<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>
|
1388
1359
|
</div>
|
@@ -1393,16 +1364,15 @@ Removes the idle function with the given id.
|
|
1393
1364
|
<col align="left" valign="top">
|
1394
1365
|
<tbody><tr>
|
1395
1366
|
<td><p><span class="term"><em class="parameter"><code>idle_handler_id</code></em> :</span></p></td>
|
1396
|
-
<td>Identifies the idle function to remove
|
1397
|
-
</td>
|
1367
|
+
<td>Identifies the idle function to remove.</td>
|
1398
1368
|
</tr></tbody>
|
1399
1369
|
</table></div>
|
1400
1370
|
</div>
|
1401
1371
|
<hr>
|
1402
|
-
<div class="refsect2"
|
1372
|
+
<div class="refsect2">
|
1403
1373
|
<a name="gtk-idle-remove-by-data"></a><h3>gtk_idle_remove_by_data ()</h3>
|
1404
1374
|
<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>
|
1405
|
-
<div class="warning"
|
1375
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1406
1376
|
<h3 class="title">Warning</h3>
|
1407
1377
|
<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>
|
1408
1378
|
</div>
|
@@ -1413,13 +1383,12 @@ Removes the idle function identified by the user data.
|
|
1413
1383
|
<col align="left" valign="top">
|
1414
1384
|
<tbody><tr>
|
1415
1385
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1416
|
-
<td>remove the idle function which was registered with this user data
|
1417
|
-
</td>
|
1386
|
+
<td>remove the idle function which was registered with this user data.</td>
|
1418
1387
|
</tr></tbody>
|
1419
1388
|
</table></div>
|
1420
1389
|
</div>
|
1421
1390
|
<hr>
|
1422
|
-
<div class="refsect2"
|
1391
|
+
<div class="refsect2">
|
1423
1392
|
<a name="gtk-input-add-full"></a><h3>gtk_input_add_full ()</h3>
|
1424
1393
|
<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>,
|
1425
1394
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Input.html#GdkInputCondition"><span class="type">GdkInputCondition</span></a> condition</code></em>,
|
@@ -1427,7 +1396,7 @@ Removes the idle function identified by the user data.
|
|
1427
1396
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
1428
1397
|
<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>,
|
1429
1398
|
<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>
|
1430
|
-
<div class="warning"
|
1399
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1431
1400
|
<h3 class="title">Warning</h3>
|
1432
1401
|
<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>
|
1433
1402
|
</div>
|
@@ -1440,48 +1409,41 @@ on a file descriptor.
|
|
1440
1409
|
<tbody>
|
1441
1410
|
<tr>
|
1442
1411
|
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
|
1443
|
-
<td>a file descriptor
|
1444
|
-
</td>
|
1412
|
+
<td>a file descriptor.</td>
|
1445
1413
|
</tr>
|
1446
1414
|
<tr>
|
1447
1415
|
<td><p><span class="term"><em class="parameter"><code>condition</code></em> :</span></p></td>
|
1448
|
-
<td>the condition
|
1449
|
-
</td>
|
1416
|
+
<td>the condition.</td>
|
1450
1417
|
</tr>
|
1451
1418
|
<tr>
|
1452
1419
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1453
|
-
<td>The function to call
|
1454
|
-
</td>
|
1420
|
+
<td>The function to call.</td>
|
1455
1421
|
</tr>
|
1456
1422
|
<tr>
|
1457
1423
|
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
|
1458
|
-
<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>)
|
1459
|
-
</td>
|
1424
|
+
<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>
|
1460
1425
|
</tr>
|
1461
1426
|
<tr>
|
1462
1427
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1463
|
-
<td>callback data passed to <em class="parameter"><code>function</code></em
|
1464
|
-
</td>
|
1428
|
+
<td>callback data passed to <em class="parameter"><code>function</code></em>.</td>
|
1465
1429
|
</tr>
|
1466
1430
|
<tr>
|
1467
1431
|
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
|
1468
1432
|
<td>callback function to call with <em class="parameter"><code>data</code></em> when the input
|
1469
|
-
|
1470
|
-
</td>
|
1433
|
+
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>
|
1471
1434
|
</tr>
|
1472
1435
|
<tr>
|
1473
1436
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1474
|
-
<td>A unique id for the event source; to be used with <a class="link" href="gtk-General.html#gtk-input-remove" title="gtk_input_remove ()"><code class="function">gtk_input_remove()</code></a
|
1475
|
-
</td>
|
1437
|
+
<td>A unique id for the event source; to be used with <a class="link" href="gtk-General.html#gtk-input-remove" title="gtk_input_remove ()"><code class="function">gtk_input_remove()</code></a>.</td>
|
1476
1438
|
</tr>
|
1477
1439
|
</tbody>
|
1478
1440
|
</table></div>
|
1479
1441
|
</div>
|
1480
1442
|
<hr>
|
1481
|
-
<div class="refsect2"
|
1443
|
+
<div class="refsect2">
|
1482
1444
|
<a name="gtk-input-remove"></a><h3>gtk_input_remove ()</h3>
|
1483
1445
|
<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>
|
1484
|
-
<div class="warning"
|
1446
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1485
1447
|
<h3 class="title">Warning</h3>
|
1486
1448
|
<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>
|
1487
1449
|
</div>
|
@@ -1492,17 +1454,16 @@ Removes the function with the given id.
|
|
1492
1454
|
<col align="left" valign="top">
|
1493
1455
|
<tbody><tr>
|
1494
1456
|
<td><p><span class="term"><em class="parameter"><code>input_handler_id</code></em> :</span></p></td>
|
1495
|
-
<td>Identifies the function to remove
|
1496
|
-
</td>
|
1457
|
+
<td>Identifies the function to remove.</td>
|
1497
1458
|
</tr></tbody>
|
1498
1459
|
</table></div>
|
1499
1460
|
</div>
|
1500
1461
|
<hr>
|
1501
|
-
<div class="refsect2"
|
1462
|
+
<div class="refsect2">
|
1502
1463
|
<a name="GTK-PRIORITY-REDRAW:CAPS"></a><h3>GTK_PRIORITY_REDRAW</h3>
|
1503
1464
|
<pre class="programlisting">#define GTK_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 20)
|
1504
1465
|
</pre>
|
1505
|
-
<div class="warning"
|
1466
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1506
1467
|
<h3 class="title">Warning</h3>
|
1507
1468
|
<p><code class="literal">GTK_PRIORITY_REDRAW</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/gdk/unstable/gdk-Events.html#GDK-PRIORITY-REDRAW:CAPS"><code class="literal">GDK_PRIORITY_REDRAW</code></a> instead.</p>
|
1508
1469
|
</div>
|
@@ -1514,7 +1475,7 @@ it again).
|
|
1514
1475
|
</p>
|
1515
1476
|
</div>
|
1516
1477
|
<hr>
|
1517
|
-
<div class="refsect2"
|
1478
|
+
<div class="refsect2">
|
1518
1479
|
<a name="GTK-PRIORITY-RESIZE:CAPS"></a><h3>GTK_PRIORITY_RESIZE</h3>
|
1519
1480
|
<pre class="programlisting">#define GTK_PRIORITY_RESIZE (G_PRIORITY_HIGH_IDLE + 10)
|
1520
1481
|
</pre>
|
@@ -1525,11 +1486,11 @@ GTK+ to compute the sizes of widgets. This priority is higher than
|
|
1525
1486
|
</p>
|
1526
1487
|
</div>
|
1527
1488
|
<hr>
|
1528
|
-
<div class="refsect2"
|
1489
|
+
<div class="refsect2">
|
1529
1490
|
<a name="GTK-PRIORITY-HIGH:CAPS"></a><h3>GTK_PRIORITY_HIGH</h3>
|
1530
1491
|
<pre class="programlisting">#define GTK_PRIORITY_HIGH G_PRIORITY_HIGH
|
1531
1492
|
</pre>
|
1532
|
-
<div class="warning"
|
1493
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1533
1494
|
<h3 class="title">Warning</h3>
|
1534
1495
|
<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>
|
1535
1496
|
</div>
|
@@ -1540,11 +1501,11 @@ inside the toolkit.
|
|
1540
1501
|
</p>
|
1541
1502
|
</div>
|
1542
1503
|
<hr>
|
1543
|
-
<div class="refsect2"
|
1504
|
+
<div class="refsect2">
|
1544
1505
|
<a name="GTK-PRIORITY-INTERNAL:CAPS"></a><h3>GTK_PRIORITY_INTERNAL</h3>
|
1545
1506
|
<pre class="programlisting">#define GTK_PRIORITY_INTERNAL GTK_PRIORITY_REDRAW
|
1546
1507
|
</pre>
|
1547
|
-
<div class="warning"
|
1508
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1548
1509
|
<h3 class="title">Warning</h3>
|
1549
1510
|
<p><code class="literal">GTK_PRIORITY_INTERNAL</code> is deprecated and should not be used in newly-written code.</p>
|
1550
1511
|
</div>
|
@@ -1553,11 +1514,11 @@ This priority is for GTK+ internal stuff. Don't use it in your applications.
|
|
1553
1514
|
</p>
|
1554
1515
|
</div>
|
1555
1516
|
<hr>
|
1556
|
-
<div class="refsect2"
|
1517
|
+
<div class="refsect2">
|
1557
1518
|
<a name="GTK-PRIORITY-DEFAULT:CAPS"></a><h3>GTK_PRIORITY_DEFAULT</h3>
|
1558
1519
|
<pre class="programlisting">#define GTK_PRIORITY_DEFAULT G_PRIORITY_DEFAULT_IDLE
|
1559
1520
|
</pre>
|
1560
|
-
<div class="warning"
|
1521
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1561
1522
|
<h3 class="title">Warning</h3>
|
1562
1523
|
<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>
|
1563
1524
|
</div>
|
@@ -1566,11 +1527,11 @@ Default priority for idle functions.
|
|
1566
1527
|
</p>
|
1567
1528
|
</div>
|
1568
1529
|
<hr>
|
1569
|
-
<div class="refsect2"
|
1530
|
+
<div class="refsect2">
|
1570
1531
|
<a name="GTK-PRIORITY-LOW:CAPS"></a><h3>GTK_PRIORITY_LOW</h3>
|
1571
1532
|
<pre class="programlisting">#define GTK_PRIORITY_LOW G_PRIORITY_LOW
|
1572
1533
|
</pre>
|
1573
|
-
<div class="warning"
|
1534
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1574
1535
|
<h3 class="title">Warning</h3>
|
1575
1536
|
<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>
|
1576
1537
|
</div>
|
@@ -1579,7 +1540,7 @@ Priority for very unimportant background tasks.
|
|
1579
1540
|
</p>
|
1580
1541
|
</div>
|
1581
1542
|
<hr>
|
1582
|
-
<div class="refsect2"
|
1543
|
+
<div class="refsect2">
|
1583
1544
|
<a name="gtk-key-snooper-install"></a><h3>gtk_key_snooper_install ()</h3>
|
1584
1545
|
<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="gtk-General.html#GtkKeySnoopFunc" title="GtkKeySnoopFunc ()"><span class="type">GtkKeySnoopFunc</span></a> snooper</code></em>,
|
1585
1546
|
<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>
|
@@ -1592,24 +1553,21 @@ before delivering them normally.
|
|
1592
1553
|
<tbody>
|
1593
1554
|
<tr>
|
1594
1555
|
<td><p><span class="term"><em class="parameter"><code>snooper</code></em> :</span></p></td>
|
1595
|
-
<td>a <a class="link" href="gtk-General.html#GtkKeySnoopFunc" title="GtkKeySnoopFunc ()"><span class="type">GtkKeySnoopFunc</span></a
|
1596
|
-
</td>
|
1556
|
+
<td>a <a class="link" href="gtk-General.html#GtkKeySnoopFunc" title="GtkKeySnoopFunc ()"><span class="type">GtkKeySnoopFunc</span></a>.</td>
|
1597
1557
|
</tr>
|
1598
1558
|
<tr>
|
1599
1559
|
<td><p><span class="term"><em class="parameter"><code>func_data</code></em> :</span></p></td>
|
1600
|
-
<td>data to pass to <em class="parameter"><code>snooper</code></em
|
1601
|
-
</td>
|
1560
|
+
<td>data to pass to <em class="parameter"><code>snooper</code></em>.</td>
|
1602
1561
|
</tr>
|
1603
1562
|
<tr>
|
1604
1563
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1605
|
-
<td>a unique id for this key snooper for use with <a class="link" href="gtk-General.html#gtk-key-snooper-remove" title="gtk_key_snooper_remove ()"><code class="function">gtk_key_snooper_remove()</code></a
|
1606
|
-
</td>
|
1564
|
+
<td>a unique id for this key snooper for use with <a class="link" href="gtk-General.html#gtk-key-snooper-remove" title="gtk_key_snooper_remove ()"><code class="function">gtk_key_snooper_remove()</code></a>.</td>
|
1607
1565
|
</tr>
|
1608
1566
|
</tbody>
|
1609
1567
|
</table></div>
|
1610
1568
|
</div>
|
1611
1569
|
<hr>
|
1612
|
-
<div class="refsect2"
|
1570
|
+
<div class="refsect2">
|
1613
1571
|
<a name="GtkKeySnoopFunc"></a><h3>GtkKeySnoopFunc ()</h3>
|
1614
1572
|
<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>,
|
1615
1573
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>,
|
@@ -1623,30 +1581,26 @@ They can be used to implement custom key event handling.
|
|
1623
1581
|
<tbody>
|
1624
1582
|
<tr>
|
1625
1583
|
<td><p><span class="term"><em class="parameter"><code>grab_widget</code></em> :</span></p></td>
|
1626
|
-
<td>the widget to which the event will be delivered
|
1627
|
-
</td>
|
1584
|
+
<td>the widget to which the event will be delivered.</td>
|
1628
1585
|
</tr>
|
1629
1586
|
<tr>
|
1630
1587
|
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
1631
|
-
<td>the key event
|
1632
|
-
</td>
|
1588
|
+
<td>the key event.</td>
|
1633
1589
|
</tr>
|
1634
1590
|
<tr>
|
1635
1591
|
<td><p><span class="term"><em class="parameter"><code>func_data</code></em> :</span></p></td>
|
1636
|
-
<td>the <em class="parameter"><code>func_data</code></em> supplied to <a class="link" href="gtk-General.html#gtk-key-snooper-install" title="gtk_key_snooper_install ()"><code class="function">gtk_key_snooper_install()</code></a
|
1637
|
-
</td>
|
1592
|
+
<td>the <em class="parameter"><code>func_data</code></em> supplied to <a class="link" href="gtk-General.html#gtk-key-snooper-install" title="gtk_key_snooper_install ()"><code class="function">gtk_key_snooper_install()</code></a>.</td>
|
1638
1593
|
</tr>
|
1639
1594
|
<tr>
|
1640
1595
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1641
1596
|
<td>
|
1642
|
-
<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
|
1643
|
-
</td>
|
1597
|
+
<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>
|
1644
1598
|
</tr>
|
1645
1599
|
</tbody>
|
1646
1600
|
</table></div>
|
1647
1601
|
</div>
|
1648
1602
|
<hr>
|
1649
|
-
<div class="refsect2"
|
1603
|
+
<div class="refsect2">
|
1650
1604
|
<a name="gtk-key-snooper-remove"></a><h3>gtk_key_snooper_remove ()</h3>
|
1651
1605
|
<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>
|
1652
1606
|
<p>
|
@@ -1656,15 +1610,14 @@ Removes the key snooper function with the given id.
|
|
1656
1610
|
<col align="left" valign="top">
|
1657
1611
|
<tbody><tr>
|
1658
1612
|
<td><p><span class="term"><em class="parameter"><code>snooper_handler_id</code></em> :</span></p></td>
|
1659
|
-
<td>Identifies the key snooper to remove
|
1660
|
-
</td>
|
1613
|
+
<td>Identifies the key snooper to remove.</td>
|
1661
1614
|
</tr></tbody>
|
1662
1615
|
</table></div>
|
1663
1616
|
</div>
|
1664
1617
|
<hr>
|
1665
|
-
<div class="refsect2"
|
1618
|
+
<div class="refsect2">
|
1666
1619
|
<a name="gtk-get-current-event"></a><h3>gtk_get_current_event ()</h3>
|
1667
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEvent"><span class="returnvalue">GdkEvent</span></a
|
1620
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEvent"><span class="returnvalue">GdkEvent</span></a> * gtk_get_current_event (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1668
1621
|
<p>
|
1669
1622
|
Obtains a copy of the event currently being processed by GTK+. For
|
1670
1623
|
example, if you get a "clicked" signal from <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a>, the current
|
@@ -1676,13 +1629,14 @@ If there is no current event, the function returns <a href="http://library.gnome
|
|
1676
1629
|
<col align="left" valign="top">
|
1677
1630
|
<tbody><tr>
|
1678
1631
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1679
|
-
<td>
|
1632
|
+
<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
|
1633
|
+
current event. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1680
1634
|
</td>
|
1681
1635
|
</tr></tbody>
|
1682
1636
|
</table></div>
|
1683
1637
|
</div>
|
1684
1638
|
<hr>
|
1685
|
-
<div class="refsect2"
|
1639
|
+
<div class="refsect2">
|
1686
1640
|
<a name="gtk-get-current-event-time"></a><h3>gtk_get_current_event_time ()</h3>
|
1687
1641
|
<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>
|
1688
1642
|
<p>
|
@@ -1693,13 +1647,12 @@ timestamp, otherwise return <a href="http://library.gnome.org/devel/gdk/unstable
|
|
1693
1647
|
<col align="left" valign="top">
|
1694
1648
|
<tbody><tr>
|
1695
1649
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1696
|
-
<td>
|
1697
|
-
</td>
|
1650
|
+
<td>the timestamp from the current event, or <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>.</td>
|
1698
1651
|
</tr></tbody>
|
1699
1652
|
</table></div>
|
1700
1653
|
</div>
|
1701
1654
|
<hr>
|
1702
|
-
<div class="refsect2"
|
1655
|
+
<div class="refsect2">
|
1703
1656
|
<a name="gtk-get-current-event-state"></a><h3>gtk_get_current_event_state ()</h3>
|
1704
1657
|
<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="http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> *state</code></em>);</pre>
|
1705
1658
|
<p>
|
@@ -1712,21 +1665,20 @@ that state field in <em class="parameter"><code>state</code></em> and return <a
|
|
1712
1665
|
<tbody>
|
1713
1666
|
<tr>
|
1714
1667
|
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
|
1715
|
-
<td>a location to store the state of the current event
|
1716
|
-
</td>
|
1668
|
+
<td>a location to store the state of the current event</td>
|
1717
1669
|
</tr>
|
1718
1670
|
<tr>
|
1719
1671
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1720
|
-
<td>
|
1721
|
-
</td>
|
1672
|
+
<td>
|
1673
|
+
<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>
|
1722
1674
|
</tr>
|
1723
1675
|
</tbody>
|
1724
1676
|
</table></div>
|
1725
1677
|
</div>
|
1726
1678
|
<hr>
|
1727
|
-
<div class="refsect2"
|
1679
|
+
<div class="refsect2">
|
1728
1680
|
<a name="gtk-get-event-widget"></a><h3>gtk_get_event_widget ()</h3>
|
1729
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
1681
|
+
<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="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
1730
1682
|
<p>
|
1731
1683
|
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,
|
1732
1684
|
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
|
@@ -1742,14 +1694,15 @@ originally.
|
|
1742
1694
|
</tr>
|
1743
1695
|
<tr>
|
1744
1696
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1745
|
-
<td>
|
1697
|
+
<td>the widget that originally
|
1698
|
+
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>
|
1746
1699
|
</td>
|
1747
1700
|
</tr>
|
1748
1701
|
</tbody>
|
1749
1702
|
</table></div>
|
1750
1703
|
</div>
|
1751
1704
|
<hr>
|
1752
|
-
<div class="refsect2"
|
1705
|
+
<div class="refsect2">
|
1753
1706
|
<a name="gtk-propagate-event"></a><h3>gtk_propagate_event ()</h3>
|
1754
1707
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_propagate_event (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1755
1708
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
@@ -1782,14 +1735,13 @@ example, use <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Windows.ht
|
|
1782
1735
|
</tr>
|
1783
1736
|
<tr>
|
1784
1737
|
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
1785
|
-
<td>an event
|
1786
|
-
</td>
|
1738
|
+
<td>an event</td>
|
1787
1739
|
</tr>
|
1788
1740
|
</tbody>
|
1789
1741
|
</table></div>
|
1790
1742
|
</div>
|
1791
1743
|
</div>
|
1792
|
-
<div class="refsect1"
|
1744
|
+
<div class="refsect1">
|
1793
1745
|
<a name="gtk-General.see-also"></a><h2>See Also</h2>
|
1794
1746
|
<p>
|
1795
1747
|
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
|
@@ -1799,6 +1751,6 @@ functions such as <a href="http://library.gnome.org/devel/gobject/unstable/gobje
|
|
1799
1751
|
</div>
|
1800
1752
|
<div class="footer">
|
1801
1753
|
<hr>
|
1802
|
-
Generated by GTK-Doc V1.
|
1754
|
+
Generated by GTK-Doc V1.16.1</div>
|
1803
1755
|
</body>
|
1804
1756
|
</html>
|