gdk3 2.0.0-x86-mingw32 → 2.0.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -2
- data/lib/2.0/gdk3.so +0 -0
- data/vendor/local/bin/gtk-launch.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-3.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/gtk3-demo-application.exe +0 -0
- data/vendor/local/bin/gtk3-demo.exe +0 -0
- data/vendor/local/bin/gtk3-widget-factory.exe +0 -0
- data/vendor/local/bin/libgailutil-3-0.dll +0 -0
- data/vendor/local/bin/libgdk-3-0.dll +0 -0
- data/vendor/local/bin/libgtk-3-0.dll +0 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkversionmacros.h +1 -1
- data/vendor/local/include/gtk-3.0/gtk/gtktextbufferrichtext.h +1 -1
- data/vendor/local/include/gtk-3.0/gtk/gtkversion.h +3 -3
- data/vendor/local/lib/girepository-1.0/Gtk-3.0.typelib +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules.cache +1 -1
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-am-et.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-am-et.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-am-et.la +1 -1
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cedilla.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cedilla.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cedilla.la +1 -1
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.la +1 -1
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ime.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ime.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ime.la +1 -1
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-inuktitut.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-inuktitut.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-inuktitut.la +1 -1
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ipa.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ipa.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ipa.la +1 -1
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-multipress.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-multipress.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-multipress.la +1 -1
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-thai.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-thai.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-thai.la +1 -1
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-er.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-er.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-er.la +1 -1
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-et.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-et.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-et.la +1 -1
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-viqr.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-viqr.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-viqr.la +1 -1
- data/vendor/local/lib/libgailutil-3.dll.a +0 -0
- data/vendor/local/lib/libgailutil-3.la +1 -1
- data/vendor/local/lib/libgdk-3.dll.a +0 -0
- data/vendor/local/lib/libgdk-3.la +2 -2
- data/vendor/local/lib/libgtk-3.dll.a +0 -0
- data/vendor/local/lib/libgtk-3.la +2 -2
- data/vendor/local/lib/pkgconfig/gail-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-3.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Gdk-3.0.gir +1 -1
- data/vendor/local/share/gir-1.0/Gtk-3.0.gir +42 -25
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailMisc.html +90 -90
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailTextUtil.html +28 -28
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/libgail-util-main.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDevice.html +115 -115
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDeviceManager.html +16 -16
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplay.html +104 -104
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplayManager.html +13 -13
- data/vendor/local/share/gtk-doc/html/gdk3/GdkScreen.html +103 -101
- data/vendor/local/share/gtk-doc/html/gdk3/annotation-glossary.html +5 -3
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-0.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Application-launching.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cairo-Interaction.html +48 -48
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Colors.html +16 -16
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cursors.html +14 -14
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Drag-and-Drop.html +44 -44
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html +122 -122
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Events.html +112 -113
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-GdkFrameClock.html +22 -22
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-GdkFrameTimings.html +19 -19
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-General.html +64 -64
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Keyboard-Handling.html +98 -98
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pango-Interaction.html +64 -64
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pixbufs.html +26 -26
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html +12 -12
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Properties-and-Atoms.html +52 -52
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-RGBA-Colors.html +23 -23
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Selections.html +38 -38
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Testing.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Threads.html +87 -87
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Visuals.html +54 -54
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Windows.html +389 -389
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-X-Window-System-Interaction.html +137 -137
- data/vendor/local/share/gtk-doc/html/gdk3/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk3/index.sgml +1 -0
- data/vendor/local/share/gtk-doc/html/gdk3/reference.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/AbstractObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/Actions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/Application.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/ApplicationChoosing.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/Builder.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/ButtonWidgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/DeprecatedObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/DisplayWidgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAboutDialog.html +121 -121
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccelLabel.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccessible.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAction.html +158 -146
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActionGroup.html +132 -126
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActionable.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActivatable.html +28 -27
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAdjustment.html +86 -81
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAlignment.html +56 -56
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooser.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserButton.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserDialog.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserWidget.html +58 -58
- data/vendor/local/share/gtk-doc/html/gtk3/GtkApplication.html +142 -142
- data/vendor/local/share/gtk-doc/html/gtk3/GtkApplicationWindow.html +49 -49
- data/vendor/local/share/gtk-doc/html/gtk3/GtkArrow.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAspectFrame.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAssistant.html +61 -61
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBin.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBox.html +63 -63
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuildable.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuilder.html +153 -153
- data/vendor/local/share/gtk-doc/html/gtk3/GtkButton.html +94 -88
- data/vendor/local/share/gtk-doc/html/gtk3/GtkButtonBox.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCalendar.html +91 -91
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellArea.html +182 -182
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellAreaBox.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellAreaContext.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellEditable.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellLayout.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRenderer.html +150 -147
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererAccel.html +32 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererCombo.html +26 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererPixbuf.html +21 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererProgress.html +24 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererSpin.html +10 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererSpinner.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererText.html +118 -109
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererToggle.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellView.html +34 -33
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCheckButton.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCheckMenuItem.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorButton.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooser.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooserDialog.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooserWidget.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelection.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelectionDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBox.html +140 -136
- data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBoxText.html +45 -44
- data/vendor/local/share/gtk-doc/html/gtk3/GtkContainer.html +103 -103
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCssProvider.html +140 -104
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDialog.html +71 -71
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDrawingArea.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEditable.html +64 -64
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntry.html +330 -310
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntryBuffer.html +61 -61
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntryCompletion.html +110 -110
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEventBox.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkExpander.html +69 -69
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooser.html +245 -243
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserButton.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserDialog.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserWidget.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileFilter.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFixed.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontButton.html +72 -64
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooser.html +68 -68
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooserDialog.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooserWidget.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelection.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelectionDialog.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFrame.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGrid.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHBox.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHButtonBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHPaned.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHSV.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHScale.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHScrollbar.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHSeparator.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHandleBox.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContext.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContextSimple.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMMulticontext.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconTheme.html +202 -211
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconView.html +251 -239
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImage.html +90 -89
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImageMenuItem.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInfoBar.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInvisible.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLabel.html +223 -212
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLayout.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLevelBar.html +56 -56
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLinkButton.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk3/GtkListStore.html +74 -73
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLockButton.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenu.html +126 -126
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuBar.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuButton.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuItem.html +81 -81
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuShell.html +60 -60
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuToolButton.html +20 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMessageDialog.html +54 -50
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMisc.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkNotebook.html +179 -179
- data/vendor/local/share/gtk-doc/html/gtk3/GtkNumerableIcon.html +58 -58
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOffscreenWindow.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOverlay.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPageSetup.html +81 -81
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPageSetupUnixDialog.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaned.html +79 -68
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaperSize.html +101 -77
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPlug.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintContext.html +61 -61
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintJob.html +71 -71
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintSettings.html +327 -215
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintUnixDialog.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrinter.html +101 -99
- data/vendor/local/share/gtk-doc/html/gtk3/GtkProgressBar.html +69 -69
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioAction.html +33 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioButton.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioMenuItem.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioToolButton.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRange.html +103 -103
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentAction.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooser.html +109 -109
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserDialog.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserMenu.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserWidget.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentFilter.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentManager.html +159 -159
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScale.html +65 -64
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScaleButton.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollable.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollbar.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrolledWindow.html +53 -51
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchEntry.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparator.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparatorMenuItem.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparatorToolItem.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSettings.html +227 -227
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSizeGroup.html +17 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSocket.html +18 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinButton.html +106 -104
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinner.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusIcon.html +174 -167
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusbar.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyle.html +333 -333
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleContext.html +305 -305
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleProvider.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSwitch.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTable.html +94 -94
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTearoffMenuItem.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextBuffer.html +327 -274
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextIter.html +341 -327
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextMark.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTag.html +145 -139
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTagTable.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextView.html +354 -284
- data/vendor/local/share/gtk-doc/html/gtk3/GtkThemingEngine.html +66 -66
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleAction.html +30 -29
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleButton.html +49 -49
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleToolButton.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolButton.html +65 -64
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItem.html +67 -66
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItemGroup.html +56 -56
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolPalette.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolShell.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolbar.html +87 -69
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTooltip.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModel.html +173 -173
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModelFilter.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModelSort.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSelection.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSortable.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeStore.html +81 -80
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeView.html +508 -500
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeViewColumn.html +180 -179
- data/vendor/local/share/gtk-doc/html/gtk3/GtkUIManager.html +91 -86
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVBox.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVButtonBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVPaned.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVScale.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVScrollbar.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVSeparator.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkViewport.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVolumeButton.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWidget.html +1012 -974
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindow.html +337 -337
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindowGroup.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/LayoutContainers.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/MenusAndCombos.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/MiscObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/NumericEntry.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/Ornaments.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/PlugSocket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/Printing.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/RecentDocuments.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/ScrollingWidgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/SelectorWidgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/TextWidget.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/TextWidgetObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/TreeWidget.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk3/TreeWidgetObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/WindowWidgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/annotation-glossary.html +5 -3
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-0.html +2 -6
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-8.html +17 -2
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/broadwayd.html +15 -4
- data/vendor/local/share/gtk-doc/html/gtk3/ch02.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/ch03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/ch25s02.html +113 -113
- data/vendor/local/share/gtk-doc/html/gtk3/ch27s02.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/ch29s02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/ch29s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/chap-drawing-model.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/checklist-gdkeventexpose-region.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/checklist-modifiers.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/checklist-named-icons.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/glossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-broadway.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-building.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-compiling.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-getting-started.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-launch.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-2-to-3.html +105 -105
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkGrid.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-bonus-points.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-checklist.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-css.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parsing.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-checklist.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-smclient-GtkApplication.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-theme-GtkStyleContext-engines.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-unique-GtkApplication.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-osx.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-query-immodules-3.0.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-question-index.html +104 -104
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-resources.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-running.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-update-icon-cache.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-wayland.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-windows.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-x11.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Accelerator-Maps.html +61 -61
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Bindings.html +61 -61
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Clipboards.html +119 -119
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Drag-and-Drop.html +87 -87
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Feature-Test-Macros.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Filesystem-utilities.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-General.html +115 -115
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkGradient.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkStyleProperties.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkSymbolicColor.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkTreeView-drag-and-drop.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkWidgetPath.html +145 -145
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html +294 -240
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html +118 -118
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Orientable.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Resource-Files.html +276 -84
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Selections.html +162 -162
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Standard-Enumerations.html +292 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Stock-Items.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Testing.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html +131 -95
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3.devhelp2 +209 -54
- data/vendor/local/share/gtk-doc/html/gtk3/gtkbase.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtkobjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/index.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk3/index.sgml +156 -0
- data/vendor/local/share/gtk-doc/html/gtk3/migrating.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk3/pt06.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/theming.html +2 -2
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/man/man1/broadwayd.1 +17 -1
- data/vendor/local/share/man/man1/gtk-launch.1 +1 -1
- data/vendor/local/share/man/man1/gtk-query-immodules-3.0.1 +1 -1
- data/vendor/local/share/man/man1/gtk-update-icon-cache.1 +1 -1
- metadata +12 -11
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="gtk.html" title="Part I. GTK+ Overview">
|
9
9
|
<link rel="prev" href="gtk-windows.html" title="Using GTK+ on Windows">
|
10
10
|
<link rel="next" href="gtk-broadway.html" title="Using GTK+ with Broadway">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -31,7 +31,7 @@ OS X-specific aspects of using GTK+
|
|
31
31
|
<td valign="top" align="right"></td>
|
32
32
|
</tr></table></div>
|
33
33
|
<div class="refsect1">
|
34
|
-
<a name="
|
34
|
+
<a name="id-1.2.9.3"></a><h2>Using GTK+ on Mac OS X</h2>
|
35
35
|
<p>
|
36
36
|
The Mac OS X port of GTK+ is an implementation of GDK (and therefore GTK+)
|
37
37
|
on top of the Quarz API.
|
@@ -48,6 +48,6 @@ For up-to-date information about the current status of this port, see the
|
|
48
48
|
</div>
|
49
49
|
<div class="footer">
|
50
50
|
<hr>
|
51
|
-
Generated by GTK-Doc V1.18</div>
|
51
|
+
Generated by GTK-Doc V1.18.1</div>
|
52
52
|
</body>
|
53
53
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="pt06.html" title="Part VI. GTK+ Tools">
|
9
9
|
<link rel="prev" href="pt06.html" title="Part VI. GTK+ Tools">
|
10
10
|
<link rel="next" href="gtk-update-icon-cache.html" title="gtk-update-icon-cache">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -33,7 +33,7 @@
|
|
33
33
|
<div class="cmdsynopsis"><p><code class="command">gtk-query-immodules-3.0</code> [--update-cache] [MODULE...]</p></div>
|
34
34
|
</div>
|
35
35
|
<div class="refsect1">
|
36
|
-
<a name="
|
36
|
+
<a name="id-1.7.2.5"></a><h2>Description</h2>
|
37
37
|
<p>
|
38
38
|
<span class="command"><strong>gtk-query-immodules-3.0</strong></span> collects information about loadable
|
39
39
|
input method modules for GTK+ and writes it to the default cache file
|
@@ -56,7 +56,7 @@ GTK+ at the file.
|
|
56
56
|
</p>
|
57
57
|
</div>
|
58
58
|
<div class="refsect1">
|
59
|
-
<a name="
|
59
|
+
<a name="id-1.7.2.6"></a><h2>Options</h2>
|
60
60
|
<div class="variablelist"><table border="0" class="variablelist">
|
61
61
|
<colgroup>
|
62
62
|
<col align="left" valign="top">
|
@@ -70,7 +70,7 @@ GTK+ at the file.
|
|
70
70
|
</table></div>
|
71
71
|
</div>
|
72
72
|
<div class="refsect1">
|
73
|
-
<a name="
|
73
|
+
<a name="id-1.7.2.7"></a><h2>Files</h2>
|
74
74
|
<div class="variablelist"><table border="0" class="variablelist">
|
75
75
|
<colgroup>
|
76
76
|
<col align="left" valign="top">
|
@@ -83,7 +83,7 @@ GTK+ at the file.
|
|
83
83
|
</table></div>
|
84
84
|
</div>
|
85
85
|
<div class="refsect1">
|
86
|
-
<a name="
|
86
|
+
<a name="id-1.7.2.8"></a><h2>Environment</h2>
|
87
87
|
<div class="variablelist"><table border="0" class="variablelist">
|
88
88
|
<colgroup>
|
89
89
|
<col align="left" valign="top">
|
@@ -105,6 +105,6 @@ GTK+ at the file.
|
|
105
105
|
</div>
|
106
106
|
<div class="footer">
|
107
107
|
<hr>
|
108
|
-
Generated by GTK-Doc V1.18</div>
|
108
|
+
Generated by GTK-Doc V1.18.1</div>
|
109
109
|
</body>
|
110
110
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="gtk.html" title="Part I. GTK+ Overview">
|
9
9
|
<link rel="prev" href="gtk-resources.html" title="Mailing lists and bug reports">
|
10
10
|
<link rel="next" href="chap-drawing-model.html" title="The GTK+ Drawing Model">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -31,24 +31,24 @@ Find answers to common questions in the GTK+ manual
|
|
31
31
|
<td valign="top" align="right"></td>
|
32
32
|
</tr></table></div>
|
33
33
|
<div class="refsect1">
|
34
|
-
<a name="
|
34
|
+
<a name="id-1.2.13.3"></a><h2>Questions and Answers</h2>
|
35
35
|
<p>
|
36
36
|
This is an "index" of the reference manual organized by common "How do
|
37
37
|
I..." questions. If you aren't sure which documentation to read for
|
38
38
|
the question you have, this list is a good place to start.
|
39
39
|
</p>
|
40
40
|
<div class="qandaset">
|
41
|
-
<a name="
|
41
|
+
<a name="id-1.2.13.3.3"></a><table border="0" style="width: 100%;">
|
42
42
|
<colgroup>
|
43
43
|
<col align="left" width="1%">
|
44
44
|
<col>
|
45
45
|
</colgroup>
|
46
46
|
<tbody>
|
47
47
|
<tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
|
48
|
-
<a name="
|
48
|
+
<a name="id-1.2.13.3.3.1"></a>1. General</h5></td></tr>
|
49
49
|
<tr class="question">
|
50
50
|
<td align="left" valign="top">
|
51
|
-
<a name="
|
51
|
+
<a name="id-1.2.13.3.3.1.2"></a><a name="id-1.2.13.3.3.1.2.1"></a><p><b>1.1.</b></p>
|
52
52
|
</td>
|
53
53
|
<td align="left" valign="top"><p>
|
54
54
|
How do I get started with GTK+?
|
@@ -68,7 +68,7 @@ this reference manual for details.
|
|
68
68
|
</tr>
|
69
69
|
<tr class="question">
|
70
70
|
<td align="left" valign="top">
|
71
|
-
<a name="
|
71
|
+
<a name="id-1.2.13.3.3.1.3"></a><a name="id-1.2.13.3.3.1.3.1"></a><p><b>1.2.</b></p>
|
72
72
|
</td>
|
73
73
|
<td align="left" valign="top"><p>
|
74
74
|
Where can I get help with GTK+, submit a bug report, or make a feature
|
@@ -83,7 +83,7 @@ See the <a class="link" href="gtk-resources.html" title="Mailing lists and bug r
|
|
83
83
|
</tr>
|
84
84
|
<tr class="question">
|
85
85
|
<td align="left" valign="top">
|
86
|
-
<a name="
|
86
|
+
<a name="id-1.2.13.3.3.1.4"></a><a name="id-1.2.13.3.3.1.4.1"></a><p><b>1.3.</b></p>
|
87
87
|
</td>
|
88
88
|
<td align="left" valign="top"><p>How do I port from one GTK+
|
89
89
|
version to another?</p></td>
|
@@ -105,7 +105,7 @@ documentation.
|
|
105
105
|
</tr>
|
106
106
|
<tr class="question">
|
107
107
|
<td align="left" valign="top">
|
108
|
-
<a name="
|
108
|
+
<a name="id-1.2.13.3.3.1.5"></a><a name="id-1.2.13.3.3.1.5.1"></a><p><b>1.4.</b></p>
|
109
109
|
</td>
|
110
110
|
<td align="left" valign="top"><p>
|
111
111
|
How does memory management work in GTK+? Should I free data returned
|
@@ -116,22 +116,22 @@ from functions?
|
|
116
116
|
<td align="left" valign="top"></td>
|
117
117
|
<td align="left" valign="top">
|
118
118
|
<p>
|
119
|
-
See the documentation for <span class="type">GObject</span> and <span class="type">GInitiallyUnowned</span>. For <span class="type">GObject</span> note
|
120
|
-
specifically <code class="function">g_object_ref()</code> and <code class="function">g_object_unref()</code>. <span class="type">GInitiallyUnowned</span> is a
|
121
|
-
subclass of <span class="type">GObject</span> so the same points apply, except that it has a "floating"
|
119
|
+
See the documentation for <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> and <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"><span class="type">GInitiallyUnowned</span></a>. For <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> note
|
120
|
+
specifically <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> and <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"><span class="type">GInitiallyUnowned</span></a> is a
|
121
|
+
subclass of <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> so the same points apply, except that it has a "floating"
|
122
122
|
state (explained in its documentation).
|
123
123
|
</p>
|
124
124
|
<p>
|
125
125
|
For strings returned from functions, they will be declared "const"
|
126
126
|
if they should not be freed. Non-const strings should be
|
127
|
-
freed with <code class="function">g_free()</code>. Arrays follow the same rule. If you find an
|
127
|
+
freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. Arrays follow the same rule. If you find an
|
128
128
|
undocumented exception to the rules, please report a bug to <a class="ulink" href="http://bugzilla.gnome.org" target="_top">http://bugzilla.gnome.org</a>.
|
129
129
|
</p>
|
130
130
|
</td>
|
131
131
|
</tr>
|
132
132
|
<tr class="question">
|
133
133
|
<td align="left" valign="top">
|
134
|
-
<a name="
|
134
|
+
<a name="id-1.2.13.3.3.1.6"></a><a name="id-1.2.13.3.3.1.6.1"></a><p><b>1.5.</b></p>
|
135
135
|
</td>
|
136
136
|
<td align="left" valign="top"><p>
|
137
137
|
Why does my program leak memory, if I destroy a widget immediately
|
@@ -175,7 +175,7 @@ creating it:
|
|
175
175
|
<td class="listing_lines" align="right"><pre>1
|
176
176
|
2</pre></td>
|
177
177
|
<td class="listing_code"><pre class="programlisting"><span class="normal">foo </span><span class="symbol">=</span><span class="normal"> </span><span class="function">gtk_foo_new</span><span class="normal"> </span><span class="symbol">();</span>
|
178
|
-
<span class="function">g_object_ref_sink</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span></pre></td>
|
178
|
+
<span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref-sink">g_object_ref_sink</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span></pre></td>
|
179
179
|
</tr>
|
180
180
|
</tbody>
|
181
181
|
</table>
|
@@ -193,7 +193,7 @@ reference:
|
|
193
193
|
<td class="listing_lines" align="right"><pre>1
|
194
194
|
2</pre></td>
|
195
195
|
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="GtkWidget.html#gtk-widget-destroy">gtk_widget_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span>
|
196
|
-
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span></pre></td>
|
196
|
+
<span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span></pre></td>
|
197
197
|
</tr>
|
198
198
|
</tbody>
|
199
199
|
</table>
|
@@ -209,7 +209,7 @@ to get rid of the widget.
|
|
209
209
|
</tr>
|
210
210
|
<tr class="question">
|
211
211
|
<td align="left" valign="top">
|
212
|
-
<a name="
|
212
|
+
<a name="id-1.2.13.3.3.1.7"></a><a name="id-1.2.13.3.3.1.7.1"></a><p><b>1.6.</b></p>
|
213
213
|
</td>
|
214
214
|
<td align="left" valign="top"><p>
|
215
215
|
How do I use GTK+ with threads?
|
@@ -219,13 +219,13 @@ How do I use GTK+ with threads?
|
|
219
219
|
<td align="left" valign="top"></td>
|
220
220
|
<td align="left" valign="top"><p>
|
221
221
|
This is covered in the <GTKDOCLINK HREF="gdk-Threads">GDK threads
|
222
|
-
documentation</GTKDOCLINK>. See also the GThread
|
222
|
+
documentation</GTKDOCLINK>. See also the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Threads.html">GThread</a>
|
223
223
|
documentation for portable threading primitives.
|
224
224
|
</p></td>
|
225
225
|
</tr>
|
226
226
|
<tr class="question">
|
227
227
|
<td align="left" valign="top">
|
228
|
-
<a name="
|
228
|
+
<a name="id-1.2.13.3.3.1.8"></a><a name="id-1.2.13.3.3.1.8.1"></a><p><b>1.7.</b></p>
|
229
229
|
</td>
|
230
230
|
<td align="left" valign="top"><p>
|
231
231
|
How do I internationalize a GTK+ program?
|
@@ -259,22 +259,22 @@ Conventionally, people define macros as follows for convenience:
|
|
259
259
|
<td class="listing_lines" align="right"><pre>1
|
260
260
|
2
|
261
261
|
3</pre></td>
|
262
|
-
<td class="listing_code"><pre class="programlisting"><span class="preproc">#define</span><span class="normal"> </span><span class="function">_</span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> </span><span class="function">gettext</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span>
|
263
|
-
<span class="preproc">#define</span><span class="normal"> </span><span class="function">N_</span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> x</span>
|
264
|
-
<span class="preproc">#define</span><span class="normal"> </span><span class="function">C_</span><span class="symbol">(</span><span class="normal">ctx</span><span class="symbol">,</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> </span><span class="function">pgettext</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">ctx</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">)</span></pre></td>
|
262
|
+
<td class="listing_code"><pre class="programlisting"><span class="preproc">#define</span><span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> </span><span class="function">gettext</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span>
|
263
|
+
<span class="preproc">#define</span><span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#N-:CAPS">N_</a></span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> x</span>
|
264
|
+
<span class="preproc">#define</span><span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#C-:CAPS">C_</a></span><span class="symbol">(</span><span class="normal">ctx</span><span class="symbol">,</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> </span><span class="function">pgettext</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">ctx</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">)</span></pre></td>
|
265
265
|
</tr>
|
266
266
|
</tbody>
|
267
267
|
</table>
|
268
268
|
</div>
|
269
269
|
|
270
270
|
<p>
|
271
|
-
You use <code class="function">N_()</code> (N stands for no-op) to mark a string for translation in
|
271
|
+
You use <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#N-:CAPS"><code class="function">N_()</code></a> (N stands for no-op) to mark a string for translation in
|
272
272
|
a location where a function call to <code class="function">gettext()</code> is not allowed, such as
|
273
273
|
in an array initializer.
|
274
274
|
You eventually have to call <code class="function">gettext()</code> on the string to actually fetch
|
275
|
-
the translation. <code class="function">_()</code> both marks the string for translation and actually
|
275
|
+
the translation. <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro"><code class="function">_()</code></a> both marks the string for translation and actually
|
276
276
|
translates it.
|
277
|
-
The <code class="function">C_()</code> macro (C stands for context) adds an additional context to
|
277
|
+
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#C-:CAPS"><code class="function">C_()</code></a> macro (C stands for context) adds an additional context to
|
278
278
|
the string that is marked for translation, which can help to disambiguate
|
279
279
|
short strings that might need different translations in different
|
280
280
|
parts of your program.
|
@@ -301,7 +301,7 @@ Code using these macros ends up looking like this:
|
|
301
301
|
13</pre></td>
|
302
302
|
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><gi18n.h></span>
|
303
303
|
|
304
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">global_variable </span><span class="symbol">=</span><span class="normal"> </span><span class="function">N_</span><span class="symbol">(</span><span class="string">"Translate this string"</span><span class="symbol">);</span>
|
304
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">global_variable </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#N-:CAPS">N_</a></span><span class="symbol">(</span><span class="string">"Translate this string"</span><span class="symbol">);</span>
|
305
305
|
|
306
306
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
307
307
|
<span class="function">make_widgets</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
|
@@ -309,8 +309,8 @@ Code using these macros ends up looking like this:
|
|
309
309
|
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">label1</span><span class="symbol">;</span>
|
310
310
|
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">label2</span><span class="symbol">;</span>
|
311
311
|
|
312
|
-
<span class="normal"> label1 </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="function">_</span><span class="symbol">(</span><span class="string">"Another string to translate"</span><span class="symbol">));</span>
|
313
|
-
<span class="normal"> label2 </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="function">_</span><span class="symbol">(</span><span class="normal">global_variable</span><span class="symbol">));</span>
|
312
|
+
<span class="normal"> label1 </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="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="string">"Another string to translate"</span><span class="symbol">));</span>
|
313
|
+
<span class="normal"> label2 </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="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="normal">global_variable</span><span class="symbol">));</span>
|
314
314
|
<span class="symbol">...</span></pre></td>
|
315
315
|
</tr>
|
316
316
|
</tbody>
|
@@ -336,7 +336,7 @@ the following convenience:
|
|
336
336
|
<tbody>
|
337
337
|
<tr>
|
338
338
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
339
|
-
<td class="listing_code"><pre class="programlisting"><span class="preproc">#define</span><span class="normal"> </span><span class="function">_</span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> </span><span class="function">dgettext</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">GETTEXT_PACKAGE</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">)</span></pre></td>
|
339
|
+
<td class="listing_code"><pre class="programlisting"><span class="preproc">#define</span><span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> </span><span class="function">dgettext</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">GETTEXT_PACKAGE</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">)</span></pre></td>
|
340
340
|
</tr>
|
341
341
|
</tbody>
|
342
342
|
</table>
|
@@ -348,7 +348,7 @@ the following convenience:
|
|
348
348
|
</tr>
|
349
349
|
<tr class="question">
|
350
350
|
<td align="left" valign="top">
|
351
|
-
<a name="
|
351
|
+
<a name="id-1.2.13.3.3.1.9"></a><a name="id-1.2.13.3.3.1.9.1"></a><p><b>1.8.</b></p>
|
352
352
|
</td>
|
353
353
|
<td align="left" valign="top"><p>
|
354
354
|
How do I use non-ASCII characters in GTK+ programs ?
|
@@ -381,7 +381,7 @@ More information about Unicode and UTF-8 can be found in the
|
|
381
381
|
<a class="ulink" href="http://www.cl.cam.ac.uk/~mgk25/unicode.html" target="_top">UTF-8 and Unicode
|
382
382
|
FAQ for Unix/Linux</a>.
|
383
383
|
GLib provides functions for converting strings between UTF-8 and other
|
384
|
-
encodings, see <code class="function">g_locale_to_utf8()</code> and <code class="function">g_convert()</code>.
|
384
|
+
encodings, see <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-locale-to-utf8"><code class="function">g_locale_to_utf8()</code></a> and <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-convert"><code class="function">g_convert()</code></a>.
|
385
385
|
</p>
|
386
386
|
<p>
|
387
387
|
Text coming from external sources (e.g. files or user input), has to be
|
@@ -413,19 +413,19 @@ writes the content of a IS0-8859-1 encoded text file to
|
|
413
413
|
18</pre></td>
|
414
414
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">utf8_text</span><span class="symbol">;</span>
|
415
415
|
<span class="usertype">gsize</span><span class="normal"> length</span><span class="symbol">;</span>
|
416
|
-
<span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="/
|
416
|
+
<span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
417
417
|
|
418
|
-
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">g_file_get_contents</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">length</span><span class="symbol">,</span><span class="normal"> <a href="/
|
418
|
+
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#g-file-get-contents">g_file_get_contents</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">length</span><span class="symbol">,</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">))</span>
|
419
419
|
<span class="normal"> </span><span class="cbracket">{</span>
|
420
|
-
<span class="normal"> utf8_text </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_convert</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> length</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"UTF-8"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"ISO-8859-1"</span><span class="symbol">,</span>
|
421
|
-
<span class="normal"> <a href="/
|
422
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error </span><span class="symbol">!=</span><span class="normal"> <a href="/
|
420
|
+
<span class="normal"> utf8_text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-convert">g_convert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> length</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"UTF-8"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"ISO-8859-1"</span><span class="symbol">,</span>
|
421
|
+
<span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span>
|
422
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error </span><span class="symbol">!=</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
423
423
|
<span class="normal"> </span><span class="cbracket">{</span>
|
424
424
|
<span class="normal"> </span><span class="function">fprintf</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Couldn't convert file %s to UTF-8</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> filename</span><span class="symbol">);</span>
|
425
|
-
<span class="normal"> </span><span class="function">g_error_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
|
425
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-error-free">g_error_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
|
426
426
|
<span class="normal"> </span><span class="cbracket">}</span>
|
427
427
|
<span class="normal"> </span><span class="keyword">else</span>
|
428
|
-
<span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">utf8_text</span><span class="symbol">);</span>
|
428
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">utf8_text</span><span class="symbol">);</span>
|
429
429
|
<span class="normal"> </span><span class="cbracket">}</span>
|
430
430
|
<span class="keyword">else</span>
|
431
431
|
<span class="normal"> </span><span class="function">fprintf</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stderr</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Unable to read file %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> filename</span><span class="symbol">);</span></pre></td>
|
@@ -471,7 +471,7 @@ Be careful when mixing hexadecimal escapes with ordinary text;
|
|
471
471
|
<td><p>
|
472
472
|
If the string literals can be represented in an encoding which your
|
473
473
|
toolchain can handle (e.g. IS0-8859-1), you can write your source files
|
474
|
-
in that encoding and use <code class="function">g_convert()</code> to convert the strings to UTF-8 at
|
474
|
+
in that encoding and use <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-convert"><code class="function">g_convert()</code></a> to convert the strings to UTF-8 at
|
475
475
|
runtime. Note that this has some runtime overhead, so you may want to move
|
476
476
|
the conversion out of inner loops.
|
477
477
|
</p></td>
|
@@ -493,11 +493,11 @@ a string literal:
|
|
493
493
|
3
|
494
494
|
4
|
495
495
|
5</pre></td>
|
496
|
-
<td class="listing_code"><pre class="programlisting"><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"direct UTF-8: ©"</span><span class="symbol">);</span>
|
497
|
-
<span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"escaped UTF-8: </span><span class="specialchar">\3</span><span class="string">02</span><span class="specialchar">\2</span><span class="string">51"</span><span class="symbol">);</span>
|
498
|
-
<span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_convert</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"runtime conversion: ©"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"ISO-8859-1"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"UTF-8"</span><span class="symbol">,</span><span class="normal"> <a href="/
|
499
|
-
<span class="function">g_print</span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span>
|
500
|
-
<span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span></pre></td>
|
496
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"direct UTF-8: ©"</span><span class="symbol">);</span>
|
497
|
+
<span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"escaped UTF-8: </span><span class="specialchar">\3</span><span class="string">02</span><span class="specialchar">\2</span><span class="string">51"</span><span class="symbol">);</span>
|
498
|
+
<span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-convert">g_convert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"runtime conversion: ©"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"ISO-8859-1"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"UTF-8"</span><span class="symbol">,</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
499
|
+
<span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span>
|
500
|
+
<span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span></pre></td>
|
501
501
|
</tr>
|
502
502
|
</tbody>
|
503
503
|
</table>
|
@@ -514,7 +514,7 @@ returned in UTF-8 encoding.
|
|
514
514
|
</tr>
|
515
515
|
<tr class="question">
|
516
516
|
<td align="left" valign="top">
|
517
|
-
<a name="
|
517
|
+
<a name="id-1.2.13.3.3.1.10"></a><a name="id-1.2.13.3.3.1.10.1"></a><p><b>1.9.</b></p>
|
518
518
|
</td>
|
519
519
|
<td align="left" valign="top"><p>
|
520
520
|
How do I use GTK+ with C++?
|
@@ -577,7 +577,7 @@ There are very few functions that require this cast, however.
|
|
577
577
|
</tr>
|
578
578
|
<tr class="question">
|
579
579
|
<td align="left" valign="top">
|
580
|
-
<a name="
|
580
|
+
<a name="id-1.2.13.3.3.1.11"></a><a name="id-1.2.13.3.3.1.11.1"></a><p><b>1.10.</b></p>
|
581
581
|
</td>
|
582
582
|
<td align="left" valign="top"><p>
|
583
583
|
How do I use GTK+ with other non-C languages?
|
@@ -592,7 +592,7 @@ bindings</a> on <a class="ulink" href="http://www.gtk.org" target="_top">http://
|
|
592
592
|
</tr>
|
593
593
|
<tr class="question">
|
594
594
|
<td align="left" valign="top">
|
595
|
-
<a name="
|
595
|
+
<a name="id-1.2.13.3.3.1.12"></a><a name="id-1.2.13.3.3.1.12.1"></a><p><b>1.11.</b></p>
|
596
596
|
</td>
|
597
597
|
<td align="left" valign="top"><p>
|
598
598
|
How do I load an image or animation from a file?
|
@@ -603,7 +603,7 @@ How do I load an image or animation from a file?
|
|
603
603
|
<td align="left" valign="top">
|
604
604
|
<p>
|
605
605
|
To load an image file straight into a display widget, use
|
606
|
-
<a class="link" href="GtkImage.html#gtk-image-new-from-file" title="gtk_image_new_from_file ()"><code class="function">gtk_image_new_from_file()</code></a> <a href="#ftn.
|
606
|
+
<a class="link" href="GtkImage.html#gtk-image-new-from-file" title="gtk_image_new_from_file ()"><code class="function">gtk_image_new_from_file()</code></a> <a href="#ftn.id-1.2.13.3.3.1.12.2.1.2" class="footnote" name="id-1.2.13.3.3.1.12.2.1.2"><sup class="footnote">[1]</sup></a>.
|
607
607
|
To load an image for another purpose, use <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file"><code class="function">gdk_pixbuf_new_from_file()</code></a>. To i
|
608
608
|
load an animation, use <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file"><code class="function">gdk_pixbuf_animation_new_from_file()</code></a>.
|
609
609
|
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file"><code class="function">gdk_pixbuf_animation_new_from_file()</code></a> can also load non-animated images, so
|
@@ -618,7 +618,7 @@ To load an image or animation file asynchronously (without blocking), use
|
|
618
618
|
</tr>
|
619
619
|
<tr class="question">
|
620
620
|
<td align="left" valign="top">
|
621
|
-
<a name="
|
621
|
+
<a name="id-1.2.13.3.3.1.13"></a><a name="id-1.2.13.3.3.1.13.1"></a><p><b>1.12.</b></p>
|
622
622
|
</td>
|
623
623
|
<td align="left" valign="top"><p>
|
624
624
|
How do I draw text ?
|
@@ -628,7 +628,7 @@ How do I draw text ?
|
|
628
628
|
<td align="left" valign="top"></td>
|
629
629
|
<td align="left" valign="top">
|
630
630
|
<p>
|
631
|
-
To draw a piece of text, use a Pango layout and <
|
631
|
+
To draw a piece of text, use a Pango layout and <code class="function">pango_cairo_show_layout()</code>.
|
632
632
|
</p>
|
633
633
|
<div class="informalexample">
|
634
634
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -641,11 +641,11 @@ To draw a piece of text, use a Pango layout and <a href="/usr/share/gtk-doc/html
|
|
641
641
|
5
|
642
642
|
6</pre></td>
|
643
643
|
<td class="listing_code"><pre class="programlisting"><span class="normal">layout </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-create-pango-layout">gtk_widget_create_pango_layout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> text</span><span class="symbol">);</span>
|
644
|
-
<span class="normal">fontdesc </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
645
|
-
<span class="function"
|
646
|
-
<span class="function"
|
647
|
-
<span class="function"
|
648
|
-
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span></pre></td>
|
644
|
+
<span class="normal">fontdesc </span><span class="symbol">=</span><span class="normal"> </span><span class="function">pango_font_description_from_string</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Luxi Mono 12"</span><span class="symbol">);</span>
|
645
|
+
<span class="function">pango_layout_set_font_description</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> fontdesc</span><span class="symbol">);</span>
|
646
|
+
<span class="function">pango_cairo_show_layout</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> layout</span><span class="symbol">);</span>
|
647
|
+
<span class="function">pango_font_description_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">fontdesc</span><span class="symbol">);</span>
|
648
|
+
<span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span></pre></td>
|
649
649
|
</tr>
|
650
650
|
</tbody>
|
651
651
|
</table>
|
@@ -662,7 +662,7 @@ section of <a class="ulink" href="http://developer.gnome.org/pango/stable/" targ
|
|
662
662
|
</tr>
|
663
663
|
<tr class="question">
|
664
664
|
<td align="left" valign="top">
|
665
|
-
<a name="
|
665
|
+
<a name="id-1.2.13.3.3.1.14"></a><a name="id-1.2.13.3.3.1.14.1"></a><p><b>1.13.</b></p>
|
666
666
|
</td>
|
667
667
|
<td align="left" valign="top"><p>
|
668
668
|
How do I measure the size of a piece of text ?
|
@@ -673,7 +673,7 @@ How do I measure the size of a piece of text ?
|
|
673
673
|
<td align="left" valign="top">
|
674
674
|
<p>
|
675
675
|
To obtain the size of a piece of text, use a Pango layout and
|
676
|
-
<
|
676
|
+
<code class="function">pango_layout_get_pixel_size()</code>, using code like the following:
|
677
677
|
</p>
|
678
678
|
<div class="informalexample">
|
679
679
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -686,11 +686,11 @@ To obtain the size of a piece of text, use a Pango layout and
|
|
686
686
|
5
|
687
687
|
6</pre></td>
|
688
688
|
<td class="listing_code"><pre class="programlisting"><span class="normal">layout </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-create-pango-layout">gtk_widget_create_pango_layout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> text</span><span class="symbol">);</span>
|
689
|
-
<span class="normal">fontdesc </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
690
|
-
<span class="function"
|
691
|
-
<span class="function"
|
692
|
-
<span class="function"
|
693
|
-
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span></pre></td>
|
689
|
+
<span class="normal">fontdesc </span><span class="symbol">=</span><span class="normal"> </span><span class="function">pango_font_description_from_string</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Luxi Mono 12"</span><span class="symbol">);</span>
|
690
|
+
<span class="function">pango_layout_set_font_description</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> fontdesc</span><span class="symbol">);</span>
|
691
|
+
<span class="function">pango_layout_get_pixel_size</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">height</span><span class="symbol">);</span>
|
692
|
+
<span class="function">pango_font_description_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">fontdesc</span><span class="symbol">);</span>
|
693
|
+
<span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span></pre></td>
|
694
694
|
</tr>
|
695
695
|
</tbody>
|
696
696
|
</table>
|
@@ -707,7 +707,7 @@ section of <a class="ulink" href="http://developer.gnome.org/pango/stable/" targ
|
|
707
707
|
</tr>
|
708
708
|
<tr class="question">
|
709
709
|
<td align="left" valign="top">
|
710
|
-
<a name="
|
710
|
+
<a name="id-1.2.13.3.3.1.15"></a><a name="id-1.2.13.3.3.1.15.1"></a><p><b>1.14.</b></p>
|
711
711
|
</td>
|
712
712
|
<td align="left" valign="top"><p>
|
713
713
|
Why are types not registered if I use their <code class="literal">GTK_TYPE_BLAH</code>
|
@@ -720,7 +720,7 @@ macro ?
|
|
720
720
|
<p>
|
721
721
|
The <code class="literal">GTK_TYPE_BLAH</code> macros are defined as calls to
|
722
722
|
<code class="literal"><code class="function">gtk_blah_get_type()</code></code>, and the <code class="literal"><code class="function">_get_type()</code></code> i
|
723
|
-
functions are declared as <code class="literal">G_GNUC_CONST</code> which allows the compiler to optimize
|
723
|
+
functions are declared as <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html#G-GNUC-CONST:CAPS"><code class="literal">G_GNUC_CONST</code></a> which allows the compiler to optimize
|
724
724
|
the call away if it appears that the value is not being used.
|
725
725
|
</p>
|
726
726
|
<p>
|
@@ -744,7 +744,7 @@ variable, which keeps the compiler from optimizing the call away.
|
|
744
744
|
</tr>
|
745
745
|
<tr class="question">
|
746
746
|
<td align="left" valign="top">
|
747
|
-
<a name="
|
747
|
+
<a name="id-1.2.13.3.3.1.16"></a><a name="id-1.2.13.3.3.1.16.1"></a><p><b>1.15.</b></p>
|
748
748
|
</td>
|
749
749
|
<td align="left" valign="top"><p>
|
750
750
|
How do I create a transparent toplevel window ?
|
@@ -757,7 +757,7 @@ How do I create a transparent toplevel window ?
|
|
757
757
|
To make a window transparent, it needs to use a visual which supports that.
|
758
758
|
This is done by getting the RGBA visual of the screen with
|
759
759
|
<a href="http://developer.gnome.org/gdk2/GdkScreen.html#gdk-screen-get-rgba-visual"><code class="function">gdk_screen_get_rgba_visual()</code></a> and setting it on the window. Note that
|
760
|
-
<a href="http://developer.gnome.org/gdk2/GdkScreen.html#gdk-screen-get-rgba-visual"><code class="function">gdk_screen_get_rgba_visual()</code></a> will return <a href="/
|
760
|
+
<a href="http://developer.gnome.org/gdk2/GdkScreen.html#gdk-screen-get-rgba-visual"><code class="function">gdk_screen_get_rgba_visual()</code></a> will return <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if transparent windows
|
761
761
|
are not supported on the screen, you should fall back to
|
762
762
|
<a href="http://developer.gnome.org/gdk2/GdkScreen.html#gdk-screen-get-system-visual"><code class="function">gdk_screen_get_system_visual()</code></a> in that case. Additionally, note that this
|
763
763
|
will change from screen to screen, so it needs to be repeated whenever the
|
@@ -777,7 +777,7 @@ window is moved to a different screen.
|
|
777
777
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">GdkVisual</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">visual</span><span class="symbol">;</span>
|
778
778
|
|
779
779
|
<span class="normal">visual </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gdk2/GdkScreen.html#gdk-screen-get-rgba-visual">gdk_screen_get_rgba_visual</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">screen</span><span class="symbol">);</span>
|
780
|
-
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">visual </span><span class="symbol">==</span><span class="normal"> <a href="/
|
780
|
+
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">visual </span><span class="symbol">==</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
781
781
|
<span class="normal"> visual </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gdk2/GdkScreen.html#gdk-screen-get-system-visual">gdk_screen_get_system_visual</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">screen</span><span class="symbol">);</span>
|
782
782
|
|
783
783
|
<span class="function"><a href="GtkWidget.html#gtk-widget-set-visual">gtk_widget_set_visual</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_WIDGET</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> visual</span><span class="symbol">);</span></pre></td>
|
@@ -800,10 +800,10 @@ channel will be respected.
|
|
800
800
|
</td>
|
801
801
|
</tr>
|
802
802
|
<tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
|
803
|
-
<a name="
|
803
|
+
<a name="id-1.2.13.3.3.2"></a>2. Which widget should I use...</h5></td></tr>
|
804
804
|
<tr class="question">
|
805
805
|
<td align="left" valign="top">
|
806
|
-
<a name="
|
806
|
+
<a name="id-1.2.13.3.3.2.2"></a><a name="id-1.2.13.3.3.2.2.1"></a><p><b>2.1.</b></p>
|
807
807
|
</td>
|
808
808
|
<td align="left" valign="top"><p>
|
809
809
|
...for lists and trees?
|
@@ -819,7 +819,7 @@ so the tree widget is used for lists as well).
|
|
819
819
|
</tr>
|
820
820
|
<tr class="question">
|
821
821
|
<td align="left" valign="top">
|
822
|
-
<a name="
|
822
|
+
<a name="id-1.2.13.3.3.2.3"></a><a name="id-1.2.13.3.3.2.3.1"></a><p><b>2.2.</b></p>
|
823
823
|
</td>
|
824
824
|
<td align="left" valign="top"><p>
|
825
825
|
...for multi-line text display or editing?
|
@@ -841,7 +841,7 @@ single-line text entry, see <a class="link" href="GtkEntry.html" title="GtkEntry
|
|
841
841
|
</tr>
|
842
842
|
<tr class="question">
|
843
843
|
<td align="left" valign="top">
|
844
|
-
<a name="
|
844
|
+
<a name="id-1.2.13.3.3.2.4"></a><a name="id-1.2.13.3.3.2.4.1"></a><p><b>2.3.</b></p>
|
845
845
|
</td>
|
846
846
|
<td align="left" valign="top"><p>
|
847
847
|
...to display an image or animation?
|
@@ -857,7 +857,7 @@ such as draw text or graphics over the top of the image.
|
|
857
857
|
</tr>
|
858
858
|
<tr class="question">
|
859
859
|
<td align="left" valign="top">
|
860
|
-
<a name="
|
860
|
+
<a name="id-1.2.13.3.3.2.5"></a><a name="id-1.2.13.3.3.2.5.1"></a><p><b>2.4.</b></p>
|
861
861
|
</td>
|
862
862
|
<td align="left" valign="top"><p>
|
863
863
|
...for presenting a set of mutually-exclusive choices, where Windows
|
@@ -874,10 +874,10 @@ on the current theme. If you need an editable text entry, use the
|
|
874
874
|
</p></td>
|
875
875
|
</tr>
|
876
876
|
<tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
|
877
|
-
<a name="
|
877
|
+
<a name="id-1.2.13.3.3.3"></a>3. GtkWidget</h5></td></tr>
|
878
878
|
<tr class="question">
|
879
879
|
<td align="left" valign="top">
|
880
|
-
<a name="
|
880
|
+
<a name="id-1.2.13.3.3.3.2"></a><a name="id-1.2.13.3.3.3.2.1"></a><p><b>3.1.</b></p>
|
881
881
|
</td>
|
882
882
|
<td align="left" valign="top"><p>
|
883
883
|
How do I change the color of a widget?
|
@@ -899,7 +899,7 @@ of the event box.
|
|
899
899
|
</tr>
|
900
900
|
<tr class="question">
|
901
901
|
<td align="left" valign="top">
|
902
|
-
<a name="
|
902
|
+
<a name="id-1.2.13.3.3.3.3"></a><a name="id-1.2.13.3.3.3.3.1"></a><p><b>3.2.</b></p>
|
903
903
|
</td>
|
904
904
|
<td align="left" valign="top"><p>
|
905
905
|
How do I change the font of a widget?
|
@@ -920,10 +920,10 @@ achieve. One option is <a class="link" href="GtkWidget.html#gtk-widget-override-
|
|
920
920
|
2
|
921
921
|
3
|
922
922
|
4</pre></td>
|
923
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">PangoFontDesc</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">font_desc </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
924
|
-
<span class="function"
|
923
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">PangoFontDesc</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">font_desc </span><span class="symbol">=</span><span class="normal"> </span><span class="function">pango_font_description_new</span><span class="normal"> </span><span class="symbol">();</span>
|
924
|
+
<span class="function">pango_font_description_set_size</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">font_desc</span><span class="symbol">,</span><span class="normal"> </span><span class="number">40</span><span class="symbol">);</span>
|
925
925
|
<span class="function"><a href="GtkWidget.html#gtk-widget-override-font">gtk_widget_override_font</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> font</span><span class="symbol">);</span>
|
926
|
-
<span class="function"
|
926
|
+
<span class="function">pango_font_description_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">font_desc</span><span class="symbol">);</span></pre></td>
|
927
927
|
</tr>
|
928
928
|
</tbody>
|
929
929
|
</table>
|
@@ -948,7 +948,7 @@ If you want to make the text of a label larger, you can use
|
|
948
948
|
|
949
949
|
<p>
|
950
950
|
This is preferred for many apps because it's a relative size to the
|
951
|
-
user's chosen font size. See <code class="function">g_markup_escape_text()</code> if you are
|
951
|
+
user's chosen font size. See <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html#g-markup-escape-text"><code class="function">g_markup_escape_text()</code></a> if you are
|
952
952
|
constructing such strings on the fly.
|
953
953
|
</p>
|
954
954
|
<p>
|
@@ -971,7 +971,7 @@ you have chosen. See the <a class="link" href="GtkStyleContext.html" title="GtkS
|
|
971
971
|
</tr>
|
972
972
|
<tr class="question">
|
973
973
|
<td align="left" valign="top">
|
974
|
-
<a name="
|
974
|
+
<a name="id-1.2.13.3.3.3.4"></a><a name="id-1.2.13.3.3.3.4.1"></a><p><b>3.3.</b></p>
|
975
975
|
</td>
|
976
976
|
<td align="left" valign="top"><p>
|
977
977
|
How do I disable/ghost/desensitize a widget?
|
@@ -985,10 +985,10 @@ See <a class="link" href="GtkWidget.html#gtk-widget-set-sensitive" title="gtk_wi
|
|
985
985
|
</p></td>
|
986
986
|
</tr>
|
987
987
|
<tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
|
988
|
-
<a name="
|
988
|
+
<a name="id-1.2.13.3.3.4"></a>4. GtkTextView</h5></td></tr>
|
989
989
|
<tr class="question">
|
990
990
|
<td align="left" valign="top">
|
991
|
-
<a name="
|
991
|
+
<a name="id-1.2.13.3.3.4.2"></a><a name="id-1.2.13.3.3.4.2.1"></a><p><b>4.1.</b></p>
|
992
992
|
</td>
|
993
993
|
<td align="left" valign="top"><p>
|
994
994
|
How do I get the contents of the entire text widget as a string?
|
@@ -1024,7 +1024,7 @@ or <a class="link" href="GtkTextIter.html#gtk-text-iter-get-text" title="gtk_tex
|
|
1024
1024
|
<span class="function"><a href="GtkTextBuffer.html#gtk-text-buffer-get-bounds">gtk_text_buffer_get_bounds</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">buffer</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">start</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">end</span><span class="symbol">);</span>
|
1025
1025
|
<span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTextIter.html#gtk-text-iter-get-text">gtk_text_iter_get_text</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">start</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">end</span><span class="symbol">);</span>
|
1026
1026
|
<span class="comment">/* use text */</span>
|
1027
|
-
<span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span></pre></td>
|
1027
|
+
<span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span></pre></td>
|
1028
1028
|
</tr>
|
1029
1029
|
</tbody>
|
1030
1030
|
</table>
|
@@ -1036,7 +1036,7 @@ or <a class="link" href="GtkTextIter.html#gtk-text-iter-get-text" title="gtk_tex
|
|
1036
1036
|
</tr>
|
1037
1037
|
<tr class="question">
|
1038
1038
|
<td align="left" valign="top">
|
1039
|
-
<a name="
|
1039
|
+
<a name="id-1.2.13.3.3.4.3"></a><a name="id-1.2.13.3.3.4.3.1"></a><p><b>4.2.</b></p>
|
1040
1040
|
</td>
|
1041
1041
|
<td align="left" valign="top"><p>
|
1042
1042
|
How do I make a text widget display its complete contents in a specific font?
|
@@ -1059,7 +1059,7 @@ To ensure that all text has the desired appearance, use
|
|
1059
1059
|
</tr>
|
1060
1060
|
<tr class="question">
|
1061
1061
|
<td align="left" valign="top">
|
1062
|
-
<a name="
|
1062
|
+
<a name="id-1.2.13.3.3.4.4"></a><a name="id-1.2.13.3.3.4.4.1"></a><p><b>4.3.</b></p>
|
1063
1063
|
</td>
|
1064
1064
|
<td align="left" valign="top"><p>
|
1065
1065
|
How do I make a text view scroll to the end of the buffer automatically ?
|
@@ -1086,11 +1086,11 @@ The gtk-demo application contains an example of this technique.
|
|
1086
1086
|
</td>
|
1087
1087
|
</tr>
|
1088
1088
|
<tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
|
1089
|
-
<a name="
|
1089
|
+
<a name="id-1.2.13.3.3.5"></a>5. <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
|
1090
1090
|
</h5></td></tr>
|
1091
1091
|
<tr class="question">
|
1092
1092
|
<td align="left" valign="top">
|
1093
|
-
<a name="
|
1093
|
+
<a name="id-1.2.13.3.3.5.2"></a><a name="id-1.2.13.3.3.5.2.1"></a><p><b>5.1.</b></p>
|
1094
1094
|
</td>
|
1095
1095
|
<td align="left" valign="top"><p>
|
1096
1096
|
How do I associate some data with a row in the tree?
|
@@ -1107,7 +1107,7 @@ See the <a class="link" href="TreeWidget.html" title="Tree and List Widget Overv
|
|
1107
1107
|
</tr>
|
1108
1108
|
<tr class="question">
|
1109
1109
|
<td align="left" valign="top">
|
1110
|
-
<a name="
|
1110
|
+
<a name="id-1.2.13.3.3.5.3"></a><a name="id-1.2.13.3.3.5.3.1"></a><p><b>5.2.</b></p>
|
1111
1111
|
</td>
|
1112
1112
|
<td align="left" valign="top"><p>
|
1113
1113
|
How do I put an image and some text in the same column?
|
@@ -1124,7 +1124,7 @@ column.
|
|
1124
1124
|
</tr>
|
1125
1125
|
<tr class="question">
|
1126
1126
|
<td align="left" valign="top">
|
1127
|
-
<a name="
|
1127
|
+
<a name="id-1.2.13.3.3.5.4"></a><a name="id-1.2.13.3.3.5.4.1"></a><p><b>5.3.</b></p>
|
1128
1128
|
</td>
|
1129
1129
|
<td align="left" valign="top"><p>
|
1130
1130
|
I can set data easily on my <a class="link" href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a>/<a class="link" href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a> models using
|
@@ -1142,7 +1142,7 @@ implements. The easiest way to read a set of data back is to use
|
|
1142
1142
|
</tr>
|
1143
1143
|
<tr class="question">
|
1144
1144
|
<td align="left" valign="top">
|
1145
|
-
<a name="
|
1145
|
+
<a name="id-1.2.13.3.3.5.5"></a><a name="id-1.2.13.3.3.5.5.1"></a><p><b>5.4.</b></p>
|
1146
1146
|
</td>
|
1147
1147
|
<td align="left" valign="top"><p>
|
1148
1148
|
How do I change the way that numbers are formatted by <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>?
|
@@ -1154,7 +1154,7 @@ How do I change the way that numbers are formatted by <a class="link" href="GtkT
|
|
1154
1154
|
<p>
|
1155
1155
|
Use <a class="link" href="GtkTreeView.html#gtk-tree-view-insert-column-with-data-func" title="gtk_tree_view_insert_column_with_data_func ()"><code class="function">gtk_tree_view_insert_column_with_data_func()</code></a>
|
1156
1156
|
or <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func" title="gtk_tree_view_column_set_cell_data_func ()"><code class="function">gtk_tree_view_column_set_cell_data_func()</code></a> and do the conversion
|
1157
|
-
from number to string yourself (with, say, <code class="function">g_strdup_printf()</code>).
|
1157
|
+
from number to string yourself (with, say, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strdup-printf"><code class="function">g_strdup_printf()</code></a>).
|
1158
1158
|
</p>
|
1159
1159
|
<p>
|
1160
1160
|
The following example demonstrates this:
|
@@ -1248,11 +1248,11 @@ The following example demonstrates this:
|
|
1248
1248
|
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text</span><span class="symbol">;</span>
|
1249
1249
|
|
1250
1250
|
<span class="normal"> </span><span class="comment">/* Get the double value from the model. */</span>
|
1251
|
-
<span class="normal"> </span><span class="function"><a href="GtkTreeModel.html#gtk-tree-model-get">gtk_tree_model_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tree_model</span><span class="symbol">,</span><span class="normal"> iter</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">gint</span><span class="symbol">)</span><span class="normal">data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">d</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
|
1251
|
+
<span class="normal"> </span><span class="function"><a href="GtkTreeModel.html#gtk-tree-model-get">gtk_tree_model_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tree_model</span><span class="symbol">,</span><span class="normal"> iter</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a></span><span class="symbol">)</span><span class="normal">data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">d</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
|
1252
1252
|
<span class="normal"> </span><span class="comment">/* Now we can format the value ourselves. */</span>
|
1253
|
-
<span class="normal"> text </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_strdup_printf</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"%.2f"</span><span class="symbol">,</span><span class="normal"> d</span><span class="symbol">);</span>
|
1254
|
-
<span class="normal"> </span><span class="function">g_object_set</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cell</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"text"</span><span class="symbol">,</span><span class="normal"> text</span><span class="symbol">,</span><span class="normal"> <a href="/
|
1255
|
-
<span class="normal"> </span><span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span>
|
1253
|
+
<span class="normal"> text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strdup-printf">g_strdup_printf</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"%.2f"</span><span class="symbol">,</span><span class="normal"> d</span><span class="symbol">);</span>
|
1254
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-set">g_object_set</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cell</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"text"</span><span class="symbol">,</span><span class="normal"> text</span><span class="symbol">,</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
1255
|
+
<span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span>
|
1256
1256
|
<span class="cbracket">}</span>
|
1257
1257
|
|
1258
1258
|
<span class="type">void</span>
|
@@ -1263,7 +1263,7 @@ The following example demonstrates this:
|
|
1263
1263
|
<span class="normal"> </span><span class="usertype">GtkListStore</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">mycolumns</span><span class="symbol">;</span>
|
1264
1264
|
|
1265
1265
|
<span class="normal"> </span><span class="comment">/* Create the data model and associate it with the given TreeView */</span>
|
1266
|
-
<span class="normal"> mycolumns </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-new">gtk_list_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">N_COLUMNS</span><span class="symbol">,</span><span class="normal"> G_TYPE_DOUBLE</span><span class="symbol">);</span>
|
1266
|
+
<span class="normal"> mycolumns </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-new">gtk_list_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">N_COLUMNS</span><span class="symbol">,</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS">G_TYPE_DOUBLE</a></span><span class="symbol">);</span>
|
1267
1267
|
<span class="normal"> </span><span class="function"><a href="GtkTreeView.html#gtk-tree-view-set-model">gtk_tree_view_set_model</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">myview</span><span class="symbol">,</span><span class="normal"> </span><span class="function">GTK_TREE_MODEL</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mycolumns</span><span class="symbol">));</span>
|
1268
1268
|
|
1269
1269
|
<span class="normal"> </span><span class="comment">/* Create a GtkCellRendererText */</span>
|
@@ -1276,7 +1276,7 @@ The following example demonstrates this:
|
|
1276
1276
|
<span class="normal"> column </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-new">gtk_tree_view_column_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
1277
1277
|
<span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-title">gtk_tree_view_column_set_title</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">column</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Example column"</span><span class="symbol">);</span>
|
1278
1278
|
<span class="normal"> renderer </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkCellRendererText.html#gtk-cell-renderer-text-new">gtk_cell_renderer_text_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
1279
|
-
<span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-start">gtk_tree_view_column_pack_start</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">column</span><span class="symbol">,</span><span class="normal"> renderer</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
1279
|
+
<span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-start">gtk_tree_view_column_pack_start</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">column</span><span class="symbol">,</span><span class="normal"> renderer</span><span class="symbol">,</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
1280
1280
|
|
1281
1281
|
<span class="normal"> </span><span class="comment">/* Append the new column after the GtkTreeView's previous columns. */</span>
|
1282
1282
|
<span class="normal"> </span><span class="function"><a href="GtkTreeView.html#gtk-tree-view-append-column">gtk_tree_view_append_column</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TREE_VIEW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">myview</span><span class="symbol">),</span><span class="normal"> column</span><span class="symbol">);</span>
|
@@ -1289,7 +1289,7 @@ The following example demonstrates this:
|
|
1289
1289
|
<span class="comment"> */</span>
|
1290
1290
|
<span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func">gtk_tree_view_column_set_cell_data_func</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">column</span><span class="symbol">,</span><span class="normal"> renderer</span><span class="symbol">,</span>
|
1291
1291
|
<span class="normal"> my_cell_double_to_text</span><span class="symbol">,</span>
|
1292
|
-
<span class="normal"> </span><span class="symbol">(</span><span class="normal">gpointer</span><span class="symbol">)</span><span class="normal">DOUBLE_COLUMN</span><span class="symbol">,</span><span class="normal"> <a href="/
|
1292
|
+
<span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a></span><span class="symbol">)</span><span class="normal">DOUBLE_COLUMN</span><span class="symbol">,</span><span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
1293
1293
|
<span class="cbracket">}</span></pre></td>
|
1294
1294
|
</tr>
|
1295
1295
|
</tbody>
|
@@ -1302,7 +1302,7 @@ The following example demonstrates this:
|
|
1302
1302
|
</tr>
|
1303
1303
|
<tr class="question">
|
1304
1304
|
<td align="left" valign="top">
|
1305
|
-
<a name="
|
1305
|
+
<a name="id-1.2.13.3.3.5.6"></a><a name="id-1.2.13.3.3.5.6.1"></a><p><b>5.5.</b></p>
|
1306
1306
|
</td>
|
1307
1307
|
<td align="left" valign="top"><p>
|
1308
1308
|
How do I hide the expander arrows in my tree view ?
|
@@ -1316,10 +1316,10 @@ See <a class="link" href="GtkTreeView.html#gtk-tree-view-set-expander-column" ti
|
|
1316
1316
|
</p></td>
|
1317
1317
|
</tr>
|
1318
1318
|
<tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
|
1319
|
-
<a name="
|
1319
|
+
<a name="id-1.2.13.3.3.6"></a>6. Using cairo with GTK+</h5></td></tr>
|
1320
1320
|
<tr class="question">
|
1321
1321
|
<td align="left" valign="top">
|
1322
|
-
<a name="
|
1322
|
+
<a name="id-1.2.13.3.3.6.2"></a><a name="id-1.2.13.3.3.6.2.1"></a><p><b>6.1.</b></p>
|
1323
1323
|
</td>
|
1324
1324
|
<td align="left" valign="top"><p>
|
1325
1325
|
How do I use cairo to draw in GTK+ applications ?
|
@@ -1343,7 +1343,7 @@ since it can cause some flickering.
|
|
1343
1343
|
</tr>
|
1344
1344
|
<tr class="question">
|
1345
1345
|
<td align="left" valign="top">
|
1346
|
-
<a name="
|
1346
|
+
<a name="id-1.2.13.3.3.6.3"></a><a name="id-1.2.13.3.3.6.3.1"></a><p><b>6.2.</b></p>
|
1347
1347
|
</td>
|
1348
1348
|
<td align="left" valign="top"><p>
|
1349
1349
|
Can I improve the performance of my application by using the
|
@@ -1363,7 +1363,7 @@ Render extension).
|
|
1363
1363
|
</tr>
|
1364
1364
|
<tr class="question">
|
1365
1365
|
<td align="left" valign="top">
|
1366
|
-
<a name="
|
1366
|
+
<a name="id-1.2.13.3.3.6.4"></a><a name="id-1.2.13.3.3.6.4.1"></a><p><b>6.3.</b></p>
|
1367
1367
|
</td>
|
1368
1368
|
<td align="left" valign="top"><p>
|
1369
1369
|
Can I use cairo to draw on a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> ?
|
@@ -1382,7 +1382,7 @@ pixel format used by GdkPixbuf.
|
|
1382
1382
|
</div>
|
1383
1383
|
<div class="footnotes">
|
1384
1384
|
<br><hr style="width:100; text-align:left;margin-left: 0">
|
1385
|
-
<div id="ftn.
|
1385
|
+
<div id="ftn.id-1.2.13.3.3.1.12.2.1.2" class="footnote"><p><a href="#id-1.2.13.3.3.1.12.2.1.2" class="para"><sup class="para">[1] </sup></a> If the file load fails,
|
1386
1386
|
<a class="link" href="GtkImage.html#gtk-image-new-from-file" title="gtk_image_new_from_file ()"><code class="function">gtk_image_new_from_file()</code></a> will display no image graphic — to detect
|
1387
1387
|
a failed load yourself, use <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file"><code class="function">gdk_pixbuf_new_from_file()</code></a> directly, then
|
1388
1388
|
<a class="link" href="GtkImage.html#gtk-image-new-from-pixbuf" title="gtk_image_new_from_pixbuf ()"><code class="function">gtk_image_new_from_pixbuf()</code></a>.</p></div>
|
@@ -1390,6 +1390,6 @@ a failed load yourself, use <a href="http://library.gnome.org/devel/gdk-pixbuf/u
|
|
1390
1390
|
</div>
|
1391
1391
|
<div class="footer">
|
1392
1392
|
<hr>
|
1393
|
-
Generated by GTK-Doc V1.18</div>
|
1393
|
+
Generated by GTK-Doc V1.18.1</div>
|
1394
1394
|
</body>
|
1395
1395
|
</html>
|