gtk2 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gtk2/rbgdkproperty.c +4 -4
- data/ext/gtk2/rbgtk.c +17 -0
- data/ext/gtk2/rbgtkdialog.c +26 -7
- data/ext/gtk2/rbgtkselectiondata.c +4 -5
- data/lib/2.0/gtk2.so +0 -0
- data/test/test_gdk_pixbuf.rb +34 -0
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.la +1 -1
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.la +1 -1
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgailutil.la +1 -1
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.la +1 -1
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.la +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +46 -46
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplay.html +93 -93
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplayManager.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk2/GdkScreen.html +159 -159
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Application-launching.html +13 -13
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Bitmaps-and-Pixmaps.html +53 -53
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Colormaps-and-Colors.html +85 -85
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Cursors.html +17 -17
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drag-and-Drop.html +45 -45
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drawing-Primitives.html +200 -200
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Event-Structures.html +102 -102
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Events.html +61 -61
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Fonts.html +117 -117
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-GdkRGB.html +110 -110
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-General.html +75 -75
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Graphics-Contexts.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Images.html +52 -52
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input-Devices.html +55 -55
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input.html +23 -23
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Keyboard-Handling.html +99 -99
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pango-Interaction.html +32 -32
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pixbufs.html +20 -20
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Points-Rectangles-and-Regions.html +46 -46
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Properties-and-Atoms.html +125 -125
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Selections.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Testing.html +16 -16
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Threads.html +88 -88
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Visuals.html +56 -56
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Windows.html +395 -395
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-X-Window-System-Interaction.html +72 -72
- data/vendor/local/share/gtk-doc/html/gdk2/multihead.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAboutDialog.html +136 -136
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccelLabel.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccessible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAction.html +133 -133
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActionGroup.html +110 -110
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActivatable.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAdjustment.html +78 -78
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAlignment.html +54 -54
- data/vendor/local/share/gtk-doc/html/gtk2/GtkArrow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAspectFrame.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAssistant.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBin.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBox.html +67 -67
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuildable.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuilder.html +127 -127
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButton.html +73 -73
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButtonBox.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCList.html +294 -294
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCTree.html +212 -212
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCalendar.html +97 -97
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellEditable.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellLayout.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRenderer.html +100 -100
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererAccel.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererCombo.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererPixbuf.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererProgress.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpin.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpinner.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererText.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererToggle.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellView.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCheckButton.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorButton.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelection.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelectionDialog.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCombo.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBox.html +106 -106
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxEntry.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxText.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkContainer.html +92 -92
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCurve.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDialog.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDrawingArea.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEditable.html +60 -60
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntry.html +274 -274
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryBuffer.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryCompletion.html +103 -103
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEventBox.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkExpander.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooser.html +217 -217
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserButton.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserDialog.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserWidget.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileSelection.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFixed.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontButton.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelection.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelectionDialog.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFrame.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkGammaCurve.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHBox.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHButtonBox.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSV.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScale.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScrollbar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHandleBox.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContext.html +65 -65
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContextSimple.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMMulticontext.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconTheme.html +99 -99
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconView.html +214 -214
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImage.html +73 -73
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImageMenuItem.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInfoBar.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInputDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInvisible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItem.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItemFactory.html +107 -107
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLabel.html +158 -158
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLayout.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLinkButton.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkList.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListItem.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListStore.html +64 -64
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenu.html +107 -107
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuBar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuItem.html +66 -66
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuShell.html +45 -45
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuToolButton.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMessageDialog.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMisc.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkNotebook.html +225 -225
- data/vendor/local/share/gtk-doc/html/gtk2/GtkObject.html +117 -117
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOffscreenWindow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOldEditable.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOptionMenu.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetup.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetupUnixDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaned.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaperSize.html +68 -68
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPixmap.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPlug.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPreview.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintContext.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintJob.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintSettings.html +210 -210
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintUnixDialog.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrinter.html +96 -96
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgress.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgressBar.html +49 -49
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioAction.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioButton.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioMenuItem.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioToolButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRange.html +110 -110
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentAction.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooser.html +114 -114
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserDialog.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserMenu.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserWidget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentFilter.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentManager.html +147 -147
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRuler.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScale.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScaleButton.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrollbar.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrolledWindow.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorToolItem.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSettings.html +213 -213
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSizeGroup.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSocket.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinButton.html +93 -93
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinner.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusIcon.html +164 -164
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusbar.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStyle.html +467 -467
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTable.html +93 -93
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTearoffMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkText.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextBuffer.html +233 -233
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextIter.html +309 -309
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextMark.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTag.html +134 -134
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTagTable.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextView.html +237 -237
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTipsQuery.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleAction.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleButton.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleToolButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolButton.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItem.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItemGroup.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolPalette.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolShell.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolbar.html +127 -127
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltip.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltips.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTree.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeItem.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModel.html +156 -156
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelFilter.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelSort.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSelection.html +43 -43
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSortable.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeStore.html +74 -74
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeView.html +478 -478
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeViewColumn.html +175 -175
- data/vendor/local/share/gtk-doc/html/gtk2/GtkUIManager.html +64 -64
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVBox.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVButtonBox.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScale.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScrollbar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkViewport.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVolumeButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWidget.html +769 -769
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindow.html +310 -310
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindowGroup.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/TextWidget.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/TreeWidget.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/ch01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/chap-drawing-model.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-changes-2-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAboutDialog.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkColorButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkComboBox.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkIconView.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkLinkButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkRecentChooser.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-checklist.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-entry-icons.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-tooltips.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-question-index.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Accelerator-Maps.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Bindings.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Clipboards.html +115 -115
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Drag-and-Drop.html +80 -80
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Feature-Test-Macros.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Filesystem-utilities.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-General.html +173 -173
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Graphics-Contexts.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-GtkTreeView-drag-and-drop.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-High-level-Printing-API.html +168 -168
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Keyboard-Accelerators.html +100 -100
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Orientable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Resource-Files.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Selections.html +149 -149
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Signals.html +95 -95
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Stock-Items.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Testing.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Themeable-Stock-Images.html +69 -69
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Types.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkcheckmenuitem.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkfilefilter.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-selection-modes.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-advanced.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-chooser.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/migrating-GtkCombo.html +4 -4
- metadata +16 -17
- data/lib/1.9/gtk2.so +0 -0
- data/lib/2.1/gtk2.so +0 -0
@@ -49,88 +49,88 @@
|
|
49
49
|
#include <gtk/gtk.h>
|
50
50
|
|
51
51
|
struct <a class="link" href="GtkLabel.html#GtkLabel-struct" title="struct GtkLabel">GtkLabel</a>;
|
52
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkLabel.html#gtk-label-new" title="gtk_label_new ()">gtk_label_new</a> (<em class="parameter"><code>const <a href="
|
52
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkLabel.html#gtk-label-new" title="gtk_label_new ()">gtk_label_new</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> *str</code></em>);
|
53
53
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-text" title="gtk_label_set_text ()">gtk_label_set_text</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
54
|
-
<em class="parameter"><code>const <a href="
|
54
|
+
<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> *str</code></em>);
|
55
55
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-attributes" title="gtk_label_set_attributes ()">gtk_label_set_attributes</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
56
56
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *attrs</code></em>);
|
57
57
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-markup" title="gtk_label_set_markup ()">gtk_label_set_markup</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
58
|
-
<em class="parameter"><code>const <a href="
|
58
|
+
<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> *str</code></em>);
|
59
59
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-markup-with-mnemonic" title="gtk_label_set_markup_with_mnemonic ()">gtk_label_set_markup_with_mnemonic</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
60
|
-
<em class="parameter"><code>const <a href="
|
60
|
+
<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> *str</code></em>);
|
61
61
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-pattern" title="gtk_label_set_pattern ()">gtk_label_set_pattern</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
62
|
-
<em class="parameter"><code>const <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> *pattern</code></em>);
|
63
63
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-justify" title="gtk_label_set_justify ()">gtk_label_set_justify</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
64
64
|
<em class="parameter"><code><a class="link" href="gtk2-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="type">GtkJustification</span></a> jtype</code></em>);
|
65
65
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-ellipsize" title="gtk_label_set_ellipsize ()">gtk_label_set_ellipsize</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
66
66
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> mode</code></em>);
|
67
67
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-width-chars" title="gtk_label_set_width_chars ()">gtk_label_set_width_chars</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
68
|
-
<em class="parameter"><code><a href="
|
68
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);
|
69
69
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-max-width-chars" title="gtk_label_set_max_width_chars ()">gtk_label_set_max_width_chars</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
70
|
-
<em class="parameter"><code><a href="
|
70
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);
|
71
71
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-get" title="gtk_label_get ()">gtk_label_get</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
72
|
-
<em class="parameter"><code><a href="
|
73
|
-
<a href="
|
74
|
-
<em class="parameter"><code>const <a href="
|
72
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **str</code></em>);
|
73
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GtkLabel.html#gtk-label-parse-uline" title="gtk_label_parse_uline ()">gtk_label_parse_uline</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
74
|
+
<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> *string</code></em>);
|
75
75
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-line-wrap" title="gtk_label_set_line_wrap ()">gtk_label_set_line_wrap</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
76
|
-
<em class="parameter"><code><a href="
|
76
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> wrap</code></em>);
|
77
77
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-line-wrap-mode" title="gtk_label_set_line_wrap_mode ()">gtk_label_set_line_wrap_mode</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
78
78
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoWrapMode"><span class="type">PangoWrapMode</span></a> wrap_mode</code></em>);
|
79
79
|
#define <a class="link" href="GtkLabel.html#gtk-label-set" title="gtk_label_set">gtk_label_set</a>
|
80
80
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-get-layout-offsets" title="gtk_label_get_layout_offsets ()">gtk_label_get_layout_offsets</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
81
|
-
<em class="parameter"><code><a href="
|
82
|
-
<em class="parameter"><code><a href="
|
83
|
-
<a href="
|
84
|
-
<a href="
|
85
|
-
const <a href="
|
86
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkLabel.html#gtk-label-new-with-mnemonic" title="gtk_label_new_with_mnemonic ()">gtk_label_new_with_mnemonic</a> (<em class="parameter"><code>const <a href="
|
81
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
|
82
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>);
|
83
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GtkLabel.html#gtk-label-get-mnemonic-keyval" title="gtk_label_get_mnemonic_keyval ()">gtk_label_get_mnemonic_keyval</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
84
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkLabel.html#gtk-label-get-selectable" title="gtk_label_get_selectable ()">gtk_label_get_selectable</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
85
|
+
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="GtkLabel.html#gtk-label-get-text" title="gtk_label_get_text ()">gtk_label_get_text</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
86
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkLabel.html#gtk-label-new-with-mnemonic" title="gtk_label_new_with_mnemonic ()">gtk_label_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> *str</code></em>);
|
87
87
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-select-region" title="gtk_label_select_region ()">gtk_label_select_region</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
88
|
-
<em class="parameter"><code><a href="
|
89
|
-
<em class="parameter"><code><a href="
|
88
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> start_offset</code></em>,
|
89
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> end_offset</code></em>);
|
90
90
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-mnemonic-widget" title="gtk_label_set_mnemonic_widget ()">gtk_label_set_mnemonic_widget</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
91
91
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
92
92
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-selectable" title="gtk_label_set_selectable ()">gtk_label_set_selectable</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
93
|
-
<em class="parameter"><code><a href="
|
93
|
+
<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>);
|
94
94
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-text-with-mnemonic" title="gtk_label_set_text_with_mnemonic ()">gtk_label_set_text_with_mnemonic</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
95
|
-
<em class="parameter"><code>const <a href="
|
95
|
+
<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> *str</code></em>);
|
96
96
|
<a href="/usr/share/gtk-doc/html/pango/pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="GtkLabel.html#gtk-label-get-attributes" title="gtk_label_get_attributes ()">gtk_label_get_attributes</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
97
97
|
<a class="link" href="gtk2-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="returnvalue">GtkJustification</span></a> <a class="link" href="GtkLabel.html#gtk-label-get-justify" title="gtk_label_get_justify ()">gtk_label_get_justify</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
98
98
|
<a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a> <a class="link" href="GtkLabel.html#gtk-label-get-ellipsize" title="gtk_label_get_ellipsize ()">gtk_label_get_ellipsize</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
99
|
-
<a href="
|
100
|
-
<a href="
|
101
|
-
const <a href="
|
99
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkLabel.html#gtk-label-get-width-chars" title="gtk_label_get_width_chars ()">gtk_label_get_width_chars</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
100
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkLabel.html#gtk-label-get-max-width-chars" title="gtk_label_get_max_width_chars ()">gtk_label_get_max_width_chars</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
101
|
+
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="GtkLabel.html#gtk-label-get-label" title="gtk_label_get_label ()">gtk_label_get_label</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
102
102
|
<a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> * <a class="link" href="GtkLabel.html#gtk-label-get-layout" title="gtk_label_get_layout ()">gtk_label_get_layout</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
103
|
-
<a href="
|
103
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkLabel.html#gtk-label-get-line-wrap" title="gtk_label_get_line_wrap ()">gtk_label_get_line_wrap</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
104
104
|
<a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoWrapMode"><span class="returnvalue">PangoWrapMode</span></a> <a class="link" href="GtkLabel.html#gtk-label-get-line-wrap-mode" title="gtk_label_get_line_wrap_mode ()">gtk_label_get_line_wrap_mode</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
105
105
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkLabel.html#gtk-label-get-mnemonic-widget" title="gtk_label_get_mnemonic_widget ()">gtk_label_get_mnemonic_widget</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
106
|
-
<a href="
|
107
|
-
<em class="parameter"><code><a href="
|
108
|
-
<em class="parameter"><code><a href="
|
109
|
-
<a href="
|
110
|
-
<a href="
|
111
|
-
<a href="
|
112
|
-
<a href="
|
106
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkLabel.html#gtk-label-get-selection-bounds" title="gtk_label_get_selection_bounds ()">gtk_label_get_selection_bounds</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
107
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *start</code></em>,
|
108
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *end</code></em>);
|
109
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkLabel.html#gtk-label-get-use-markup" title="gtk_label_get_use_markup ()">gtk_label_get_use_markup</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
110
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkLabel.html#gtk-label-get-use-underline" title="gtk_label_get_use_underline ()">gtk_label_get_use_underline</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
111
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkLabel.html#gtk-label-get-single-line-mode" title="gtk_label_get_single_line_mode ()">gtk_label_get_single_line_mode</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
112
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkLabel.html#gtk-label-get-angle" title="gtk_label_get_angle ()">gtk_label_get_angle</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
113
113
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-label" title="gtk_label_set_label ()">gtk_label_set_label</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
114
|
-
<em class="parameter"><code>const <a href="
|
114
|
+
<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> *str</code></em>);
|
115
115
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-use-markup" title="gtk_label_set_use_markup ()">gtk_label_set_use_markup</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
116
|
-
<em class="parameter"><code><a href="
|
116
|
+
<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>);
|
117
117
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-use-underline" title="gtk_label_set_use_underline ()">gtk_label_set_use_underline</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
118
|
-
<em class="parameter"><code><a href="
|
118
|
+
<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>);
|
119
119
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-single-line-mode" title="gtk_label_set_single_line_mode ()">gtk_label_set_single_line_mode</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
120
|
-
<em class="parameter"><code><a href="
|
120
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> single_line_mode</code></em>);
|
121
121
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-angle" title="gtk_label_set_angle ()">gtk_label_set_angle</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
122
|
-
<em class="parameter"><code><a href="
|
123
|
-
const <a href="
|
122
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> angle</code></em>);
|
123
|
+
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="GtkLabel.html#gtk-label-get-current-uri" title="gtk_label_get_current_uri ()">gtk_label_get_current_uri</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
124
124
|
<span class="returnvalue">void</span> <a class="link" href="GtkLabel.html#gtk-label-set-track-visited-links" title="gtk_label_set_track_visited_links ()">gtk_label_set_track_visited_links</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
125
|
-
<em class="parameter"><code><a href="
|
126
|
-
<a href="
|
125
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> track_links</code></em>);
|
126
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkLabel.html#gtk-label-get-track-visited-links" title="gtk_label_get_track_visited_links ()">gtk_label_get_track_visited_links</a> (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);
|
127
127
|
</pre>
|
128
128
|
</div>
|
129
129
|
<div class="refsect1">
|
130
130
|
<a name="GtkLabel.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
131
131
|
<pre class="synopsis">
|
132
|
-
<a href="
|
133
|
-
+----<a href="
|
132
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
133
|
+
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
134
134
|
+----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
|
135
135
|
+----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
136
136
|
+----<a class="link" href="GtkMisc.html" title="GtkMisc">GtkMisc</a>
|
@@ -148,35 +148,35 @@ GtkLabel implements
|
|
148
148
|
<div class="refsect1">
|
149
149
|
<a name="GtkLabel.properties"></a><h2>Properties</h2>
|
150
150
|
<pre class="synopsis">
|
151
|
-
"<a class="link" href="GtkLabel.html#GtkLabel--angle" title='The "angle" property'>angle</a>" <a href="
|
151
|
+
"<a class="link" href="GtkLabel.html#GtkLabel--angle" title='The "angle" property'>angle</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write
|
152
152
|
"<a class="link" href="GtkLabel.html#GtkLabel--attributes" title='The "attributes" property'>attributes</a>" <a href="/usr/share/gtk-doc/html/pango/pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>* : Read / Write
|
153
|
-
"<a class="link" href="GtkLabel.html#GtkLabel--cursor-position" title='The "cursor-position" property'>cursor-position</a>" <a href="
|
153
|
+
"<a class="link" href="GtkLabel.html#GtkLabel--cursor-position" title='The "cursor-position" property'>cursor-position</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
|
154
154
|
"<a class="link" href="GtkLabel.html#GtkLabel--ellipsize" title='The "ellipsize" property'>ellipsize</a>" <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> : Read / Write
|
155
155
|
"<a class="link" href="GtkLabel.html#GtkLabel--justify" title='The "justify" property'>justify</a>" <a class="link" href="gtk2-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="type">GtkJustification</span></a> : Read / Write
|
156
|
-
"<a class="link" href="GtkLabel.html#GtkLabel--label" title='The "label" property'>label</a>" <a href="
|
157
|
-
"<a class="link" href="GtkLabel.html#GtkLabel--max-width-chars" title='The "max-width-chars" property'>max-width-chars</a>" <a href="
|
158
|
-
"<a class="link" href="GtkLabel.html#GtkLabel--mnemonic-keyval" title='The "mnemonic-keyval" property'>mnemonic-keyval</a>" <a href="
|
156
|
+
"<a class="link" href="GtkLabel.html#GtkLabel--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
|
157
|
+
"<a class="link" href="GtkLabel.html#GtkLabel--max-width-chars" title='The "max-width-chars" property'>max-width-chars</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
|
158
|
+
"<a class="link" href="GtkLabel.html#GtkLabel--mnemonic-keyval" title='The "mnemonic-keyval" property'>mnemonic-keyval</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read
|
159
159
|
"<a class="link" href="GtkLabel.html#GtkLabel--mnemonic-widget" title='The "mnemonic-widget" property'>mnemonic-widget</a>" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read / Write
|
160
|
-
"<a class="link" href="GtkLabel.html#GtkLabel--pattern" title='The "pattern" property'>pattern</a>" <a href="
|
161
|
-
"<a class="link" href="GtkLabel.html#GtkLabel--selectable" title='The "selectable" property'>selectable</a>" <a href="
|
162
|
-
"<a class="link" href="GtkLabel.html#GtkLabel--selection-bound" title='The "selection-bound" property'>selection-bound</a>" <a href="
|
163
|
-
"<a class="link" href="GtkLabel.html#GtkLabel--single-line-mode" title='The "single-line-mode" property'>single-line-mode</a>" <a href="
|
164
|
-
"<a class="link" href="GtkLabel.html#GtkLabel--track-visited-links" title='The "track-visited-links" property'>track-visited-links</a>" <a href="
|
165
|
-
"<a class="link" href="GtkLabel.html#GtkLabel--use-markup" title='The "use-markup" property'>use-markup</a>" <a href="
|
166
|
-
"<a class="link" href="GtkLabel.html#GtkLabel--use-underline" title='The "use-underline" property'>use-underline</a>" <a href="
|
167
|
-
"<a class="link" href="GtkLabel.html#GtkLabel--width-chars" title='The "width-chars" property'>width-chars</a>" <a href="
|
168
|
-
"<a class="link" href="GtkLabel.html#GtkLabel--wrap" title='The "wrap" property'>wrap</a>" <a href="
|
160
|
+
"<a class="link" href="GtkLabel.html#GtkLabel--pattern" title='The "pattern" property'>pattern</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write
|
161
|
+
"<a class="link" href="GtkLabel.html#GtkLabel--selectable" title='The "selectable" property'>selectable</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
162
|
+
"<a class="link" href="GtkLabel.html#GtkLabel--selection-bound" title='The "selection-bound" property'>selection-bound</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
|
163
|
+
"<a class="link" href="GtkLabel.html#GtkLabel--single-line-mode" title='The "single-line-mode" property'>single-line-mode</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
164
|
+
"<a class="link" href="GtkLabel.html#GtkLabel--track-visited-links" title='The "track-visited-links" property'>track-visited-links</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
165
|
+
"<a class="link" href="GtkLabel.html#GtkLabel--use-markup" title='The "use-markup" property'>use-markup</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
166
|
+
"<a class="link" href="GtkLabel.html#GtkLabel--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
|
167
|
+
"<a class="link" href="GtkLabel.html#GtkLabel--width-chars" title='The "width-chars" 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 / Write
|
168
|
+
"<a class="link" href="GtkLabel.html#GtkLabel--wrap" title='The "wrap" property'>wrap</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
169
169
|
"<a class="link" href="GtkLabel.html#GtkLabel--wrap-mode" title='The "wrap-mode" property'>wrap-mode</a>" <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoWrapMode"><span class="type">PangoWrapMode</span></a> : Read / Write
|
170
170
|
</pre>
|
171
171
|
</div>
|
172
172
|
<div class="refsect1">
|
173
173
|
<a name="GtkLabel.signals"></a><h2>Signals</h2>
|
174
174
|
<pre class="synopsis">
|
175
|
-
"<a class="link" href="GtkLabel.html#GtkLabel-activate-current-link" title='The "activate-current-link" signal'>activate-current-link</a>" : <a href="
|
176
|
-
"<a class="link" href="GtkLabel.html#GtkLabel-activate-link" title='The "activate-link" signal'>activate-link</a>" : <a href="
|
177
|
-
"<a class="link" href="GtkLabel.html#GtkLabel-copy-clipboard" title='The "copy-clipboard" signal'>copy-clipboard</a>" : <a href="
|
178
|
-
"<a class="link" href="GtkLabel.html#GtkLabel-move-cursor" title='The "move-cursor" signal'>move-cursor</a>" : <a href="
|
179
|
-
"<a class="link" href="GtkLabel.html#GtkLabel-populate-popup" title='The "populate-popup" signal'>populate-popup</a>" : <a href="
|
175
|
+
"<a class="link" href="GtkLabel.html#GtkLabel-activate-current-link" title='The "activate-current-link" signal'>activate-current-link</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
176
|
+
"<a class="link" href="GtkLabel.html#GtkLabel-activate-link" title='The "activate-link" signal'>activate-link</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>
|
177
|
+
"<a class="link" href="GtkLabel.html#GtkLabel-copy-clipboard" title='The "copy-clipboard" signal'>copy-clipboard</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
178
|
+
"<a class="link" href="GtkLabel.html#GtkLabel-move-cursor" title='The "move-cursor" signal'>move-cursor</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
179
|
+
"<a class="link" href="GtkLabel.html#GtkLabel-populate-popup" title='The "populate-popup" signal'>populate-popup</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>
|
180
180
|
</pre>
|
181
181
|
</div>
|
182
182
|
<div class="refsect1">
|
@@ -317,7 +317,7 @@ Here's how to create a label with a small font:
|
|
317
317
|
<tr>
|
318
318
|
<td class="listing_lines" align="right"><pre>1
|
319
319
|
2</pre></td>
|
320
|
-
<td class="listing_code"><pre class="programlisting"><span class="normal">label </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLabel.html#gtk-label-new">gtk_label_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="
|
320
|
+
<td class="listing_code"><pre class="programlisting"><span class="normal">label </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLabel.html#gtk-label-new">gtk_label_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
321
321
|
<span class="function"><a href="GtkLabel.html#gtk-label-set-markup">gtk_label_set_markup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_LABEL</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"<small>Small text</small>"</span><span class="symbol">);</span></pre></td>
|
322
322
|
</tr>
|
323
323
|
</tbody>
|
@@ -333,7 +333,7 @@ The markup passed to <a class="link" href="GtkLabel.html#gtk-label-set-markup" t
|
|
333
333
|
literal </>/& characters must be escaped as &lt;,
|
334
334
|
&gt;, and &amp;. If you pass text obtained from the user, file,
|
335
335
|
or a network to <a class="link" href="GtkLabel.html#gtk-label-set-markup" title="gtk_label_set_markup ()"><code class="function">gtk_label_set_markup()</code></a>, you'll want to escape it with
|
336
|
-
<a href="
|
336
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Simple-XML-Subset-Parser.html#g-markup-escape-text"><code class="function">g_markup_escape_text()</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Simple-XML-Subset-Parser.html#g-markup-printf-escaped"><code class="function">g_markup_printf_escaped()</code></a>.
|
337
337
|
</p>
|
338
338
|
<p>
|
339
339
|
Markup strings are just a convenient way to set the <a href="/usr/share/gtk-doc/html/pango/pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> on
|
@@ -415,10 +415,10 @@ described below.
|
|
415
415
|
<hr>
|
416
416
|
<div class="refsect2">
|
417
417
|
<a name="gtk-label-new"></a><h3>gtk_label_new ()</h3>
|
418
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_label_new (<em class="parameter"><code>const <a href="
|
418
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_label_new (<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> *str</code></em>);</pre>
|
419
419
|
<p>
|
420
420
|
Creates a new label with the given text inside it. You can
|
421
|
-
pass <a href="
|
421
|
+
pass <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to get an empty label widget.
|
422
422
|
</p>
|
423
423
|
<div class="variablelist"><table border="0" class="variablelist">
|
424
424
|
<colgroup>
|
@@ -442,7 +442,7 @@ pass <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk
|
|
442
442
|
<div class="refsect2">
|
443
443
|
<a name="gtk-label-set-text"></a><h3>gtk_label_set_text ()</h3>
|
444
444
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_set_text (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
445
|
-
<em class="parameter"><code>const <a href="
|
445
|
+
<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> *str</code></em>);</pre>
|
446
446
|
<p>
|
447
447
|
Sets the text within the <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> widget. It overwrites any text that
|
448
448
|
was there before.
|
@@ -513,12 +513,12 @@ to the label after the markup string is parsed.</p>
|
|
513
513
|
<div class="refsect2">
|
514
514
|
<a name="gtk-label-set-markup"></a><h3>gtk_label_set_markup ()</h3>
|
515
515
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_set_markup (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
516
|
-
<em class="parameter"><code>const <a href="
|
516
|
+
<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> *str</code></em>);</pre>
|
517
517
|
<p>
|
518
518
|
Parses <em class="parameter"><code>str</code></em> which is marked up with the <a href="/usr/share/gtk-doc/html/pango/PangoMarkupFormat.html">Pango text markup language</a>, setting the
|
519
519
|
label's text and attribute list based on the parse results. If the <em class="parameter"><code>str</code></em> is
|
520
|
-
external data, you may need to escape it with <a href="
|
521
|
-
<a href="
|
520
|
+
external data, you may need to escape it with <a href="http://library.gnome.org/devel/glib/unstable/glib-Simple-XML-Subset-Parser.html#g-markup-escape-text"><code class="function">g_markup_escape_text()</code></a> or
|
521
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Simple-XML-Subset-Parser.html#g-markup-printf-escaped"><code class="function">g_markup_printf_escaped()</code></a>:
|
522
522
|
</p>
|
523
523
|
<div class="informalexample">
|
524
524
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -531,9 +531,9 @@ external data, you may need to escape it with <a href="/home/kou/work/ruby/ruby-
|
|
531
531
|
5</pre></td>
|
532
532
|
<td class="listing_code"><pre class="programlisting"><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">markup</span><span class="symbol">;</span>
|
533
533
|
<span class="normal"> </span>
|
534
|
-
<span class="normal">markup </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="
|
534
|
+
<span class="normal">markup </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Simple-XML-Subset-Parser.html#g-markup-printf-escaped">g_markup_printf_escaped</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"<span style=</span><span class="specialchar">\"</span><span class="string">italic</span><span class="specialchar">\"</span><span class="string">>%s</span>"</span><span class="symbol">,</span><span class="normal"> str</span><span class="symbol">);</span>
|
535
535
|
<span class="function"><a href="GtkLabel.html#gtk-label-set-markup">gtk_label_set_markup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_LABEL</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">),</span><span class="normal"> markup</span><span class="symbol">);</span>
|
536
|
-
<span class="function"><a href="
|
536
|
+
<span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">markup</span><span class="symbol">);</span></pre></td>
|
537
537
|
</tr>
|
538
538
|
</tbody>
|
539
539
|
</table>
|
@@ -563,7 +563,7 @@ external data, you may need to escape it with <a href="/home/kou/work/ruby/ruby-
|
|
563
563
|
<div class="refsect2">
|
564
564
|
<a name="gtk-label-set-markup-with-mnemonic"></a><h3>gtk_label_set_markup_with_mnemonic ()</h3>
|
565
565
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_set_markup_with_mnemonic (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
566
|
-
<em class="parameter"><code>const <a href="
|
566
|
+
<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> *str</code></em>);</pre>
|
567
567
|
<p>
|
568
568
|
Parses <em class="parameter"><code>str</code></em> which is marked up with the <a href="/usr/share/gtk-doc/html/pango/PangoMarkupFormat.html">Pango text markup language</a>,
|
569
569
|
setting the label's text and attribute list based on the parse results.
|
@@ -596,7 +596,7 @@ automatically, or explicitly using <a class="link" href="GtkLabel.html#gtk-label
|
|
596
596
|
<div class="refsect2">
|
597
597
|
<a name="gtk-label-set-pattern"></a><h3>gtk_label_set_pattern ()</h3>
|
598
598
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_set_pattern (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
599
|
-
<em class="parameter"><code>const <a href="
|
599
|
+
<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> *pattern</code></em>);</pre>
|
600
600
|
<p>
|
601
601
|
The pattern of underlines you want under the existing text within the
|
602
602
|
<a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> widget. For example if the current text of the label says
|
@@ -685,7 +685,7 @@ if there is not enough space to render the entire string.
|
|
685
685
|
<div class="refsect2">
|
686
686
|
<a name="gtk-label-set-width-chars"></a><h3>gtk_label_set_width_chars ()</h3>
|
687
687
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_set_width_chars (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
688
|
-
<em class="parameter"><code><a href="
|
688
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);</pre>
|
689
689
|
<p>
|
690
690
|
Sets the desired width in characters of <em class="parameter"><code>label</code></em> to <em class="parameter"><code>n_chars</code></em>.
|
691
691
|
</p>
|
@@ -712,7 +712,7 @@ Sets the desired width in characters of <em class="parameter"><code>label</code>
|
|
712
712
|
<div class="refsect2">
|
713
713
|
<a name="gtk-label-set-max-width-chars"></a><h3>gtk_label_set_max_width_chars ()</h3>
|
714
714
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_set_max_width_chars (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
715
|
-
<em class="parameter"><code><a href="
|
715
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);</pre>
|
716
716
|
<p>
|
717
717
|
Sets the desired maximum width in characters of <em class="parameter"><code>label</code></em> to <em class="parameter"><code>n_chars</code></em>.
|
718
718
|
</p>
|
@@ -739,7 +739,7 @@ Sets the desired maximum width in characters of <em class="parameter"><code>labe
|
|
739
739
|
<div class="refsect2">
|
740
740
|
<a name="gtk-label-get"></a><h3>gtk_label_get ()</h3>
|
741
741
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_get (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
742
|
-
<em class="parameter"><code><a href="
|
742
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **str</code></em>);</pre>
|
743
743
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
744
744
|
<h3 class="title">Warning</h3>
|
745
745
|
<p><code class="literal">gtk_label_get</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkLabel.html#gtk-label-get-text" title="gtk_label_get_text ()"><code class="function">gtk_label_get_text()</code></a> instead.</p>
|
@@ -769,8 +769,8 @@ must not write to it.
|
|
769
769
|
<hr>
|
770
770
|
<div class="refsect2">
|
771
771
|
<a name="gtk-label-parse-uline"></a><h3>gtk_label_parse_uline ()</h3>
|
772
|
-
<pre class="programlisting"><a href="
|
773
|
-
<em class="parameter"><code>const <a href="
|
772
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_label_parse_uline (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
773
|
+
<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> *string</code></em>);</pre>
|
774
774
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
775
775
|
<h3 class="title">Warning</h3>
|
776
776
|
<p><code class="literal">gtk_label_parse_uline</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkLabel.html#gtk-label-set-use-underline" title="gtk_label_set_use_underline ()"><code class="function">gtk_label_set_use_underline()</code></a> instead.</p>
|
@@ -807,14 +807,14 @@ probably only used within the GTK+ library itself for menu items and such.
|
|
807
807
|
<div class="refsect2">
|
808
808
|
<a name="gtk-label-set-line-wrap"></a><h3>gtk_label_set_line_wrap ()</h3>
|
809
809
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_set_line_wrap (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
810
|
-
<em class="parameter"><code><a href="
|
810
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> wrap</code></em>);</pre>
|
811
811
|
<p>
|
812
|
-
Toggles line wrapping within the <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> widget. <a href="
|
813
|
-
lines if text exceeds the widget's size. <a href="
|
812
|
+
Toggles line wrapping within the <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> widget. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> makes it break
|
813
|
+
lines if text exceeds the widget's size. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> lets the text get cut off
|
814
814
|
by the edge of the widget if it exceeds the widget size.
|
815
815
|
</p>
|
816
816
|
<p>
|
817
|
-
Note that setting line wrapping to <a href="
|
817
|
+
Note that setting line wrapping to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> does not make the label
|
818
818
|
wrap at its parent container's width, because GTK+ widgets
|
819
819
|
conceptually can't make their requisition depend on the parent
|
820
820
|
container's size. For a label that wraps at a specific position,
|
@@ -884,8 +884,8 @@ Sets the text within the GtkLabel widget.
|
|
884
884
|
<div class="refsect2">
|
885
885
|
<a name="gtk-label-get-layout-offsets"></a><h3>gtk_label_get_layout_offsets ()</h3>
|
886
886
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_get_layout_offsets (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
887
|
-
<em class="parameter"><code><a href="
|
888
|
-
<em class="parameter"><code><a href="
|
887
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
|
888
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>);</pre>
|
889
889
|
<p>
|
890
890
|
Obtains the coordinates where the label will draw the <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
891
891
|
representing the text in the label; useful to convert mouse events
|
@@ -909,12 +909,12 @@ and from pixels using <a href="/usr/share/gtk-doc/html/pango/pango-Glyph-Storage
|
|
909
909
|
</tr>
|
910
910
|
<tr>
|
911
911
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
912
|
-
<td>location to store X offset of layout, or <a href="
|
912
|
+
<td>location to store X offset of layout, 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="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
913
913
|
</td>
|
914
914
|
</tr>
|
915
915
|
<tr>
|
916
916
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
917
|
-
<td>location to store Y offset of layout, or <a href="
|
917
|
+
<td>location to store Y offset of layout, 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="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
918
918
|
</td>
|
919
919
|
</tr>
|
920
920
|
</tbody>
|
@@ -923,7 +923,7 @@ and from pixels using <a href="/usr/share/gtk-doc/html/pango/pango-Glyph-Storage
|
|
923
923
|
<hr>
|
924
924
|
<div class="refsect2">
|
925
925
|
<a name="gtk-label-get-mnemonic-keyval"></a><h3>gtk_label_get_mnemonic_keyval ()</h3>
|
926
|
-
<pre class="programlisting"><a href="
|
926
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_label_get_mnemonic_keyval (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
927
927
|
<p>
|
928
928
|
If the label has been set so that it has an mnemonic key this function
|
929
929
|
returns the keyval used for the mnemonic accelerator. If there is no
|
@@ -951,7 +951,7 @@ mnemonic set up it returns <span class="type">GDK_VoidSymbol</span>.
|
|
951
951
|
<hr>
|
952
952
|
<div class="refsect2">
|
953
953
|
<a name="gtk-label-get-selectable"></a><h3>gtk_label_get_selectable ()</h3>
|
954
|
-
<pre class="programlisting"><a href="
|
954
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_label_get_selectable (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
955
955
|
<p>
|
956
956
|
Gets the value set by <a class="link" href="GtkLabel.html#gtk-label-set-selectable" title="gtk_label_set_selectable ()"><code class="function">gtk_label_set_selectable()</code></a>.
|
957
957
|
</p>
|
@@ -969,7 +969,7 @@ Gets the value set by <a class="link" href="GtkLabel.html#gtk-label-set-selectab
|
|
969
969
|
<tr>
|
970
970
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
971
971
|
<td>
|
972
|
-
<a href="
|
972
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the user can copy text from the label</td>
|
973
973
|
</tr>
|
974
974
|
</tbody>
|
975
975
|
</table></div>
|
@@ -977,7 +977,7 @@ Gets the value set by <a class="link" href="GtkLabel.html#gtk-label-set-selectab
|
|
977
977
|
<hr>
|
978
978
|
<div class="refsect2">
|
979
979
|
<a name="gtk-label-get-text"></a><h3>gtk_label_get_text ()</h3>
|
980
|
-
<pre class="programlisting">const <a href="
|
980
|
+
<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_label_get_text (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
981
981
|
<p>
|
982
982
|
Fetches the text from a label widget, as displayed on the
|
983
983
|
screen. This does not include any embedded underlines
|
@@ -1005,7 +1005,7 @@ string used by the label, and must not be modified.</td>
|
|
1005
1005
|
<hr>
|
1006
1006
|
<div class="refsect2">
|
1007
1007
|
<a name="gtk-label-new-with-mnemonic"></a><h3>gtk_label_new_with_mnemonic ()</h3>
|
1008
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_label_new_with_mnemonic (<em class="parameter"><code>const <a href="
|
1008
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_label_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> *str</code></em>);</pre>
|
1009
1009
|
<p>
|
1010
1010
|
Creates a new <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>, containing the text in <em class="parameter"><code>str</code></em>.
|
1011
1011
|
</p>
|
@@ -1047,8 +1047,8 @@ mnemonic character</td>
|
|
1047
1047
|
<div class="refsect2">
|
1048
1048
|
<a name="gtk-label-select-region"></a><h3>gtk_label_select_region ()</h3>
|
1049
1049
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_select_region (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
1050
|
-
<em class="parameter"><code><a href="
|
1051
|
-
<em class="parameter"><code><a href="
|
1050
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> start_offset</code></em>,
|
1051
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> end_offset</code></em>);</pre>
|
1052
1052
|
<p>
|
1053
1053
|
Selects a range of characters in the label, if the label is selectable.
|
1054
1054
|
See <a class="link" href="GtkLabel.html#gtk-label-set-selectable" title="gtk_label_set_selectable ()"><code class="function">gtk_label_set_selectable()</code></a>. If the label is not selectable,
|
@@ -1122,7 +1122,7 @@ and toggle focus between the colliding widgets otherwise.
|
|
1122
1122
|
<div class="refsect2">
|
1123
1123
|
<a name="gtk-label-set-selectable"></a><h3>gtk_label_set_selectable ()</h3>
|
1124
1124
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_set_selectable (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
1125
|
-
<em class="parameter"><code><a href="
|
1125
|
+
<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>
|
1126
1126
|
<p>
|
1127
1127
|
Selectable labels allow the user to select text from the label, for
|
1128
1128
|
copy-and-paste.
|
@@ -1141,7 +1141,7 @@ copy-and-paste.
|
|
1141
1141
|
<tr>
|
1142
1142
|
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
|
1143
1143
|
<td>
|
1144
|
-
<a href="
|
1144
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to allow selecting text in the label</td>
|
1145
1145
|
</tr>
|
1146
1146
|
</tbody>
|
1147
1147
|
</table></div>
|
@@ -1150,7 +1150,7 @@ copy-and-paste.
|
|
1150
1150
|
<div class="refsect2">
|
1151
1151
|
<a name="gtk-label-set-text-with-mnemonic"></a><h3>gtk_label_set_text_with_mnemonic ()</h3>
|
1152
1152
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_set_text_with_mnemonic (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
1153
|
-
<em class="parameter"><code>const <a href="
|
1153
|
+
<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> *str</code></em>);</pre>
|
1154
1154
|
<p>
|
1155
1155
|
Sets the label's text from the string <em class="parameter"><code>str</code></em>.
|
1156
1156
|
If characters in <em class="parameter"><code>str</code></em> are preceded by an underscore, they are underlined
|
@@ -1201,7 +1201,7 @@ pango_layout_get_attribute (gtk_label_get_layout (label)).
|
|
1201
1201
|
</tr>
|
1202
1202
|
<tr>
|
1203
1203
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1204
|
-
<td>the attribute list, or <a href="
|
1204
|
+
<td>the attribute list, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1205
1205
|
if none was set. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1206
1206
|
</td>
|
1207
1207
|
</tr>
|
@@ -1262,7 +1262,7 @@ Returns the ellipsizing position of the label. See <a class="link" href="GtkLabe
|
|
1262
1262
|
<hr>
|
1263
1263
|
<div class="refsect2">
|
1264
1264
|
<a name="gtk-label-get-width-chars"></a><h3>gtk_label_get_width_chars ()</h3>
|
1265
|
-
<pre class="programlisting"><a href="
|
1265
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_label_get_width_chars (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
1266
1266
|
<p>
|
1267
1267
|
Retrieves the desired width of <em class="parameter"><code>label</code></em>, in characters. See
|
1268
1268
|
<a class="link" href="GtkLabel.html#gtk-label-set-width-chars" title="gtk_label_set_width_chars ()"><code class="function">gtk_label_set_width_chars()</code></a>.
|
@@ -1289,7 +1289,7 @@ Retrieves the desired width of <em class="parameter"><code>label</code></em>, in
|
|
1289
1289
|
<hr>
|
1290
1290
|
<div class="refsect2">
|
1291
1291
|
<a name="gtk-label-get-max-width-chars"></a><h3>gtk_label_get_max_width_chars ()</h3>
|
1292
|
-
<pre class="programlisting"><a href="
|
1292
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_label_get_max_width_chars (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
1293
1293
|
<p>
|
1294
1294
|
Retrieves the desired maximum width of <em class="parameter"><code>label</code></em>, in characters. See
|
1295
1295
|
<a class="link" href="GtkLabel.html#gtk-label-set-width-chars" title="gtk_label_set_width_chars ()"><code class="function">gtk_label_set_width_chars()</code></a>.
|
@@ -1316,7 +1316,7 @@ Retrieves the desired maximum width of <em class="parameter"><code>label</code><
|
|
1316
1316
|
<hr>
|
1317
1317
|
<div class="refsect2">
|
1318
1318
|
<a name="gtk-label-get-label"></a><h3>gtk_label_get_label ()</h3>
|
1319
|
-
<pre class="programlisting">const <a href="
|
1319
|
+
<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_label_get_label (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
1320
1320
|
<p>
|
1321
1321
|
Fetches the text from a label widget including any embedded
|
1322
1322
|
underlines indicating mnemonics and Pango markup. (See
|
@@ -1374,7 +1374,7 @@ freed by the caller.
|
|
1374
1374
|
<hr>
|
1375
1375
|
<div class="refsect2">
|
1376
1376
|
<a name="gtk-label-get-line-wrap"></a><h3>gtk_label_get_line_wrap ()</h3>
|
1377
|
-
<pre class="programlisting"><a href="
|
1377
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_label_get_line_wrap (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
1378
1378
|
<p>
|
1379
1379
|
Returns whether lines in the label are automatically wrapped.
|
1380
1380
|
See <a class="link" href="GtkLabel.html#gtk-label-set-line-wrap" title="gtk_label_set_line_wrap ()"><code class="function">gtk_label_set_line_wrap()</code></a>.
|
@@ -1393,7 +1393,7 @@ See <a class="link" href="GtkLabel.html#gtk-label-set-line-wrap" title="gtk_labe
|
|
1393
1393
|
<tr>
|
1394
1394
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1395
1395
|
<td>
|
1396
|
-
<a href="
|
1396
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the lines of the label are automatically wrapped.</td>
|
1397
1397
|
</tr>
|
1398
1398
|
</tbody>
|
1399
1399
|
</table></div>
|
@@ -1419,7 +1419,7 @@ Returns line wrap mode used by the label. See <a class="link" href="GtkLabel.htm
|
|
1419
1419
|
<tr>
|
1420
1420
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1421
1421
|
<td>
|
1422
|
-
<a href="
|
1422
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the lines of the label are automatically wrapped.</td>
|
1423
1423
|
</tr>
|
1424
1424
|
</tbody>
|
1425
1425
|
</table></div>
|
@@ -1447,7 +1447,7 @@ label. See <a class="link" href="GtkLabel.html#gtk-label-set-mnemonic-widget" ti
|
|
1447
1447
|
<tr>
|
1448
1448
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1449
1449
|
<td>the target of the label's mnemonic,
|
1450
|
-
or <a href="
|
1450
|
+
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none has been set and the default algorithm will be used. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1451
1451
|
</td>
|
1452
1452
|
</tr>
|
1453
1453
|
</tbody>
|
@@ -1456,11 +1456,11 @@ or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-d
|
|
1456
1456
|
<hr>
|
1457
1457
|
<div class="refsect2">
|
1458
1458
|
<a name="gtk-label-get-selection-bounds"></a><h3>gtk_label_get_selection_bounds ()</h3>
|
1459
|
-
<pre class="programlisting"><a href="
|
1460
|
-
<em class="parameter"><code><a href="
|
1461
|
-
<em class="parameter"><code><a href="
|
1459
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_label_get_selection_bounds (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
1460
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *start</code></em>,
|
1461
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *end</code></em>);</pre>
|
1462
1462
|
<p>
|
1463
|
-
Gets the selected range of characters in the label, returning <a href="
|
1463
|
+
Gets the selected range of characters in the label, returning <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
1464
1464
|
if there's a selection.
|
1465
1465
|
</p>
|
1466
1466
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -1487,7 +1487,7 @@ if there's a selection.
|
|
1487
1487
|
<tr>
|
1488
1488
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1489
1489
|
<td>
|
1490
|
-
<a href="
|
1490
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if selection is non-empty</td>
|
1491
1491
|
</tr>
|
1492
1492
|
</tbody>
|
1493
1493
|
</table></div>
|
@@ -1495,7 +1495,7 @@ if there's a selection.
|
|
1495
1495
|
<hr>
|
1496
1496
|
<div class="refsect2">
|
1497
1497
|
<a name="gtk-label-get-use-markup"></a><h3>gtk_label_get_use_markup ()</h3>
|
1498
|
-
<pre class="programlisting"><a href="
|
1498
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_label_get_use_markup (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
1499
1499
|
<p>
|
1500
1500
|
Returns whether the label's text is interpreted as marked up with
|
1501
1501
|
the <GTKDOCLINK HREF="PangoMarkupFormat">Pango text markup
|
@@ -1515,7 +1515,7 @@ language</GTKDOCLINK>. See <a class="link" href="GtkLabel.html#gtk-label-set-use
|
|
1515
1515
|
<tr>
|
1516
1516
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1517
1517
|
<td>
|
1518
|
-
<a href="
|
1518
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the label's text will be parsed for markup.</td>
|
1519
1519
|
</tr>
|
1520
1520
|
</tbody>
|
1521
1521
|
</table></div>
|
@@ -1523,7 +1523,7 @@ language</GTKDOCLINK>. See <a class="link" href="GtkLabel.html#gtk-label-set-use
|
|
1523
1523
|
<hr>
|
1524
1524
|
<div class="refsect2">
|
1525
1525
|
<a name="gtk-label-get-use-underline"></a><h3>gtk_label_get_use_underline ()</h3>
|
1526
|
-
<pre class="programlisting"><a href="
|
1526
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_label_get_use_underline (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
1527
1527
|
<p>
|
1528
1528
|
Returns whether an embedded underline in the label indicates a
|
1529
1529
|
mnemonic. See <a class="link" href="GtkLabel.html#gtk-label-set-use-underline" title="gtk_label_set_use_underline ()"><code class="function">gtk_label_set_use_underline()</code></a>.
|
@@ -1542,7 +1542,7 @@ mnemonic. See <a class="link" href="GtkLabel.html#gtk-label-set-use-underline" t
|
|
1542
1542
|
<tr>
|
1543
1543
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1544
1544
|
<td>
|
1545
|
-
<a href="
|
1545
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> whether an embedded underline in the label indicates
|
1546
1546
|
the mnemonic accelerator keys.</td>
|
1547
1547
|
</tr>
|
1548
1548
|
</tbody>
|
@@ -1551,7 +1551,7 @@ the mnemonic accelerator keys.</td>
|
|
1551
1551
|
<hr>
|
1552
1552
|
<div class="refsect2">
|
1553
1553
|
<a name="gtk-label-get-single-line-mode"></a><h3>gtk_label_get_single_line_mode ()</h3>
|
1554
|
-
<pre class="programlisting"><a href="
|
1554
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_label_get_single_line_mode (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
1555
1555
|
<p>
|
1556
1556
|
Returns whether the label is in single line mode.
|
1557
1557
|
</p>
|
@@ -1569,7 +1569,7 @@ Returns whether the label is in single line mode.
|
|
1569
1569
|
<tr>
|
1570
1570
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1571
1571
|
<td>
|
1572
|
-
<a href="
|
1572
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> when the label is in single line mode.</td>
|
1573
1573
|
</tr>
|
1574
1574
|
</tbody>
|
1575
1575
|
</table></div>
|
@@ -1578,7 +1578,7 @@ Returns whether the label is in single line mode.
|
|
1578
1578
|
<hr>
|
1579
1579
|
<div class="refsect2">
|
1580
1580
|
<a name="gtk-label-get-angle"></a><h3>gtk_label_get_angle ()</h3>
|
1581
|
-
<pre class="programlisting"><a href="
|
1581
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> gtk_label_get_angle (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
1582
1582
|
<p>
|
1583
1583
|
Gets the angle of rotation for the label. See
|
1584
1584
|
<a class="link" href="GtkLabel.html#gtk-label-set-angle" title="gtk_label_set_angle ()"><code class="function">gtk_label_set_angle()</code></a>.
|
@@ -1606,7 +1606,7 @@ Gets the angle of rotation for the label. See
|
|
1606
1606
|
<div class="refsect2">
|
1607
1607
|
<a name="gtk-label-set-label"></a><h3>gtk_label_set_label ()</h3>
|
1608
1608
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_set_label (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
1609
|
-
<em class="parameter"><code>const <a href="
|
1609
|
+
<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> *str</code></em>);</pre>
|
1610
1610
|
<p>
|
1611
1611
|
Sets the text of the label. The label is interpreted as
|
1612
1612
|
including embedded underlines and/or Pango markup depending
|
@@ -1635,7 +1635,7 @@ on the values of the <a class="link" href="GtkLabel.html#GtkLabel--use-underline
|
|
1635
1635
|
<div class="refsect2">
|
1636
1636
|
<a name="gtk-label-set-use-markup"></a><h3>gtk_label_set_use_markup ()</h3>
|
1637
1637
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_set_use_markup (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
1638
|
-
<em class="parameter"><code><a href="
|
1638
|
+
<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>
|
1639
1639
|
<p>
|
1640
1640
|
Sets whether the text of the label contains markup in <GTKDOCLINK HREF="PangoMarkupFormat">Pango's text markup
|
1641
1641
|
language</GTKDOCLINK>. See <a class="link" href="GtkLabel.html#gtk-label-set-markup" title="gtk_label_set_markup ()"><code class="function">gtk_label_set_markup()</code></a>.
|
@@ -1654,7 +1654,7 @@ language</GTKDOCLINK>. See <a class="link" href="GtkLabel.html#gtk-label-set-mar
|
|
1654
1654
|
<tr>
|
1655
1655
|
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
|
1656
1656
|
<td>
|
1657
|
-
<a href="
|
1657
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the label's text should be parsed for markup.</td>
|
1658
1658
|
</tr>
|
1659
1659
|
</tbody>
|
1660
1660
|
</table></div>
|
@@ -1663,7 +1663,7 @@ language</GTKDOCLINK>. See <a class="link" href="GtkLabel.html#gtk-label-set-mar
|
|
1663
1663
|
<div class="refsect2">
|
1664
1664
|
<a name="gtk-label-set-use-underline"></a><h3>gtk_label_set_use_underline ()</h3>
|
1665
1665
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_set_use_underline (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
1666
|
-
<em class="parameter"><code><a href="
|
1666
|
+
<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>
|
1667
1667
|
<p>
|
1668
1668
|
If true, an underline in the text indicates the next character should be
|
1669
1669
|
used for the mnemonic accelerator key.
|
@@ -1682,7 +1682,7 @@ used for the mnemonic accelerator key.
|
|
1682
1682
|
<tr>
|
1683
1683
|
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
|
1684
1684
|
<td>
|
1685
|
-
<a href="
|
1685
|
+
<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>
|
1686
1686
|
</tr>
|
1687
1687
|
</tbody>
|
1688
1688
|
</table></div>
|
@@ -1691,7 +1691,7 @@ used for the mnemonic accelerator key.
|
|
1691
1691
|
<div class="refsect2">
|
1692
1692
|
<a name="gtk-label-set-single-line-mode"></a><h3>gtk_label_set_single_line_mode ()</h3>
|
1693
1693
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_set_single_line_mode (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
1694
|
-
<em class="parameter"><code><a href="
|
1694
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> single_line_mode</code></em>);</pre>
|
1695
1695
|
<p>
|
1696
1696
|
Sets whether the label is in single line mode.
|
1697
1697
|
</p>
|
@@ -1709,7 +1709,7 @@ Sets whether the label is in single line mode.
|
|
1709
1709
|
<tr>
|
1710
1710
|
<td><p><span class="term"><em class="parameter"><code>single_line_mode</code></em> :</span></p></td>
|
1711
1711
|
<td>
|
1712
|
-
<a href="
|
1712
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the label should be in single line mode</td>
|
1713
1713
|
</tr>
|
1714
1714
|
</tbody>
|
1715
1715
|
</table></div>
|
@@ -1719,7 +1719,7 @@ Sets whether the label is in single line mode.
|
|
1719
1719
|
<div class="refsect2">
|
1720
1720
|
<a name="gtk-label-set-angle"></a><h3>gtk_label_set_angle ()</h3>
|
1721
1721
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_set_angle (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
1722
|
-
<em class="parameter"><code><a href="
|
1722
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> angle</code></em>);</pre>
|
1723
1723
|
<p>
|
1724
1724
|
Sets the angle of rotation for the label. An angle of 90 reads from
|
1725
1725
|
from bottom to top, an angle of 270, from top to bottom. The angle
|
@@ -1749,7 +1749,7 @@ the horizontal, in degrees, measured counterclockwise</td>
|
|
1749
1749
|
<hr>
|
1750
1750
|
<div class="refsect2">
|
1751
1751
|
<a name="gtk-label-get-current-uri"></a><h3>gtk_label_get_current_uri ()</h3>
|
1752
|
-
<pre class="programlisting">const <a href="
|
1752
|
+
<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_label_get_current_uri (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
1753
1753
|
<p>
|
1754
1754
|
Returns the URI for the currently active link in the label.
|
1755
1755
|
The active link is the one under the mouse pointer or, in a
|
@@ -1784,7 +1784,7 @@ not be freed or modified.</td>
|
|
1784
1784
|
<div class="refsect2">
|
1785
1785
|
<a name="gtk-label-set-track-visited-links"></a><h3>gtk_label_set_track_visited_links ()</h3>
|
1786
1786
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_label_set_track_visited_links (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
1787
|
-
<em class="parameter"><code><a href="
|
1787
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> track_links</code></em>);</pre>
|
1788
1788
|
<p>
|
1789
1789
|
Sets whether the label should keep track of clicked
|
1790
1790
|
links (and use a different color for them).
|
@@ -1803,7 +1803,7 @@ links (and use a different color for them).
|
|
1803
1803
|
<tr>
|
1804
1804
|
<td><p><span class="term"><em class="parameter"><code>track_links</code></em> :</span></p></td>
|
1805
1805
|
<td>
|
1806
|
-
<a href="
|
1806
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to track visited links</td>
|
1807
1807
|
</tr>
|
1808
1808
|
</tbody>
|
1809
1809
|
</table></div>
|
@@ -1812,7 +1812,7 @@ links (and use a different color for them).
|
|
1812
1812
|
<hr>
|
1813
1813
|
<div class="refsect2">
|
1814
1814
|
<a name="gtk-label-get-track-visited-links"></a><h3>gtk_label_get_track_visited_links ()</h3>
|
1815
|
-
<pre class="programlisting"><a href="
|
1815
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_label_get_track_visited_links (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
1816
1816
|
<p>
|
1817
1817
|
Returns whether the label is currently keeping track
|
1818
1818
|
of clicked links.
|
@@ -1831,7 +1831,7 @@ of clicked links.
|
|
1831
1831
|
<tr>
|
1832
1832
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1833
1833
|
<td>
|
1834
|
-
<a href="
|
1834
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if clicked links are remembered</td>
|
1835
1835
|
</tr>
|
1836
1836
|
</tbody>
|
1837
1837
|
</table></div>
|
@@ -1842,7 +1842,7 @@ of clicked links.
|
|
1842
1842
|
<a name="GtkLabel.property-details"></a><h2>Property Details</h2>
|
1843
1843
|
<div class="refsect2">
|
1844
1844
|
<a name="GtkLabel--angle"></a><h3>The <code class="literal">"angle"</code> property</h3>
|
1845
|
-
<pre class="programlisting"> "angle" <a href="
|
1845
|
+
<pre class="programlisting"> "angle" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write</pre>
|
1846
1846
|
<p>
|
1847
1847
|
The angle that the baseline of the label makes with the horizontal,
|
1848
1848
|
in degrees, measured counterclockwise. An angle of 90 reads from
|
@@ -1862,7 +1862,7 @@ if the label is selectable, wrapped, or ellipsized.
|
|
1862
1862
|
<hr>
|
1863
1863
|
<div class="refsect2">
|
1864
1864
|
<a name="GtkLabel--cursor-position"></a><h3>The <code class="literal">"cursor-position"</code> property</h3>
|
1865
|
-
<pre class="programlisting"> "cursor-position" <a href="
|
1865
|
+
<pre class="programlisting"> "cursor-position" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
1866
1866
|
<p>The current position of the insertion cursor in chars.</p>
|
1867
1867
|
<p>Allowed values: >= 0</p>
|
1868
1868
|
<p>Default value: 0</p>
|
@@ -1888,7 +1888,7 @@ only enough space to display the ellipsis "...". In particular, this
|
|
1888
1888
|
|
1889
1889
|
means that ellipsizing labels do not work well in notebook tabs, unless
|
1890
1890
|
|
1891
|
-
the tab's <span class="type">"tab-expand"</span> property is set to <a href="
|
1891
|
+
the tab's <span class="type">"tab-expand"</span> property is set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. Other ways
|
1892
1892
|
to set a label's width are <a class="link" href="GtkWidget.html#gtk-widget-set-size-request" title="gtk_widget_set_size_request ()"><code class="function">gtk_widget_set_size_request()</code></a> and
|
1893
1893
|
<a class="link" href="GtkLabel.html#gtk-label-set-width-chars" title="gtk_label_set_width_chars ()"><code class="function">gtk_label_set_width_chars()</code></a>.
|
1894
1894
|
</p>
|
@@ -1905,14 +1905,14 @@ to set a label's width are <a class="link" href="GtkWidget.html#gtk-widget-set-s
|
|
1905
1905
|
<hr>
|
1906
1906
|
<div class="refsect2">
|
1907
1907
|
<a name="GtkLabel--label"></a><h3>The <code class="literal">"label"</code> property</h3>
|
1908
|
-
<pre class="programlisting"> "label" <a href="
|
1908
|
+
<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>
|
1909
1909
|
<p>The text of the label.</p>
|
1910
1910
|
<p>Default value: ""</p>
|
1911
1911
|
</div>
|
1912
1912
|
<hr>
|
1913
1913
|
<div class="refsect2">
|
1914
1914
|
<a name="GtkLabel--max-width-chars"></a><h3>The <code class="literal">"max-width-chars"</code> property</h3>
|
1915
|
-
<pre class="programlisting"> "max-width-chars" <a href="
|
1915
|
+
<pre class="programlisting"> "max-width-chars" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1916
1916
|
<p>
|
1917
1917
|
The desired maximum width of the label, in characters. If this property
|
1918
1918
|
|
@@ -1931,7 +1931,7 @@ value, then the "max-width-chars" property is ignored.
|
|
1931
1931
|
<hr>
|
1932
1932
|
<div class="refsect2">
|
1933
1933
|
<a name="GtkLabel--mnemonic-keyval"></a><h3>The <code class="literal">"mnemonic-keyval"</code> property</h3>
|
1934
|
-
<pre class="programlisting"> "mnemonic-keyval" <a href="
|
1934
|
+
<pre class="programlisting"> "mnemonic-keyval" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre>
|
1935
1935
|
<p>The mnemonic accelerator key for this label.</p>
|
1936
1936
|
<p>Default value: 16777215</p>
|
1937
1937
|
</div>
|
@@ -1944,21 +1944,21 @@ value, then the "max-width-chars" property is ignored.
|
|
1944
1944
|
<hr>
|
1945
1945
|
<div class="refsect2">
|
1946
1946
|
<a name="GtkLabel--pattern"></a><h3>The <code class="literal">"pattern"</code> property</h3>
|
1947
|
-
<pre class="programlisting"> "pattern" <a href="
|
1947
|
+
<pre class="programlisting"> "pattern" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write</pre>
|
1948
1948
|
<p>A string with _ characters in positions correspond to characters in the text to underline.</p>
|
1949
1949
|
<p>Default value: NULL</p>
|
1950
1950
|
</div>
|
1951
1951
|
<hr>
|
1952
1952
|
<div class="refsect2">
|
1953
1953
|
<a name="GtkLabel--selectable"></a><h3>The <code class="literal">"selectable"</code> property</h3>
|
1954
|
-
<pre class="programlisting"> "selectable" <a href="
|
1954
|
+
<pre class="programlisting"> "selectable" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1955
1955
|
<p>Whether the label text can be selected with the mouse.</p>
|
1956
1956
|
<p>Default value: FALSE</p>
|
1957
1957
|
</div>
|
1958
1958
|
<hr>
|
1959
1959
|
<div class="refsect2">
|
1960
1960
|
<a name="GtkLabel--selection-bound"></a><h3>The <code class="literal">"selection-bound"</code> property</h3>
|
1961
|
-
<pre class="programlisting"> "selection-bound" <a href="
|
1961
|
+
<pre class="programlisting"> "selection-bound" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
1962
1962
|
<p>The position of the opposite end of the selection from the cursor in chars.</p>
|
1963
1963
|
<p>Allowed values: >= 0</p>
|
1964
1964
|
<p>Default value: 0</p>
|
@@ -1966,7 +1966,7 @@ value, then the "max-width-chars" property is ignored.
|
|
1966
1966
|
<hr>
|
1967
1967
|
<div class="refsect2">
|
1968
1968
|
<a name="GtkLabel--single-line-mode"></a><h3>The <code class="literal">"single-line-mode"</code> property</h3>
|
1969
|
-
<pre class="programlisting"> "single-line-mode" <a href="
|
1969
|
+
<pre class="programlisting"> "single-line-mode" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1970
1970
|
<p>
|
1971
1971
|
Whether the label is in single line mode. In single line mode,
|
1972
1972
|
the height of the label does not depend on the actual text, it
|
@@ -1981,9 +1981,9 @@ changes would be distracting, e.g. in a statusbar.
|
|
1981
1981
|
<hr>
|
1982
1982
|
<div class="refsect2">
|
1983
1983
|
<a name="GtkLabel--track-visited-links"></a><h3>The <code class="literal">"track-visited-links"</code> property</h3>
|
1984
|
-
<pre class="programlisting"> "track-visited-links" <a href="
|
1984
|
+
<pre class="programlisting"> "track-visited-links" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1985
1985
|
<p>
|
1986
|
-
Set this property to <a href="
|
1986
|
+
Set this property to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to make the label track which links
|
1987
1987
|
have been clicked. It will then apply the ::visited-link-color
|
1988
1988
|
color, instead of ::link-color.
|
1989
1989
|
</p>
|
@@ -1993,21 +1993,21 @@ color, instead of ::link-color.
|
|
1993
1993
|
<hr>
|
1994
1994
|
<div class="refsect2">
|
1995
1995
|
<a name="GtkLabel--use-markup"></a><h3>The <code class="literal">"use-markup"</code> property</h3>
|
1996
|
-
<pre class="programlisting"> "use-markup" <a href="
|
1996
|
+
<pre class="programlisting"> "use-markup" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1997
1997
|
<p>The text of the label includes XML markup. See pango_parse_markup().</p>
|
1998
1998
|
<p>Default value: FALSE</p>
|
1999
1999
|
</div>
|
2000
2000
|
<hr>
|
2001
2001
|
<div class="refsect2">
|
2002
2002
|
<a name="GtkLabel--use-underline"></a><h3>The <code class="literal">"use-underline"</code> property</h3>
|
2003
|
-
<pre class="programlisting"> "use-underline" <a href="
|
2003
|
+
<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>
|
2004
2004
|
<p>If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key.</p>
|
2005
2005
|
<p>Default value: FALSE</p>
|
2006
2006
|
</div>
|
2007
2007
|
<hr>
|
2008
2008
|
<div class="refsect2">
|
2009
2009
|
<a name="GtkLabel--width-chars"></a><h3>The <code class="literal">"width-chars"</code> property</h3>
|
2010
|
-
<pre class="programlisting"> "width-chars" <a href="
|
2010
|
+
<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 / Write</pre>
|
2011
2011
|
<p>
|
2012
2012
|
The desired width of the label, in characters. If this property is set to
|
2013
2013
|
-1, the width will be calculated automatically, otherwise the label will
|
@@ -2023,7 +2023,7 @@ If the "width-chars" property is set to a positive value, then the
|
|
2023
2023
|
<hr>
|
2024
2024
|
<div class="refsect2">
|
2025
2025
|
<a name="GtkLabel--wrap"></a><h3>The <code class="literal">"wrap"</code> property</h3>
|
2026
|
-
<pre class="programlisting"> "wrap" <a href="
|
2026
|
+
<pre class="programlisting"> "wrap" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2027
2027
|
<p>If set, wrap lines if the text becomes too wide.</p>
|
2028
2028
|
<p>Default value: FALSE</p>
|
2029
2029
|
</div>
|
@@ -2047,13 +2047,13 @@ means wrap on word boundaries.
|
|
2047
2047
|
<div class="refsect2">
|
2048
2048
|
<a name="GtkLabel-activate-current-link"></a><h3>The <code class="literal">"activate-current-link"</code> signal</h3>
|
2049
2049
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label,
|
2050
|
-
<a href="
|
2050
|
+
<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>
|
2051
2051
|
<p>
|
2052
2052
|
A <a class="link" href="gtk2-Bindings.html#keybinding-signals">keybinding signal</a>
|
2053
2053
|
which gets emitted when the user activates a link in the label.
|
2054
2054
|
</p>
|
2055
2055
|
<p>
|
2056
|
-
Applications may also emit the signal with <a href="
|
2056
|
+
Applications may also emit the signal with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-emit-by-name"><code class="function">g_signal_emit_by_name()</code></a>
|
2057
2057
|
if they need to control activation of URIs programmatically.
|
2058
2058
|
</p>
|
2059
2059
|
<p>
|
@@ -2080,9 +2080,9 @@ The default bindings for this signal are all forms of the Enter key.
|
|
2080
2080
|
<hr>
|
2081
2081
|
<div class="refsect2">
|
2082
2082
|
<a name="GtkLabel-activate-link"></a><h3>The <code class="literal">"activate-link"</code> signal</h3>
|
2083
|
-
<pre class="programlisting"><a href="
|
2084
|
-
<a href="
|
2085
|
-
<a href="
|
2083
|
+
<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="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label,
|
2084
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri,
|
2085
|
+
<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>
|
2086
2086
|
<p>
|
2087
2087
|
The signal which gets emitted to activate a URI.
|
2088
2088
|
Applications may connect to it to override the default behaviour,
|
@@ -2109,7 +2109,7 @@ which is to call <a class="link" href="gtk2-Filesystem-utilities.html#gtk-show-u
|
|
2109
2109
|
<tr>
|
2110
2110
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2111
2111
|
<td>
|
2112
|
-
<a href="
|
2112
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the link has been activated</td>
|
2113
2113
|
</tr>
|
2114
2114
|
</tbody>
|
2115
2115
|
</table></div>
|
@@ -2119,7 +2119,7 @@ which is to call <a class="link" href="gtk2-Filesystem-utilities.html#gtk-show-u
|
|
2119
2119
|
<div class="refsect2">
|
2120
2120
|
<a name="GtkLabel-copy-clipboard"></a><h3>The <code class="literal">"copy-clipboard"</code> signal</h3>
|
2121
2121
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label,
|
2122
|
-
<a href="
|
2122
|
+
<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>
|
2123
2123
|
<p>
|
2124
2124
|
The ::copy-clipboard signal is a
|
2125
2125
|
<a class="link" href="gtk2-Bindings.html#keybinding-signals">keybinding signal</a>
|
@@ -2150,9 +2150,9 @@ The default binding for this signal is Ctrl-c.
|
|
2150
2150
|
<a name="GtkLabel-move-cursor"></a><h3>The <code class="literal">"move-cursor"</code> signal</h3>
|
2151
2151
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *entry,
|
2152
2152
|
<a class="link" href="gtk2-Standard-Enumerations.html#GtkMovementStep" title="enum GtkMovementStep"><span class="type">GtkMovementStep</span></a> step,
|
2153
|
-
<a href="
|
2154
|
-
<a href="
|
2155
|
-
<a href="
|
2153
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count,
|
2154
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> extend_selection,
|
2155
|
+
<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>
|
2156
2156
|
<p>
|
2157
2157
|
The ::move-cursor signal is a
|
2158
2158
|
<a class="link" href="gtk2-Bindings.html#keybinding-signals">keybinding signal</a>
|
@@ -2162,7 +2162,7 @@ the viewport to be moved instead.
|
|
2162
2162
|
</p>
|
2163
2163
|
<p>
|
2164
2164
|
Applications should not connect to it, but may emit it with
|
2165
|
-
<a href="
|
2165
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-emit-by-name"><code class="function">g_signal_emit_by_name()</code></a> if they need to control the cursor
|
2166
2166
|
programmatically.
|
2167
2167
|
</p>
|
2168
2168
|
<p>
|
@@ -2200,7 +2200,7 @@ There are too many key combinations to list them all here.
|
|
2200
2200
|
<tr>
|
2201
2201
|
<td><p><span class="term"><em class="parameter"><code>extend_selection</code></em> :</span></p></td>
|
2202
2202
|
<td>
|
2203
|
-
<a href="
|
2203
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the move should extend the selection</td>
|
2204
2204
|
</tr>
|
2205
2205
|
<tr>
|
2206
2206
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -2214,7 +2214,7 @@ There are too many key combinations to list them all here.
|
|
2214
2214
|
<a name="GtkLabel-populate-popup"></a><h3>The <code class="literal">"populate-popup"</code> signal</h3>
|
2215
2215
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label,
|
2216
2216
|
<a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu,
|
2217
|
-
<a href="
|
2217
|
+
<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>
|
2218
2218
|
<p>
|
2219
2219
|
The ::populate-popup signal gets emitted before showing the
|
2220
2220
|
context menu of the label. Note that only selectable labels
|