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="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
|
9
9
|
<link rel="prev" href="GtkComboBoxEntry.html" title="GtkComboBoxEntry">
|
10
10
|
<link rel="next" href="GtkMenuBar.html" title="GtkMenuBar">
|
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">
|
@@ -38,7 +38,7 @@
|
|
38
38
|
<a href="#GtkMenu.signals" class="shortcut">Signals</a>
|
39
39
|
</td></tr>
|
40
40
|
</table>
|
41
|
-
<div class="refentry"
|
41
|
+
<div class="refentry">
|
42
42
|
<a name="GtkMenu"></a><div class="titlepage"></div>
|
43
43
|
<div class="refnamediv"><table width="100%"><tr>
|
44
44
|
<td valign="top">
|
@@ -47,13 +47,13 @@
|
|
47
47
|
</td>
|
48
48
|
<td valign="top" align="right"></td>
|
49
49
|
</tr></table></div>
|
50
|
-
<div class="refsynopsisdiv"
|
50
|
+
<div class="refsynopsisdiv">
|
51
51
|
<a name="GtkMenu.synopsis"></a><h2>Synopsis</h2>
|
52
52
|
<pre class="synopsis">
|
53
53
|
#include <gtk/gtk.h>
|
54
54
|
|
55
|
-
|
56
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
55
|
+
struct <a class="link" href="GtkMenu.html#GtkMenu-struct" title="struct GtkMenu">GtkMenu</a>;
|
56
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkMenu.html#gtk-menu-new" title="gtk_menu_new ()">gtk_menu_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
57
57
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-set-screen" title="gtk_menu_set_screen ()">gtk_menu_set_screen</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
58
58
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>);
|
59
59
|
#define <a class="link" href="GtkMenu.html#gtk-menu-append" title="gtk_menu_append()">gtk_menu_append</a> (menu,
|
@@ -81,10 +81,10 @@
|
|
81
81
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> activate_time</code></em>);
|
82
82
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-set-accel-group" title="gtk_menu_set_accel_group ()">gtk_menu_set_accel_group</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
83
83
|
<em class="parameter"><code><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>);
|
84
|
-
<a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="returnvalue">GtkAccelGroup</span></a
|
84
|
+
<a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="returnvalue">GtkAccelGroup</span></a> * <a class="link" href="GtkMenu.html#gtk-menu-get-accel-group" title="gtk_menu_get_accel_group ()">gtk_menu_get_accel_group</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
85
85
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-set-accel-path" title="gtk_menu_set_accel_path ()">gtk_menu_set_accel_path</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
86
86
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *accel_path</code></em>);
|
87
|
-
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a
|
87
|
+
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkMenu.html#gtk-menu-get-accel-path" title="gtk_menu_get_accel_path ()">gtk_menu_get_accel_path</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
88
88
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-set-title" title="gtk_menu_set_title ()">gtk_menu_set_title</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
89
89
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
|
90
90
|
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkMenu.html#gtk-menu-get-title" title="gtk_menu_get_title ()">gtk_menu_get_title</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
@@ -98,7 +98,7 @@ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.htm
|
|
98
98
|
|
99
99
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-popdown" title="gtk_menu_popdown ()">gtk_menu_popdown</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
100
100
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-reposition" title="gtk_menu_reposition ()">gtk_menu_reposition</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
101
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
101
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkMenu.html#gtk-menu-get-active" title="gtk_menu_get_active ()">gtk_menu_get_active</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
102
102
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-set-active" title="gtk_menu_set_active ()">gtk_menu_set_active</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
103
103
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index_</code></em>);
|
104
104
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-set-tearoff-state" title="gtk_menu_set_tearoff_state ()">gtk_menu_set_tearoff_state</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
@@ -107,8 +107,8 @@ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.htm
|
|
107
107
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *attach_widget</code></em>,
|
108
108
|
<em class="parameter"><code><a class="link" href="GtkMenu.html#GtkMenuDetachFunc" title="GtkMenuDetachFunc ()"><span class="type">GtkMenuDetachFunc</span></a> detacher</code></em>);
|
109
109
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-detach" title="gtk_menu_detach ()">gtk_menu_detach</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
110
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
111
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a
|
110
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkMenu.html#gtk-menu-get-attach-widget" title="gtk_menu_get_attach_widget ()">gtk_menu_get_attach_widget</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
111
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GtkMenu.html#gtk-menu-get-for-attach-widget" title="gtk_menu_get_for_attach_widget ()">gtk_menu_get_for_attach_widget</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
112
112
|
<span class="returnvalue">void</span> (<a class="link" href="GtkMenu.html#GtkMenuPositionFunc" title="GtkMenuPositionFunc ()">*GtkMenuPositionFunc</a>) (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
113
113
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
|
114
114
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>,
|
@@ -118,7 +118,7 @@ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.htm
|
|
118
118
|
<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
119
119
|
</pre>
|
120
120
|
</div>
|
121
|
-
<div class="refsect1"
|
121
|
+
<div class="refsect1">
|
122
122
|
<a name="GtkMenu.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
123
123
|
<pre class="synopsis">
|
124
124
|
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
@@ -131,13 +131,13 @@ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.htm
|
|
131
131
|
+----<a class="link" href="GtkRecentChooserMenu.html" title="GtkRecentChooserMenu">GtkRecentChooserMenu</a>
|
132
132
|
</pre>
|
133
133
|
</div>
|
134
|
-
<div class="refsect1"
|
134
|
+
<div class="refsect1">
|
135
135
|
<a name="GtkMenu.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
136
136
|
<p>
|
137
137
|
GtkMenu implements
|
138
138
|
AtkImplementorIface and <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>.</p>
|
139
139
|
</div>
|
140
|
-
<div class="refsect1"
|
140
|
+
<div class="refsect1">
|
141
141
|
<a name="GtkMenu.properties"></a><h2>Properties</h2>
|
142
142
|
<pre class="synopsis">
|
143
143
|
"<a class="link" href="GtkMenu.html#GtkMenu--accel-group" title='The "accel-group" property'>accel-group</a>" <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a>* : Read / Write
|
@@ -150,7 +150,7 @@ GtkMenu implements
|
|
150
150
|
"<a class="link" href="GtkMenu.html#GtkMenu--tearoff-title" title='The "tearoff-title" property'>tearoff-title</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
|
151
151
|
</pre>
|
152
152
|
</div>
|
153
|
-
<div class="refsect1"
|
153
|
+
<div class="refsect1">
|
154
154
|
<a name="GtkMenu.child-properties"></a><h2>Child Properties</h2>
|
155
155
|
<pre class="synopsis">
|
156
156
|
"<a class="link" href="GtkMenu.html#GtkMenu--c-bottom-attach" title='The "bottom-attach" child property'>bottom-attach</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
|
@@ -159,7 +159,7 @@ GtkMenu implements
|
|
159
159
|
"<a class="link" href="GtkMenu.html#GtkMenu--c-top-attach" title='The "top-attach" child property'>top-attach</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
|
160
160
|
</pre>
|
161
161
|
</div>
|
162
|
-
<div class="refsect1"
|
162
|
+
<div class="refsect1">
|
163
163
|
<a name="GtkMenu.style-properties"></a><h2>Style Properties</h2>
|
164
164
|
<pre class="synopsis">
|
165
165
|
"<a class="link" href="GtkMenu.html#GtkMenu--s-arrow-placement" title='The "arrow-placement" style property'>arrow-placement</a>" <a class="link" href="gtk-Standard-Enumerations.html#GtkArrowPlacement" title="enum GtkArrowPlacement"><span class="type">GtkArrowPlacement</span></a> : Read
|
@@ -171,13 +171,13 @@ GtkMenu implements
|
|
171
171
|
"<a class="link" href="GtkMenu.html#GtkMenu--s-vertical-padding" title='The "vertical-padding" style property'>vertical-padding</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
|
172
172
|
</pre>
|
173
173
|
</div>
|
174
|
-
<div class="refsect1"
|
174
|
+
<div class="refsect1">
|
175
175
|
<a name="GtkMenu.signals"></a><h2>Signals</h2>
|
176
176
|
<pre class="synopsis">
|
177
|
-
"<a class="link" href="GtkMenu.html#GtkMenu-move-scroll" title='The "move-scroll" signal'>move-scroll</a>" :
|
177
|
+
"<a class="link" href="GtkMenu.html#GtkMenu-move-scroll" title='The "move-scroll" signal'>move-scroll</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
178
178
|
</pre>
|
179
179
|
</div>
|
180
|
-
<div class="refsect1"
|
180
|
+
<div class="refsect1">
|
181
181
|
<a name="GtkMenu.description"></a><h2>Description</h2>
|
182
182
|
<p>
|
183
183
|
A <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> is a <a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> that implements a drop down menu consisting of
|
@@ -199,7 +199,7 @@ Applications can display a <a class="link" href="GtkMenu.html" title="GtkMenu"><
|
|
199
199
|
can pop up a menu when the 3rd mouse button is pressed.
|
200
200
|
</p>
|
201
201
|
<div class="example">
|
202
|
-
<a name="
|
202
|
+
<a name="id969218"></a><p class="title"><b>Example 31. Connecting the popup signal handler.</b></p>
|
203
203
|
<div class="example-contents">
|
204
204
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
205
205
|
<tbody>
|
@@ -217,7 +217,7 @@ can pop up a menu when the 3rd mouse button is pressed.
|
|
217
217
|
|
218
218
|
</div>
|
219
219
|
<br class="example-break"><div class="example">
|
220
|
-
<a name="
|
220
|
+
<a name="id969233"></a><p class="title"><b>Example 32. Signal handler which displays a popup menu.</b></p>
|
221
221
|
<div class="example-contents">
|
222
222
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
223
223
|
<tbody>
|
@@ -278,20 +278,20 @@ can pop up a menu when the 3rd mouse button is pressed.
|
|
278
278
|
</div>
|
279
279
|
<br class="example-break">
|
280
280
|
</div>
|
281
|
-
<div class="refsect1"
|
281
|
+
<div class="refsect1">
|
282
282
|
<a name="GtkMenu.details"></a><h2>Details</h2>
|
283
|
-
<div class="refsect2"
|
284
|
-
<a name="GtkMenu-struct"></a><h3>GtkMenu</h3>
|
285
|
-
<pre class="programlisting">
|
283
|
+
<div class="refsect2">
|
284
|
+
<a name="GtkMenu-struct"></a><h3>struct GtkMenu</h3>
|
285
|
+
<pre class="programlisting">struct GtkMenu;</pre>
|
286
286
|
<p>
|
287
287
|
The <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> struct contains private data only, and
|
288
288
|
should be accessed using the functions below.
|
289
289
|
</p>
|
290
290
|
</div>
|
291
291
|
<hr>
|
292
|
-
<div class="refsect2"
|
292
|
+
<div class="refsect2">
|
293
293
|
<a name="gtk-menu-new"></a><h3>gtk_menu_new ()</h3>
|
294
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
294
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_menu_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
295
295
|
<p>
|
296
296
|
Creates a new <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.
|
297
297
|
</p>
|
@@ -299,13 +299,12 @@ Creates a new <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="t
|
|
299
299
|
<col align="left" valign="top">
|
300
300
|
<tbody><tr>
|
301
301
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
302
|
-
<td>a new <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
303
|
-
</td>
|
302
|
+
<td>a new <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
304
303
|
</tr></tbody>
|
305
304
|
</table></div>
|
306
305
|
</div>
|
307
306
|
<hr>
|
308
|
-
<div class="refsect2"
|
307
|
+
<div class="refsect2">
|
309
308
|
<a name="gtk-menu-set-screen"></a><h3>gtk_menu_set_screen ()</h3>
|
310
309
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_screen (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
311
310
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
@@ -317,13 +316,12 @@ Sets the <a href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"><s
|
|
317
316
|
<tbody>
|
318
317
|
<tr>
|
319
318
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
320
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
321
|
-
</td>
|
319
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
322
320
|
</tr>
|
323
321
|
<tr>
|
324
322
|
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
|
325
|
-
<td>
|
326
|
-
|
323
|
+
<td>a <a href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"><span class="type">GdkScreen</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the screen should be
|
324
|
+
determined by the widget the menu is attached to. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
327
325
|
</td>
|
328
326
|
</tr>
|
329
327
|
</tbody>
|
@@ -331,11 +329,11 @@ Sets the <a href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"><s
|
|
331
329
|
<p class="since">Since 2.2</p>
|
332
330
|
</div>
|
333
331
|
<hr>
|
334
|
-
<div class="refsect2"
|
332
|
+
<div class="refsect2">
|
335
333
|
<a name="gtk-menu-append"></a><h3>gtk_menu_append()</h3>
|
336
334
|
<pre class="programlisting">#define gtk_menu_append(menu,child) gtk_menu_shell_append ((GtkMenuShell *)(menu),(child))
|
337
335
|
</pre>
|
338
|
-
<div class="warning"
|
336
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
339
337
|
<h3 class="title">Warning</h3>
|
340
338
|
<p><code class="literal">gtk_menu_append</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkMenuShell.html#gtk-menu-shell-append" title="gtk_menu_shell_append ()"><code class="function">gtk_menu_shell_append()</code></a> instead.</p>
|
341
339
|
</div>
|
@@ -347,23 +345,21 @@ Adds a new <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span cla
|
|
347
345
|
<tbody>
|
348
346
|
<tr>
|
349
347
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
350
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
351
|
-
</td>
|
348
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
352
349
|
</tr>
|
353
350
|
<tr>
|
354
351
|
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
|
355
|
-
<td>The <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to add
|
356
|
-
</td>
|
352
|
+
<td>The <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to add.</td>
|
357
353
|
</tr>
|
358
354
|
</tbody>
|
359
355
|
</table></div>
|
360
356
|
</div>
|
361
357
|
<hr>
|
362
|
-
<div class="refsect2"
|
358
|
+
<div class="refsect2">
|
363
359
|
<a name="gtk-menu-prepend"></a><h3>gtk_menu_prepend()</h3>
|
364
360
|
<pre class="programlisting">#define gtk_menu_prepend(menu,child) gtk_menu_shell_prepend ((GtkMenuShell *)(menu),(child))
|
365
361
|
</pre>
|
366
|
-
<div class="warning"
|
362
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
367
363
|
<h3 class="title">Warning</h3>
|
368
364
|
<p><code class="literal">gtk_menu_prepend</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkMenuShell.html#gtk-menu-shell-prepend" title="gtk_menu_shell_prepend ()"><code class="function">gtk_menu_shell_prepend()</code></a> instead.</p>
|
369
365
|
</div>
|
@@ -375,23 +371,21 @@ Adds a new <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span cla
|
|
375
371
|
<tbody>
|
376
372
|
<tr>
|
377
373
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
378
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
379
|
-
</td>
|
374
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
380
375
|
</tr>
|
381
376
|
<tr>
|
382
377
|
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
|
383
|
-
<td>The <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to add
|
384
|
-
</td>
|
378
|
+
<td>The <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to add.</td>
|
385
379
|
</tr>
|
386
380
|
</tbody>
|
387
381
|
</table></div>
|
388
382
|
</div>
|
389
383
|
<hr>
|
390
|
-
<div class="refsect2"
|
384
|
+
<div class="refsect2">
|
391
385
|
<a name="gtk-menu-insert"></a><h3>gtk_menu_insert()</h3>
|
392
386
|
<pre class="programlisting">#define gtk_menu_insert(menu,child,pos) gtk_menu_shell_insert ((GtkMenuShell *)(menu),(child),(pos))
|
393
387
|
</pre>
|
394
|
-
<div class="warning"
|
388
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
395
389
|
<h3 class="title">Warning</h3>
|
396
390
|
<p><code class="literal">gtk_menu_insert</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkMenuShell.html#gtk-menu-shell-insert" title="gtk_menu_shell_insert ()"><code class="function">gtk_menu_shell_insert()</code></a> instead.</p>
|
397
391
|
</div>
|
@@ -404,25 +398,22 @@ indicated by <em class="parameter"><code>position</code></em>.
|
|
404
398
|
<tbody>
|
405
399
|
<tr>
|
406
400
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
407
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
408
|
-
</td>
|
401
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
409
402
|
</tr>
|
410
403
|
<tr>
|
411
404
|
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
|
412
|
-
<td>The <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to add
|
413
|
-
</td>
|
405
|
+
<td>The <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to add.</td>
|
414
406
|
</tr>
|
415
407
|
<tr>
|
416
408
|
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
|
417
409
|
<td>The position in the item list where <em class="parameter"><code>child</code></em> is added.
|
418
|
-
|
419
|
-
</td>
|
410
|
+
Positions are numbered from 0 to n-1.</td>
|
420
411
|
</tr>
|
421
412
|
</tbody>
|
422
413
|
</table></div>
|
423
414
|
</div>
|
424
415
|
<hr>
|
425
|
-
<div class="refsect2"
|
416
|
+
<div class="refsect2">
|
426
417
|
<a name="gtk-menu-reorder-child"></a><h3>gtk_menu_reorder_child ()</h3>
|
427
418
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_reorder_child (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
428
419
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
@@ -435,25 +426,22 @@ Moves a <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class=
|
|
435
426
|
<tbody>
|
436
427
|
<tr>
|
437
428
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
438
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
439
|
-
</td>
|
429
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
440
430
|
</tr>
|
441
431
|
<tr>
|
442
432
|
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
|
443
|
-
<td>the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to move
|
444
|
-
</td>
|
433
|
+
<td>the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to move.</td>
|
445
434
|
</tr>
|
446
435
|
<tr>
|
447
436
|
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
|
448
|
-
<td>the new position to place <em class="parameter"><code>child</code></em>. Positions are numbered from
|
449
|
-
0 to n-1
|
450
|
-
</td>
|
437
|
+
<td>the new position to place <em class="parameter"><code>child</code></em>. Positions are numbered from
|
438
|
+
0 to n-1.</td>
|
451
439
|
</tr>
|
452
440
|
</tbody>
|
453
441
|
</table></div>
|
454
442
|
</div>
|
455
443
|
<hr>
|
456
|
-
<div class="refsect2"
|
444
|
+
<div class="refsect2">
|
457
445
|
<a name="gtk-menu-attach"></a><h3>gtk_menu_attach ()</h3>
|
458
446
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_attach (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
459
447
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
@@ -476,40 +464,34 @@ Note that this function is not related to <a class="link" href="GtkMenu.html#gtk
|
|
476
464
|
<tbody>
|
477
465
|
<tr>
|
478
466
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
479
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
480
|
-
</td>
|
467
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
481
468
|
</tr>
|
482
469
|
<tr>
|
483
470
|
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
|
484
|
-
<td>a <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a
|
485
|
-
</td>
|
471
|
+
<td>a <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a>.</td>
|
486
472
|
</tr>
|
487
473
|
<tr>
|
488
474
|
<td><p><span class="term"><em class="parameter"><code>left_attach</code></em> :</span></p></td>
|
489
|
-
<td>The column number to attach the left side of the item to
|
490
|
-
</td>
|
475
|
+
<td>The column number to attach the left side of the item to.</td>
|
491
476
|
</tr>
|
492
477
|
<tr>
|
493
478
|
<td><p><span class="term"><em class="parameter"><code>right_attach</code></em> :</span></p></td>
|
494
|
-
<td>The column number to attach the right side of the item to
|
495
|
-
</td>
|
479
|
+
<td>The column number to attach the right side of the item to.</td>
|
496
480
|
</tr>
|
497
481
|
<tr>
|
498
482
|
<td><p><span class="term"><em class="parameter"><code>top_attach</code></em> :</span></p></td>
|
499
|
-
<td>The row number to attach the top of the item to
|
500
|
-
</td>
|
483
|
+
<td>The row number to attach the top of the item to.</td>
|
501
484
|
</tr>
|
502
485
|
<tr>
|
503
486
|
<td><p><span class="term"><em class="parameter"><code>bottom_attach</code></em> :</span></p></td>
|
504
|
-
<td>The row number to attach the bottom of the item to
|
505
|
-
</td>
|
487
|
+
<td>The row number to attach the bottom of the item to.</td>
|
506
488
|
</tr>
|
507
489
|
</tbody>
|
508
490
|
</table></div>
|
509
491
|
<p class="since">Since 2.4</p>
|
510
492
|
</div>
|
511
493
|
<hr>
|
512
|
-
<div class="refsect2"
|
494
|
+
<div class="refsect2">
|
513
495
|
<a name="gtk-menu-popup"></a><h3>gtk_menu_popup ()</h3>
|
514
496
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_popup (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
515
497
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *parent_menu_shell</code></em>,
|
@@ -544,44 +526,41 @@ be used instead.
|
|
544
526
|
<tbody>
|
545
527
|
<tr>
|
546
528
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
547
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
548
|
-
</td>
|
529
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
549
530
|
</tr>
|
550
531
|
<tr>
|
551
532
|
<td><p><span class="term"><em class="parameter"><code>parent_menu_shell</code></em> :</span></p></td>
|
552
|
-
<td>
|
533
|
+
<td>the menu shell containing the triggering menu item, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
553
534
|
</td>
|
554
535
|
</tr>
|
555
536
|
<tr>
|
556
537
|
<td><p><span class="term"><em class="parameter"><code>parent_menu_item</code></em> :</span></p></td>
|
557
|
-
<td>
|
538
|
+
<td>the menu item whose activation triggered the popup, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
558
539
|
</td>
|
559
540
|
</tr>
|
560
541
|
<tr>
|
561
542
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
562
|
-
<td>
|
543
|
+
<td>a user supplied function used to position the menu, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
563
544
|
</td>
|
564
545
|
</tr>
|
565
546
|
<tr>
|
566
547
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
567
|
-
<td>
|
548
|
+
<td>user supplied data to be passed to <em class="parameter"><code>func</code></em>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
568
549
|
</td>
|
569
550
|
</tr>
|
570
551
|
<tr>
|
571
552
|
<td><p><span class="term"><em class="parameter"><code>button</code></em> :</span></p></td>
|
572
|
-
<td>the mouse button which was pressed to initiate the event
|
573
|
-
</td>
|
553
|
+
<td>the mouse button which was pressed to initiate the event.</td>
|
574
554
|
</tr>
|
575
555
|
<tr>
|
576
556
|
<td><p><span class="term"><em class="parameter"><code>activate_time</code></em> :</span></p></td>
|
577
|
-
<td>the time at which the activation event occurred
|
578
|
-
</td>
|
557
|
+
<td>the time at which the activation event occurred.</td>
|
579
558
|
</tr>
|
580
559
|
</tbody>
|
581
560
|
</table></div>
|
582
561
|
</div>
|
583
562
|
<hr>
|
584
|
-
<div class="refsect2"
|
563
|
+
<div class="refsect2">
|
585
564
|
<a name="gtk-menu-set-accel-group"></a><h3>gtk_menu_set_accel_group ()</h3>
|
586
565
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_accel_group (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
587
566
|
<em class="parameter"><code><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>);</pre>
|
@@ -596,8 +575,7 @@ for those windows to support all the accelerators contained in this group.
|
|
596
575
|
<tbody>
|
597
576
|
<tr>
|
598
577
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
599
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
600
|
-
</td>
|
578
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
601
579
|
</tr>
|
602
580
|
<tr>
|
603
581
|
<td><p><span class="term"><em class="parameter"><code>accel_group</code></em> :</span></p></td>
|
@@ -608,9 +586,13 @@ for those windows to support all the accelerators contained in this group.
|
|
608
586
|
</table></div>
|
609
587
|
</div>
|
610
588
|
<hr>
|
611
|
-
<div class="refsect2"
|
589
|
+
<div class="refsect2">
|
612
590
|
<a name="gtk-menu-get-accel-group"></a><h3>gtk_menu_get_accel_group ()</h3>
|
613
|
-
<pre class="programlisting"><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="returnvalue">GtkAccelGroup</span></a
|
591
|
+
<pre class="programlisting"><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="returnvalue">GtkAccelGroup</span></a> * gtk_menu_get_accel_group (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
592
|
+
<p>
|
593
|
+
Gets the <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> which holds global accelerators for the
|
594
|
+
menu. See <a class="link" href="GtkMenu.html#gtk-menu-set-accel-group" title="gtk_menu_set_accel_group ()"><code class="function">gtk_menu_set_accel_group()</code></a>.
|
595
|
+
</p>
|
614
596
|
<p>
|
615
597
|
Gets the <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> which holds global accelerators for the menu.
|
616
598
|
See <a class="link" href="GtkMenu.html#gtk-menu-set-accel-group" title="gtk_menu_set_accel_group ()"><code class="function">gtk_menu_set_accel_group()</code></a>.
|
@@ -620,19 +602,18 @@ See <a class="link" href="GtkMenu.html#gtk-menu-set-accel-group" title="gtk_menu
|
|
620
602
|
<tbody>
|
621
603
|
<tr>
|
622
604
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
623
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
624
|
-
</td>
|
605
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
625
606
|
</tr>
|
626
607
|
<tr>
|
627
608
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
628
|
-
<td>the <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> associated with the menu.
|
609
|
+
<td>the <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> associated with the menu. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
629
610
|
</td>
|
630
611
|
</tr>
|
631
612
|
</tbody>
|
632
613
|
</table></div>
|
633
614
|
</div>
|
634
615
|
<hr>
|
635
|
-
<div class="refsect2"
|
616
|
+
<div class="refsect2">
|
636
617
|
<a name="gtk-menu-set-accel-path"></a><h3>gtk_menu_set_accel_path ()</h3>
|
637
618
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_accel_path (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
638
619
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *accel_path</code></em>);</pre>
|
@@ -668,16 +649,16 @@ pass a static string, you can save some memory by interning it first with
|
|
668
649
|
</tr>
|
669
650
|
<tr>
|
670
651
|
<td><p><span class="term"><em class="parameter"><code>accel_path</code></em> :</span></p></td>
|
671
|
-
<td>
|
652
|
+
<td>a valid accelerator path. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
672
653
|
</td>
|
673
654
|
</tr>
|
674
655
|
</tbody>
|
675
656
|
</table></div>
|
676
657
|
</div>
|
677
658
|
<hr>
|
678
|
-
<div class="refsect2"
|
659
|
+
<div class="refsect2">
|
679
660
|
<a name="gtk-menu-get-accel-path"></a><h3>gtk_menu_get_accel_path ()</h3>
|
680
|
-
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a
|
661
|
+
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_menu_get_accel_path (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
681
662
|
<p>
|
682
663
|
Retrieves the accelerator path set on the menu.
|
683
664
|
</p>
|
@@ -691,16 +672,14 @@ Retrieves the accelerator path set on the menu.
|
|
691
672
|
</tr>
|
692
673
|
<tr>
|
693
674
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
694
|
-
<td>
|
695
|
-
|
696
|
-
</td>
|
675
|
+
<td>the accelerator path set on the menu.</td>
|
697
676
|
</tr>
|
698
677
|
</tbody>
|
699
678
|
</table></div>
|
700
679
|
<p class="since">Since 2.14</p>
|
701
680
|
</div>
|
702
681
|
<hr>
|
703
|
-
<div class="refsect2"
|
682
|
+
<div class="refsect2">
|
704
683
|
<a name="gtk-menu-set-title"></a><h3>gtk_menu_set_title ()</h3>
|
705
684
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_title (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
706
685
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
|
@@ -720,14 +699,13 @@ that menu item's label.
|
|
720
699
|
</tr>
|
721
700
|
<tr>
|
722
701
|
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
|
723
|
-
<td>a string containing the title for the menu
|
724
|
-
</td>
|
702
|
+
<td>a string containing the title for the menu.</td>
|
725
703
|
</tr>
|
726
704
|
</tbody>
|
727
705
|
</table></div>
|
728
706
|
</div>
|
729
707
|
<hr>
|
730
|
-
<div class="refsect2"
|
708
|
+
<div class="refsect2">
|
731
709
|
<a name="gtk-menu-get-title"></a><h3>gtk_menu_get_title ()</h3>
|
732
710
|
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_menu_get_title (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
733
711
|
<p>
|
@@ -743,16 +721,15 @@ Returns the title of the menu. See <a class="link" href="GtkMenu.html#gtk-menu-s
|
|
743
721
|
</tr>
|
744
722
|
<tr>
|
745
723
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
746
|
-
<td>
|
724
|
+
<td>the title of the menu, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the menu has no
|
747
725
|
title set on it. This string is owned by the widget and should
|
748
|
-
not be modified or freed
|
749
|
-
</td>
|
726
|
+
not be modified or freed.</td>
|
750
727
|
</tr>
|
751
728
|
</tbody>
|
752
729
|
</table></div>
|
753
730
|
</div>
|
754
731
|
<hr>
|
755
|
-
<div class="refsect2"
|
732
|
+
<div class="refsect2">
|
756
733
|
<a name="gtk-menu-set-monitor"></a><h3>gtk_menu_set_monitor ()</h3>
|
757
734
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_monitor (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
758
735
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> monitor_num</code></em>);</pre>
|
@@ -778,15 +755,14 @@ may extend beyond the monitor boundaries or even the screen boundaries.
|
|
778
755
|
<tr>
|
779
756
|
<td><p><span class="term"><em class="parameter"><code>monitor_num</code></em> :</span></p></td>
|
780
757
|
<td>the number of the monitor on which the menu should
|
781
|
-
|
782
|
-
</td>
|
758
|
+
be popped up</td>
|
783
759
|
</tr>
|
784
760
|
</tbody>
|
785
761
|
</table></div>
|
786
762
|
<p class="since">Since 2.4</p>
|
787
763
|
</div>
|
788
764
|
<hr>
|
789
|
-
<div class="refsect2"
|
765
|
+
<div class="refsect2">
|
790
766
|
<a name="gtk-menu-get-monitor"></a><h3>gtk_menu_get_monitor ()</h3>
|
791
767
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_menu_get_monitor (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
792
768
|
<p>
|
@@ -802,17 +778,15 @@ Retrieves the number of the monitor on which to show the menu.
|
|
802
778
|
</tr>
|
803
779
|
<tr>
|
804
780
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
805
|
-
<td>
|
806
|
-
|
807
|
-
|
808
|
-
</td>
|
781
|
+
<td>the number of the monitor on which the menu should
|
782
|
+
be popped up or -1, if no monitor has been set</td>
|
809
783
|
</tr>
|
810
784
|
</tbody>
|
811
785
|
</table></div>
|
812
786
|
<p class="since">Since 2.14</p>
|
813
787
|
</div>
|
814
788
|
<hr>
|
815
|
-
<div class="refsect2"
|
789
|
+
<div class="refsect2">
|
816
790
|
<a name="gtk-menu-get-tearoff-state"></a><h3>gtk_menu_get_tearoff_state ()</h3>
|
817
791
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_menu_get_tearoff_state (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
818
792
|
<p>
|
@@ -829,14 +803,14 @@ Returns whether the menu is torn off. See
|
|
829
803
|
</tr>
|
830
804
|
<tr>
|
831
805
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
832
|
-
<td>
|
833
|
-
</td>
|
806
|
+
<td>
|
807
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the menu is currently torn off.</td>
|
834
808
|
</tr>
|
835
809
|
</tbody>
|
836
810
|
</table></div>
|
837
811
|
</div>
|
838
812
|
<hr>
|
839
|
-
<div class="refsect2"
|
813
|
+
<div class="refsect2">
|
840
814
|
<a name="gtk-menu-set-reserve-toggle-size"></a><h3>gtk_menu_set_reserve_toggle_size ()</h3>
|
841
815
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_reserve_toggle_size (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
842
816
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> reserve_toggle_size</code></em>);</pre>
|
@@ -854,15 +828,14 @@ or icons, regardless of their actual presence.
|
|
854
828
|
</tr>
|
855
829
|
<tr>
|
856
830
|
<td><p><span class="term"><em class="parameter"><code>reserve_toggle_size</code></em> :</span></p></td>
|
857
|
-
<td>whether to reserve size for toggles
|
858
|
-
</td>
|
831
|
+
<td>whether to reserve size for toggles</td>
|
859
832
|
</tr>
|
860
833
|
</tbody>
|
861
834
|
</table></div>
|
862
835
|
<p class="since">Since 2.18</p>
|
863
836
|
</div>
|
864
837
|
<hr>
|
865
|
-
<div class="refsect2"
|
838
|
+
<div class="refsect2">
|
866
839
|
<a name="gtk-menu-get-reserve-toggle-size"></a><h3>gtk_menu_get_reserve_toggle_size ()</h3>
|
867
840
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_menu_get_reserve_toggle_size (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
868
841
|
<p>
|
@@ -879,16 +852,14 @@ icons, regardless of their actual presence.
|
|
879
852
|
</tr>
|
880
853
|
<tr>
|
881
854
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
882
|
-
<td>
|
883
|
-
|
884
|
-
</td>
|
855
|
+
<td>Whether the menu reserves toggle space</td>
|
885
856
|
</tr>
|
886
857
|
</tbody>
|
887
858
|
</table></div>
|
888
859
|
<p class="since">Since 2.18</p>
|
889
860
|
</div>
|
890
861
|
<hr>
|
891
|
-
<div class="refsect2"
|
862
|
+
<div class="refsect2">
|
892
863
|
<a name="gtk-menu-popdown"></a><h3>gtk_menu_popdown ()</h3>
|
893
864
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_popdown (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
894
865
|
<p>
|
@@ -898,13 +869,12 @@ Removes the menu from the screen.
|
|
898
869
|
<col align="left" valign="top">
|
899
870
|
<tbody><tr>
|
900
871
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
901
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
902
|
-
</td>
|
872
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
903
873
|
</tr></tbody>
|
904
874
|
</table></div>
|
905
875
|
</div>
|
906
876
|
<hr>
|
907
|
-
<div class="refsect2"
|
877
|
+
<div class="refsect2">
|
908
878
|
<a name="gtk-menu-reposition"></a><h3>gtk_menu_reposition ()</h3>
|
909
879
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_reposition (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
910
880
|
<p>
|
@@ -914,15 +884,18 @@ Repositions the menu according to its position function.
|
|
914
884
|
<col align="left" valign="top">
|
915
885
|
<tbody><tr>
|
916
886
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
917
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
918
|
-
</td>
|
887
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
919
888
|
</tr></tbody>
|
920
889
|
</table></div>
|
921
890
|
</div>
|
922
891
|
<hr>
|
923
|
-
<div class="refsect2"
|
892
|
+
<div class="refsect2">
|
924
893
|
<a name="gtk-menu-get-active"></a><h3>gtk_menu_get_active ()</h3>
|
925
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
894
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_menu_get_active (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
895
|
+
<p>
|
896
|
+
Returns the selected menu item from the menu. This is used by the
|
897
|
+
<a class="link" href="GtkOptionMenu.html" title="GtkOptionMenu"><span class="type">GtkOptionMenu</span></a>.
|
898
|
+
</p>
|
926
899
|
<p>
|
927
900
|
Returns the selected menu item from the menu. This is used by the
|
928
901
|
<a class="link" href="GtkOptionMenu.html" title="GtkOptionMenu"><span class="type">GtkOptionMenu</span></a>.
|
@@ -932,20 +905,21 @@ Returns the selected menu item from the menu. This is used by the
|
|
932
905
|
<tbody>
|
933
906
|
<tr>
|
934
907
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
935
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
908
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>
|
936
909
|
</td>
|
937
910
|
</tr>
|
938
911
|
<tr>
|
939
912
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
940
|
-
<td>the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> that was last selected
|
941
|
-
selection has not yet been made, the
|
913
|
+
<td>the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> that was last selected
|
914
|
+
in the menu. If a selection has not yet been made, the
|
915
|
+
first menu item is selected. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
942
916
|
</td>
|
943
917
|
</tr>
|
944
918
|
</tbody>
|
945
919
|
</table></div>
|
946
920
|
</div>
|
947
921
|
<hr>
|
948
|
-
<div class="refsect2"
|
922
|
+
<div class="refsect2">
|
949
923
|
<a name="gtk-menu-set-active"></a><h3>gtk_menu_set_active ()</h3>
|
950
924
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_active (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
951
925
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index_</code></em>);</pre>
|
@@ -958,20 +932,18 @@ Selects the specified menu item within the menu. This is used by the
|
|
958
932
|
<tbody>
|
959
933
|
<tr>
|
960
934
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
961
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
962
|
-
</td>
|
935
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
963
936
|
</tr>
|
964
937
|
<tr>
|
965
938
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
966
939
|
<td>the index of the menu item to select. Index values are from
|
967
|
-
0 to n-1
|
968
|
-
</td>
|
940
|
+
0 to n-1.</td>
|
969
941
|
</tr>
|
970
942
|
</tbody>
|
971
943
|
</table></div>
|
972
944
|
</div>
|
973
945
|
<hr>
|
974
|
-
<div class="refsect2"
|
946
|
+
<div class="refsect2">
|
975
947
|
<a name="gtk-menu-set-tearoff-state"></a><h3>gtk_menu_set_tearoff_state ()</h3>
|
976
948
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_tearoff_state (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
977
949
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> torn_off</code></em>);</pre>
|
@@ -986,19 +958,17 @@ or reattached.
|
|
986
958
|
<tbody>
|
987
959
|
<tr>
|
988
960
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
989
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
990
|
-
</td>
|
961
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
991
962
|
</tr>
|
992
963
|
<tr>
|
993
964
|
<td><p><span class="term"><em class="parameter"><code>torn_off</code></em> :</span></p></td>
|
994
|
-
<td>If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, menu is displayed as a tearoff menu
|
995
|
-
</td>
|
965
|
+
<td>If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, menu is displayed as a tearoff menu.</td>
|
996
966
|
</tr>
|
997
967
|
</tbody>
|
998
968
|
</table></div>
|
999
969
|
</div>
|
1000
970
|
<hr>
|
1001
|
-
<div class="refsect2"
|
971
|
+
<div class="refsect2">
|
1002
972
|
<a name="gtk-menu-attach-to-widget"></a><h3>gtk_menu_attach_to_widget ()</h3>
|
1003
973
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_attach_to_widget (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
1004
974
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *attach_widget</code></em>,
|
@@ -1012,25 +982,22 @@ be invoked when the menu calls <a class="link" href="GtkMenu.html#gtk-menu-detac
|
|
1012
982
|
<tbody>
|
1013
983
|
<tr>
|
1014
984
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
1015
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
1016
|
-
</td>
|
985
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
1017
986
|
</tr>
|
1018
987
|
<tr>
|
1019
988
|
<td><p><span class="term"><em class="parameter"><code>attach_widget</code></em> :</span></p></td>
|
1020
|
-
<td>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu will be attached to
|
1021
|
-
</td>
|
989
|
+
<td>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu will be attached to.</td>
|
1022
990
|
</tr>
|
1023
991
|
<tr>
|
1024
992
|
<td><p><span class="term"><em class="parameter"><code>detacher</code></em> :</span></p></td>
|
1025
|
-
<td>the user supplied callback function that will be called when
|
1026
|
-
the menu calls <a class="link" href="GtkMenu.html#gtk-menu-detach" title="gtk_menu_detach ()"><code class="function">gtk_menu_detach()</code></a
|
1027
|
-
</td>
|
993
|
+
<td>the user supplied callback function that will be called when
|
994
|
+
the menu calls <a class="link" href="GtkMenu.html#gtk-menu-detach" title="gtk_menu_detach ()"><code class="function">gtk_menu_detach()</code></a>.</td>
|
1028
995
|
</tr>
|
1029
996
|
</tbody>
|
1030
997
|
</table></div>
|
1031
998
|
</div>
|
1032
999
|
<hr>
|
1033
|
-
<div class="refsect2"
|
1000
|
+
<div class="refsect2">
|
1034
1001
|
<a name="gtk-menu-detach"></a><h3>gtk_menu_detach ()</h3>
|
1035
1002
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_detach (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
1036
1003
|
<p>
|
@@ -1042,15 +1009,17 @@ when the <a class="link" href="GtkMenu.html#gtk-menu-attach-to-widget" title="gt
|
|
1042
1009
|
<col align="left" valign="top">
|
1043
1010
|
<tbody><tr>
|
1044
1011
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
1045
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
1046
|
-
</td>
|
1012
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
1047
1013
|
</tr></tbody>
|
1048
1014
|
</table></div>
|
1049
1015
|
</div>
|
1050
1016
|
<hr>
|
1051
|
-
<div class="refsect2"
|
1017
|
+
<div class="refsect2">
|
1052
1018
|
<a name="gtk-menu-get-attach-widget"></a><h3>gtk_menu_get_attach_widget ()</h3>
|
1053
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
1019
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_menu_get_attach_widget (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
1020
|
+
<p>
|
1021
|
+
Returns the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu is attached to.
|
1022
|
+
</p>
|
1054
1023
|
<p>
|
1055
1024
|
Returns the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu is attached to.
|
1056
1025
|
</p>
|
@@ -1059,21 +1028,21 @@ Returns the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class=
|
|
1059
1028
|
<tbody>
|
1060
1029
|
<tr>
|
1061
1030
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
1062
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
1031
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>
|
1063
1032
|
</td>
|
1064
1033
|
</tr>
|
1065
1034
|
<tr>
|
1066
1035
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1067
|
-
<td>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu is attached to.
|
1036
|
+
<td>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu is attached to. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1068
1037
|
</td>
|
1069
1038
|
</tr>
|
1070
1039
|
</tbody>
|
1071
1040
|
</table></div>
|
1072
1041
|
</div>
|
1073
1042
|
<hr>
|
1074
|
-
<div class="refsect2"
|
1043
|
+
<div class="refsect2">
|
1075
1044
|
<a name="gtk-menu-get-for-attach-widget"></a><h3>gtk_menu_get_for_attach_widget ()</h3>
|
1076
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a
|
1045
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gtk_menu_get_for_attach_widget (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
1077
1046
|
<p>
|
1078
1047
|
Returns a list of the menus which are attached to this widget.
|
1079
1048
|
This list is owned by GTK+ and must not be modified.
|
@@ -1088,7 +1057,7 @@ This list is owned by GTK+ and must not be modified.
|
|
1088
1057
|
</tr>
|
1089
1058
|
<tr>
|
1090
1059
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1091
|
-
<td>
|
1060
|
+
<td>the list of menus attached to his widget. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkWidget][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1092
1061
|
</td>
|
1093
1062
|
</tr>
|
1094
1063
|
</tbody>
|
@@ -1096,7 +1065,7 @@ This list is owned by GTK+ and must not be modified.
|
|
1096
1065
|
<p class="since">Since 2.6</p>
|
1097
1066
|
</div>
|
1098
1067
|
<hr>
|
1099
|
-
<div class="refsect2"
|
1068
|
+
<div class="refsect2">
|
1100
1069
|
<a name="GtkMenuPositionFunc"></a><h3>GtkMenuPositionFunc ()</h3>
|
1101
1070
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GtkMenuPositionFunc) (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
1102
1071
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
|
@@ -1115,46 +1084,41 @@ To make the menu appear on a different monitor than the mouse pointer,
|
|
1115
1084
|
<tbody>
|
1116
1085
|
<tr>
|
1117
1086
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
1118
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
1119
|
-
</td>
|
1087
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
1120
1088
|
</tr>
|
1121
1089
|
<tr>
|
1122
1090
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1123
1091
|
<td>address of the <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> representing the horizontal position where the
|
1124
|
-
menu shall be drawn. This is an output parameter
|
1125
|
-
</td>
|
1092
|
+
menu shall be drawn. This is an output parameter.</td>
|
1126
1093
|
</tr>
|
1127
1094
|
<tr>
|
1128
1095
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1129
1096
|
<td>address of the <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> representing the vertical position where the
|
1130
|
-
menu shall be drawn. This is an output parameter
|
1131
|
-
</td>
|
1097
|
+
menu shall be drawn. This is an output parameter.</td>
|
1132
1098
|
</tr>
|
1133
1099
|
<tr>
|
1134
1100
|
<td><p><span class="term"><em class="parameter"><code>push_in</code></em> :</span></p></td>
|
1135
1101
|
<td>This parameter controls how menus placed outside the monitor are handled.
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
</td>
|
1102
|
+
If this is set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> and part of the menu is outside the monitor then
|
1103
|
+
GTK+ pushes the window into the visible area, effectively modifying the
|
1104
|
+
popup position.
|
1105
|
+
Note that moving and possibly resizing the menu around will alter the
|
1106
|
+
scroll position to keep the menu items "in place", i.e. at the same monitor
|
1107
|
+
position they would have been without resizing.
|
1108
|
+
In practice, this behavior is only useful for combobox popups or option
|
1109
|
+
menus and cannot be used to simply confine a menu to monitor boundaries.
|
1110
|
+
In that case, changing the scroll offset is not desirable.</td>
|
1146
1111
|
</tr>
|
1147
1112
|
<tr>
|
1148
1113
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1149
1114
|
<td>the data supplied by the user in the <a class="link" href="GtkMenu.html#gtk-menu-popup" title="gtk_menu_popup ()"><code class="function">gtk_menu_popup()</code></a> <em class="parameter"><code>data</code></em>
|
1150
|
-
parameter
|
1151
|
-
</td>
|
1115
|
+
parameter.</td>
|
1152
1116
|
</tr>
|
1153
1117
|
</tbody>
|
1154
1118
|
</table></div>
|
1155
1119
|
</div>
|
1156
1120
|
<hr>
|
1157
|
-
<div class="refsect2"
|
1121
|
+
<div class="refsect2">
|
1158
1122
|
<a name="GtkMenuDetachFunc"></a><h3>GtkMenuDetachFunc ()</h3>
|
1159
1123
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GtkMenuDetachFunc) (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *attach_widget</code></em>,
|
1160
1124
|
<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
@@ -1167,21 +1131,19 @@ will be called when the menu is later detached from the widget.
|
|
1167
1131
|
<tbody>
|
1168
1132
|
<tr>
|
1169
1133
|
<td><p><span class="term"><em class="parameter"><code>attach_widget</code></em> :</span></p></td>
|
1170
|
-
<td>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu is being detached from
|
1171
|
-
</td>
|
1134
|
+
<td>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu is being detached from.</td>
|
1172
1135
|
</tr>
|
1173
1136
|
<tr>
|
1174
1137
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
1175
|
-
<td>the <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> being detached
|
1176
|
-
</td>
|
1138
|
+
<td>the <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> being detached.</td>
|
1177
1139
|
</tr>
|
1178
1140
|
</tbody>
|
1179
1141
|
</table></div>
|
1180
1142
|
</div>
|
1181
1143
|
</div>
|
1182
|
-
<div class="refsect1"
|
1144
|
+
<div class="refsect1">
|
1183
1145
|
<a name="GtkMenu.property-details"></a><h2>Property Details</h2>
|
1184
|
-
<div class="refsect2"
|
1146
|
+
<div class="refsect2">
|
1185
1147
|
<a name="GtkMenu--accel-group"></a><h3>The <code class="literal">"accel-group"</code> property</h3>
|
1186
1148
|
<pre class="programlisting"> "accel-group" <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a>* : Read / Write</pre>
|
1187
1149
|
<p>
|
@@ -1190,7 +1152,7 @@ The accel group holding accelerators for the menu.
|
|
1190
1152
|
<p class="since">Since 2.14</p>
|
1191
1153
|
</div>
|
1192
1154
|
<hr>
|
1193
|
-
<div class="refsect2"
|
1155
|
+
<div class="refsect2">
|
1194
1156
|
<a name="GtkMenu--accel-path"></a><h3>The <code class="literal">"accel-path"</code> property</h3>
|
1195
1157
|
<pre class="programlisting"> "accel-path" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
1196
1158
|
<p>
|
@@ -1200,7 +1162,7 @@ An accel path used to conveniently construct accel paths of child items.
|
|
1200
1162
|
<p class="since">Since 2.14</p>
|
1201
1163
|
</div>
|
1202
1164
|
<hr>
|
1203
|
-
<div class="refsect2"
|
1165
|
+
<div class="refsect2">
|
1204
1166
|
<a name="GtkMenu--active"></a><h3>The <code class="literal">"active"</code> property</h3>
|
1205
1167
|
<pre class="programlisting"> "active" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1206
1168
|
<p>
|
@@ -1212,7 +1174,7 @@ menu item is selected.
|
|
1212
1174
|
<p class="since">Since 2.14</p>
|
1213
1175
|
</div>
|
1214
1176
|
<hr>
|
1215
|
-
<div class="refsect2"
|
1177
|
+
<div class="refsect2">
|
1216
1178
|
<a name="GtkMenu--attach-widget"></a><h3>The <code class="literal">"attach-widget"</code> property</h3>
|
1217
1179
|
<pre class="programlisting"> "attach-widget" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read / Write</pre>
|
1218
1180
|
<p>
|
@@ -1223,7 +1185,7 @@ use <a class="link" href="GtkMenu.html#gtk-menu-attach-to-widget" title="gtk_men
|
|
1223
1185
|
<p class="since">Since 2.14</p>
|
1224
1186
|
</div>
|
1225
1187
|
<hr>
|
1226
|
-
<div class="refsect2"
|
1188
|
+
<div class="refsect2">
|
1227
1189
|
<a name="GtkMenu--monitor"></a><h3>The <code class="literal">"monitor"</code> property</h3>
|
1228
1190
|
<pre class="programlisting"> "monitor" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1229
1191
|
<p>
|
@@ -1234,7 +1196,7 @@ The monitor the menu will be popped up on.
|
|
1234
1196
|
<p class="since">Since 2.14</p>
|
1235
1197
|
</div>
|
1236
1198
|
<hr>
|
1237
|
-
<div class="refsect2"
|
1199
|
+
<div class="refsect2">
|
1238
1200
|
<a name="GtkMenu--reserve-toggle-size"></a><h3>The <code class="literal">"reserve-toggle-size"</code> property</h3>
|
1239
1201
|
<pre class="programlisting"> "reserve-toggle-size" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1240
1202
|
<p>
|
@@ -1251,7 +1213,7 @@ toggle space for consistency.
|
|
1251
1213
|
<p class="since">Since 2.18</p>
|
1252
1214
|
</div>
|
1253
1215
|
<hr>
|
1254
|
-
<div class="refsect2"
|
1216
|
+
<div class="refsect2">
|
1255
1217
|
<a name="GtkMenu--tearoff-state"></a><h3>The <code class="literal">"tearoff-state"</code> property</h3>
|
1256
1218
|
<pre class="programlisting"> "tearoff-state" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1257
1219
|
<p>
|
@@ -1261,16 +1223,16 @@ A boolean that indicates whether the menu is torn-off.
|
|
1261
1223
|
<p class="since">Since 2.6</p>
|
1262
1224
|
</div>
|
1263
1225
|
<hr>
|
1264
|
-
<div class="refsect2"
|
1226
|
+
<div class="refsect2">
|
1265
1227
|
<a name="GtkMenu--tearoff-title"></a><h3>The <code class="literal">"tearoff-title"</code> property</h3>
|
1266
1228
|
<pre class="programlisting"> "tearoff-title" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
1267
1229
|
<p>A title that may be displayed by the window manager when this menu is torn-off.</p>
|
1268
1230
|
<p>Default value: NULL</p>
|
1269
1231
|
</div>
|
1270
1232
|
</div>
|
1271
|
-
<div class="refsect1"
|
1233
|
+
<div class="refsect1">
|
1272
1234
|
<a name="GtkMenu.child-property-details"></a><h2>Child Property Details</h2>
|
1273
|
-
<div class="refsect2"
|
1235
|
+
<div class="refsect2">
|
1274
1236
|
<a name="GtkMenu--c-bottom-attach"></a><h3>The <code class="literal">"bottom-attach"</code> child property</h3>
|
1275
1237
|
<pre class="programlisting"> "bottom-attach" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1276
1238
|
<p>The row number to attach the bottom of the child to.</p>
|
@@ -1278,7 +1240,7 @@ A boolean that indicates whether the menu is torn-off.
|
|
1278
1240
|
<p>Default value: -1</p>
|
1279
1241
|
</div>
|
1280
1242
|
<hr>
|
1281
|
-
<div class="refsect2"
|
1243
|
+
<div class="refsect2">
|
1282
1244
|
<a name="GtkMenu--c-left-attach"></a><h3>The <code class="literal">"left-attach"</code> child property</h3>
|
1283
1245
|
<pre class="programlisting"> "left-attach" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1284
1246
|
<p>The column number to attach the left side of the child to.</p>
|
@@ -1286,7 +1248,7 @@ A boolean that indicates whether the menu is torn-off.
|
|
1286
1248
|
<p>Default value: -1</p>
|
1287
1249
|
</div>
|
1288
1250
|
<hr>
|
1289
|
-
<div class="refsect2"
|
1251
|
+
<div class="refsect2">
|
1290
1252
|
<a name="GtkMenu--c-right-attach"></a><h3>The <code class="literal">"right-attach"</code> child property</h3>
|
1291
1253
|
<pre class="programlisting"> "right-attach" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1292
1254
|
<p>The column number to attach the right side of the child to.</p>
|
@@ -1294,7 +1256,7 @@ A boolean that indicates whether the menu is torn-off.
|
|
1294
1256
|
<p>Default value: -1</p>
|
1295
1257
|
</div>
|
1296
1258
|
<hr>
|
1297
|
-
<div class="refsect2"
|
1259
|
+
<div class="refsect2">
|
1298
1260
|
<a name="GtkMenu--c-top-attach"></a><h3>The <code class="literal">"top-attach"</code> child property</h3>
|
1299
1261
|
<pre class="programlisting"> "top-attach" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1300
1262
|
<p>The row number to attach the top of the child to.</p>
|
@@ -1302,9 +1264,9 @@ A boolean that indicates whether the menu is torn-off.
|
|
1302
1264
|
<p>Default value: -1</p>
|
1303
1265
|
</div>
|
1304
1266
|
</div>
|
1305
|
-
<div class="refsect1"
|
1267
|
+
<div class="refsect1">
|
1306
1268
|
<a name="GtkMenu.style-property-details"></a><h2>Style Property Details</h2>
|
1307
|
-
<div class="refsect2"
|
1269
|
+
<div class="refsect2">
|
1308
1270
|
<a name="GtkMenu--s-arrow-placement"></a><h3>The <code class="literal">"arrow-placement"</code> style property</h3>
|
1309
1271
|
<pre class="programlisting"> "arrow-placement" <a class="link" href="gtk-Standard-Enumerations.html#GtkArrowPlacement" title="enum GtkArrowPlacement"><span class="type">GtkArrowPlacement</span></a> : Read</pre>
|
1310
1272
|
<p>
|
@@ -1314,7 +1276,7 @@ Indicates where scroll arrows should be placed.
|
|
1314
1276
|
<p class="since">Since 2.16</p>
|
1315
1277
|
</div>
|
1316
1278
|
<hr>
|
1317
|
-
<div class="refsect2"
|
1279
|
+
<div class="refsect2">
|
1318
1280
|
<a name="GtkMenu--s-arrow-scaling"></a><h3>The <code class="literal">"arrow-scaling"</code> style property</h3>
|
1319
1281
|
<pre class="programlisting"> "arrow-scaling" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read</pre>
|
1320
1282
|
<p>Arbitrary constant to scale down the size of the scroll arrow.</p>
|
@@ -1322,21 +1284,21 @@ Indicates where scroll arrows should be placed.
|
|
1322
1284
|
<p>Default value: 0.7</p>
|
1323
1285
|
</div>
|
1324
1286
|
<hr>
|
1325
|
-
<div class="refsect2"
|
1287
|
+
<div class="refsect2">
|
1326
1288
|
<a name="GtkMenu--s-double-arrows"></a><h3>The <code class="literal">"double-arrows"</code> style property</h3>
|
1327
1289
|
<pre class="programlisting"> "double-arrows" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre>
|
1328
1290
|
<p>When scrolling, always show both arrows.</p>
|
1329
1291
|
<p>Default value: TRUE</p>
|
1330
1292
|
</div>
|
1331
1293
|
<hr>
|
1332
|
-
<div class="refsect2"
|
1294
|
+
<div class="refsect2">
|
1333
1295
|
<a name="GtkMenu--s-horizontal-offset"></a><h3>The <code class="literal">"horizontal-offset"</code> style property</h3>
|
1334
1296
|
<pre class="programlisting"> "horizontal-offset" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
1335
1297
|
<p>When the menu is a submenu, position it this number of pixels offset horizontally.</p>
|
1336
1298
|
<p>Default value: -2</p>
|
1337
1299
|
</div>
|
1338
1300
|
<hr>
|
1339
|
-
<div class="refsect2"
|
1301
|
+
<div class="refsect2">
|
1340
1302
|
<a name="GtkMenu--s-horizontal-padding"></a><h3>The <code class="literal">"horizontal-padding"</code> style property</h3>
|
1341
1303
|
<pre class="programlisting"> "horizontal-padding" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
1342
1304
|
<p>Extra space at the left and right edges of the menu.</p>
|
@@ -1344,14 +1306,14 @@ Indicates where scroll arrows should be placed.
|
|
1344
1306
|
<p>Default value: 0</p>
|
1345
1307
|
</div>
|
1346
1308
|
<hr>
|
1347
|
-
<div class="refsect2"
|
1309
|
+
<div class="refsect2">
|
1348
1310
|
<a name="GtkMenu--s-vertical-offset"></a><h3>The <code class="literal">"vertical-offset"</code> style property</h3>
|
1349
1311
|
<pre class="programlisting"> "vertical-offset" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
1350
1312
|
<p>When the menu is a submenu, position it this number of pixels offset vertically.</p>
|
1351
1313
|
<p>Default value: 0</p>
|
1352
1314
|
</div>
|
1353
1315
|
<hr>
|
1354
|
-
<div class="refsect2"
|
1316
|
+
<div class="refsect2">
|
1355
1317
|
<a name="GtkMenu--s-vertical-padding"></a><h3>The <code class="literal">"vertical-padding"</code> style property</h3>
|
1356
1318
|
<pre class="programlisting"> "vertical-padding" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
1357
1319
|
<p>Extra space at the top and bottom of the menu.</p>
|
@@ -1359,13 +1321,13 @@ Indicates where scroll arrows should be placed.
|
|
1359
1321
|
<p>Default value: 1</p>
|
1360
1322
|
</div>
|
1361
1323
|
</div>
|
1362
|
-
<div class="refsect1"
|
1324
|
+
<div class="refsect1">
|
1363
1325
|
<a name="GtkMenu.signal-details"></a><h2>Signal Details</h2>
|
1364
|
-
<div class="refsect2"
|
1326
|
+
<div class="refsect2">
|
1365
1327
|
<a name="GtkMenu-move-scroll"></a><h3>The <code class="literal">"move-scroll"</code> signal</h3>
|
1366
1328
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu,
|
1367
1329
|
<a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> arg1,
|
1368
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) :
|
1330
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre>
|
1369
1331
|
<p>
|
1370
1332
|
</p>
|
1371
1333
|
<div class="variablelist"><table border="0">
|
@@ -1373,13 +1335,7 @@ Indicates where scroll arrows should be placed.
|
|
1373
1335
|
<tbody>
|
1374
1336
|
<tr>
|
1375
1337
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
1376
|
-
<td>the object which received the signal
|
1377
|
-
</td>
|
1378
|
-
</tr>
|
1379
|
-
<tr>
|
1380
|
-
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
|
1381
|
-
<td>
|
1382
|
-
</td>
|
1338
|
+
<td>the object which received the signal.</td>
|
1383
1339
|
</tr>
|
1384
1340
|
<tr>
|
1385
1341
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -1392,6 +1348,6 @@ Indicates where scroll arrows should be placed.
|
|
1392
1348
|
</div>
|
1393
1349
|
<div class="footer">
|
1394
1350
|
<hr>
|
1395
|
-
Generated by GTK-Doc V1.
|
1351
|
+
Generated by GTK-Doc V1.16.1</div>
|
1396
1352
|
</body>
|
1397
1353
|
</html>
|