gtk2 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/gtk2/rbgdkproperty.c +4 -4
- data/ext/gtk2/rbgtk.c +17 -0
- data/ext/gtk2/rbgtkdialog.c +26 -7
- data/ext/gtk2/rbgtkselectiondata.c +4 -5
- data/lib/2.0/gtk2.so +0 -0
- data/test/test_gdk_pixbuf.rb +34 -0
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.la +1 -1
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.la +1 -1
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgailutil.la +1 -1
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.la +1 -1
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.la +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +46 -46
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplay.html +93 -93
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplayManager.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk2/GdkScreen.html +159 -159
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Application-launching.html +13 -13
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Bitmaps-and-Pixmaps.html +53 -53
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Colormaps-and-Colors.html +85 -85
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Cursors.html +17 -17
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drag-and-Drop.html +45 -45
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drawing-Primitives.html +200 -200
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Event-Structures.html +102 -102
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Events.html +61 -61
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Fonts.html +117 -117
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-GdkRGB.html +110 -110
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-General.html +75 -75
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Graphics-Contexts.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Images.html +52 -52
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input-Devices.html +55 -55
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input.html +23 -23
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Keyboard-Handling.html +99 -99
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pango-Interaction.html +32 -32
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pixbufs.html +20 -20
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Points-Rectangles-and-Regions.html +46 -46
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Properties-and-Atoms.html +125 -125
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Selections.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Testing.html +16 -16
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Threads.html +88 -88
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Visuals.html +56 -56
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Windows.html +395 -395
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-X-Window-System-Interaction.html +72 -72
- data/vendor/local/share/gtk-doc/html/gdk2/multihead.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAboutDialog.html +136 -136
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccelLabel.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccessible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAction.html +133 -133
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActionGroup.html +110 -110
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActivatable.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAdjustment.html +78 -78
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAlignment.html +54 -54
- data/vendor/local/share/gtk-doc/html/gtk2/GtkArrow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAspectFrame.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAssistant.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBin.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBox.html +67 -67
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuildable.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuilder.html +127 -127
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButton.html +73 -73
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButtonBox.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCList.html +294 -294
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCTree.html +212 -212
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCalendar.html +97 -97
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellEditable.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellLayout.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRenderer.html +100 -100
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererAccel.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererCombo.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererPixbuf.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererProgress.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpin.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpinner.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererText.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererToggle.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellView.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCheckButton.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorButton.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelection.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelectionDialog.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCombo.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBox.html +106 -106
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxEntry.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxText.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkContainer.html +92 -92
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCurve.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDialog.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDrawingArea.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEditable.html +60 -60
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntry.html +274 -274
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryBuffer.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryCompletion.html +103 -103
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEventBox.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkExpander.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooser.html +217 -217
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserButton.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserDialog.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserWidget.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileSelection.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFixed.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontButton.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelection.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelectionDialog.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFrame.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkGammaCurve.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHBox.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHButtonBox.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSV.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScale.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScrollbar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHandleBox.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContext.html +65 -65
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContextSimple.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMMulticontext.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconTheme.html +99 -99
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconView.html +214 -214
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImage.html +73 -73
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImageMenuItem.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInfoBar.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInputDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInvisible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItem.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItemFactory.html +107 -107
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLabel.html +158 -158
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLayout.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLinkButton.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkList.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListItem.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListStore.html +64 -64
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenu.html +107 -107
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuBar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuItem.html +66 -66
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuShell.html +45 -45
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuToolButton.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMessageDialog.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMisc.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkNotebook.html +225 -225
- data/vendor/local/share/gtk-doc/html/gtk2/GtkObject.html +117 -117
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOffscreenWindow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOldEditable.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOptionMenu.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetup.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetupUnixDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaned.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaperSize.html +68 -68
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPixmap.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPlug.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPreview.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintContext.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintJob.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintSettings.html +210 -210
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintUnixDialog.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrinter.html +96 -96
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgress.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgressBar.html +49 -49
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioAction.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioButton.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioMenuItem.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioToolButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRange.html +110 -110
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentAction.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooser.html +114 -114
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserDialog.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserMenu.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserWidget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentFilter.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentManager.html +147 -147
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRuler.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScale.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScaleButton.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrollbar.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrolledWindow.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorToolItem.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSettings.html +213 -213
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSizeGroup.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSocket.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinButton.html +93 -93
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinner.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusIcon.html +164 -164
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusbar.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStyle.html +467 -467
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTable.html +93 -93
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTearoffMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkText.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextBuffer.html +233 -233
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextIter.html +309 -309
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextMark.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTag.html +134 -134
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTagTable.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextView.html +237 -237
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTipsQuery.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleAction.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleButton.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleToolButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolButton.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItem.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItemGroup.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolPalette.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolShell.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolbar.html +127 -127
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltip.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltips.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTree.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeItem.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModel.html +156 -156
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelFilter.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelSort.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSelection.html +43 -43
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSortable.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeStore.html +74 -74
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeView.html +478 -478
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeViewColumn.html +175 -175
- data/vendor/local/share/gtk-doc/html/gtk2/GtkUIManager.html +64 -64
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVBox.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVButtonBox.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScale.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScrollbar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkViewport.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVolumeButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWidget.html +769 -769
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindow.html +310 -310
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindowGroup.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/TextWidget.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/TreeWidget.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/ch01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/chap-drawing-model.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-changes-2-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAboutDialog.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkColorButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkComboBox.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkIconView.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkLinkButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkRecentChooser.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-checklist.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-entry-icons.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-tooltips.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-question-index.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Accelerator-Maps.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Bindings.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Clipboards.html +115 -115
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Drag-and-Drop.html +80 -80
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Feature-Test-Macros.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Filesystem-utilities.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-General.html +173 -173
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Graphics-Contexts.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-GtkTreeView-drag-and-drop.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-High-level-Printing-API.html +168 -168
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Keyboard-Accelerators.html +100 -100
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Orientable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Resource-Files.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Selections.html +149 -149
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Signals.html +95 -95
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Stock-Items.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Testing.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Themeable-Stock-Images.html +69 -69
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Types.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkcheckmenuitem.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkfilefilter.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-selection-modes.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-advanced.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-chooser.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/migrating-GtkCombo.html +4 -4
- metadata +16 -17
- data/lib/1.9/gtk2.so +0 -0
- data/lib/2.1/gtk2.so +0 -0
@@ -71,8 +71,8 @@ enum <a class="link" href="GtkMenuBar.html#GtkPackDirection" titl
|
|
71
71
|
<div class="refsect1">
|
72
72
|
<a name="GtkMenuBar.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
73
73
|
<pre class="synopsis">
|
74
|
-
<a href="
|
75
|
-
+----<a href="
|
74
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
75
|
+
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
76
76
|
+----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
|
77
77
|
+----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
78
78
|
+----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
@@ -96,7 +96,7 @@ GtkMenuBar implements
|
|
96
96
|
<div class="refsect1">
|
97
97
|
<a name="GtkMenuBar.style-properties"></a><h2>Style Properties</h2>
|
98
98
|
<pre class="synopsis">
|
99
|
-
"<a class="link" href="GtkMenuBar.html#GtkMenuBar--s-internal-padding" title='The "internal-padding" style property'>internal-padding</a>" <a href="
|
99
|
+
"<a class="link" href="GtkMenuBar.html#GtkMenuBar--s-internal-padding" title='The "internal-padding" style property'>internal-padding</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
|
100
100
|
"<a class="link" href="GtkMenuBar.html#GtkMenuBar--s-shadow-type" title='The "shadow-type" style property'>shadow-type</a>" <a class="link" href="gtk2-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a> : Read
|
101
101
|
</pre>
|
102
102
|
</div>
|
@@ -412,7 +412,7 @@ menuitems are arranged in the menubar.
|
|
412
412
|
<a name="GtkMenuBar.style-property-details"></a><h2>Style Property Details</h2>
|
413
413
|
<div class="refsect2">
|
414
414
|
<a name="GtkMenuBar--s-internal-padding"></a><h3>The <code class="literal">"internal-padding"</code> style property</h3>
|
415
|
-
<pre class="programlisting"> "internal-padding" <a href="
|
415
|
+
<pre class="programlisting"> "internal-padding" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
416
416
|
<p>Amount of border space between the menubar shadow and the menu items.</p>
|
417
417
|
<p>Allowed values: >= 0</p>
|
418
418
|
<p>Default value: 1</p>
|
@@ -52,39 +52,39 @@
|
|
52
52
|
|
53
53
|
struct <a class="link" href="GtkMenuItem.html#GtkMenuItem-struct" title="struct GtkMenuItem">GtkMenuItem</a>;
|
54
54
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkMenuItem.html#gtk-menu-item-new" title="gtk_menu_item_new ()">gtk_menu_item_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
55
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkMenuItem.html#gtk-menu-item-new-with-label" title="gtk_menu_item_new_with_label ()">gtk_menu_item_new_with_label</a> (<em class="parameter"><code>const <a href="
|
56
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkMenuItem.html#gtk-menu-item-new-with-mnemonic" title="gtk_menu_item_new_with_mnemonic ()">gtk_menu_item_new_with_mnemonic</a> (<em class="parameter"><code>const <a href="
|
55
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkMenuItem.html#gtk-menu-item-new-with-label" title="gtk_menu_item_new_with_label ()">gtk_menu_item_new_with_label</a> (<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> *label</code></em>);
|
56
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkMenuItem.html#gtk-menu-item-new-with-mnemonic" title="gtk_menu_item_new_with_mnemonic ()">gtk_menu_item_new_with_mnemonic</a> (<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> *label</code></em>);
|
57
57
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuItem.html#gtk-menu-item-set-right-justified" title="gtk_menu_item_set_right_justified ()">gtk_menu_item_set_right_justified</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>,
|
58
|
-
<em class="parameter"><code><a href="
|
59
|
-
<a href="
|
60
|
-
const <a href="
|
58
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> right_justified</code></em>);
|
59
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkMenuItem.html#gtk-menu-item-get-right-justified" title="gtk_menu_item_get_right_justified ()">gtk_menu_item_get_right_justified</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>);
|
60
|
+
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="GtkMenuItem.html#gtk-menu-item-get-label" title="gtk_menu_item_get_label ()">gtk_menu_item_get_label</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>);
|
61
61
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuItem.html#gtk-menu-item-set-label" title="gtk_menu_item_set_label ()">gtk_menu_item_set_label</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>,
|
62
|
-
<em class="parameter"><code>const <a href="
|
63
|
-
<a href="
|
62
|
+
<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> *label</code></em>);
|
63
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkMenuItem.html#gtk-menu-item-get-use-underline" title="gtk_menu_item_get_use_underline ()">gtk_menu_item_get_use_underline</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>);
|
64
64
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuItem.html#gtk-menu-item-set-use-underline" title="gtk_menu_item_set_use_underline ()">gtk_menu_item_set_use_underline</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>,
|
65
|
-
<em class="parameter"><code><a href="
|
65
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);
|
66
66
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuItem.html#gtk-menu-item-set-submenu" title="gtk_menu_item_set_submenu ()">gtk_menu_item_set_submenu</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>,
|
67
67
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *submenu</code></em>);
|
68
68
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkMenuItem.html#gtk-menu-item-get-submenu" title="gtk_menu_item_get_submenu ()">gtk_menu_item_get_submenu</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>);
|
69
69
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuItem.html#gtk-menu-item-remove-submenu" title="gtk_menu_item_remove_submenu ()">gtk_menu_item_remove_submenu</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>);
|
70
70
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuItem.html#gtk-menu-item-set-accel-path" title="gtk_menu_item_set_accel_path ()">gtk_menu_item_set_accel_path</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>,
|
71
|
-
<em class="parameter"><code>const <a href="
|
72
|
-
const <a href="
|
71
|
+
<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>);
|
72
|
+
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="GtkMenuItem.html#gtk-menu-item-get-accel-path" title="gtk_menu_item_get_accel_path ()">gtk_menu_item_get_accel_path</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>);
|
73
73
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuItem.html#gtk-menu-item-select" title="gtk_menu_item_select ()">gtk_menu_item_select</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>);
|
74
74
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuItem.html#gtk-menu-item-deselect" title="gtk_menu_item_deselect ()">gtk_menu_item_deselect</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>);
|
75
75
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuItem.html#gtk-menu-item-activate" title="gtk_menu_item_activate ()">gtk_menu_item_activate</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>);
|
76
76
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuItem.html#gtk-menu-item-toggle-size-request" title="gtk_menu_item_toggle_size_request ()">gtk_menu_item_toggle_size_request</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>,
|
77
|
-
<em class="parameter"><code><a href="
|
77
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *requisition</code></em>);
|
78
78
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuItem.html#gtk-menu-item-toggle-size-allocate" title="gtk_menu_item_toggle_size_allocate ()">gtk_menu_item_toggle_size_allocate</a> (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>,
|
79
|
-
<em class="parameter"><code><a href="
|
79
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> allocation</code></em>);
|
80
80
|
#define <a class="link" href="GtkMenuItem.html#gtk-menu-item-right-justify" title="gtk_menu_item_right_justify()">gtk_menu_item_right_justify</a> (menu_item)
|
81
81
|
</pre>
|
82
82
|
</div>
|
83
83
|
<div class="refsect1">
|
84
84
|
<a name="GtkMenuItem.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
85
85
|
<pre class="synopsis">
|
86
|
-
<a href="
|
87
|
-
+----<a href="
|
86
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
87
|
+
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
88
88
|
+----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
|
89
89
|
+----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
90
90
|
+----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
@@ -106,31 +106,31 @@ GtkMenuItem implements
|
|
106
106
|
<div class="refsect1">
|
107
107
|
<a name="GtkMenuItem.properties"></a><h2>Properties</h2>
|
108
108
|
<pre class="synopsis">
|
109
|
-
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--accel-path" title='The "accel-path" property'>accel-path</a>" <a href="
|
110
|
-
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--label" title='The "label" property'>label</a>" <a href="
|
111
|
-
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--right-justified" title='The "right-justified" property'>right-justified</a>" <a href="
|
109
|
+
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--accel-path" title='The "accel-path" property'>accel-path</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
|
110
|
+
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--label" title='The "label" property'>label</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
|
111
|
+
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--right-justified" title='The "right-justified" property'>right-justified</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
112
112
|
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--submenu" title='The "submenu" property'>submenu</a>" <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>* : Read / Write
|
113
|
-
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--use-underline" title='The "use-underline" property'>use-underline</a>" <a href="
|
113
|
+
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--use-underline" title='The "use-underline" property'>use-underline</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
114
114
|
</pre>
|
115
115
|
</div>
|
116
116
|
<div class="refsect1">
|
117
117
|
<a name="GtkMenuItem.style-properties"></a><h2>Style Properties</h2>
|
118
118
|
<pre class="synopsis">
|
119
|
-
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--s-arrow-scaling" title='The "arrow-scaling" style property'>arrow-scaling</a>" <a href="
|
120
|
-
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--s-arrow-spacing" title='The "arrow-spacing" style property'>arrow-spacing</a>" <a href="
|
121
|
-
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--s-horizontal-padding" title='The "horizontal-padding" style property'>horizontal-padding</a>" <a href="
|
119
|
+
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--s-arrow-scaling" title='The "arrow-scaling" style property'>arrow-scaling</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read
|
120
|
+
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--s-arrow-spacing" title='The "arrow-spacing" style property'>arrow-spacing</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
|
121
|
+
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--s-horizontal-padding" title='The "horizontal-padding" style property'>horizontal-padding</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
|
122
122
|
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--s-selected-shadow-type" title='The "selected-shadow-type" style property'>selected-shadow-type</a>" <a class="link" href="gtk2-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a> : Read
|
123
|
-
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--s-toggle-spacing" title='The "toggle-spacing" style property'>toggle-spacing</a>" <a href="
|
124
|
-
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--s-width-chars" title='The "width-chars" style property'>width-chars</a>" <a href="
|
123
|
+
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--s-toggle-spacing" title='The "toggle-spacing" style property'>toggle-spacing</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
|
124
|
+
"<a class="link" href="GtkMenuItem.html#GtkMenuItem--s-width-chars" title='The "width-chars" style property'>width-chars</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
|
125
125
|
</pre>
|
126
126
|
</div>
|
127
127
|
<div class="refsect1">
|
128
128
|
<a name="GtkMenuItem.signals"></a><h2>Signals</h2>
|
129
129
|
<pre class="synopsis">
|
130
|
-
"<a class="link" href="GtkMenuItem.html#GtkMenuItem-activate" title='The "activate" signal'>activate</a>" : <a href="
|
131
|
-
"<a class="link" href="GtkMenuItem.html#GtkMenuItem-activate-item" title='The "activate-item" signal'>activate-item</a>" : <a href="
|
132
|
-
"<a class="link" href="GtkMenuItem.html#GtkMenuItem-toggle-size-allocate" title='The "toggle-size-allocate" signal'>toggle-size-allocate</a>" : <a href="
|
133
|
-
"<a class="link" href="GtkMenuItem.html#GtkMenuItem-toggle-size-request" title='The "toggle-size-request" signal'>toggle-size-request</a>" : <a href="
|
130
|
+
"<a class="link" href="GtkMenuItem.html#GtkMenuItem-activate" title='The "activate" signal'>activate</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
131
|
+
"<a class="link" href="GtkMenuItem.html#GtkMenuItem-activate-item" title='The "activate-item" signal'>activate-item</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
|
132
|
+
"<a class="link" href="GtkMenuItem.html#GtkMenuItem-toggle-size-allocate" title='The "toggle-size-allocate" signal'>toggle-size-allocate</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
|
133
|
+
"<a class="link" href="GtkMenuItem.html#GtkMenuItem-toggle-size-request" title='The "toggle-size-request" signal'>toggle-size-request</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
|
134
134
|
</pre>
|
135
135
|
</div>
|
136
136
|
<div class="refsect1">
|
@@ -206,7 +206,7 @@ Creates a new <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span
|
|
206
206
|
<hr>
|
207
207
|
<div class="refsect2">
|
208
208
|
<a name="gtk-menu-item-new-with-label"></a><h3>gtk_menu_item_new_with_label ()</h3>
|
209
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_menu_item_new_with_label (<em class="parameter"><code>const <a href="
|
209
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_menu_item_new_with_label (<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> *label</code></em>);</pre>
|
210
210
|
<p>
|
211
211
|
Creates a new <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> whose child is a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>.
|
212
212
|
</p>
|
@@ -231,7 +231,7 @@ Creates a new <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span
|
|
231
231
|
<hr>
|
232
232
|
<div class="refsect2">
|
233
233
|
<a name="gtk-menu-item-new-with-mnemonic"></a><h3>gtk_menu_item_new_with_mnemonic ()</h3>
|
234
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_menu_item_new_with_mnemonic (<em class="parameter"><code>const <a href="
|
234
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_menu_item_new_with_mnemonic (<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> *label</code></em>);</pre>
|
235
235
|
<p>
|
236
236
|
Creates a new <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> containing a label. The label
|
237
237
|
will be created using <a class="link" href="GtkLabel.html#gtk-label-new-with-mnemonic" title="gtk_label_new_with_mnemonic ()"><code class="function">gtk_label_new_with_mnemonic()</code></a>, so underscores
|
@@ -260,7 +260,7 @@ mnemonic character</td>
|
|
260
260
|
<div class="refsect2">
|
261
261
|
<a name="gtk-menu-item-set-right-justified"></a><h3>gtk_menu_item_set_right_justified ()</h3>
|
262
262
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_item_set_right_justified (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>,
|
263
|
-
<em class="parameter"><code><a href="
|
263
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> right_justified</code></em>);</pre>
|
264
264
|
<p>
|
265
265
|
Sets whether the menu item appears justified at the right
|
266
266
|
side of a menu bar. This was traditionally done for "Help" menu
|
@@ -280,7 +280,7 @@ or Arabic, right-justified-menu-items appear at the left.)
|
|
280
280
|
</tr>
|
281
281
|
<tr>
|
282
282
|
<td><p><span class="term"><em class="parameter"><code>right_justified</code></em> :</span></p></td>
|
283
|
-
<td>if <a href="
|
283
|
+
<td>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> the menu item will appear at the
|
284
284
|
far right if added to a menu bar.</td>
|
285
285
|
</tr>
|
286
286
|
</tbody>
|
@@ -289,7 +289,7 @@ far right if added to a menu bar.</td>
|
|
289
289
|
<hr>
|
290
290
|
<div class="refsect2">
|
291
291
|
<a name="gtk-menu-item-get-right-justified"></a><h3>gtk_menu_item_get_right_justified ()</h3>
|
292
|
-
<pre class="programlisting"><a href="
|
292
|
+
<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_item_get_right_justified (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>);</pre>
|
293
293
|
<p>
|
294
294
|
Gets whether the menu item appears justified at the right
|
295
295
|
side of the menu bar.
|
@@ -308,7 +308,7 @@ side of the menu bar.
|
|
308
308
|
<tr>
|
309
309
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
310
310
|
<td>
|
311
|
-
<a href="
|
311
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the menu item will appear at the
|
312
312
|
far right if added to a menu bar.</td>
|
313
313
|
</tr>
|
314
314
|
</tbody>
|
@@ -317,7 +317,7 @@ far right if added to a menu bar.</td>
|
|
317
317
|
<hr>
|
318
318
|
<div class="refsect2">
|
319
319
|
<a name="gtk-menu-item-get-label"></a><h3>gtk_menu_item_get_label ()</h3>
|
320
|
-
<pre class="programlisting">const <a href="
|
320
|
+
<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_item_get_label (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>);</pre>
|
321
321
|
<p>
|
322
322
|
Sets <em class="parameter"><code>text</code></em> on the <em class="parameter"><code>menu_item</code></em> label
|
323
323
|
</p>
|
@@ -345,7 +345,7 @@ string used by the label, and must not be modified.</td>
|
|
345
345
|
<div class="refsect2">
|
346
346
|
<a name="gtk-menu-item-set-label"></a><h3>gtk_menu_item_set_label ()</h3>
|
347
347
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_item_set_label (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>,
|
348
|
-
<em class="parameter"><code>const <a href="
|
348
|
+
<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> *label</code></em>);</pre>
|
349
349
|
<p>
|
350
350
|
Sets <em class="parameter"><code>text</code></em> on the <em class="parameter"><code>menu_item</code></em> label
|
351
351
|
</p>
|
@@ -371,7 +371,7 @@ Sets <em class="parameter"><code>text</code></em> on the <em class="parameter"><
|
|
371
371
|
<hr>
|
372
372
|
<div class="refsect2">
|
373
373
|
<a name="gtk-menu-item-get-use-underline"></a><h3>gtk_menu_item_get_use_underline ()</h3>
|
374
|
-
<pre class="programlisting"><a href="
|
374
|
+
<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_item_get_use_underline (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>);</pre>
|
375
375
|
<p>
|
376
376
|
Checks if an underline in the text indicates the next character should be
|
377
377
|
used for the mnemonic accelerator key.
|
@@ -390,7 +390,7 @@ used for the mnemonic accelerator key.
|
|
390
390
|
<tr>
|
391
391
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
392
392
|
<td>
|
393
|
-
<a href="
|
393
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if an embedded underline in the label indicates
|
394
394
|
the mnemonic accelerator key.</td>
|
395
395
|
</tr>
|
396
396
|
</tbody>
|
@@ -401,7 +401,7 @@ the mnemonic accelerator key.</td>
|
|
401
401
|
<div class="refsect2">
|
402
402
|
<a name="gtk-menu-item-set-use-underline"></a><h3>gtk_menu_item_set_use_underline ()</h3>
|
403
403
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_item_set_use_underline (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>,
|
404
|
-
<em class="parameter"><code><a href="
|
404
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre>
|
405
405
|
<p>
|
406
406
|
If true, an underline in the text indicates the next character should be
|
407
407
|
used for the mnemonic accelerator key.
|
@@ -420,7 +420,7 @@ used for the mnemonic accelerator key.
|
|
420
420
|
<tr>
|
421
421
|
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
|
422
422
|
<td>
|
423
|
-
<a href="
|
423
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if underlines in the text indicate mnemonics</td>
|
424
424
|
</tr>
|
425
425
|
</tbody>
|
426
426
|
</table></div>
|
@@ -432,7 +432,7 @@ used for the mnemonic accelerator key.
|
|
432
432
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_item_set_submenu (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>,
|
433
433
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *submenu</code></em>);</pre>
|
434
434
|
<p>
|
435
|
-
Sets or replaces the menu item's submenu, or removes it when a <a href="
|
435
|
+
Sets or replaces the menu item's submenu, or removes it when a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
436
436
|
submenu is passed.
|
437
437
|
</p>
|
438
438
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -448,7 +448,7 @@ submenu is passed.
|
|
448
448
|
</tr>
|
449
449
|
<tr>
|
450
450
|
<td><p><span class="term"><em class="parameter"><code>submenu</code></em> :</span></p></td>
|
451
|
-
<td>the submenu, or <a href="
|
451
|
+
<td>the submenu, 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>
|
452
452
|
</td>
|
453
453
|
</tr>
|
454
454
|
</tbody>
|
@@ -475,7 +475,7 @@ See <a class="link" href="GtkMenuItem.html#gtk-menu-item-set-submenu" title="gtk
|
|
475
475
|
</tr>
|
476
476
|
<tr>
|
477
477
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
478
|
-
<td>submenu for this menu item, or <a href="
|
478
|
+
<td>submenu for this menu item, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
479
479
|
</td>
|
480
480
|
</tr>
|
481
481
|
</tbody>
|
@@ -510,7 +510,7 @@ Removes the widget's submenu.
|
|
510
510
|
<div class="refsect2">
|
511
511
|
<a name="gtk-menu-item-set-accel-path"></a><h3>gtk_menu_item_set_accel_path ()</h3>
|
512
512
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_item_set_accel_path (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>,
|
513
|
-
<em class="parameter"><code>const <a href="
|
513
|
+
<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>
|
514
514
|
<p>
|
515
515
|
Set the accelerator path on <em class="parameter"><code>menu_item</code></em>, through which runtime changes of the
|
516
516
|
menu item's accelerator caused by the user can be identified and saved to
|
@@ -530,9 +530,9 @@ Note that you do need to set an accelerator on the parent menu with
|
|
530
530
|
<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> for this to work.
|
531
531
|
</p>
|
532
532
|
<p>
|
533
|
-
Note that <em class="parameter"><code>accel_path</code></em> string will be stored in a <a href="
|
533
|
+
Note that <em class="parameter"><code>accel_path</code></em> string will be stored in a <a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>. Therefore, if you
|
534
534
|
pass a static string, you can save some memory by interning it first with
|
535
|
-
<a href="
|
535
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#g-intern-static-string"><code class="function">g_intern_static_string()</code></a>.
|
536
536
|
</p>
|
537
537
|
<div class="variablelist"><table border="0" class="variablelist">
|
538
538
|
<colgroup>
|
@@ -548,7 +548,7 @@ pass a static string, you can save some memory by interning it first with
|
|
548
548
|
<tr>
|
549
549
|
<td><p><span class="term"><em class="parameter"><code>accel_path</code></em> :</span></p></td>
|
550
550
|
<td>accelerator path, corresponding to this menu item's
|
551
|
-
functionality, or <a href="
|
551
|
+
functionality, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the current path. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
552
552
|
</td>
|
553
553
|
</tr>
|
554
554
|
</tbody>
|
@@ -557,7 +557,7 @@ functionality, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/lo
|
|
557
557
|
<hr>
|
558
558
|
<div class="refsect2">
|
559
559
|
<a name="gtk-menu-item-get-accel-path"></a><h3>gtk_menu_item_get_accel_path ()</h3>
|
560
|
-
<pre class="programlisting">const <a href="
|
560
|
+
<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_item_get_accel_path (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>);</pre>
|
561
561
|
<p>
|
562
562
|
Retrieve the accelerator path that was previously set on <em class="parameter"><code>menu_item</code></em>.
|
563
563
|
</p>
|
@@ -578,7 +578,7 @@ See <a class="link" href="GtkMenuItem.html#gtk-menu-item-set-accel-path" title="
|
|
578
578
|
<tr>
|
579
579
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
580
580
|
<td>the accelerator path corresponding to this menu item's
|
581
|
-
functionality, or <a href="
|
581
|
+
functionality, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not set</td>
|
582
582
|
</tr>
|
583
583
|
</tbody>
|
584
584
|
</table></div>
|
@@ -644,7 +644,7 @@ Emits the "activate" signal on the given item
|
|
644
644
|
<div class="refsect2">
|
645
645
|
<a name="gtk-menu-item-toggle-size-request"></a><h3>gtk_menu_item_toggle_size_request ()</h3>
|
646
646
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_item_toggle_size_request (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>,
|
647
|
-
<em class="parameter"><code><a href="
|
647
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *requisition</code></em>);</pre>
|
648
648
|
<p>
|
649
649
|
Emits the "toggle_size_request" signal on the given item.
|
650
650
|
</p>
|
@@ -669,7 +669,7 @@ Emits the "toggle_size_request" signal on the given item.
|
|
669
669
|
<div class="refsect2">
|
670
670
|
<a name="gtk-menu-item-toggle-size-allocate"></a><h3>gtk_menu_item_toggle_size_allocate ()</h3>
|
671
671
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_item_toggle_size_allocate (<em class="parameter"><code><a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menu_item</code></em>,
|
672
|
-
<em class="parameter"><code><a href="
|
672
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> allocation</code></em>);</pre>
|
673
673
|
<p>
|
674
674
|
Emits the "toggle_size_allocate" signal on the given item.
|
675
675
|
</p>
|
@@ -718,7 +718,7 @@ Sets the menu item to be right-justified. Only useful for menu bars.
|
|
718
718
|
<a name="GtkMenuItem.property-details"></a><h2>Property Details</h2>
|
719
719
|
<div class="refsect2">
|
720
720
|
<a name="GtkMenuItem--accel-path"></a><h3>The <code class="literal">"accel-path"</code> property</h3>
|
721
|
-
<pre class="programlisting"> "accel-path" <a href="
|
721
|
+
<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>
|
722
722
|
<p>
|
723
723
|
Sets the accelerator path of the menu item, through which runtime
|
724
724
|
changes of the menu item's accelerator caused by the user can be
|
@@ -730,7 +730,7 @@ identified and saved to persistant storage.
|
|
730
730
|
<hr>
|
731
731
|
<div class="refsect2">
|
732
732
|
<a name="GtkMenuItem--label"></a><h3>The <code class="literal">"label"</code> property</h3>
|
733
|
-
<pre class="programlisting"> "label" <a href="
|
733
|
+
<pre class="programlisting"> "label" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
734
734
|
<p>
|
735
735
|
The text for the child label.
|
736
736
|
</p>
|
@@ -740,7 +740,7 @@ The text for the child label.
|
|
740
740
|
<hr>
|
741
741
|
<div class="refsect2">
|
742
742
|
<a name="GtkMenuItem--right-justified"></a><h3>The <code class="literal">"right-justified"</code> property</h3>
|
743
|
-
<pre class="programlisting"> "right-justified" <a href="
|
743
|
+
<pre class="programlisting"> "right-justified" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
744
744
|
<p>
|
745
745
|
Sets whether the menu item appears justified at the right side of a menu bar.
|
746
746
|
</p>
|
@@ -759,9 +759,9 @@ The submenu attached to the menu item, or NULL if it has none.
|
|
759
759
|
<hr>
|
760
760
|
<div class="refsect2">
|
761
761
|
<a name="GtkMenuItem--use-underline"></a><h3>The <code class="literal">"use-underline"</code> property</h3>
|
762
|
-
<pre class="programlisting"> "use-underline" <a href="
|
762
|
+
<pre class="programlisting"> "use-underline" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
763
763
|
<p>
|
764
|
-
<a href="
|
764
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if underlines in the text indicate mnemonics
|
765
765
|
</p>
|
766
766
|
<p>Default value: FALSE</p>
|
767
767
|
<p class="since">Since 2.16</p>
|
@@ -771,7 +771,7 @@ The submenu attached to the menu item, or NULL if it has none.
|
|
771
771
|
<a name="GtkMenuItem.style-property-details"></a><h2>Style Property Details</h2>
|
772
772
|
<div class="refsect2">
|
773
773
|
<a name="GtkMenuItem--s-arrow-scaling"></a><h3>The <code class="literal">"arrow-scaling"</code> style property</h3>
|
774
|
-
<pre class="programlisting"> "arrow-scaling" <a href="
|
774
|
+
<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>
|
775
775
|
<p>Amount of space used up by arrow, relative to the menu item's font size.</p>
|
776
776
|
<p>Allowed values: [0,2]</p>
|
777
777
|
<p>Default value: 0.8</p>
|
@@ -779,7 +779,7 @@ The submenu attached to the menu item, or NULL if it has none.
|
|
779
779
|
<hr>
|
780
780
|
<div class="refsect2">
|
781
781
|
<a name="GtkMenuItem--s-arrow-spacing"></a><h3>The <code class="literal">"arrow-spacing"</code> style property</h3>
|
782
|
-
<pre class="programlisting"> "arrow-spacing" <a href="
|
782
|
+
<pre class="programlisting"> "arrow-spacing" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
783
783
|
<p>Space between label and arrow.</p>
|
784
784
|
<p>Allowed values: >= 0</p>
|
785
785
|
<p>Default value: 10</p>
|
@@ -787,7 +787,7 @@ The submenu attached to the menu item, or NULL if it has none.
|
|
787
787
|
<hr>
|
788
788
|
<div class="refsect2">
|
789
789
|
<a name="GtkMenuItem--s-horizontal-padding"></a><h3>The <code class="literal">"horizontal-padding"</code> style property</h3>
|
790
|
-
<pre class="programlisting"> "horizontal-padding" <a href="
|
790
|
+
<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>
|
791
791
|
<p>Padding to left and right of the menu item.</p>
|
792
792
|
<p>Allowed values: >= 0</p>
|
793
793
|
<p>Default value: 3</p>
|
@@ -802,7 +802,7 @@ The submenu attached to the menu item, or NULL if it has none.
|
|
802
802
|
<hr>
|
803
803
|
<div class="refsect2">
|
804
804
|
<a name="GtkMenuItem--s-toggle-spacing"></a><h3>The <code class="literal">"toggle-spacing"</code> style property</h3>
|
805
|
-
<pre class="programlisting"> "toggle-spacing" <a href="
|
805
|
+
<pre class="programlisting"> "toggle-spacing" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
806
806
|
<p>Space between icon and label.</p>
|
807
807
|
<p>Allowed values: >= 0</p>
|
808
808
|
<p>Default value: 5</p>
|
@@ -810,7 +810,7 @@ The submenu attached to the menu item, or NULL if it has none.
|
|
810
810
|
<hr>
|
811
811
|
<div class="refsect2">
|
812
812
|
<a name="GtkMenuItem--s-width-chars"></a><h3>The <code class="literal">"width-chars"</code> style property</h3>
|
813
|
-
<pre class="programlisting"> "width-chars" <a href="
|
813
|
+
<pre class="programlisting"> "width-chars" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
814
814
|
<p>
|
815
815
|
The minimum desired width of the menu item in characters.
|
816
816
|
</p>
|
@@ -824,7 +824,7 @@ The minimum desired width of the menu item in characters.
|
|
824
824
|
<div class="refsect2">
|
825
825
|
<a name="GtkMenuItem-activate"></a><h3>The <code class="literal">"activate"</code> signal</h3>
|
826
826
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menuitem,
|
827
|
-
<a href="
|
827
|
+
<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>
|
828
828
|
<p>
|
829
829
|
Emitted when the item is activated.
|
830
830
|
</p>
|
@@ -849,7 +849,7 @@ Emitted when the item is activated.
|
|
849
849
|
<div class="refsect2">
|
850
850
|
<a name="GtkMenuItem-activate-item"></a><h3>The <code class="literal">"activate-item"</code> signal</h3>
|
851
851
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menuitem,
|
852
|
-
<a href="
|
852
|
+
<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-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
|
853
853
|
<p>
|
854
854
|
Emitted when the item is activated, but also if the menu item has a
|
855
855
|
submenu. For normal applications, the relevant signal is "activate".
|
@@ -875,8 +875,8 @@ submenu. For normal applications, the relevant signal is "activate".
|
|
875
875
|
<div class="refsect2">
|
876
876
|
<a name="GtkMenuItem-toggle-size-allocate"></a><h3>The <code class="literal">"toggle-size-allocate"</code> signal</h3>
|
877
877
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menuitem,
|
878
|
-
<a href="
|
879
|
-
<a href="
|
878
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> arg1,
|
879
|
+
<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-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
|
880
880
|
<p>
|
881
881
|
</p>
|
882
882
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -900,8 +900,8 @@ submenu. For normal applications, the relevant signal is "activate".
|
|
900
900
|
<div class="refsect2">
|
901
901
|
<a name="GtkMenuItem-toggle-size-request"></a><h3>The <code class="literal">"toggle-size-request"</code> signal</h3>
|
902
902
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> *menuitem,
|
903
|
-
<a href="
|
904
|
-
<a href="
|
903
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> arg1,
|
904
|
+
<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-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
|
905
905
|
<p>
|
906
906
|
</p>
|
907
907
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -55,28 +55,28 @@ struct <a class="link" href="GtkMenuShell.html#GtkMenuShell-struct"
|
|
55
55
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>);
|
56
56
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuShell.html#gtk-menu-shell-insert" title="gtk_menu_shell_insert ()">gtk_menu_shell_insert</a> (<em class="parameter"><code><a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>,
|
57
57
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
58
|
-
<em class="parameter"><code><a href="
|
58
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);
|
59
59
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuShell.html#gtk-menu-shell-deactivate" title="gtk_menu_shell_deactivate ()">gtk_menu_shell_deactivate</a> (<em class="parameter"><code><a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>);
|
60
60
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuShell.html#gtk-menu-shell-select-item" title="gtk_menu_shell_select_item ()">gtk_menu_shell_select_item</a> (<em class="parameter"><code><a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>,
|
61
61
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *menu_item</code></em>);
|
62
62
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuShell.html#gtk-menu-shell-select-first" title="gtk_menu_shell_select_first ()">gtk_menu_shell_select_first</a> (<em class="parameter"><code><a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>,
|
63
|
-
<em class="parameter"><code><a href="
|
63
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> search_sensitive</code></em>);
|
64
64
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuShell.html#gtk-menu-shell-deselect" title="gtk_menu_shell_deselect ()">gtk_menu_shell_deselect</a> (<em class="parameter"><code><a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>);
|
65
65
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuShell.html#gtk-menu-shell-activate-item" title="gtk_menu_shell_activate_item ()">gtk_menu_shell_activate_item</a> (<em class="parameter"><code><a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>,
|
66
66
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *menu_item</code></em>,
|
67
|
-
<em class="parameter"><code><a href="
|
67
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> force_deactivate</code></em>);
|
68
68
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuShell.html#gtk-menu-shell-cancel" title="gtk_menu_shell_cancel ()">gtk_menu_shell_cancel</a> (<em class="parameter"><code><a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>);
|
69
69
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenuShell.html#gtk-menu-shell-set-take-focus" title="gtk_menu_shell_set_take_focus ()">gtk_menu_shell_set_take_focus</a> (<em class="parameter"><code><a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>,
|
70
|
-
<em class="parameter"><code><a href="
|
71
|
-
<a href="
|
70
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> take_focus</code></em>);
|
71
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkMenuShell.html#gtk-menu-shell-get-take-focus" title="gtk_menu_shell_get_take_focus ()">gtk_menu_shell_get_take_focus</a> (<em class="parameter"><code><a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>);
|
72
72
|
enum <a class="link" href="GtkMenuShell.html#GtkMenuDirectionType" title="enum GtkMenuDirectionType">GtkMenuDirectionType</a>;
|
73
73
|
</pre>
|
74
74
|
</div>
|
75
75
|
<div class="refsect1">
|
76
76
|
<a name="GtkMenuShell.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
77
77
|
<pre class="synopsis">
|
78
|
-
<a href="
|
79
|
-
+----<a href="
|
78
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
79
|
+
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
80
80
|
+----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
|
81
81
|
+----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
82
82
|
+----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
@@ -94,20 +94,20 @@ GtkMenuShell implements
|
|
94
94
|
<div class="refsect1">
|
95
95
|
<a name="GtkMenuShell.properties"></a><h2>Properties</h2>
|
96
96
|
<pre class="synopsis">
|
97
|
-
"<a class="link" href="GtkMenuShell.html#GtkMenuShell--take-focus" title='The "take-focus" property'>take-focus</a>" <a href="
|
97
|
+
"<a class="link" href="GtkMenuShell.html#GtkMenuShell--take-focus" title='The "take-focus" property'>take-focus</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
98
98
|
</pre>
|
99
99
|
</div>
|
100
100
|
<div class="refsect1">
|
101
101
|
<a name="GtkMenuShell.signals"></a><h2>Signals</h2>
|
102
102
|
<pre class="synopsis">
|
103
|
-
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-activate-current" title='The "activate-current" signal'>activate-current</a>" : <a href="
|
104
|
-
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-cancel" title='The "cancel" signal'>cancel</a>" : <a href="
|
105
|
-
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-cycle-focus" title='The "cycle-focus" signal'>cycle-focus</a>" : <a href="
|
106
|
-
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-deactivate" title='The "deactivate" signal'>deactivate</a>" : <a href="
|
107
|
-
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-insert" title='The "insert" signal'>insert</a>" : <a href="
|
108
|
-
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-move-current" title='The "move-current" signal'>move-current</a>" : <a href="
|
109
|
-
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-move-selected" title='The "move-selected" signal'>move-selected</a>" : <a href="
|
110
|
-
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-selection-done" title='The "selection-done" signal'>selection-done</a>" : <a href="
|
103
|
+
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-activate-current" title='The "activate-current" signal'>activate-current</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
104
|
+
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-cancel" title='The "cancel" signal'>cancel</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
105
|
+
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-cycle-focus" title='The "cycle-focus" signal'>cycle-focus</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
106
|
+
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-deactivate" title='The "deactivate" signal'>deactivate</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
|
107
|
+
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-insert" title='The "insert" signal'>insert</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
|
108
|
+
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-move-current" title='The "move-current" signal'>move-current</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
109
|
+
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-move-selected" title='The "move-selected" signal'>move-selected</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
110
|
+
"<a class="link" href="GtkMenuShell.html#GtkMenuShell-selection-done" title='The "selection-done" signal'>selection-done</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
|
111
111
|
</pre>
|
112
112
|
</div>
|
113
113
|
<div class="refsect1">
|
@@ -140,7 +140,7 @@ an application.)
|
|
140
140
|
</colgroup>
|
141
141
|
<tbody><tr>
|
142
142
|
<td>
|
143
|
-
<a href="
|
143
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *children;</td>
|
144
144
|
<td>The list of <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> objects contained by this <a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a>.
|
145
145
|
</td>
|
146
146
|
</tr></tbody>
|
@@ -203,7 +203,7 @@ Adds a new <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span cla
|
|
203
203
|
<a name="gtk-menu-shell-insert"></a><h3>gtk_menu_shell_insert ()</h3>
|
204
204
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_shell_insert (<em class="parameter"><code><a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>,
|
205
205
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
206
|
-
<em class="parameter"><code><a href="
|
206
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);</pre>
|
207
207
|
<p>
|
208
208
|
Adds a new <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to the menu shell's item list at the position
|
209
209
|
indicated by <em class="parameter"><code>position</code></em>.
|
@@ -278,7 +278,7 @@ Selects the menu item from the menu shell.
|
|
278
278
|
<div class="refsect2">
|
279
279
|
<a name="gtk-menu-shell-select-first"></a><h3>gtk_menu_shell_select_first ()</h3>
|
280
280
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_shell_select_first (<em class="parameter"><code><a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>,
|
281
|
-
<em class="parameter"><code><a href="
|
281
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> search_sensitive</code></em>);</pre>
|
282
282
|
<p>
|
283
283
|
Select the first visible or selectable child of the menu shell;
|
284
284
|
don't select tearoff items unless the only item is a tearoff
|
@@ -297,10 +297,10 @@ item.
|
|
297
297
|
</tr>
|
298
298
|
<tr>
|
299
299
|
<td><p><span class="term"><em class="parameter"><code>search_sensitive</code></em> :</span></p></td>
|
300
|
-
<td>if <a href="
|
300
|
+
<td>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, search for the first selectable
|
301
301
|
menu item, otherwise select nothing if
|
302
302
|
the first item isn't sensitive. This
|
303
|
-
should be <a href="
|
303
|
+
should be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the menu is being
|
304
304
|
popped up initially.</td>
|
305
305
|
</tr>
|
306
306
|
</tbody>
|
@@ -330,7 +330,7 @@ Deselects the currently selected item from the menu shell, if any.
|
|
330
330
|
<a name="gtk-menu-shell-activate-item"></a><h3>gtk_menu_shell_activate_item ()</h3>
|
331
331
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_shell_activate_item (<em class="parameter"><code><a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>,
|
332
332
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *menu_item</code></em>,
|
333
|
-
<em class="parameter"><code><a href="
|
333
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> force_deactivate</code></em>);</pre>
|
334
334
|
<p>
|
335
335
|
Activates the menu item within the menu shell.
|
336
336
|
</p>
|
@@ -380,14 +380,14 @@ Cancels the selection within the menu shell.
|
|
380
380
|
<div class="refsect2">
|
381
381
|
<a name="gtk-menu-shell-set-take-focus"></a><h3>gtk_menu_shell_set_take_focus ()</h3>
|
382
382
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_shell_set_take_focus (<em class="parameter"><code><a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>,
|
383
|
-
<em class="parameter"><code><a href="
|
383
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> take_focus</code></em>);</pre>
|
384
384
|
<p>
|
385
|
-
If <em class="parameter"><code>take_focus</code></em> is <a href="
|
385
|
+
If <em class="parameter"><code>take_focus</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> (the default) the menu shell will take the keyboard
|
386
386
|
focus so that it will receive all keyboard events which is needed to enable
|
387
387
|
keyboard navigation in menus.
|
388
388
|
</p>
|
389
389
|
<p>
|
390
|
-
Setting <em class="parameter"><code>take_focus</code></em> to <a href="
|
390
|
+
Setting <em class="parameter"><code>take_focus</code></em> to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is useful only for special applications
|
391
391
|
like virtual keyboard implementations which should not take keyboard
|
392
392
|
focus.
|
393
393
|
</p>
|
@@ -399,7 +399,7 @@ programmatically picking a submenu and popping it up manually, the
|
|
399
399
|
<em class="parameter"><code>take_focus</code></em> property of the submenu needs to be set explicitely.
|
400
400
|
</p>
|
401
401
|
<p>
|
402
|
-
Note that setting it to <a href="
|
402
|
+
Note that setting it to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> has side-effects:
|
403
403
|
</p>
|
404
404
|
<p>
|
405
405
|
If the focus is in some other app, it keeps the focus and keynav in
|
@@ -407,7 +407,7 @@ the menu doesn't work. Consequently, keynav on the menu will only
|
|
407
407
|
work if the focus is on some toplevel owned by the onscreen keyboard.
|
408
408
|
</p>
|
409
409
|
<p>
|
410
|
-
To avoid confusing the user, menus with <em class="parameter"><code>take_focus</code></em> set to <a href="
|
410
|
+
To avoid confusing the user, menus with <em class="parameter"><code>take_focus</code></em> set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
411
411
|
should not display mnemonics or accelerators, since it cannot be
|
412
412
|
guaranteed that they will work.
|
413
413
|
</p>
|
@@ -428,7 +428,7 @@ See also <a href="../gdk2/gdk2-General.html#gdk-keyboard-grab"><code class="func
|
|
428
428
|
<tr>
|
429
429
|
<td><p><span class="term"><em class="parameter"><code>take_focus</code></em> :</span></p></td>
|
430
430
|
<td>
|
431
|
-
<a href="
|
431
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the menu shell should take the keyboard focus on popup.</td>
|
432
432
|
</tr>
|
433
433
|
</tbody>
|
434
434
|
</table></div>
|
@@ -437,9 +437,9 @@ See also <a href="../gdk2/gdk2-General.html#gdk-keyboard-grab"><code class="func
|
|
437
437
|
<hr>
|
438
438
|
<div class="refsect2">
|
439
439
|
<a name="gtk-menu-shell-get-take-focus"></a><h3>gtk_menu_shell_get_take_focus ()</h3>
|
440
|
-
<pre class="programlisting"><a href="
|
440
|
+
<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_shell_get_take_focus (<em class="parameter"><code><a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>);</pre>
|
441
441
|
<p>
|
442
|
-
Returns <a href="
|
442
|
+
Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the menu shell will take the keyboard focus on popup.
|
443
443
|
</p>
|
444
444
|
<div class="variablelist"><table border="0" class="variablelist">
|
445
445
|
<colgroup>
|
@@ -455,7 +455,7 @@ Returns <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/
|
|
455
455
|
<tr>
|
456
456
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
457
457
|
<td>
|
458
|
-
<a href="
|
458
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the menu shell will take the keyboard focus on popup.</td>
|
459
459
|
</tr>
|
460
460
|
</tbody>
|
461
461
|
</table></div>
|
@@ -508,7 +508,7 @@ An enumeration representing directional movements within a menu.
|
|
508
508
|
<a name="GtkMenuShell.property-details"></a><h2>Property Details</h2>
|
509
509
|
<div class="refsect2">
|
510
510
|
<a name="GtkMenuShell--take-focus"></a><h3>The <code class="literal">"take-focus"</code> property</h3>
|
511
|
-
<pre class="programlisting"> "take-focus" <a href="
|
511
|
+
<pre class="programlisting"> "take-focus" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
512
512
|
<p>
|
513
513
|
A boolean that determines whether the menu and its submenus grab the
|
514
514
|
keyboard focus. See <a class="link" href="GtkMenuShell.html#gtk-menu-shell-set-take-focus" title="gtk_menu_shell_set_take_focus ()"><code class="function">gtk_menu_shell_set_take_focus()</code></a> and
|
@@ -523,8 +523,8 @@ keyboard focus. See <a class="link" href="GtkMenuShell.html#gtk-menu-shell-set-t
|
|
523
523
|
<div class="refsect2">
|
524
524
|
<a name="GtkMenuShell-activate-current"></a><h3>The <code class="literal">"activate-current"</code> signal</h3>
|
525
525
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menushell,
|
526
|
-
<a href="
|
527
|
-
<a href="
|
526
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> arg1,
|
527
|
+
<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>
|
528
528
|
<p>
|
529
529
|
An action signal that activates the current menu item within the menu
|
530
530
|
shell.
|
@@ -554,7 +554,7 @@ shell.
|
|
554
554
|
<div class="refsect2">
|
555
555
|
<a name="GtkMenuShell-cancel"></a><h3>The <code class="literal">"cancel"</code> signal</h3>
|
556
556
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menushell,
|
557
|
-
<a href="
|
557
|
+
<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>
|
558
558
|
<p>
|
559
559
|
An action signal which cancels the selection within the menu shell.
|
560
560
|
Causes the GtkMenuShell::selection-done signal to be emitted.
|
@@ -581,7 +581,7 @@ Causes the GtkMenuShell::selection-done signal to be emitted.
|
|
581
581
|
<a name="GtkMenuShell-cycle-focus"></a><h3>The <code class="literal">"cycle-focus"</code> signal</h3>
|
582
582
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menushell,
|
583
583
|
<a class="link" href="gtk2-Standard-Enumerations.html#GtkDirectionType" title="enum GtkDirectionType"><span class="type">GtkDirectionType</span></a> arg1,
|
584
|
-
<a href="
|
584
|
+
<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>
|
585
585
|
<p>
|
586
586
|
</p>
|
587
587
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -605,7 +605,7 @@ Causes the GtkMenuShell::selection-done signal to be emitted.
|
|
605
605
|
<div class="refsect2">
|
606
606
|
<a name="GtkMenuShell-deactivate"></a><h3>The <code class="literal">"deactivate"</code> signal</h3>
|
607
607
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menushell,
|
608
|
-
<a href="
|
608
|
+
<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-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
|
609
609
|
<p>
|
610
610
|
This signal is emitted when a menu shell is deactivated.
|
611
611
|
</p>
|
@@ -631,8 +631,8 @@ This signal is emitted when a menu shell is deactivated.
|
|
631
631
|
<a name="GtkMenuShell-insert"></a><h3>The <code class="literal">"insert"</code> signal</h3>
|
632
632
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell,
|
633
633
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child,
|
634
|
-
<a href="
|
635
|
-
<a href="
|
634
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position,
|
635
|
+
<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-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
|
636
636
|
<p>
|
637
637
|
The ::insert signal is emitted when a new <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> is added to
|
638
638
|
a <a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a>. A separate signal is used instead of
|
@@ -673,7 +673,7 @@ The inverse of this signal is the GtkContainer::remove signal.
|
|
673
673
|
<a name="GtkMenuShell-move-current"></a><h3>The <code class="literal">"move-current"</code> signal</h3>
|
674
674
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menushell,
|
675
675
|
<a class="link" href="GtkMenuShell.html#GtkMenuDirectionType" title="enum GtkMenuDirectionType"><span class="type">GtkMenuDirectionType</span></a> arg1,
|
676
|
-
<a href="
|
676
|
+
<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>
|
677
677
|
<p>
|
678
678
|
An action signal which moves the current menu item in the direction
|
679
679
|
specified by <em class="parameter"><code>direction</code></em>.
|
@@ -702,9 +702,9 @@ specified by <em class="parameter"><code>direction</code></em>.
|
|
702
702
|
<hr>
|
703
703
|
<div class="refsect2">
|
704
704
|
<a name="GtkMenuShell-move-selected"></a><h3>The <code class="literal">"move-selected"</code> signal</h3>
|
705
|
-
<pre class="programlisting"><a href="
|
706
|
-
<a href="
|
707
|
-
<a href="
|
705
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menu_shell,
|
706
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> distance,
|
707
|
+
<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-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
708
708
|
<p>
|
709
709
|
The ::move-selected signal is emitted to move the selection to
|
710
710
|
another item.
|
@@ -730,7 +730,7 @@ another item.
|
|
730
730
|
<tr>
|
731
731
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
732
732
|
<td>
|
733
|
-
<a href="
|
733
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop the signal emission, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to continue</td>
|
734
734
|
</tr>
|
735
735
|
</tbody>
|
736
736
|
</table></div>
|
@@ -740,7 +740,7 @@ another item.
|
|
740
740
|
<div class="refsect2">
|
741
741
|
<a name="GtkMenuShell-selection-done"></a><h3>The <code class="literal">"selection-done"</code> signal</h3>
|
742
742
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> *menushell,
|
743
|
-
<a href="
|
743
|
+
<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-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
|
744
744
|
<p>
|
745
745
|
This signal is emitted when a selection has been completed within a menu
|
746
746
|
shell.
|