gtk2 1.1.4-x86-mingw32 → 1.1.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -1
- data/ext/gtk2/rbgtk.c +40 -0
- data/ext/gtk2/rbgtktreestore.c +6 -5
- data/lib/1.8/gtk2.so +0 -0
- data/lib/1.9/gtk2.so +0 -0
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
- data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkprivate.h +17 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkversion.h +3 -3
- data/vendor/local/lib/gailutil.lib +0 -0
- data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/manifest/{gtk+-dev_2.24.8-1_win32.mft → gtk+-dev_2.24.10-1_win32.mft} +5 -7
- data/vendor/local/manifest/{gtk+_2.24.8-1_win32.mft → gtk+_2.24.10-1_win32.mft} +2 -2
- data/vendor/local/share/doc/{gtk+-2.24.8 → gtk+-2.24.10}/COPYING +0 -0
- data/vendor/local/share/doc/{gtk+-dev-2.24.8 → gtk+-dev-2.24.10}/COPYING +0 -0
- data/vendor/local/share/gtk-2.0/demo/drawingarea.c +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +18 -18
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +9 -10
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/libgail-util-main.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplay.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplayManager.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk/GdkScreen.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk/annotation-glossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-12.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-2.html +21 -21
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-4.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-8.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk/api-index-deprecated.html +22 -22
- data/vendor/local/share/gtk-doc/html/gdk/api-index-full.html +93 -93
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Application-launching.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cairo-Interaction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cursors.html +4 -5
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html +5 -7
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Event-Structures.html +12 -20
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Events.html +7 -9
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Fonts.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk/gdk-GdkRGB.html +16 -17
- data/vendor/local/share/gtk-doc/html/gdk/gdk-General.html +21 -22
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html +9 -16
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Images.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input-Devices.html +9 -13
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Keyboard-Handling.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pango-Interaction.html +9 -9
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pixbufs.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Points-Rectangles-and-Regions.html +4 -6
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Properties-and-Atoms.html +6 -7
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Selections.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Testing.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Threads.html +23 -23
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Visuals.html +4 -6
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Windows.html +88 -98
- data/vendor/local/share/gtk-doc/html/gdk/gdk-X-Window-System-Interaction.html +2486 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp2 +92 -0
- data/vendor/local/share/gtk-doc/html/gdk/index.html +5 -2
- data/vendor/local/share/gtk-doc/html/gdk/index.sgml +95 -0
- data/vendor/local/share/gtk-doc/html/gdk/multihead.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk/reference.html +5 -3
- data/vendor/local/share/gtk-doc/html/gtk/AbstractObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/Actions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/Builder.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/ButtonWidgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/DeprecatedObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/DisplayWidgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkAboutDialog.html +26 -36
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccelLabel.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccessible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkAction.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/GtkActionGroup.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkActivatable.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/GtkAdjustment.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkAlignment.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkArrow.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkAspectFrame.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkAssistant.html +7 -8
- data/vendor/local/share/gtk-doc/html/gtk/GtkBin.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuildable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuilder.html +6 -7
- data/vendor/local/share/gtk-doc/html/gtk/GtkButton.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/GtkButtonBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkCList.html +37 -40
- data/vendor/local/share/gtk-doc/html/gtk/GtkCTree.html +54 -58
- data/vendor/local/share/gtk-doc/html/gtk/GtkCalendar.html +5 -6
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellEditable.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellLayout.html +3 -7
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRenderer.html +33 -35
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererAccel.html +6 -7
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererCombo.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererPixbuf.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererProgress.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpin.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpinner.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererText.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererToggle.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellView.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/GtkCheckButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorButton.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelection.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelectionDialog.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkCombo.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxEntry.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxText.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkContainer.html +7 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkCurve.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/GtkDialog.html +9 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkDrawingArea.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/GtkEditable.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntry.html +17 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryBuffer.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryCompletion.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkEventBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/GtkExpander.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooser.html +10 -12
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserButton.html +11 -13
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserDialog.html +2 -12
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserWidget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileSelection.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkFixed.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontButton.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelection.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelectionDialog.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/GtkFrame.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkGammaCurve.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkHBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkHButtonBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkHPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkHRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSV.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScale.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScrollbar.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkHandleBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContext.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContextSimple.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMMulticontext.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconTheme.html +25 -26
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconView.html +14 -15
- data/vendor/local/share/gtk-doc/html/gtk/GtkImage.html +63 -64
- data/vendor/local/share/gtk-doc/html/gtk/GtkImageMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkInfoBar.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkInputDialog.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/GtkInvisible.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk/GtkItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkItemFactory.html +20 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkLabel.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk/GtkLayout.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/GtkLinkButton.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/GtkList.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkListItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkListStore.html +5 -17
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenu.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuBar.html +3 -4
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuItem.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuShell.html +4 -5
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuToolButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkMessageDialog.html +6 -28
- data/vendor/local/share/gtk-doc/html/gtk/GtkMisc.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkNotebook.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkObject.html +9 -26
- data/vendor/local/share/gtk-doc/html/gtk/GtkOffscreenWindow.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/GtkOldEditable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkOptionMenu.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetup.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetupUnixDialog.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkPaned.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/GtkPaperSize.html +3 -4
- data/vendor/local/share/gtk-doc/html/gtk/GtkPixmap.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkPlug.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkPreview.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintContext.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintJob.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintSettings.html +22 -38
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintUnixDialog.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrinter.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgressBar.html +8 -10
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioAction.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioMenuItem.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioToolButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkRange.html +7 -8
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentAction.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooser.html +6 -8
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserDialog.html +2 -14
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserMenu.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserWidget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentFilter.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentManager.html +32 -33
- data/vendor/local/share/gtk-doc/html/gtk/GtkRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkScale.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkScaleButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrollbar.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrolledWindow.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorToolItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkSettings.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/GtkSizeGroup.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkSocket.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinButton.html +14 -16
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinner.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusIcon.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusbar.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkStyle.html +222 -222
- data/vendor/local/share/gtk-doc/html/gtk/GtkTable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkTearoffMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkText.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextBuffer.html +38 -52
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextIter.html +11 -5
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextMark.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTag.html +21 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTagTable.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextView.html +23 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkTipsQuery.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleAction.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleToolButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolButton.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItemGroup.html +10 -14
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolPalette.html +24 -36
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolShell.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolbar.html +4 -6
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltip.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltips.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/GtkTree.html +3 -4
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModel.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelFilter.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelSort.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSelection.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSortable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeStore.html +3 -15
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeView.html +35 -41
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeViewColumn.html +9 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkUIManager.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/GtkVBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkVButtonBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkVPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkVRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScale.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScrollbar.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkVSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/GtkViewport.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/GtkVolumeButton.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/GtkWidget.html +312 -309
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindow.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindowGroup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/LayoutContainers.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/MenusAndCombos.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/MiscObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/NumericEntry.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/Ornaments.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/PlugSocket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/Printing.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/RecentDocuments.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/ScrollingWidgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/SelectorWidgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/SpecialObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/TextWidget.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/TextWidgetObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidget.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidgetObjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/WindowWidgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/annotation-glossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/ch01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/chap-drawing-model.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/checklist-gdkeventexpose-region.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/checklist-modifiers.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/checklist-named-icons.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/decorating-the-assistant-pages.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/glossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Accelerator-Maps.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Bindings.html +30 -35
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Clipboards.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Drag-and-Drop.html +71 -71
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Feature-Test-Macros.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Filesystem-utilities.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk/gtk-General.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Graphics-Contexts.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtk-High-level-Printing-API.html +14 -15
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Keyboard-Accelerators.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Orientable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Resource-Files.html +26 -27
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Selections.html +60 -56
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Signals.html +7 -22
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html +43 -84
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Stock-Items.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Testing.html +8 -18
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html +9 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Types.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-builder-convert.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-building.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-1-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-2-0.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-directfb.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkcheckmenuitem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkfilefilter.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-ClientSideWindows.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAboutDialog.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAction.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAssistant.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkBuilder.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkColorButton.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkComboBox.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkFileChooser.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkIconView.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkLinkButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkRecentChooser.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-checklist.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-entry-icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-label-links.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-tooltips.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtk-osx.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-query-immodules-2.0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-question-index.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk/gtk-resources.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-running.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-update-icon-cache.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-windows.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-x11.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp2 +27 -27
- data/vendor/local/share/gtk-doc/html/gtk/gtk.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtkbase.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-extra-widgets.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-preview.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-new-features.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-selection-modes.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtkobjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-advanced.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-chooser.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/index.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/migrating-GtkCombo.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/migrating-gnomeuiinfo.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/migrating.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/new-features-GtkComboBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/pt05.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/setting-the-page-flow.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk/ui-manager.html +2 -2
- data/vendor/local/src/dieterv/packaging/gtk+_2.24.10-1_win32.log +4954 -0
- data/vendor/local/src/dieterv/packaging/{gtk+_2.24.8-1_win32.sh → gtk+_2.24.10-1_win32.sh} +16 -1
- metadata +20 -22
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp +0 -27
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp +0 -858
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp +0 -6126
- data/vendor/local/src/dieterv/packaging/gtk+_2.24.8-1_win32.log +0 -4937
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="reference.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-Event-Structures.html" title="Event Structures">
|
10
10
|
<link rel="next" href="gdk-Selections.html" title="Selections">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (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">
|
@@ -1011,6 +1011,6 @@ See <a class="link" href="gdk-Keyboard-Handling.html#gdk-keymap-get-caps-lock-st
|
|
1011
1011
|
</div>
|
1012
1012
|
<div class="footer">
|
1013
1013
|
<hr>
|
1014
|
-
Generated by GTK-Doc V1.
|
1014
|
+
Generated by GTK-Doc V1.18</div>
|
1015
1015
|
</body>
|
1016
1016
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="reference.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-Input-Devices.html" title="Input Devices">
|
10
10
|
<link rel="next" href="gdk-Cairo-Interaction.html" title="Cairo Interaction">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (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">
|
@@ -107,8 +107,8 @@ stippling and embossing.
|
|
107
107
|
<p>
|
108
108
|
Creating a <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> object is the first step in rendering text,
|
109
109
|
and requires getting a handle to a <a href="/usr/share/gtk-doc/html/pango/pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>. For GTK+ programs,
|
110
|
-
you'll usually want to use <a href="http://library.gnome.org/devel/
|
111
|
-
<a href="http://library.gnome.org/devel/
|
110
|
+
you'll usually want to use <a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>, or
|
111
|
+
<a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-create-pango-layout"><code class="function">gtk_widget_create_pango_layout()</code></a>, rather than using the lowlevel
|
112
112
|
<a class="link" href="gdk-Pango-Interaction.html#gdk-pango-context-get-for-screen" title="gdk_pango_context_get_for_screen ()"><code class="function">gdk_pango_context_get_for_screen()</code></a>. Once you have a <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>, you
|
113
113
|
can set the text and attributes of it with Pango functions like
|
114
114
|
<a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-set-text"><code class="function">pango_layout_set_text()</code></a> and get its size with <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-get-size"><code class="function">pango_layout_get_size()</code></a>.
|
@@ -264,7 +264,7 @@ directly or subclassing it can be useful in some cases. See the
|
|
264
264
|
|
265
265
|
</div>
|
266
266
|
<br class="example-break"><div class="figure">
|
267
|
-
<a name="
|
267
|
+
<a name="id746743"></a><p class="title"><b>Figure 1. Output of <a class="xref" href="gdk-Pango-Interaction.html#rotated-example" title="Example 8. Using GdkPangoRenderer to draw transformed text">Example 8, “Using <span class="type">GdkPangoRenderer</span> to draw transformed text”</a></b></p>
|
268
268
|
<div class="figure-contents"><div><img src="rotated-text.png" alt="Output of"></div></div>
|
269
269
|
</div>
|
270
270
|
<br class="figure-break">
|
@@ -500,14 +500,14 @@ Creates a <a href="/usr/share/gtk-doc/html/pango/pango-Text-Processing.html#Pang
|
|
500
500
|
The context must be freed when you're finished with it.
|
501
501
|
</p>
|
502
502
|
<p>
|
503
|
-
When using GTK+, normally you should use <a href="http://library.gnome.org/devel/
|
503
|
+
When using GTK+, normally you should use <a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>
|
504
504
|
instead of this function, to get the appropriate context for
|
505
505
|
the widget you intend to render text onto.
|
506
506
|
</p>
|
507
507
|
<p>
|
508
508
|
The newly created context will have the default font options (see
|
509
509
|
<a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html#cairo-font-options-t"><span class="type">cairo_font_options_t</span></a>) for the default screen; if these options
|
510
|
-
change it will not be updated. Using <a href="http://library.gnome.org/devel/
|
510
|
+
change it will not be updated. Using <a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>
|
511
511
|
is more convenient if you want to keep a context around and track
|
512
512
|
changes to the screen's font rendering settings.
|
513
513
|
</p>
|
@@ -530,14 +530,14 @@ Creates a <a href="/usr/share/gtk-doc/html/pango/pango-Text-Processing.html#Pang
|
|
530
530
|
The context must be freed when you're finished with it.
|
531
531
|
</p>
|
532
532
|
<p>
|
533
|
-
When using GTK+, normally you should use <a href="http://library.gnome.org/devel/
|
533
|
+
When using GTK+, normally you should use <a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>
|
534
534
|
instead of this function, to get the appropriate context for
|
535
535
|
the widget you intend to render text onto.
|
536
536
|
</p>
|
537
537
|
<p>
|
538
538
|
The newly created context will have the default font options
|
539
539
|
(see <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html#cairo-font-options-t"><span class="type">cairo_font_options_t</span></a>) for the screen; if these options
|
540
|
-
change it will not be updated. Using <a href="http://library.gnome.org/devel/
|
540
|
+
change it will not be updated. Using <a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>
|
541
541
|
is more convenient if you want to keep a context around and track
|
542
542
|
changes to the screen's font rendering settings.
|
543
543
|
</p>
|
@@ -856,6 +856,6 @@ of text, such as when text is selected.
|
|
856
856
|
</div>
|
857
857
|
<div class="footer">
|
858
858
|
<hr>
|
859
|
-
Generated by GTK-Doc V1.
|
859
|
+
Generated by GTK-Doc V1.18</div>
|
860
860
|
</body>
|
861
861
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="reference.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-Images.html" title="Images">
|
10
10
|
<link rel="next" href="gdk-Colormaps-and-Colors.html" title="Colormaps and Colors">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (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">
|
@@ -643,6 +643,6 @@ an image.
|
|
643
643
|
</div>
|
644
644
|
<div class="footer">
|
645
645
|
<hr>
|
646
|
-
Generated by GTK-Doc V1.
|
646
|
+
Generated by GTK-Doc V1.18</div>
|
647
647
|
</body>
|
648
648
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="reference.html" title="API Reference">
|
9
9
|
<link rel="prev" href="GdkScreen.html" title="GdkScreen">
|
10
10
|
<link rel="next" href="gdk-Graphics-Contexts.html" title="Graphics Contexts">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (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">
|
@@ -335,8 +335,7 @@ polygon overlaps itself.</td>
|
|
335
335
|
<hr>
|
336
336
|
<div class="refsect2">
|
337
337
|
<a name="GdkFillRule"></a><h3>enum GdkFillRule</h3>
|
338
|
-
<pre class="programlisting">typedef enum
|
339
|
-
{
|
338
|
+
<pre class="programlisting">typedef enum {
|
340
339
|
GDK_EVEN_ODD_RULE,
|
341
340
|
GDK_WINDING_RULE
|
342
341
|
} GdkFillRule;
|
@@ -633,8 +632,7 @@ outside, or partly inside the <a class="link" href="gdk-Points-Rectangles-and-Re
|
|
633
632
|
<hr>
|
634
633
|
<div class="refsect2">
|
635
634
|
<a name="GdkOverlapType"></a><h3>enum GdkOverlapType</h3>
|
636
|
-
<pre class="programlisting">typedef enum
|
637
|
-
{
|
635
|
+
<pre class="programlisting">typedef enum {
|
638
636
|
GDK_OVERLAP_RECTANGLE_IN,
|
639
637
|
GDK_OVERLAP_RECTANGLE_OUT,
|
640
638
|
GDK_OVERLAP_RECTANGLE_PART
|
@@ -965,6 +963,6 @@ Calls a function on each span in the intersection of <em class="parameter"><code
|
|
965
963
|
</div>
|
966
964
|
<div class="footer">
|
967
965
|
<hr>
|
968
|
-
Generated by GTK-Doc V1.
|
966
|
+
Generated by GTK-Doc V1.18</div>
|
969
967
|
</body>
|
970
968
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="reference.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-Drag-and-Drop.html" title="Drag and Drop">
|
10
10
|
<link rel="next" href="gdk-Threads.html" title="Threads">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (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">
|
@@ -274,7 +274,7 @@ if the conversion failed.</td>
|
|
274
274
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> ***list</code></em>);</pre>
|
275
275
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
276
276
|
<h3 class="title">Warning</h3>
|
277
|
-
<p><code class="literal">gdk_text_property_to_text_list_for_display</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <code class="function">gdk_x11_display_text_property_to_text_list()</code></p>
|
277
|
+
<p><code class="literal">gdk_text_property_to_text_list_for_display</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gdk/gdk3-X-Window-System-Interaction.html#gdk-x11-display-text-property-to-text-list"><code class="function">gdk_x11_display_text_property_to_text_list()</code></a></p>
|
278
278
|
</div>
|
279
279
|
<p>
|
280
280
|
Convert a text string from the encoding as it is stored
|
@@ -501,7 +501,7 @@ into a form suitable for storing in a window property.
|
|
501
501
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *length</code></em>);</pre>
|
502
502
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
503
503
|
<h3 class="title">Warning</h3>
|
504
|
-
<p><code class="literal">gdk_string_to_compound_text_for_display</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <code class="function">gdk_x11_display_string_to_compound_text()</code></p>
|
504
|
+
<p><code class="literal">gdk_string_to_compound_text_for_display</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gdk/gdk3-X-Window-System-Interaction.html#gdk-x11-display-string-to-compound-text"><code class="function">gdk_x11_display_string_to_compound_text()</code></a></p>
|
505
505
|
</div>
|
506
506
|
<p>
|
507
507
|
Convert a string from the encoding of the current
|
@@ -649,7 +649,7 @@ false.</td>
|
|
649
649
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *length</code></em>);</pre>
|
650
650
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
651
651
|
<h3 class="title">Warning</h3>
|
652
|
-
<p><code class="literal">gdk_utf8_to_compound_text_for_display</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <code class="function">gdk_x11_display_utf8_to_compound_text()</code></p>
|
652
|
+
<p><code class="literal">gdk_utf8_to_compound_text_for_display</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gdk/gdk3-X-Window-System-Interaction.html#gdk-x11-display-utf8-to-compound-text"><code class="function">gdk_x11_display_utf8_to_compound_text()</code></a></p>
|
653
653
|
</div>
|
654
654
|
<p>
|
655
655
|
Converts from UTF-8 to compound text.
|
@@ -943,8 +943,7 @@ contained in <em class="parameter"><code>data</code></em>.</td>
|
|
943
943
|
<hr>
|
944
944
|
<div class="refsect2">
|
945
945
|
<a name="GdkPropMode"></a><h3>enum GdkPropMode</h3>
|
946
|
-
<pre class="programlisting">typedef enum
|
947
|
-
{
|
946
|
+
<pre class="programlisting">typedef enum {
|
948
947
|
GDK_PROP_MODE_REPLACE,
|
949
948
|
GDK_PROP_MODE_PREPEND,
|
950
949
|
GDK_PROP_MODE_APPEND
|
@@ -1001,6 +1000,6 @@ Deletes a property from a window.
|
|
1001
1000
|
</div>
|
1002
1001
|
<div class="footer">
|
1003
1002
|
<hr>
|
1004
|
-
Generated by GTK-Doc V1.
|
1003
|
+
Generated by GTK-Doc V1.18</div>
|
1005
1004
|
</body>
|
1006
1005
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="reference.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-Keyboard-Handling.html" title="Key Values">
|
10
10
|
<link rel="next" href="gdk-Drag-and-Drop.html" title="Drag and Drop">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (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">
|
@@ -529,7 +529,7 @@ the time indicated by the timestamp.</td>
|
|
529
529
|
<p>
|
530
530
|
Retrieves selection data that was stored by the selection
|
531
531
|
data in response to a call to <a class="link" href="gdk-Selections.html#gdk-selection-convert" title="gdk_selection_convert ()"><code class="function">gdk_selection_convert()</code></a>. This function
|
532
|
-
will not be used by applications, who should use the <a href="http://library.gnome.org/devel/gtk3
|
532
|
+
will not be used by applications, who should use the <a href="http://library.gnome.org/devel/gtk/gtk3-Clipboards.html#GtkClipboard"><span class="type">GtkClipboard</span></a>
|
533
533
|
API instead.
|
534
534
|
</p>
|
535
535
|
<div class="variablelist"><table border="0">
|
@@ -652,6 +652,6 @@ or <a class="link" href="gdk-Properties-and-Atoms.html#GDK-NONE:CAPS" title="GDK
|
|
652
652
|
</div>
|
653
653
|
<div class="footer">
|
654
654
|
<hr>
|
655
|
-
Generated by GTK-Doc V1.
|
655
|
+
Generated by GTK-Doc V1.18</div>
|
656
656
|
</body>
|
657
657
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="reference.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-Application-launching.html" title="Application launching">
|
10
10
|
<link rel="next" href="api-index-full.html" title="Index of all symbols">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (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">
|
@@ -100,7 +100,7 @@ location, use of this function outside of test programs that
|
|
100
100
|
run in their own virtual windowing system (e.g. Xvfb) is not
|
101
101
|
recommended.
|
102
102
|
Also, <code class="function">gtk_test_simulate_button()</code> is a fairly low level function,
|
103
|
-
for most testing purposes, <a href="http://library.gnome.org/devel/gtk3
|
103
|
+
for most testing purposes, <a href="http://library.gnome.org/devel/gtk/gtk3-Testing.html#gtk-test-widget-click"><code class="function">gtk_test_widget_click()</code></a> is the right
|
104
104
|
function to call which will generate a button press event followed
|
105
105
|
by its accompanying button release event.
|
106
106
|
</p>
|
@@ -161,7 +161,7 @@ If (<em class="parameter"><code>x</code></em>,<em class="parameter"><code>y</cod
|
|
161
161
|
be warped and <em class="parameter"><code>window</code></em> origin will be used as mouse pointer
|
162
162
|
location for the event.
|
163
163
|
Also, <code class="function">gtk_test_simulate_key()</code> is a fairly low level function,
|
164
|
-
for most testing purposes, <a href="http://library.gnome.org/devel/gtk3
|
164
|
+
for most testing purposes, <a href="http://library.gnome.org/devel/gtk/gtk3-Testing.html#gtk-test-widget-send-key"><code class="function">gtk_test_widget_send_key()</code></a> is the
|
165
165
|
right function to call which will generate a key press event
|
166
166
|
followed by its accompanying key release event.
|
167
167
|
</p>
|
@@ -205,6 +205,6 @@ followed by its accompanying key release event.
|
|
205
205
|
</div>
|
206
206
|
<div class="footer">
|
207
207
|
<hr>
|
208
|
-
Generated by GTK-Doc V1.
|
208
|
+
Generated by GTK-Doc V1.18</div>
|
209
209
|
</body>
|
210
210
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="reference.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-Properties-and-Atoms.html" title="Properties and Atoms">
|
10
10
|
<link rel="next" href="gdk-Input.html" title="Input">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (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">
|
@@ -45,7 +45,7 @@
|
|
45
45
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Threads.html#gdk-threads-init" title="gdk_threads_init ()">gdk_threads_init</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
46
46
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Threads.html#gdk-threads-enter" title="gdk_threads_enter ()">gdk_threads_enter</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
47
47
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Threads.html#gdk-threads-leave" title="gdk_threads_leave ()">gdk_threads_leave</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
48
|
-
extern
|
48
|
+
extern GMutex * <a class="link" href="gdk-Threads.html#gdk-threads-mutex" title="gdk_threads_mutex">gdk_threads_mutex</a>;
|
49
49
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Threads.html#gdk-threads-set-lock-functions" title="gdk_threads_set_lock_functions ()">gdk_threads_set_lock_functions</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GCallback"><span class="type">GCallback</span></a> enter_fn</code></em>,
|
50
50
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GCallback"><span class="type">GCallback</span></a> leave_fn</code></em>);
|
51
51
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gdk-Threads.html#gdk-threads-add-idle" title="gdk_threads_add_idle ()">gdk_threads_add_idle</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="type">GSourceFunc</span></a> function</code></em>,
|
@@ -97,7 +97,7 @@ Win32 backend, GDK calls should not be attempted from multiple threads
|
|
97
97
|
at all.
|
98
98
|
</p>
|
99
99
|
<p>
|
100
|
-
You must call <a href="http://library.gnome.org/devel/glib/unstable/glib-
|
100
|
+
You must call <a href="http://library.gnome.org/devel/glib/unstable/glib-Deprecated-Thread-APIs.html#g-thread-init"><code class="function">g_thread_init()</code></a> and <a class="link" href="gdk-Threads.html#gdk-threads-init" title="gdk_threads_init ()"><code class="function">gdk_threads_init()</code></a> before executing
|
101
101
|
any other GTK+ or GDK functions in a threaded GTK+ program.
|
102
102
|
</p>
|
103
103
|
<p>
|
@@ -152,13 +152,13 @@ looks like:</p>
|
|
152
152
|
<span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
|
153
153
|
<span class="cbracket">{</span>
|
154
154
|
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">window</span><span class="symbol">;</span>
|
155
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-
|
155
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Deprecated-Thread-APIs.html#g-thread-init">g_thread_init</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
156
156
|
<span class="normal"> </span><span class="function"><a href="gdk-Threads.html#gdk-threads-init">gdk_threads_init</a></span><span class="normal"> </span><span class="symbol">();</span>
|
157
157
|
<span class="normal"> </span><span class="function"><a href="gdk-Threads.html#gdk-threads-enter">gdk_threads_enter</a></span><span class="normal"> </span><span class="symbol">();</span>
|
158
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk3
|
158
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/gtk3-General.html#gtk-init">gtk_init</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argv</span><span class="symbol">);</span>
|
159
159
|
<span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function">create_window</span><span class="normal"> </span><span class="symbol">();</span>
|
160
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
161
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk3
|
160
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-show">gtk_widget_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">);</span>
|
161
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/gtk3-General.html#gtk-main">gtk_main</a></span><span class="normal"> </span><span class="symbol">();</span>
|
162
162
|
<span class="normal"> </span><span class="function"><a href="gdk-Threads.html#gdk-threads-leave">gdk_threads_leave</a></span><span class="normal"> </span><span class="symbol">();</span>
|
163
163
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
164
164
|
<span class="cbracket">}</span></pre></td>
|
@@ -328,7 +328,7 @@ illustrate how to use threads within GTK+ programs.
|
|
328
328
|
<span class="keyword">static</span><span class="normal"> </span><span class="keyword">volatile</span><span class="normal"> </span><span class="type">int</span><span class="normal"> yes_or_no </span><span class="symbol">=</span><span class="normal"> YES_IT_IS</span><span class="symbol">;</span>
|
329
329
|
<span class="type">void</span><span class="normal"> </span><span class="function">destroy</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
330
330
|
<span class="cbracket">{</span>
|
331
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk3
|
331
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/gtk3-General.html#gtk-main-quit">gtk_main_quit</a></span><span class="normal"> </span><span class="symbol">();</span>
|
332
332
|
<span class="cbracket">}</span>
|
333
333
|
<span class="type">void</span><span class="normal"> </span><span class="symbol">*</span><span class="function">argument_thread</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">args</span><span class="symbol">)</span>
|
334
334
|
<span class="cbracket">{</span>
|
@@ -355,9 +355,9 @@ illustrate how to use threads within GTK+ programs.
|
|
355
355
|
<span class="normal"> </span><span class="function"><a href="gdk-Threads.html#gdk-threads-enter">gdk_threads_enter</a></span><span class="normal"> </span><span class="symbol">();</span>
|
356
356
|
<span class="normal"> </span><span class="comment">/* set label text */</span>
|
357
357
|
<span class="normal"> </span><span class="keyword">if</span><span class="symbol">(</span><span class="normal">data</span><span class="symbol">-></span><span class="normal">what </span><span class="symbol">==</span><span class="normal"> YES_IT_IS</span><span class="symbol">)</span>
|
358
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
358
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkLabel.html#gtk-label-set-text">gtk_label_set_text</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_LABEL</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">data</span><span class="symbol">-></span><span class="normal">label</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"O yes, it is!"</span><span class="symbol">);</span>
|
359
359
|
<span class="normal"> </span><span class="keyword">else</span>
|
360
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
360
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkLabel.html#gtk-label-set-text">gtk_label_set_text</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_LABEL</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">data</span><span class="symbol">-></span><span class="normal">label</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"O no, it isn't!"</span><span class="symbol">);</span>
|
361
361
|
<span class="normal"> </span><span class="comment">/* release GTK thread lock */</span>
|
362
362
|
<span class="normal"> </span><span class="function"><a href="gdk-Threads.html#gdk-threads-leave">gdk_threads_leave</a></span><span class="normal"> </span><span class="symbol">();</span>
|
363
363
|
<span class="normal"> </span><span class="cbracket">}</span>
|
@@ -371,23 +371,23 @@ illustrate how to use threads within GTK+ programs.
|
|
371
371
|
<span class="normal"> </span><span class="usertype">yes_or_no_args</span><span class="normal"> yes_args</span><span class="symbol">,</span><span class="normal"> no_args</span><span class="symbol">;</span>
|
372
372
|
<span class="normal"> </span><span class="usertype">pthread_t</span><span class="normal"> no_tid</span><span class="symbol">,</span><span class="normal"> yes_tid</span><span class="symbol">;</span>
|
373
373
|
<span class="normal"> </span><span class="comment">/* init threads */</span>
|
374
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-
|
374
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Deprecated-Thread-APIs.html#g-thread-init">g_thread_init</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
375
375
|
<span class="normal"> </span><span class="function"><a href="gdk-Threads.html#gdk-threads-init">gdk_threads_init</a></span><span class="normal"> </span><span class="symbol">();</span>
|
376
376
|
<span class="normal"> </span><span class="function"><a href="gdk-Threads.html#gdk-threads-enter">gdk_threads_enter</a></span><span class="normal"> </span><span class="symbol">();</span>
|
377
377
|
<span class="normal"> </span><span class="comment">/* init gtk */</span>
|
378
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk3
|
378
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/gtk3-General.html#gtk-init">gtk_init</a></span><span class="symbol">(&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argv</span><span class="symbol">);</span>
|
379
379
|
<span class="normal"> </span><span class="comment">/* init random number generator */</span>
|
380
380
|
<span class="normal"> </span><span class="function">srand</span><span class="normal"> </span><span class="symbol">((</span><span class="type">unsigned</span><span class="normal"> </span><span class="type">int</span><span class="symbol">)</span><span class="normal"> </span><span class="function">time</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">));</span>
|
381
381
|
<span class="normal"> </span><span class="comment">/* create a window */</span>
|
382
|
-
<span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
382
|
+
<span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-new">gtk_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/gtk/gtk3-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS">GTK_WINDOW_TOPLEVEL</a></span><span class="symbol">);</span>
|
383
383
|
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"destroy"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">destroy</span><span class="symbol">),</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
384
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
384
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkContainer.html#gtk-container-set-border-width">gtk_container_set_border_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> </span><span class="number">10</span><span class="symbol">);</span>
|
385
385
|
<span class="normal"> </span><span class="comment">/* create a label */</span>
|
386
|
-
<span class="normal"> label </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
387
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
386
|
+
<span class="normal"> label </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkLabel.html#gtk-label-new">gtk_label_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"And now for something completely different ..."</span><span class="symbol">);</span>
|
387
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> label</span><span class="symbol">);</span>
|
388
388
|
<span class="normal"> </span><span class="comment">/* show everything */</span>
|
389
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
390
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
389
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-show">gtk_widget_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">);</span>
|
390
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-show">gtk_widget_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">);</span>
|
391
391
|
<span class="normal"> </span><span class="comment">/* create the threads */</span>
|
392
392
|
<span class="normal"> yes_args</span><span class="symbol">.</span><span class="normal">label </span><span class="symbol">=</span><span class="normal"> label</span><span class="symbol">;</span>
|
393
393
|
<span class="normal"> yes_args</span><span class="symbol">.</span><span class="normal">what </span><span class="symbol">=</span><span class="normal"> YES_IT_IS</span><span class="symbol">;</span>
|
@@ -396,7 +396,7 @@ illustrate how to use threads within GTK+ programs.
|
|
396
396
|
<span class="normal"> no_args</span><span class="symbol">.</span><span class="normal">what </span><span class="symbol">=</span><span class="normal"> NO_IT_IS_NOT</span><span class="symbol">;</span>
|
397
397
|
<span class="normal"> </span><span class="function">pthread_create</span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">no_tid</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> argument_thread</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">no_args</span><span class="symbol">);</span>
|
398
398
|
<span class="normal"> </span><span class="comment">/* enter the GTK main loop */</span>
|
399
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk3
|
399
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/gtk3-General.html#gtk-main">gtk_main</a></span><span class="normal"> </span><span class="symbol">();</span>
|
400
400
|
<span class="normal"> </span><span class="function"><a href="gdk-Threads.html#gdk-threads-leave">gdk_threads_leave</a></span><span class="normal"> </span><span class="symbol">();</span>
|
401
401
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
402
402
|
<span class="cbracket">}</span></pre></td>
|
@@ -415,7 +415,7 @@ illustrate how to use threads within GTK+ programs.
|
|
415
415
|
This macro marks the beginning of a critical section in which GDK and
|
416
416
|
GTK+ functions can be called safely and without causing race
|
417
417
|
conditions. Only one thread at a time can be in such a critial
|
418
|
-
section. The macro expands to a no-op if <
|
418
|
+
section. The macro expands to a no-op if <span class="type">G_THREADS_ENABLED</span> has not
|
419
419
|
been defined. Typically <a class="link" href="gdk-Threads.html#gdk-threads-enter" title="gdk_threads_enter ()"><code class="function">gdk_threads_enter()</code></a> should be used instead of
|
420
420
|
this macro.
|
421
421
|
</p>
|
@@ -436,11 +436,11 @@ begun with <a class="link" href="gdk-Threads.html#GDK-THREADS-ENTER:CAPS" title=
|
|
436
436
|
<p>
|
437
437
|
Initializes GDK so that it can be used from multiple threads
|
438
438
|
in conjunction with <a class="link" href="gdk-Threads.html#gdk-threads-enter" title="gdk_threads_enter ()"><code class="function">gdk_threads_enter()</code></a> and <a class="link" href="gdk-Threads.html#gdk-threads-leave" title="gdk_threads_leave ()"><code class="function">gdk_threads_leave()</code></a>.
|
439
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-
|
439
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Deprecated-Thread-APIs.html#g-thread-init"><code class="function">g_thread_init()</code></a> must be called previous to this function.
|
440
440
|
</p>
|
441
441
|
<p>
|
442
442
|
This call must be made before any use of the main loop from
|
443
|
-
GTK+; to be safe, call it before <a href="http://library.gnome.org/devel/gtk3
|
443
|
+
GTK+; to be safe, call it before <a href="http://library.gnome.org/devel/gtk/gtk3-General.html#gtk-init"><code class="function">gtk_init()</code></a>.
|
444
444
|
</p>
|
445
445
|
</div>
|
446
446
|
<hr>
|
@@ -928,6 +928,6 @@ range between <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Mai
|
|
928
928
|
</div>
|
929
929
|
<div class="footer">
|
930
930
|
<hr>
|
931
|
-
Generated by GTK-Doc V1.
|
931
|
+
Generated by GTK-Doc V1.18</div>
|
932
932
|
</body>
|
933
933
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="reference.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-Colormaps-and-Colors.html" title="Colormaps and Colors">
|
10
10
|
<link rel="next" href="gdk-Fonts.html" title="Fonts">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (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">
|
@@ -190,8 +190,7 @@ a particular visual.
|
|
190
190
|
<hr>
|
191
191
|
<div class="refsect2">
|
192
192
|
<a name="GdkVisualType"></a><h3>enum GdkVisualType</h3>
|
193
|
-
<pre class="programlisting">typedef enum
|
194
|
-
{
|
193
|
+
<pre class="programlisting">typedef enum {
|
195
194
|
GDK_VISUAL_STATIC_GRAY,
|
196
195
|
GDK_VISUAL_GRAYSCALE,
|
197
196
|
GDK_VISUAL_STATIC_COLOR,
|
@@ -253,8 +252,7 @@ values for display.
|
|
253
252
|
<hr>
|
254
253
|
<div class="refsect2">
|
255
254
|
<a name="GdkByteOrder"></a><h3>enum GdkByteOrder</h3>
|
256
|
-
<pre class="programlisting">typedef enum
|
257
|
-
{
|
255
|
+
<pre class="programlisting">typedef enum {
|
258
256
|
GDK_LSB_FIRST,
|
259
257
|
GDK_MSB_FIRST
|
260
258
|
} GdkByteOrder;
|
@@ -824,6 +822,6 @@ Returns the type of visual this is (PseudoColor, TrueColor, etc).
|
|
824
822
|
</div>
|
825
823
|
<div class="footer">
|
826
824
|
<hr>
|
827
|
-
Generated by GTK-Doc V1.
|
825
|
+
Generated by GTK-Doc V1.18</div>
|
828
826
|
</body>
|
829
827
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="reference.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-Cursors.html" title="Cursors">
|
10
10
|
<link rel="next" href="gdk-Events.html" title="Events">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (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">
|
@@ -331,7 +331,7 @@ enum <a class="link" href="gdk-Windows.html#GdkModifierType" titl
|
|
331
331
|
<a class="link" href="gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * <a class="link" href="gdk-Windows.html#gdk-window-get-effective-parent" title="gdk_window_get_effective_parent ()">gdk_window_get_effective_parent</a> (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);
|
332
332
|
<a class="link" href="gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * <a class="link" href="gdk-Windows.html#gdk-window-get-toplevel" title="gdk_window_get_toplevel ()">gdk_window_get_toplevel</a> (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);
|
333
333
|
<a class="link" href="gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * <a class="link" href="gdk-Windows.html#gdk-window-get-effective-toplevel" title="gdk_window_get_effective_toplevel ()">gdk_window_get_effective_toplevel</a> (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);
|
334
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
334
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="gdk-Windows.html#gdk-window-get-children" title="gdk_window_get_children ()">gdk_window_get_children</a> (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);
|
335
335
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="gdk-Windows.html#gdk-window-peek-children" title="gdk_window_peek_children ()">gdk_window_peek_children</a> (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);
|
336
336
|
<a class="link" href="gdk-Events.html#GdkEventMask" title="enum GdkEventMask"><span class="returnvalue">GdkEventMask</span></a> <a class="link" href="gdk-Windows.html#gdk-window-get-events" title="gdk_window_get_events ()">gdk_window_get_events</a> (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);
|
337
337
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Windows.html#gdk-window-set-events" title="gdk_window_set_events ()">gdk_window_set_events</a> (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
@@ -407,10 +407,10 @@ struct <a class="link" href="gdk-Windows.html#GdkPointerHooks" titl
|
|
407
407
|
<a name="gdk-Windows.description"></a><h2>Description</h2>
|
408
408
|
<p>
|
409
409
|
A <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> is a rectangular region on the screen. It's a low-level object,
|
410
|
-
used to implement high-level objects such as <a href="http://library.gnome.org/devel/
|
411
|
-
GTK+ level. A <a href="http://library.gnome.org/devel/
|
412
|
-
as a "window" with a titlebar and so on; a <a href="http://library.gnome.org/devel/
|
413
|
-
For example, each <a href="http://library.gnome.org/devel/
|
410
|
+
used to implement high-level objects such as <a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> and <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> on the
|
411
|
+
GTK+ level. A <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> is a toplevel window, the thing a user might think of
|
412
|
+
as a "window" with a titlebar and so on; a <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> may contain many <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>.
|
413
|
+
For example, each <a href="http://library.gnome.org/devel/gtk/GtkButton.html"><span class="type">GtkButton</span></a> has a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> associated with it.
|
414
414
|
</p>
|
415
415
|
<div class="refsect2">
|
416
416
|
<a name="COMPOSITED-WINDOWS"></a><h3>Composited Windows</h3>
|
@@ -587,7 +587,7 @@ application to render the window contents at the right spot.
|
|
587
587
|
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">child</span><span class="symbol">;</span>
|
588
588
|
<span class="normal"> </span><span class="usertype">cairo_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cr</span><span class="symbol">;</span>
|
589
589
|
<span class="normal"> </span><span class="comment">/* get our child (in this case, the event box) */</span>
|
590
|
-
<span class="normal"> child </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
590
|
+
<span class="normal"> child </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkBin.html#gtk-bin-get-child">gtk_bin_get_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_BIN</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">));</span>
|
591
591
|
<span class="normal"> </span><span class="comment">/* create a cairo context to draw to the window */</span>
|
592
592
|
<span class="normal"> cr </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-Cairo-Interaction.html#gdk-cairo-create">gdk_cairo_create</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">-></span><span class="normal">window</span><span class="symbol">);</span>
|
593
593
|
<span class="normal"> </span><span class="comment">/* the source data is the (composited) event box */</span>
|
@@ -613,33 +613,33 @@ application to render the window contents at the right spot.
|
|
613
613
|
<span class="normal"> </span><span class="usertype">GdkScreen</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">screen</span><span class="symbol">;</span>
|
614
614
|
<span class="normal"> </span><span class="usertype">GdkColormap</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">rgba</span><span class="symbol">;</span>
|
615
615
|
<span class="normal"> </span><span class="usertype">GdkColor</span><span class="normal"> red</span><span class="symbol">;</span>
|
616
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk3
|
616
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/gtk3-General.html#gtk-init">gtk_init</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argv</span><span class="symbol">);</span>
|
617
617
|
<span class="normal"> </span><span class="comment">/* Make the widgets */</span>
|
618
|
-
<span class="normal"> button </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
619
|
-
<span class="normal"> event </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
620
|
-
<span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
618
|
+
<span class="normal"> button </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkButton.html#gtk-button-new-with-label">gtk_button_new_with_label</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"A Button"</span><span class="symbol">);</span>
|
619
|
+
<span class="normal"> event </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkEventBox.html#gtk-event-box-new">gtk_event_box_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
620
|
+
<span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-new">gtk_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/gtk/gtk3-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS">GTK_WINDOW_TOPLEVEL</a></span><span class="symbol">);</span>
|
621
621
|
<span class="normal"> </span><span class="comment">/* Put a red background on the window */</span>
|
622
622
|
<span class="normal"> </span><span class="function"><a href="gdk-Colormaps-and-Colors.html#gdk-color-parse">gdk_color_parse</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"red"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">red</span><span class="symbol">);</span>
|
623
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
623
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-modify-bg">gtk_widget_modify_bg</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/gtk/gtk3-Standard-Enumerations.html#GTK-STATE-NORMAL:CAPS">GTK_STATE_NORMAL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">red</span><span class="symbol">);</span>
|
624
624
|
<span class="normal"> </span><span class="comment">/* Set the colourmap for the event box.</span>
|
625
625
|
<span class="comment"> * Must be done before the event box is realised.</span>
|
626
626
|
<span class="comment"> */</span>
|
627
|
-
<span class="normal"> screen </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
627
|
+
<span class="normal"> screen </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-get-screen">gtk_widget_get_screen</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">);</span>
|
628
628
|
<span class="normal"> rgba </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GdkScreen.html#gdk-screen-get-rgba-colormap">gdk_screen_get_rgba_colormap</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">screen</span><span class="symbol">);</span>
|
629
|
-
<span class="normal"> </span><span class="function"
|
629
|
+
<span class="normal"> </span><span class="function">gtk_widget_set_colormap</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">,</span><span class="normal"> rgba</span><span class="symbol">);</span>
|
630
630
|
<span class="normal"> </span><span class="comment">/* Set our event box to have a fully-transparent background</span>
|
631
631
|
<span class="comment"> * drawn on it. Currently there is no way to simply tell GTK+</span>
|
632
632
|
<span class="comment"> * that "transparency" is the background colour for a widget.</span>
|
633
633
|
<span class="comment"> */</span>
|
634
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
634
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-set-app-paintable">gtk_widget_set_app_paintable</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">event</span><span class="symbol">),</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
635
635
|
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"expose-event"</span><span class="symbol">,</span>
|
636
636
|
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">transparent_expose</span><span class="symbol">),</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
637
637
|
<span class="normal"> </span><span class="comment">/* Put them inside one another */</span>
|
638
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
639
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
640
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
638
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkContainer.html#gtk-container-set-border-width">gtk_container_set_border_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> </span><span class="number">10</span><span class="symbol">);</span>
|
639
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> event</span><span class="symbol">);</span>
|
640
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">),</span><span class="normal"> button</span><span class="symbol">);</span>
|
641
641
|
<span class="normal"> </span><span class="comment">/* Realise and show everything */</span>
|
642
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
642
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-show-all">gtk_widget_show_all</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">);</span>
|
643
643
|
<span class="normal"> </span><span class="comment">/* Set the event box GdkWindow to be composited.</span>
|
644
644
|
<span class="comment"> * Obviously must be performed after event box is realised.</span>
|
645
645
|
<span class="comment"> */</span>
|
@@ -650,7 +650,7 @@ application to render the window contents at the right spot.
|
|
650
650
|
<span class="comment"> */</span>
|
651
651
|
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect-after">g_signal_connect_after</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"expose-event"</span><span class="symbol">,</span>
|
652
652
|
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window_expose_event</span><span class="symbol">),</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
653
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk3
|
653
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gtk/gtk3-General.html#gtk-main">gtk_main</a></span><span class="normal"> </span><span class="symbol">();</span>
|
654
654
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
655
655
|
<span class="cbracket">}</span></pre></td>
|
656
656
|
</tr>
|
@@ -668,7 +668,7 @@ the screen.
|
|
668
668
|
<p>
|
669
669
|
When the contents of the event box change, an expose event is
|
670
670
|
generated on its parent window (which, in this case, belongs to
|
671
|
-
the toplevel <a href="http://library.gnome.org/devel/
|
671
|
+
the toplevel <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a>). The expose handler for this widget is
|
672
672
|
responsible for merging the changes back on the screen in the way
|
673
673
|
that it wishes.
|
674
674
|
</p>
|
@@ -717,8 +717,7 @@ these types.
|
|
717
717
|
<hr>
|
718
718
|
<div class="refsect2">
|
719
719
|
<a name="GdkWindowType"></a><h3>enum GdkWindowType</h3>
|
720
|
-
<pre class="programlisting">typedef enum
|
721
|
-
{
|
720
|
+
<pre class="programlisting">typedef enum {
|
722
721
|
GDK_WINDOW_ROOT,
|
723
722
|
GDK_WINDOW_TOPLEVEL,
|
724
723
|
GDK_WINDOW_CHILD,
|
@@ -741,12 +740,12 @@ Describes the kind of window.
|
|
741
740
|
</tr>
|
742
741
|
<tr>
|
743
742
|
<td><p><a name="GDK-WINDOW-TOPLEVEL:CAPS"></a><span class="term"><code class="literal">GDK_WINDOW_TOPLEVEL</code></span></p></td>
|
744
|
-
<td>toplevel window (used to implement <a href="http://library.gnome.org/devel/
|
743
|
+
<td>toplevel window (used to implement <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a>)
|
745
744
|
</td>
|
746
745
|
</tr>
|
747
746
|
<tr>
|
748
747
|
<td><p><a name="GDK-WINDOW-CHILD:CAPS"></a><span class="term"><code class="literal">GDK_WINDOW_CHILD</code></span></p></td>
|
749
|
-
<td>child window (used to implement e.g. <a href="http://library.gnome.org/devel/
|
748
|
+
<td>child window (used to implement e.g. <a href="http://library.gnome.org/devel/gtk/GtkEntry.html"><span class="type">GtkEntry</span></a>)
|
750
749
|
</td>
|
751
750
|
</tr>
|
752
751
|
<tr>
|
@@ -756,12 +755,12 @@ Describes the kind of window.
|
|
756
755
|
</tr>
|
757
756
|
<tr>
|
758
757
|
<td><p><a name="GDK-WINDOW-TEMP:CAPS"></a><span class="term"><code class="literal">GDK_WINDOW_TEMP</code></span></p></td>
|
759
|
-
<td>override redirect temporary window (used to implement <a href="http://library.gnome.org/devel/
|
758
|
+
<td>override redirect temporary window (used to implement <a href="http://library.gnome.org/devel/gtk/GtkMenu.html"><span class="type">GtkMenu</span></a>)
|
760
759
|
</td>
|
761
760
|
</tr>
|
762
761
|
<tr>
|
763
762
|
<td><p><a name="GDK-WINDOW-FOREIGN:CAPS"></a><span class="term"><code class="literal">GDK_WINDOW_FOREIGN</code></span></p></td>
|
764
|
-
<td>foreign window (see <a href="
|
763
|
+
<td>foreign window (see <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-window-foreign-new" title="gdk_window_foreign_new ()"><code class="function">gdk_window_foreign_new()</code></a>)
|
765
764
|
</td>
|
766
765
|
</tr>
|
767
766
|
<tr>
|
@@ -775,8 +774,7 @@ Describes the kind of window.
|
|
775
774
|
<hr>
|
776
775
|
<div class="refsect2">
|
777
776
|
<a name="GdkWindowClass"></a><h3>enum GdkWindowClass</h3>
|
778
|
-
<pre class="programlisting">typedef enum
|
779
|
-
{
|
777
|
+
<pre class="programlisting">typedef enum {
|
780
778
|
GDK_INPUT_OUTPUT,
|
781
779
|
GDK_INPUT_ONLY
|
782
780
|
} GdkWindowClass;
|
@@ -805,8 +803,7 @@ you can't draw on them.
|
|
805
803
|
<hr>
|
806
804
|
<div class="refsect2">
|
807
805
|
<a name="GdkWindowHints"></a><h3>enum GdkWindowHints</h3>
|
808
|
-
<pre class="programlisting">typedef enum
|
809
|
-
{
|
806
|
+
<pre class="programlisting">typedef enum {
|
810
807
|
GDK_HINT_POS = 1 << 0,
|
811
808
|
GDK_HINT_MIN_SIZE = 1 << 1,
|
812
809
|
GDK_HINT_MAX_SIZE = 1 << 2,
|
@@ -822,10 +819,10 @@ you can't draw on them.
|
|
822
819
|
Used to indicate which fields of a <a class="link" href="gdk-Windows.html#GdkGeometry" title="struct GdkGeometry"><span class="type">GdkGeometry</span></a> struct should be paid attention
|
823
820
|
to. Also, the presence/absence of <em class="parameter"><code>GDK_HINT_POS</code></em>, <em class="parameter"><code>GDK_HINT_USER_POS</code></em>, and
|
824
821
|
<em class="parameter"><code>GDK_HINT_USER_SIZE</code></em> is significant, though they don't directly refer to
|
825
|
-
<a class="link" href="gdk-Windows.html#GdkGeometry" title="struct GdkGeometry"><span class="type">GdkGeometry</span></a> fields. <em class="parameter"><code>GDK_HINT_USER_POS</code></em> will be set automatically by <a href="http://library.gnome.org/devel/
|
826
|
-
if you call <a href="http://library.gnome.org/devel/
|
822
|
+
<a class="link" href="gdk-Windows.html#GdkGeometry" title="struct GdkGeometry"><span class="type">GdkGeometry</span></a> fields. <em class="parameter"><code>GDK_HINT_USER_POS</code></em> will be set automatically by <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a>
|
823
|
+
if you call <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-move"><code class="function">gtk_window_move()</code></a>. <em class="parameter"><code>GDK_HINT_USER_POS</code></em> and <em class="parameter"><code>GDK_HINT_USER_SIZE</code></em>
|
827
824
|
should be set if the user specified a size/position using a --geometry
|
828
|
-
command-line argument; <a href="http://library.gnome.org/devel/
|
825
|
+
command-line argument; <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-parse-geometry"><code class="function">gtk_window_parse_geometry()</code></a> automatically sets these
|
829
826
|
flags.
|
830
827
|
</p>
|
831
828
|
<div class="variablelist"><table border="0">
|
@@ -899,26 +896,26 @@ flags.
|
|
899
896
|
<p>
|
900
897
|
The <a class="link" href="gdk-Windows.html#GdkGeometry" title="struct GdkGeometry"><span class="type">GdkGeometry</span></a> struct gives the window manager information about
|
901
898
|
a window's geometry constraints. Normally you would set these on
|
902
|
-
the GTK+ level using <a href="http://library.gnome.org/devel/
|
899
|
+
the GTK+ level using <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-set-geometry-hints"><code class="function">gtk_window_set_geometry_hints()</code></a>. <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a>
|
903
900
|
then sets the hints on the <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> it creates.
|
904
901
|
</p>
|
905
902
|
<p>
|
906
903
|
<a class="link" href="gdk-Windows.html#gdk-window-set-geometry-hints" title="gdk_window_set_geometry_hints ()"><code class="function">gdk_window_set_geometry_hints()</code></a> expects the hints to be fully valid already and
|
907
904
|
simply passes them to the window manager; in contrast,
|
908
|
-
<a href="http://library.gnome.org/devel/
|
909
|
-
<a href="http://library.gnome.org/devel/
|
905
|
+
<a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-set-geometry-hints"><code class="function">gtk_window_set_geometry_hints()</code></a> performs some interpretation. For example,
|
906
|
+
<a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> will apply the hints to the geometry widget instead of the toplevel
|
910
907
|
window, if you set a geometry widget. Also, the
|
911
908
|
<em class="parameter"><code>min_width</code></em>/<em class="parameter"><code>min_height</code></em>/<em class="parameter"><code>max_width</code></em>/<em class="parameter"><code>max_height</code></em> fields may be set to -1, and
|
912
|
-
<a href="http://library.gnome.org/devel/
|
913
|
-
the minimum size hint is not provided, <a href="http://library.gnome.org/devel/
|
909
|
+
<a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> will substitute the size request of the window or geometry widget. If
|
910
|
+
the minimum size hint is not provided, <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> will use its requisition as
|
914
911
|
the minimum size. If the minimum size is provided and a geometry widget is set,
|
915
|
-
<a href="http://library.gnome.org/devel/
|
912
|
+
<a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> will take the minimum size as the minimum size of the geometry widget
|
916
913
|
rather than the entire window. The base size is treated similarly.
|
917
914
|
</p>
|
918
915
|
<p>
|
919
|
-
The canonical use-case for <a href="http://library.gnome.org/devel/
|
916
|
+
The canonical use-case for <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-set-geometry-hints"><code class="function">gtk_window_set_geometry_hints()</code></a> is to get a terminal
|
920
917
|
widget to resize properly. Here, the terminal text area should be the geometry
|
921
|
-
widget; <a href="http://library.gnome.org/devel/
|
918
|
+
widget; <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> will then automatically set the base size to the size of
|
922
919
|
other widgets in the terminal window, such as the menubar and scrollbar. Then,
|
923
920
|
the <em class="parameter"><code>width_inc</code></em> and <em class="parameter"><code>height_inc</code></em> fields should be set to the size of one character
|
924
921
|
in the terminal. Finally, the base size should be set to the size of one
|
@@ -954,7 +951,7 @@ a terminal area widget called "terminal" and a toplevel window "toplevel":
|
|
954
951
|
<span class="normal"> hints</span><span class="symbol">.</span><span class="normal">min_height </span><span class="symbol">=</span><span class="normal"> terminal</span><span class="symbol">-></span><span class="normal">char_height</span><span class="symbol">;</span>
|
955
952
|
<span class="normal"> hints</span><span class="symbol">.</span><span class="normal">width_inc </span><span class="symbol">=</span><span class="normal"> terminal</span><span class="symbol">-></span><span class="normal">char_width</span><span class="symbol">;</span>
|
956
953
|
<span class="normal"> hints</span><span class="symbol">.</span><span class="normal">height_inc </span><span class="symbol">=</span><span class="normal"> terminal</span><span class="symbol">-></span><span class="normal">char_height</span><span class="symbol">;</span>
|
957
|
-
<span class="function"><a href="http://library.gnome.org/devel/
|
954
|
+
<span class="function"><a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-set-geometry-hints">gtk_window_set_geometry_hints</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">toplevel</span><span class="symbol">),</span>
|
958
955
|
<span class="normal"> </span><span class="function">GTK_WIDGET</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">terminal</span><span class="symbol">),</span>
|
959
956
|
<span class="normal"> </span><span class="symbol">&</span><span class="normal">hints</span><span class="symbol">,</span>
|
960
957
|
<span class="normal"> <a href="gdk-Windows.html#GDK-HINT-RESIZE-INC:CAPS">GDK_HINT_RESIZE_INC</a> </span><span class="symbol">|</span>
|
@@ -980,27 +977,27 @@ ratio.
|
|
980
977
|
<tbody>
|
981
978
|
<tr>
|
982
979
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGeometry.min-width"></a>min_width</code></em>;</span></p></td>
|
983
|
-
<td>minimum width of window (or -1 to use requisition, with <a href="http://library.gnome.org/devel/
|
980
|
+
<td>minimum width of window (or -1 to use requisition, with <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> only)</td>
|
984
981
|
</tr>
|
985
982
|
<tr>
|
986
983
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGeometry.min-height"></a>min_height</code></em>;</span></p></td>
|
987
|
-
<td>minimum height of window (or -1 to use requisition, with <a href="http://library.gnome.org/devel/
|
984
|
+
<td>minimum height of window (or -1 to use requisition, with <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> only)</td>
|
988
985
|
</tr>
|
989
986
|
<tr>
|
990
987
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGeometry.max-width"></a>max_width</code></em>;</span></p></td>
|
991
|
-
<td>maximum width of window (or -1 to use requisition, with <a href="http://library.gnome.org/devel/
|
988
|
+
<td>maximum width of window (or -1 to use requisition, with <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> only)</td>
|
992
989
|
</tr>
|
993
990
|
<tr>
|
994
991
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGeometry.max-height"></a>max_height</code></em>;</span></p></td>
|
995
|
-
<td>maximum height of window (or -1 to use requisition, with <a href="http://library.gnome.org/devel/
|
992
|
+
<td>maximum height of window (or -1 to use requisition, with <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> only)</td>
|
996
993
|
</tr>
|
997
994
|
<tr>
|
998
995
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGeometry.base-width"></a>base_width</code></em>;</span></p></td>
|
999
|
-
<td>allowed window widths are <em class="parameter"><code>base_width</code></em> + <em class="parameter"><code>width_inc</code></em> * N where N is any integer (-1 allowed with <a href="http://library.gnome.org/devel/
|
996
|
+
<td>allowed window widths are <em class="parameter"><code>base_width</code></em> + <em class="parameter"><code>width_inc</code></em> * N where N is any integer (-1 allowed with <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a>)</td>
|
1000
997
|
</tr>
|
1001
998
|
<tr>
|
1002
999
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGeometry.base-height"></a>base_height</code></em>;</span></p></td>
|
1003
|
-
<td>allowed window widths are <em class="parameter"><code>base_height</code></em> + <em class="parameter"><code>height_inc</code></em> * N where N is any integer (-1 allowed with <a href="http://library.gnome.org/devel/
|
1000
|
+
<td>allowed window widths are <em class="parameter"><code>base_height</code></em> + <em class="parameter"><code>height_inc</code></em> * N where N is any integer (-1 allowed with <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a>)</td>
|
1004
1001
|
</tr>
|
1005
1002
|
<tr>
|
1006
1003
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGeometry.width-inc"></a>width_inc</code></em>;</span></p></td>
|
@@ -1020,7 +1017,7 @@ ratio.
|
|
1020
1017
|
</tr>
|
1021
1018
|
<tr>
|
1022
1019
|
<td><p><span class="term"><a class="link" href="gdk-Windows.html#GdkGravity" title="enum GdkGravity"><span class="type">GdkGravity</span></a> <em class="structfield"><code><a name="GdkGeometry.win-gravity"></a>win_gravity</code></em>;</span></p></td>
|
1023
|
-
<td>window gravity, see <a href="http://library.gnome.org/devel/
|
1020
|
+
<td>window gravity, see <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-set-gravity"><code class="function">gtk_window_set_gravity()</code></a>
|
1024
1021
|
</td>
|
1025
1022
|
</tr>
|
1026
1023
|
</tbody>
|
@@ -1029,8 +1026,7 @@ ratio.
|
|
1029
1026
|
<hr>
|
1030
1027
|
<div class="refsect2">
|
1031
1028
|
<a name="GdkGravity"></a><h3>enum GdkGravity</h3>
|
1032
|
-
<pre class="programlisting">typedef enum
|
1033
|
-
{
|
1029
|
+
<pre class="programlisting">typedef enum {
|
1034
1030
|
GDK_GRAVITY_NORTH_WEST = 1,
|
1035
1031
|
GDK_GRAVITY_NORTH,
|
1036
1032
|
GDK_GRAVITY_NORTH_EAST,
|
@@ -1045,7 +1041,7 @@ ratio.
|
|
1045
1041
|
</pre>
|
1046
1042
|
<p>
|
1047
1043
|
Defines the reference point of a window and the meaning of coordinates
|
1048
|
-
passed to <a href="http://library.gnome.org/devel/
|
1044
|
+
passed to <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-move"><code class="function">gtk_window_move()</code></a>. See <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-move"><code class="function">gtk_window_move()</code></a> and the "implementation
|
1049
1045
|
notes" section of the
|
1050
1046
|
<a class="ulink" href="http://www.freedesktop.org/Standards/wm-spec" target="_top">Extended
|
1051
1047
|
Window Manager Hints</a> specification for more details.
|
@@ -1110,8 +1106,7 @@ Window Manager Hints</a> specification for more details.
|
|
1110
1106
|
<hr>
|
1111
1107
|
<div class="refsect2">
|
1112
1108
|
<a name="GdkWindowEdge"></a><h3>enum GdkWindowEdge</h3>
|
1113
|
-
<pre class="programlisting">typedef enum
|
1114
|
-
{
|
1109
|
+
<pre class="programlisting">typedef enum {
|
1115
1110
|
GDK_WINDOW_EDGE_NORTH_WEST,
|
1116
1111
|
GDK_WINDOW_EDGE_NORTH,
|
1117
1112
|
GDK_WINDOW_EDGE_NORTH_EAST,
|
@@ -1174,8 +1169,7 @@ Determines a window edge or corner.
|
|
1174
1169
|
<hr>
|
1175
1170
|
<div class="refsect2">
|
1176
1171
|
<a name="GdkWindowTypeHint"></a><h3>enum GdkWindowTypeHint</h3>
|
1177
|
-
<pre class="programlisting">typedef enum
|
1178
|
-
{
|
1172
|
+
<pre class="programlisting">typedef enum {
|
1179
1173
|
GDK_WINDOW_TYPE_HINT_NORMAL,
|
1180
1174
|
GDK_WINDOW_TYPE_HINT_DIALOG,
|
1181
1175
|
GDK_WINDOW_TYPE_HINT_MENU, /* Torn off menu */
|
@@ -1219,7 +1213,7 @@ window types.
|
|
1219
1213
|
<tr>
|
1220
1214
|
<td><p><a name="GDK-WINDOW-TYPE-HINT-MENU:CAPS"></a><span class="term"><code class="literal">GDK_WINDOW_TYPE_HINT_MENU</code></span></p></td>
|
1221
1215
|
<td>Window used to implement a menu; GTK+ uses
|
1222
|
-
this hint only for torn-off menus, see <a href="http://library.gnome.org/devel/
|
1216
|
+
this hint only for torn-off menus, see <a href="http://library.gnome.org/devel/gtk/GtkTearoffMenuItem.html"><span class="type">GtkTearoffMenuItem</span></a>.
|
1223
1217
|
</td>
|
1224
1218
|
</tr>
|
1225
1219
|
<tr>
|
@@ -1360,11 +1354,11 @@ Attributes to use for a newly-created window.
|
|
1360
1354
|
</tr>
|
1361
1355
|
<tr>
|
1362
1356
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdkWindowAttr.wmclass-name"></a>wmclass_name</code></em>;</span></p></td>
|
1363
|
-
<td>don't use (see <a href="http://library.gnome.org/devel/
|
1357
|
+
<td>don't use (see <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-set-wmclass"><code class="function">gtk_window_set_wmclass()</code></a>)</td>
|
1364
1358
|
</tr>
|
1365
1359
|
<tr>
|
1366
1360
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdkWindowAttr.wmclass-class"></a>wmclass_class</code></em>;</span></p></td>
|
1367
|
-
<td>don't use (see <a href="http://library.gnome.org/devel/
|
1361
|
+
<td>don't use (see <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-set-wmclass"><code class="function">gtk_window_set_wmclass()</code></a>)</td>
|
1368
1362
|
</tr>
|
1369
1363
|
<tr>
|
1370
1364
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GdkWindowAttr.override-redirect"></a>override_redirect</code></em>;</span></p></td>
|
@@ -1381,8 +1375,7 @@ Attributes to use for a newly-created window.
|
|
1381
1375
|
<hr>
|
1382
1376
|
<div class="refsect2">
|
1383
1377
|
<a name="GdkWindowAttributesType"></a><h3>enum GdkWindowAttributesType</h3>
|
1384
|
-
<pre class="programlisting">typedef enum
|
1385
|
-
{
|
1378
|
+
<pre class="programlisting">typedef enum {
|
1386
1379
|
GDK_WA_TITLE = 1 << 1,
|
1387
1380
|
GDK_WA_X = 1 << 2,
|
1388
1381
|
GDK_WA_Y = 1 << 3,
|
@@ -1706,7 +1699,7 @@ Obtains the window underneath the mouse pointer, returning the
|
|
1706
1699
|
location of that window in <em class="parameter"><code>win_x</code></em>, <em class="parameter"><code>win_y</code></em>. Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the
|
1707
1700
|
window under the mouse pointer is not known to GDK (if the window
|
1708
1701
|
belongs to another application and a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> hasn't been created
|
1709
|
-
for it with <a href="
|
1702
|
+
for it with <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-window-foreign-new" title="gdk_window_foreign_new ()"><code class="function">gdk_window_foreign_new()</code></a>)
|
1710
1703
|
</p>
|
1711
1704
|
<p>
|
1712
1705
|
NOTE: For multihead-aware widgets or applications use
|
@@ -1747,7 +1740,7 @@ This function maps a window so it's visible onscreen. Its opposite
|
|
1747
1740
|
is <a class="link" href="gdk-Windows.html#gdk-window-hide" title="gdk_window_hide ()"><code class="function">gdk_window_hide()</code></a>.
|
1748
1741
|
</p>
|
1749
1742
|
<p>
|
1750
|
-
When implementing a <a href="http://library.gnome.org/devel/
|
1743
|
+
When implementing a <a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a>, you should call this function on the widget's
|
1751
1744
|
<a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> as part of the "map" method.
|
1752
1745
|
</p>
|
1753
1746
|
<div class="variablelist"><table border="0">
|
@@ -1790,7 +1783,7 @@ that you can't really use <code class="function">XMapWindow()</code> directly on
|
|
1790
1783
|
For toplevel windows, withdraws them, so they will no longer be
|
1791
1784
|
known to the window manager; for all windows, unmaps them, so
|
1792
1785
|
they won't be displayed. Normally done automatically as
|
1793
|
-
part of <a href="http://library.gnome.org/devel/
|
1786
|
+
part of <a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-hide"><code class="function">gtk_widget_hide()</code></a>.
|
1794
1787
|
</p>
|
1795
1788
|
<div class="variablelist"><table border="0">
|
1796
1789
|
<col align="left" valign="top">
|
@@ -1971,7 +1964,7 @@ withdraws toplevel windows before hiding them.
|
|
1971
1964
|
<p>
|
1972
1965
|
Asks to iconify (minimize) <em class="parameter"><code>window</code></em>. The window manager may choose
|
1973
1966
|
to ignore the request, but normally will honor it. Using
|
1974
|
-
<a href="http://library.gnome.org/devel/
|
1967
|
+
<a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-iconify"><code class="function">gtk_window_iconify()</code></a> is preferred, if you have a <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> widget.
|
1975
1968
|
</p>
|
1976
1969
|
<p>
|
1977
1970
|
This function only makes sense when <em class="parameter"><code>window</code></em> is a toplevel window.
|
@@ -1992,8 +1985,8 @@ This function only makes sense when <em class="parameter"><code>window</code></e
|
|
1992
1985
|
<p>
|
1993
1986
|
Attempt to deiconify (unminimize) <em class="parameter"><code>window</code></em>. On X11 the window manager may
|
1994
1987
|
choose to ignore the request to deiconify. When using GTK+,
|
1995
|
-
use <a href="http://library.gnome.org/devel/
|
1996
|
-
you probably want to use <a href="http://library.gnome.org/devel/
|
1988
|
+
use <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-deiconify"><code class="function">gtk_window_deiconify()</code></a> instead of the <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> variant. Or better yet,
|
1989
|
+
you probably want to use <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-present"><code class="function">gtk_window_present()</code></a>, which raises the window, focuses it,
|
1997
1990
|
unminimizes it, and puts it on the current desktop.
|
1998
1991
|
</p>
|
1999
1992
|
<div class="variablelist"><table border="0">
|
@@ -2012,7 +2005,7 @@ unminimizes it, and puts it on the current desktop.
|
|
2012
2005
|
<p>
|
2013
2006
|
"Pins" a window such that it's on all workspaces and does not scroll
|
2014
2007
|
with viewports, for window managers that have scrollable viewports.
|
2015
|
-
(When using <a href="http://library.gnome.org/devel/
|
2008
|
+
(When using <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a>, <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-stick"><code class="function">gtk_window_stick()</code></a> may be more useful.)
|
2016
2009
|
</p>
|
2017
2010
|
<p>
|
2018
2011
|
On the X11 platform, this function depends on window manager
|
@@ -2036,7 +2029,7 @@ there's nothing you can do to force it to happen.
|
|
2036
2029
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_window_unstick (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
2037
2030
|
<p>
|
2038
2031
|
Reverse operation for <a class="link" href="gdk-Windows.html#gdk-window-stick" title="gdk_window_stick ()"><code class="function">gdk_window_stick()</code></a>; see <a class="link" href="gdk-Windows.html#gdk-window-stick" title="gdk_window_stick ()"><code class="function">gdk_window_stick()</code></a>,
|
2039
|
-
and <a href="http://library.gnome.org/devel/
|
2032
|
+
and <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-unstick"><code class="function">gtk_window_unstick()</code></a>.
|
2040
2033
|
</p>
|
2041
2034
|
<div class="variablelist"><table border="0">
|
2042
2035
|
<col align="left" valign="top">
|
@@ -2348,7 +2341,7 @@ See <a class="link" href="gdk-Windows.html#gdk-window-set-composited" title="gdk
|
|
2348
2341
|
<p>
|
2349
2342
|
Repositions a window relative to its parent window.
|
2350
2343
|
For toplevel windows, window managers may ignore or modify the move;
|
2351
|
-
you should probably use <a href="http://library.gnome.org/devel/
|
2344
|
+
you should probably use <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-move"><code class="function">gtk_window_move()</code></a> on a <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> widget
|
2352
2345
|
anyway, instead of using GDK functions. For child windows,
|
2353
2346
|
the move will reliably succeed.
|
2354
2347
|
</p>
|
@@ -2384,7 +2377,7 @@ to both move and resize simultaneously, for a nicer visual effect.
|
|
2384
2377
|
<p>
|
2385
2378
|
Resizes <em class="parameter"><code>window</code></em>; for toplevel windows, asks the window manager to resize
|
2386
2379
|
the window. The window manager may not allow the resize. When using GTK+,
|
2387
|
-
use <a href="http://library.gnome.org/devel/
|
2380
|
+
use <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-resize"><code class="function">gtk_window_resize()</code></a> instead of this low-level GDK function.
|
2388
2381
|
</p>
|
2389
2382
|
<p>
|
2390
2383
|
Windows may not be resized below 1x1.
|
@@ -2894,8 +2887,8 @@ requests the restack, does not guarantee it.
|
|
2894
2887
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_window_focus (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
2895
2888
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>);</pre>
|
2896
2889
|
<p>
|
2897
|
-
Sets keyboard focus to <em class="parameter"><code>window</code></em>. In most cases, <a href="http://library.gnome.org/devel/
|
2898
|
-
should be used on a <a href="http://library.gnome.org/devel/
|
2890
|
+
Sets keyboard focus to <em class="parameter"><code>window</code></em>. In most cases, <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-present"><code class="function">gtk_window_present()</code></a>
|
2891
|
+
should be used on a <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a>, rather than calling this function.
|
2899
2892
|
</p>
|
2900
2893
|
<div class="variablelist"><table border="0">
|
2901
2894
|
<col align="left" valign="top">
|
@@ -2939,7 +2932,7 @@ Registers a window as a potential drop destination.
|
|
2939
2932
|
<p>
|
2940
2933
|
Begins a window resize operation (for a toplevel window).
|
2941
2934
|
You might use this function to implement a "window resize grip," for
|
2942
|
-
example; in fact <a href="http://library.gnome.org/devel/
|
2935
|
+
example; in fact <a href="http://library.gnome.org/devel/gtk/GtkStatusbar.html"><span class="type">GtkStatusbar</span></a> uses it. The function works best
|
2943
2936
|
with window managers that support the <a class="ulink" href="http://www.freedesktop.org/Standards/wm-spec" target="_top">Extended Window Manager Hints</a>, but has a
|
2944
2937
|
fallback implementation for other window managers.
|
2945
2938
|
</p>
|
@@ -3142,7 +3135,7 @@ is already set as the clip region, and already has a backing store.
|
|
3142
3135
|
Therefore in most cases, application code need not call
|
3143
3136
|
<a class="link" href="gdk-Windows.html#gdk-window-begin-paint-region" title="gdk_window_begin_paint_region ()"><code class="function">gdk_window_begin_paint_region()</code></a>. (You can disable the automatic
|
3144
3137
|
calls around expose events on a widget-by-widget basis by calling
|
3145
|
-
<a href="http://library.gnome.org/devel/
|
3138
|
+
<a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-set-double-buffered"><code class="function">gtk_widget_set_double_buffered()</code></a>.)
|
3146
3139
|
</p>
|
3147
3140
|
<p>
|
3148
3141
|
If you call this function multiple times before calling the
|
@@ -3575,11 +3568,11 @@ was called previously.
|
|
3575
3568
|
<p>
|
3576
3569
|
For most purposes this function is deprecated in favor of
|
3577
3570
|
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set-data"><code class="function">g_object_set_data()</code></a>. However, for historical reasons GTK+ stores
|
3578
|
-
the <a href="http://library.gnome.org/devel/
|
3571
|
+
the <a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> that owns a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> as user data on the
|
3579
3572
|
<a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>. So, custom widget implementations should use
|
3580
3573
|
this function for that. If GTK+ receives an event for a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>,
|
3581
3574
|
and the user data for the window is non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, GTK+ will assume the
|
3582
|
-
user data is a <a href="http://library.gnome.org/devel/
|
3575
|
+
user data is a <a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a>, and forward the event to that widget.
|
3583
3576
|
</p>
|
3584
3577
|
<div class="variablelist"><table border="0">
|
3585
3578
|
<col align="left" valign="top">
|
@@ -3609,7 +3602,7 @@ can't see the override redirect window at all.
|
|
3609
3602
|
</p>
|
3610
3603
|
<p>
|
3611
3604
|
Override redirect should only be used for short-lived temporary
|
3612
|
-
windows, such as popup menus. <a href="http://library.gnome.org/devel/
|
3605
|
+
windows, such as popup menus. <a href="http://library.gnome.org/devel/gtk/GtkMenu.html"><span class="type">GtkMenu</span></a> uses an override redirect
|
3613
3606
|
window in its implementation, for example.
|
3614
3607
|
</p>
|
3615
3608
|
<div class="variablelist"><table border="0">
|
@@ -4234,8 +4227,8 @@ windowing system. Don't worry about it unless you have to.
|
|
4234
4227
|
</div>
|
4235
4228
|
<p>
|
4236
4229
|
This function is broken and useless and you should ignore it.
|
4237
|
-
If using GTK+, use functions such as <a href="http://library.gnome.org/devel/
|
4238
|
-
<a href="http://library.gnome.org/devel/
|
4230
|
+
If using GTK+, use functions such as <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-resize"><code class="function">gtk_window_resize()</code></a>, <code class="function">gtk_window_set_size_request()</code>,
|
4231
|
+
<a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-move"><code class="function">gtk_window_move()</code></a>, <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-parse-geometry"><code class="function">gtk_window_parse_geometry()</code></a>, and <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-set-geometry-hints"><code class="function">gtk_window_set_geometry_hints()</code></a>,
|
4239
4232
|
depending on what you're trying to do.
|
4240
4233
|
</p>
|
4241
4234
|
<p>
|
@@ -4315,8 +4308,8 @@ user-readable strings in GDK/GTK+). <em class="parameter"><code>title</code></em
|
|
4315
4308
|
<em class="parameter"><code>const <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
4316
4309
|
<p>
|
4317
4310
|
Sets the background color of <em class="parameter"><code>window</code></em>. (However, when using GTK+,
|
4318
|
-
set the background of a widget with <a href="http://library.gnome.org/devel/
|
4319
|
-
you're an application - or <a href="http://library.gnome.org/devel/
|
4311
|
+
set the background of a widget with <a href="http://library.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-modify-bg"><code class="function">gtk_widget_modify_bg()</code></a> - if
|
4312
|
+
you're an application - or <a href="http://library.gnome.org/devel/gtk/GtkStyle.html#gtk-style-set-background"><code class="function">gtk_style_set_background()</code></a> - if you're
|
4320
4313
|
implementing a custom widget.)
|
4321
4314
|
</p>
|
4322
4315
|
<p>
|
@@ -5304,8 +5297,7 @@ pointer isn't known to GDK. <span class="annotation">[<acronym title="Don't free
|
|
5304
5297
|
<hr>
|
5305
5298
|
<div class="refsect2">
|
5306
5299
|
<a name="GdkModifierType"></a><h3>enum GdkModifierType</h3>
|
5307
|
-
<pre class="programlisting">typedef enum
|
5308
|
-
{
|
5300
|
+
<pre class="programlisting">typedef enum {
|
5309
5301
|
GDK_SHIFT_MASK = 1 << 0,
|
5310
5302
|
GDK_LOCK_MASK = 1 << 1,
|
5311
5303
|
GDK_CONTROL_MASK = 1 << 2,
|
@@ -5581,7 +5573,7 @@ See also: <a class="link" href="gdk-Windows.html#gdk-offscreen-window-get-embedd
|
|
5581
5573
|
<hr>
|
5582
5574
|
<div class="refsect2">
|
5583
5575
|
<a name="gdk-window-get-children"></a><h3>gdk_window_get_children ()</h3>
|
5584
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
5576
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gdk_window_get_children (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
5585
5577
|
<p>
|
5586
5578
|
Gets the list of children of <em class="parameter"><code>window</code></em> known to GDK.
|
5587
5579
|
This function only returns children created via GDK,
|
@@ -5691,8 +5683,8 @@ is the bitwise OR of values from the <a class="link" href="gdk-Events.html#GdkEv
|
|
5691
5683
|
<em class="parameter"><code><a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkBitmap" title="GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>);</pre>
|
5692
5684
|
<p>
|
5693
5685
|
Sets the icon of <em class="parameter"><code>window</code></em> as a pixmap or window. If using GTK+, investigate
|
5694
|
-
<a href="http://library.gnome.org/devel/
|
5695
|
-
and <a href="http://library.gnome.org/devel/
|
5686
|
+
<a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-set-default-icon-list"><code class="function">gtk_window_set_default_icon_list()</code></a> first, and then <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-set-icon-list"><code class="function">gtk_window_set_icon_list()</code></a>
|
5687
|
+
and <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-set-icon"><code class="function">gtk_window_set_icon()</code></a>. If those don't meet your needs, look at
|
5696
5688
|
<a class="link" href="gdk-Windows.html#gdk-window-set-icon-list" title="gdk_window_set_icon_list ()"><code class="function">gdk_window_set_icon_list()</code></a>. Only if all those are too high-level do you
|
5697
5689
|
want to fall back to <a class="link" href="gdk-Windows.html#gdk-window-set-icon" title="gdk_window_set_icon ()"><code class="function">gdk_window_set_icon()</code></a>.
|
5698
5690
|
</p>
|
@@ -5765,8 +5757,8 @@ window manager to do things like center <em class="parameter"><code>window</code
|
|
5765
5757
|
keep <em class="parameter"><code>window</code></em> above <em class="parameter"><code>parent</code></em>.
|
5766
5758
|
</p>
|
5767
5759
|
<p>
|
5768
|
-
See <a href="http://library.gnome.org/devel/
|
5769
|
-
<a href="http://library.gnome.org/devel/
|
5760
|
+
See <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-set-transient-for"><code class="function">gtk_window_set_transient_for()</code></a> if you're using <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> or
|
5761
|
+
<a href="http://library.gnome.org/devel/gtk/GtkDialog.html"><span class="type">GtkDialog</span></a>.
|
5770
5762
|
</p>
|
5771
5763
|
<div class="variablelist"><table border="0">
|
5772
5764
|
<col align="left" valign="top">
|
@@ -5790,7 +5782,7 @@ See <a href="http://library.gnome.org/devel/gtk3/GtkWindow.html#gtk-window-set-t
|
|
5790
5782
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_window_set_role (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5791
5783
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *role</code></em>);</pre>
|
5792
5784
|
<p>
|
5793
|
-
When using GTK+, typically you should use <a href="http://library.gnome.org/devel/
|
5785
|
+
When using GTK+, typically you should use <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-set-role"><code class="function">gtk_window_set_role()</code></a> instead
|
5794
5786
|
of this low-level function.
|
5795
5787
|
</p>
|
5796
5788
|
<p>
|
@@ -5825,7 +5817,7 @@ non-interchangeable kind of window.
|
|
5825
5817
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_window_set_startup_id (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5826
5818
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *startup_id</code></em>);</pre>
|
5827
5819
|
<p>
|
5828
|
-
When using GTK+, typically you should use <a href="http://library.gnome.org/devel/
|
5820
|
+
When using GTK+, typically you should use <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-set-startup-id"><code class="function">gtk_window_set_startup_id()</code></a>
|
5829
5821
|
instead of this low-level function.
|
5830
5822
|
</p>
|
5831
5823
|
<div class="variablelist"><table border="0">
|
@@ -5910,7 +5902,7 @@ Returns the group leader window for <em class="parameter"><code>window</code></e
|
|
5910
5902
|
"Decorations" are the features the window manager adds to a toplevel <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>.
|
5911
5903
|
This function sets the traditional Motif window manager hints that tell the
|
5912
5904
|
window manager which decorations you would like your window to have.
|
5913
|
-
Usually you should use <a href="http://library.gnome.org/devel/
|
5905
|
+
Usually you should use <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-set-decorated"><code class="function">gtk_window_set_decorated()</code></a> on a <a href="http://library.gnome.org/devel/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> instead of
|
5914
5906
|
using the GDK function directly.
|
5915
5907
|
</p>
|
5916
5908
|
<p>
|
@@ -5968,8 +5960,7 @@ Returns the decorations set on the GdkWindow with <a class="link" href="gdk-Wind
|
|
5968
5960
|
<hr>
|
5969
5961
|
<div class="refsect2">
|
5970
5962
|
<a name="GdkWMDecoration"></a><h3>enum GdkWMDecoration</h3>
|
5971
|
-
<pre class="programlisting">typedef enum
|
5972
|
-
{
|
5963
|
+
<pre class="programlisting">typedef enum {
|
5973
5964
|
GDK_DECOR_ALL = 1 << 0,
|
5974
5965
|
GDK_DECOR_BORDER = 1 << 1,
|
5975
5966
|
GDK_DECOR_RESIZEH = 1 << 2,
|
@@ -6066,8 +6057,7 @@ enable.
|
|
6066
6057
|
<hr>
|
6067
6058
|
<div class="refsect2">
|
6068
6059
|
<a name="GdkWMFunction"></a><h3>enum GdkWMFunction</h3>
|
6069
|
-
<pre class="programlisting">typedef enum
|
6070
|
-
{
|
6060
|
+
<pre class="programlisting">typedef enum {
|
6071
6061
|
GDK_FUNC_ALL = 1 << 0,
|
6072
6062
|
GDK_FUNC_RESIZE = 1 << 1,
|
6073
6063
|
GDK_FUNC_MOVE = 1 << 2,
|
@@ -6586,6 +6576,6 @@ coordinate in the embedder window. <span class="annotation">[<acronym title="Par
|
|
6586
6576
|
</div>
|
6587
6577
|
<div class="footer">
|
6588
6578
|
<hr>
|
6589
|
-
Generated by GTK-Doc V1.
|
6579
|
+
Generated by GTK-Doc V1.18</div>
|
6590
6580
|
</body>
|
6591
6581
|
</html>
|