gtk2 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2.2/gtk2.so +0 -0
- data/lib/2.3/gtk2.so +0 -0
- data/sample/gtk-demo/appwindow.rb +2 -2
- data/sample/gtk-demo/cairo-clip-image.rb +1 -1
- data/sample/gtk-demo/cairo-image.rb +1 -1
- data/sample/gtk-demo/iconview.rb +3 -3
- data/sample/gtk-demo/images.rb +3 -3
- data/sample/gtk-demo/pixbufs.rb +9 -7
- data/sample/gtk-demo/stock_browser.rb +1 -1
- data/sample/gtk-demo/textview.rb +2 -2
- data/sample/misc/aboutdialog.rb +1 -1
- data/sample/misc/combobox.rb +1 -1
- data/sample/misc/iconview.rb +2 -2
- data/sample/misc/itemfactory.rb +1 -1
- data/sample/misc/itemfactory2.rb +1 -1
- data/sample/misc/to_drawable.rb +2 -2
- data/sample/misc/treeview.rb +1 -1
- data/test/test_gdk_pixbuf.rb +6 -6
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll.a +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/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +24 -24
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +11 -11
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplay.html +77 -77
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplayManager.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk2/GdkScreen.html +132 -132
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Application-launching.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Bitmaps-and-Pixmaps.html +37 -37
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Colormaps-and-Colors.html +67 -67
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Cursors.html +12 -12
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drag-and-Drop.html +29 -29
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drawing-Primitives.html +118 -118
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Event-Structures.html +102 -102
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Events.html +49 -49
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Fonts.html +79 -79
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-GdkRGB.html +64 -64
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-General.html +58 -58
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Graphics-Contexts.html +25 -25
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Images.html +37 -37
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input-Devices.html +40 -40
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input.html +15 -15
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Keyboard-Handling.html +97 -97
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pango-Interaction.html +23 -23
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pixbufs.html +20 -20
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Points-Rectangles-and-Regions.html +37 -37
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Properties-and-Atoms.html +84 -84
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Selections.html +27 -27
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Testing.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Threads.html +74 -74
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Visuals.html +40 -40
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Windows.html +280 -280
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-X-Window-System-Interaction.html +60 -60
- data/vendor/local/share/gtk-doc/html/gdk2/multihead.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAboutDialog.html +118 -118
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccelLabel.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccessible.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAction.html +87 -87
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActionGroup.html +82 -82
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActivatable.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAdjustment.html +60 -60
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAlignment.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkArrow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAspectFrame.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAssistant.html +47 -47
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBin.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBox.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuildable.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuilder.html +98 -98
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButton.html +68 -68
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButtonBox.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCList.html +214 -214
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCTree.html +146 -146
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCalendar.html +88 -88
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellEditable.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellLayout.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRenderer.html +81 -81
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererAccel.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererCombo.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererPixbuf.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererProgress.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpin.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpinner.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererText.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererToggle.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellView.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCheckButton.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorButton.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelection.html +45 -45
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelectionDialog.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCombo.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBox.html +96 -96
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxEntry.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxText.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkContainer.html +73 -73
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCurve.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDialog.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDrawingArea.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEditable.html +51 -51
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntry.html +255 -255
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryBuffer.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryCompletion.html +94 -94
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEventBox.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/GtkExpander.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooser.html +98 -98
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserButton.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserDialog.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserWidget.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileSelection.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFixed.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontButton.html +51 -51
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelection.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelectionDialog.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFrame.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkGammaCurve.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHButtonBox.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSV.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScale.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScrollbar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHandleBox.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContext.html +63 -63
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContextSimple.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMMulticontext.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconTheme.html +83 -83
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconView.html +192 -192
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImage.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImageMenuItem.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInfoBar.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInputDialog.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInvisible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItem.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItemFactory.html +66 -66
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLabel.html +139 -139
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLayout.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLinkButton.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/GtkList.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListItem.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListStore.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenu.html +90 -90
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuBar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuItem.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuShell.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuToolButton.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMessageDialog.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMisc.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkNotebook.html +210 -210
- data/vendor/local/share/gtk-doc/html/gtk2/GtkObject.html +89 -89
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOffscreenWindow.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOldEditable.html +60 -60
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOptionMenu.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetup.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetupUnixDialog.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaned.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaperSize.html +54 -54
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPixmap.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPlug.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPreview.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintContext.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintJob.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintSettings.html +151 -151
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintUnixDialog.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrinter.html +86 -86
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgress.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgressBar.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioAction.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioButton.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioMenuItem.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioToolButton.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRange.html +100 -100
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentAction.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooser.html +101 -101
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserDialog.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserMenu.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserWidget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentFilter.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentManager.html +128 -128
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRuler.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScale.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScaleButton.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrollbar.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrolledWindow.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorToolItem.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSettings.html +196 -196
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSizeGroup.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSocket.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinButton.html +79 -79
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinner.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusIcon.html +157 -157
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusbar.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStyle.html +263 -263
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTable.html +67 -67
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTearoffMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkText.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextBuffer.html +181 -181
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextIter.html +281 -281
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextMark.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTag.html +133 -133
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTagTable.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextView.html +211 -211
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTipsQuery.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleAction.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleButton.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleToolButton.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolButton.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItem.html +63 -63
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItemGroup.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolPalette.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolShell.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolbar.html +105 -105
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltip.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltips.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTree.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeItem.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModel.html +147 -147
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelFilter.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelSort.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSelection.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSortable.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeStore.html +58 -58
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeView.html +414 -414
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeViewColumn.html +147 -147
- data/vendor/local/share/gtk-doc/html/gtk2/GtkUIManager.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVButtonBox.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScale.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScrollbar.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkViewport.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVolumeButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWidget.html +537 -537
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindow.html +255 -255
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindowGroup.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/TextWidget.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/TreeWidget.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/ch01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/chap-drawing-model.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-changes-2-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAboutDialog.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkColorButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkComboBox.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkIconView.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkLinkButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkRecentChooser.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-checklist.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-entry-icons.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-tooltips.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-question-index.html +43 -43
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Accelerator-Maps.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Bindings.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Clipboards.html +87 -87
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Drag-and-Drop.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Feature-Test-Macros.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Filesystem-utilities.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-General.html +153 -153
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Graphics-Contexts.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-GtkTreeView-drag-and-drop.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-High-level-Printing-API.html +167 -167
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Keyboard-Accelerators.html +88 -88
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Orientable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Resource-Files.html +71 -71
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Selections.html +119 -119
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Signals.html +68 -68
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Stock-Items.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Testing.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Themeable-Stock-Images.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Types.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkcheckmenuitem.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkfilefilter.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-selection-modes.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-advanced.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-chooser.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/migrating-GtkCombo.html +4 -4
- metadata +9 -9
@@ -57,7 +57,7 @@
|
|
57
57
|
</tr>
|
58
58
|
<tr>
|
59
59
|
<td class="function_type">
|
60
|
-
<a href="
|
60
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
61
61
|
</td>
|
62
62
|
<td class="function_name">
|
63
63
|
<a class="link" href="gdk2-Visuals.html#gdk-list-visuals" title="gdk_list_visuals ()">gdk_list_visuals</a> <span class="c_punctuation">()</span>
|
@@ -65,7 +65,7 @@
|
|
65
65
|
</tr>
|
66
66
|
<tr>
|
67
67
|
<td class="function_type">
|
68
|
-
<a href="
|
68
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
69
69
|
</td>
|
70
70
|
<td class="function_name">
|
71
71
|
<a class="link" href="gdk2-Visuals.html#gdk-visual-get-best-depth" title="gdk_visual_get_best_depth ()">gdk_visual_get_best_depth</a> <span class="c_punctuation">()</span>
|
@@ -141,7 +141,7 @@
|
|
141
141
|
</tr>
|
142
142
|
<tr>
|
143
143
|
<td class="function_type">
|
144
|
-
<a href="
|
144
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
145
145
|
</td>
|
146
146
|
<td class="function_name">
|
147
147
|
<a class="link" href="gdk2-Visuals.html#gdk-visual-get-bits-per-rgb" title="gdk_visual_get_bits_per_rgb ()">gdk_visual_get_bits_per_rgb</a> <span class="c_punctuation">()</span>
|
@@ -165,7 +165,7 @@
|
|
165
165
|
</tr>
|
166
166
|
<tr>
|
167
167
|
<td class="function_type">
|
168
|
-
<a href="
|
168
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
169
169
|
</td>
|
170
170
|
<td class="function_name">
|
171
171
|
<a class="link" href="gdk2-Visuals.html#gdk-visual-get-colormap-size" title="gdk_visual_get_colormap_size ()">gdk_visual_get_colormap_size</a> <span class="c_punctuation">()</span>
|
@@ -173,7 +173,7 @@
|
|
173
173
|
</tr>
|
174
174
|
<tr>
|
175
175
|
<td class="function_type">
|
176
|
-
<a href="
|
176
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
177
177
|
</td>
|
178
178
|
<td class="function_name">
|
179
179
|
<a class="link" href="gdk2-Visuals.html#gdk-visual-get-depth" title="gdk_visual_get_depth ()">gdk_visual_get_depth</a> <span class="c_punctuation">()</span>
|
@@ -281,8 +281,8 @@ then <a class="link" href="gdk2-Visuals.html#GDK-VISUAL-STATIC-GRAY:CAPS"><code
|
|
281
281
|
<div class="refsect2">
|
282
282
|
<a name="gdk-query-depths"></a><h3>gdk_query_depths ()</h3>
|
283
283
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
284
|
-
gdk_query_depths (<em class="parameter"><code><a href="
|
285
|
-
<em class="parameter"><code><a href="
|
284
|
+
gdk_query_depths (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> **depths</code></em>,
|
285
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *count</code></em>);</pre>
|
286
286
|
<p>This function returns the available bit depths for the default
|
287
287
|
screen. It's equivalent to listing the visuals
|
288
288
|
(<a class="link" href="gdk2-Visuals.html#gdk-list-visuals" title="gdk_list_visuals ()"><code class="function">gdk_list_visuals()</code></a>) and then looking at the depth field in each
|
@@ -316,7 +316,7 @@ visual, removing duplicates.</p>
|
|
316
316
|
<a name="gdk-query-visual-types"></a><h3>gdk_query_visual_types ()</h3>
|
317
317
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
318
318
|
gdk_query_visual_types (<em class="parameter"><code><a class="link" href="gdk2-Visuals.html#GdkVisualType" title="enum GdkVisualType"><span class="type">GdkVisualType</span></a> **visual_types</code></em>,
|
319
|
-
<em class="parameter"><code><a href="
|
319
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *count</code></em>);</pre>
|
320
320
|
<p>This function returns the available visual types for the default
|
321
321
|
screen. It's equivalent to listing the visuals
|
322
322
|
(<a class="link" href="gdk2-Visuals.html#gdk-list-visuals" title="gdk_list_visuals ()"><code class="function">gdk_list_visuals()</code></a>) and then looking at the type field in each
|
@@ -348,14 +348,14 @@ visual, removing duplicates.</p>
|
|
348
348
|
<hr>
|
349
349
|
<div class="refsect2">
|
350
350
|
<a name="gdk-list-visuals"></a><h3>gdk_list_visuals ()</h3>
|
351
|
-
<pre class="programlisting"><a href="
|
351
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
352
352
|
gdk_list_visuals (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
353
353
|
<p>Lists the available visuals for the default screen.
|
354
354
|
(See <a class="link" href="GdkScreen.html#gdk-screen-list-visuals" title="gdk_screen_list_visuals ()"><code class="function">gdk_screen_list_visuals()</code></a>)
|
355
355
|
A visual describes a hardware image data format.
|
356
356
|
For example, a visual might support 24-bit color, or 8-bit color,
|
357
357
|
and might expect pixels to be in a certain format.</p>
|
358
|
-
<p>Call <a href="
|
358
|
+
<p>Call <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> on the return value when you're finished with it.</p>
|
359
359
|
<div class="refsect3">
|
360
360
|
<a name="gdk-list-visuals.returns"></a><h4>Returns</h4>
|
361
361
|
<p> a list of visuals; the list must be freed, but not its contents. </p>
|
@@ -365,7 +365,7 @@ and might expect pixels to be in a certain format.</p>
|
|
365
365
|
<hr>
|
366
366
|
<div class="refsect2">
|
367
367
|
<a name="gdk-visual-get-best-depth"></a><h3>gdk_visual_get_best_depth ()</h3>
|
368
|
-
<pre class="programlisting"><a href="
|
368
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
369
369
|
gdk_visual_get_best_depth (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
370
370
|
<p>Get the best available depth for the default GDK screen. "Best"
|
371
371
|
means "largest," i.e. 32 preferred over 24 preferred over 8 bits
|
@@ -417,12 +417,12 @@ GDK screen. The return value should not be freed.</p>
|
|
417
417
|
<div class="refsect2">
|
418
418
|
<a name="gdk-visual-get-best-with-depth"></a><h3>gdk_visual_get_best_with_depth ()</h3>
|
419
419
|
<pre class="programlisting"><a class="link" href="gdk2-Visuals.html#GdkVisual" title="GdkVisual"><span class="returnvalue">GdkVisual</span></a> *
|
420
|
-
gdk_visual_get_best_with_depth (<em class="parameter"><code><a href="
|
420
|
+
gdk_visual_get_best_with_depth (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> depth</code></em>);</pre>
|
421
421
|
<p>Get the best visual with depth <em class="parameter"><code>depth</code></em>
|
422
422
|
for the default GDK screen.
|
423
423
|
Color visuals and visuals with mutable colormaps are preferred
|
424
424
|
over grayscale or fixed-colormap visuals. The return value should not
|
425
|
-
be freed. <a href="
|
425
|
+
be freed. <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> may be returned if no visual supports <em class="parameter"><code>depth</code></em>
|
426
426
|
.</p>
|
427
427
|
<div class="refsect3">
|
428
428
|
<a name="gdk-visual-get-best-with-depth.parameters"></a><h4>Parameters</h4>
|
@@ -453,7 +453,7 @@ gdk_visual_get_best_with_type (<em class="parameter"><code><a class="link" href=
|
|
453
453
|
<p>Get the best visual of the given <em class="parameter"><code>visual_type</code></em>
|
454
454
|
for the default GDK screen.
|
455
455
|
Visuals with higher color depths are considered better. The return value
|
456
|
-
should not be freed. <a href="
|
456
|
+
should not be freed. <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> may be returned if no visual has type
|
457
457
|
<em class="parameter"><code>visual_type</code></em>
|
458
458
|
.</p>
|
459
459
|
<div class="refsect3">
|
@@ -481,7 +481,7 @@ should not be freed. <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local
|
|
481
481
|
<div class="refsect2">
|
482
482
|
<a name="gdk-visual-get-best-with-both"></a><h3>gdk_visual_get_best_with_both ()</h3>
|
483
483
|
<pre class="programlisting"><a class="link" href="gdk2-Visuals.html#GdkVisual" title="GdkVisual"><span class="returnvalue">GdkVisual</span></a> *
|
484
|
-
gdk_visual_get_best_with_both (<em class="parameter"><code><a href="
|
484
|
+
gdk_visual_get_best_with_both (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> depth</code></em>,
|
485
485
|
<em class="parameter"><code><a class="link" href="gdk2-Visuals.html#GdkVisualType" title="enum GdkVisualType"><span class="type">GdkVisualType</span></a> visual_type</code></em>);</pre>
|
486
486
|
<p>Combines <a class="link" href="gdk2-Visuals.html#gdk-visual-get-best-with-depth" title="gdk_visual_get_best_with_depth ()"><code class="function">gdk_visual_get_best_with_depth()</code></a> and <a class="link" href="gdk2-Visuals.html#gdk-visual-get-best-with-type" title="gdk_visual_get_best_with_type ()"><code class="function">gdk_visual_get_best_with_type()</code></a>.</p>
|
487
487
|
<div class="refsect3">
|
@@ -511,7 +511,7 @@ gdk_visual_get_best_with_both (<em class="parameter"><code><a href="/home/vagran
|
|
511
511
|
<p> best visual with both <em class="parameter"><code>depth</code></em>
|
512
512
|
and
|
513
513
|
<em class="parameter"><code>visual_type</code></em>
|
514
|
-
, or <a href="
|
514
|
+
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none. </p>
|
515
515
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
516
516
|
</div>
|
517
517
|
</div>
|
@@ -522,7 +522,7 @@ and
|
|
522
522
|
</pre>
|
523
523
|
<div class="warning"><p><code class="literal">gdk_visual_ref</code> is deprecated and should not be used in newly-written code.</p></div>
|
524
524
|
<p>
|
525
|
-
Deprecated equivalent of <a href="
|
525
|
+
Deprecated equivalent of <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>.
|
526
526
|
</p>
|
527
527
|
<div class="refsect3">
|
528
528
|
<a name="gdk-visual-ref.parameters"></a><h4>Parameters</h4>
|
@@ -551,7 +551,7 @@ Deprecated equivalent of <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/l
|
|
551
551
|
</pre>
|
552
552
|
<div class="warning"><p><code class="literal">gdk_visual_unref</code> is deprecated and should not be used in newly-written code.</p></div>
|
553
553
|
<p>
|
554
|
-
Deprecated equivalent of <a href="
|
554
|
+
Deprecated equivalent of <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.
|
555
555
|
</p>
|
556
556
|
<div class="refsect3">
|
557
557
|
<a name="gdk-visual-unref.parameters"></a><h4>Parameters</h4>
|
@@ -600,7 +600,7 @@ gdk_visual_get_screen (<em class="parameter"><code><a class="link" href="gdk2-Vi
|
|
600
600
|
<hr>
|
601
601
|
<div class="refsect2">
|
602
602
|
<a name="gdk-visual-get-bits-per-rgb"></a><h3>gdk_visual_get_bits_per_rgb ()</h3>
|
603
|
-
<pre class="programlisting"><a href="
|
603
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
604
604
|
gdk_visual_get_bits_per_rgb (<em class="parameter"><code><a class="link" href="gdk2-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>);</pre>
|
605
605
|
<p>Returns the number of significant bits per red, green and blue value.</p>
|
606
606
|
<div class="refsect3">
|
@@ -630,9 +630,9 @@ gdk_visual_get_bits_per_rgb (<em class="parameter"><code><a class="link" href="g
|
|
630
630
|
<a name="gdk-visual-get-blue-pixel-details"></a><h3>gdk_visual_get_blue_pixel_details ()</h3>
|
631
631
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
632
632
|
gdk_visual_get_blue_pixel_details (<em class="parameter"><code><a class="link" href="gdk2-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>,
|
633
|
-
<em class="parameter"><code><a href="
|
634
|
-
<em class="parameter"><code><a href="
|
635
|
-
<em class="parameter"><code><a href="
|
633
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> *mask</code></em>,
|
634
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *shift</code></em>,
|
635
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *precision</code></em>);</pre>
|
636
636
|
<p>Obtains values that are needed to calculate blue pixel values in TrueColor
|
637
637
|
and DirectColor. The "mask" is the significant bits within the pixel.
|
638
638
|
The "shift" is the number of bits left we must shift a primary for it
|
@@ -654,17 +654,17 @@ to how much precision the pixel value contains for a particular primary.</p>
|
|
654
654
|
</tr>
|
655
655
|
<tr>
|
656
656
|
<td class="parameter_name"><p>mask</p></td>
|
657
|
-
<td class="parameter_description"><p> A pointer to a <a href="
|
657
|
+
<td class="parameter_description"><p> A pointer to a <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> to be filled in, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
658
658
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
659
659
|
</tr>
|
660
660
|
<tr>
|
661
661
|
<td class="parameter_name"><p>shift</p></td>
|
662
|
-
<td class="parameter_description"><p> A pointer to a <a href="
|
662
|
+
<td class="parameter_description"><p> A pointer to a <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> to be filled in, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
663
663
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
664
664
|
</tr>
|
665
665
|
<tr>
|
666
666
|
<td class="parameter_name"><p>precision</p></td>
|
667
|
-
<td class="parameter_description"><p> A pointer to a <a href="
|
667
|
+
<td class="parameter_description"><p> A pointer to a <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> to be filled in, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
668
668
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
669
669
|
</tr>
|
670
670
|
</tbody>
|
@@ -703,7 +703,7 @@ gdk_visual_get_byte_order (<em class="parameter"><code><a class="link" href="gdk
|
|
703
703
|
<hr>
|
704
704
|
<div class="refsect2">
|
705
705
|
<a name="gdk-visual-get-colormap-size"></a><h3>gdk_visual_get_colormap_size ()</h3>
|
706
|
-
<pre class="programlisting"><a href="
|
706
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
707
707
|
gdk_visual_get_colormap_size (<em class="parameter"><code><a class="link" href="gdk2-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>);</pre>
|
708
708
|
<p>Returns the size of a colormap for this visual.</p>
|
709
709
|
<div class="refsect3">
|
@@ -731,7 +731,7 @@ gdk_visual_get_colormap_size (<em class="parameter"><code><a class="link" href="
|
|
731
731
|
<hr>
|
732
732
|
<div class="refsect2">
|
733
733
|
<a name="gdk-visual-get-depth"></a><h3>gdk_visual_get_depth ()</h3>
|
734
|
-
<pre class="programlisting"><a href="
|
734
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
735
735
|
gdk_visual_get_depth (<em class="parameter"><code><a class="link" href="gdk2-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>);</pre>
|
736
736
|
<p>Returns the bit depth of this visual.</p>
|
737
737
|
<div class="refsect3">
|
@@ -760,9 +760,9 @@ gdk_visual_get_depth (<em class="parameter"><code><a class="link" href="gdk2-Vis
|
|
760
760
|
<a name="gdk-visual-get-green-pixel-details"></a><h3>gdk_visual_get_green_pixel_details ()</h3>
|
761
761
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
762
762
|
gdk_visual_get_green_pixel_details (<em class="parameter"><code><a class="link" href="gdk2-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>,
|
763
|
-
<em class="parameter"><code><a href="
|
764
|
-
<em class="parameter"><code><a href="
|
765
|
-
<em class="parameter"><code><a href="
|
763
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> *mask</code></em>,
|
764
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *shift</code></em>,
|
765
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *precision</code></em>);</pre>
|
766
766
|
<p>Obtains values that are needed to calculate green pixel values in TrueColor
|
767
767
|
and DirectColor. The "mask" is the significant bits within the pixel.
|
768
768
|
The "shift" is the number of bits left we must shift a primary for it
|
@@ -784,17 +784,17 @@ to how much precision the pixel value contains for a particular primary.</p>
|
|
784
784
|
</tr>
|
785
785
|
<tr>
|
786
786
|
<td class="parameter_name"><p>mask</p></td>
|
787
|
-
<td class="parameter_description"><p> A pointer to a <a href="
|
787
|
+
<td class="parameter_description"><p> A pointer to a <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> to be filled in, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
788
788
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
789
789
|
</tr>
|
790
790
|
<tr>
|
791
791
|
<td class="parameter_name"><p>shift</p></td>
|
792
|
-
<td class="parameter_description"><p> A pointer to a <a href="
|
792
|
+
<td class="parameter_description"><p> A pointer to a <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> to be filled in, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
793
793
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
794
794
|
</tr>
|
795
795
|
<tr>
|
796
796
|
<td class="parameter_name"><p>precision</p></td>
|
797
|
-
<td class="parameter_description"><p> A pointer to a <a href="
|
797
|
+
<td class="parameter_description"><p> A pointer to a <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> to be filled in, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
798
798
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
799
799
|
</tr>
|
800
800
|
</tbody>
|
@@ -807,9 +807,9 @@ to how much precision the pixel value contains for a particular primary.</p>
|
|
807
807
|
<a name="gdk-visual-get-red-pixel-details"></a><h3>gdk_visual_get_red_pixel_details ()</h3>
|
808
808
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
809
809
|
gdk_visual_get_red_pixel_details (<em class="parameter"><code><a class="link" href="gdk2-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>,
|
810
|
-
<em class="parameter"><code><a href="
|
811
|
-
<em class="parameter"><code><a href="
|
812
|
-
<em class="parameter"><code><a href="
|
810
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> *mask</code></em>,
|
811
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *shift</code></em>,
|
812
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *precision</code></em>);</pre>
|
813
813
|
<p>Obtains values that are needed to calculate red pixel values in TrueColor
|
814
814
|
and DirectColor. The "mask" is the significant bits within the pixel.
|
815
815
|
The "shift" is the number of bits left we must shift a primary for it
|
@@ -831,17 +831,17 @@ to how much precision the pixel value contains for a particular primary.</p>
|
|
831
831
|
</tr>
|
832
832
|
<tr>
|
833
833
|
<td class="parameter_name"><p>mask</p></td>
|
834
|
-
<td class="parameter_description"><p> A pointer to a <a href="
|
834
|
+
<td class="parameter_description"><p> A pointer to a <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> to be filled in, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
835
835
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
836
836
|
</tr>
|
837
837
|
<tr>
|
838
838
|
<td class="parameter_name"><p>shift</p></td>
|
839
|
-
<td class="parameter_description"><p> A pointer to a <a href="
|
839
|
+
<td class="parameter_description"><p> A pointer to a <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> to be filled in, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
840
840
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
841
841
|
</tr>
|
842
842
|
<tr>
|
843
843
|
<td class="parameter_name"><p>precision</p></td>
|
844
|
-
<td class="parameter_description"><p> A pointer to a <a href="
|
844
|
+
<td class="parameter_description"><p> A pointer to a <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> to be filled in, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
845
845
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
846
846
|
</tr>
|
847
847
|
</tbody>
|
@@ -922,7 +922,7 @@ a particular visual.
|
|
922
922
|
6
|
923
923
|
7
|
924
924
|
8</pre></td>
|
925
|
-
<td class="listing_code"><pre class="programlisting"><span class="normal"><a href="
|
925
|
+
<td class="listing_code"><pre class="programlisting"><span class="normal"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint">guint</a></span>
|
926
926
|
<span class="function">pixel_from_rgb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GdkVisual</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">visual</span><span class="symbol">,</span>
|
927
927
|
<span class="normal"> </span><span class="usertype">guchar</span><span class="normal"> r</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">guchar</span><span class="normal"> b</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">guchar</span><span class="normal"> g</span><span class="symbol">)</span>
|
928
928
|
<span class="cbracket">{</span>
|
@@ -140,7 +140,7 @@
|
|
140
140
|
</tr>
|
141
141
|
<tr>
|
142
142
|
<td class="function_type">
|
143
|
-
<a href="
|
143
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
144
144
|
</td>
|
145
145
|
<td class="function_name">
|
146
146
|
<a class="link" href="gdk2-Windows.html#gdk-window-is-destroyed" title="gdk_window_is_destroyed ()">gdk_window_is_destroyed</a> <span class="c_punctuation">()</span>
|
@@ -148,7 +148,7 @@
|
|
148
148
|
</tr>
|
149
149
|
<tr>
|
150
150
|
<td class="function_type">
|
151
|
-
<a href="
|
151
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
152
152
|
</td>
|
153
153
|
<td class="function_name">
|
154
154
|
<a class="link" href="gdk2-Windows.html#gdk-window-is-visible" title="gdk_window_is_visible ()">gdk_window_is_visible</a> <span class="c_punctuation">()</span>
|
@@ -156,7 +156,7 @@
|
|
156
156
|
</tr>
|
157
157
|
<tr>
|
158
158
|
<td class="function_type">
|
159
|
-
<a href="
|
159
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
160
160
|
</td>
|
161
161
|
<td class="function_name">
|
162
162
|
<a class="link" href="gdk2-Windows.html#gdk-window-is-viewable" title="gdk_window_is_viewable ()">gdk_window_is_viewable</a> <span class="c_punctuation">()</span>
|
@@ -164,7 +164,7 @@
|
|
164
164
|
</tr>
|
165
165
|
<tr>
|
166
166
|
<td class="function_type">
|
167
|
-
<a href="
|
167
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
168
168
|
</td>
|
169
169
|
<td class="function_name">
|
170
170
|
<a class="link" href="gdk2-Windows.html#gdk-window-is-shaped" title="gdk_window_is_shaped ()">gdk_window_is_shaped</a> <span class="c_punctuation">()</span>
|
@@ -172,7 +172,7 @@
|
|
172
172
|
</tr>
|
173
173
|
<tr>
|
174
174
|
<td class="function_type">
|
175
|
-
<a href="
|
175
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
176
176
|
</td>
|
177
177
|
<td class="function_name">
|
178
178
|
<a class="link" href="gdk2-Windows.html#gdk-window-is-input-only" title="gdk_window_is_input_only ()">gdk_window_is_input_only</a> <span class="c_punctuation">()</span>
|
@@ -292,7 +292,7 @@
|
|
292
292
|
</tr>
|
293
293
|
<tr>
|
294
294
|
<td class="function_type">
|
295
|
-
<a href="
|
295
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
296
296
|
</td>
|
297
297
|
<td class="function_name">
|
298
298
|
<a class="link" href="gdk2-Windows.html#gdk-window-get-composited" title="gdk_window_get_composited ()">gdk_window_get_composited</a> <span class="c_punctuation">()</span>
|
@@ -348,7 +348,7 @@
|
|
348
348
|
</tr>
|
349
349
|
<tr>
|
350
350
|
<td class="function_type">
|
351
|
-
<a href="
|
351
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
352
352
|
</td>
|
353
353
|
<td class="function_name">
|
354
354
|
<a class="link" href="gdk2-Windows.html#gdk-window-has-native" title="gdk_window_has_native ()">gdk_window_has_native</a> <span class="c_punctuation">()</span>
|
@@ -356,7 +356,7 @@
|
|
356
356
|
</tr>
|
357
357
|
<tr>
|
358
358
|
<td class="function_type">
|
359
|
-
<a href="
|
359
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
360
360
|
</td>
|
361
361
|
<td class="function_name">
|
362
362
|
<a class="link" href="gdk2-Windows.html#gdk-window-ensure-native" title="gdk_window_ensure_native ()">gdk_window_ensure_native</a> <span class="c_punctuation">()</span>
|
@@ -618,7 +618,7 @@
|
|
618
618
|
</tr>
|
619
619
|
<tr>
|
620
620
|
<td class="function_type">
|
621
|
-
<a href="
|
621
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
622
622
|
</td>
|
623
623
|
<td class="function_name">
|
624
624
|
<a class="link" href="gdk2-Windows.html#gdk-window-get-accept-focus" title="gdk_window_get_accept_focus ()">gdk_window_get_accept_focus</a> <span class="c_punctuation">()</span>
|
@@ -634,7 +634,7 @@
|
|
634
634
|
</tr>
|
635
635
|
<tr>
|
636
636
|
<td class="function_type">
|
637
|
-
<a href="
|
637
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
638
638
|
</td>
|
639
639
|
<td class="function_name">
|
640
640
|
<a class="link" href="gdk2-Windows.html#gdk-window-get-focus-on-map" title="gdk_window_get_focus_on_map ()">gdk_window_get_focus_on_map</a> <span class="c_punctuation">()</span>
|
@@ -730,7 +730,7 @@
|
|
730
730
|
</tr>
|
731
731
|
<tr>
|
732
732
|
<td class="function_type">
|
733
|
-
<a href="
|
733
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
734
734
|
</td>
|
735
735
|
<td class="function_name">
|
736
736
|
<a class="link" href="gdk2-Windows.html#gdk-window-set-static-gravities" title="gdk_window_set_static_gravities ()">gdk_window_set_static_gravities</a> <span class="c_punctuation">()</span>
|
@@ -834,7 +834,7 @@
|
|
834
834
|
</tr>
|
835
835
|
<tr>
|
836
836
|
<td class="function_type">
|
837
|
-
<a href="
|
837
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
838
838
|
</td>
|
839
839
|
<td class="function_name">
|
840
840
|
<a class="link" href="gdk2-Windows.html#gdk-window-get-modal-hint" title="gdk_window_get_modal_hint ()">gdk_window_get_modal_hint</a> <span class="c_punctuation">()</span>
|
@@ -906,7 +906,7 @@
|
|
906
906
|
</tr>
|
907
907
|
<tr>
|
908
908
|
<td class="function_type">
|
909
|
-
<a href="
|
909
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
910
910
|
</td>
|
911
911
|
<td class="function_name">
|
912
912
|
<a class="link" href="gdk2-Windows.html#gdk-window-get-origin" title="gdk_window_get_origin ()">gdk_window_get_origin</a> <span class="c_punctuation">()</span>
|
@@ -914,7 +914,7 @@
|
|
914
914
|
</tr>
|
915
915
|
<tr>
|
916
916
|
<td class="function_type">
|
917
|
-
<a href="
|
917
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
918
918
|
</td>
|
919
919
|
<td class="function_name">
|
920
920
|
<a class="link" href="gdk2-Windows.html#gdk-window-get-deskrelative-origin" title="gdk_window_get_deskrelative_origin ()">gdk_window_get_deskrelative_origin</a> <span class="c_punctuation">()</span>
|
@@ -986,7 +986,7 @@
|
|
986
986
|
</tr>
|
987
987
|
<tr>
|
988
988
|
<td class="function_type">
|
989
|
-
<a href="
|
989
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
990
990
|
</td>
|
991
991
|
<td class="function_name">
|
992
992
|
<a class="link" href="gdk2-Windows.html#gdk-window-get-children" title="gdk_window_get_children ()">gdk_window_get_children</a> <span class="c_punctuation">()</span>
|
@@ -994,7 +994,7 @@
|
|
994
994
|
</tr>
|
995
995
|
<tr>
|
996
996
|
<td class="function_type">
|
997
|
-
<a href="
|
997
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
998
998
|
</td>
|
999
999
|
<td class="function_name">
|
1000
1000
|
<a class="link" href="gdk2-Windows.html#gdk-window-peek-children" title="gdk_window_peek_children ()">gdk_window_peek_children</a> <span class="c_punctuation">()</span>
|
@@ -1082,7 +1082,7 @@
|
|
1082
1082
|
</tr>
|
1083
1083
|
<tr>
|
1084
1084
|
<td class="function_type">
|
1085
|
-
<a href="
|
1085
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1086
1086
|
</td>
|
1087
1087
|
<td class="function_name">
|
1088
1088
|
<a class="link" href="gdk2-Windows.html#gdk-window-get-decorations" title="gdk_window_get_decorations ()">gdk_window_get_decorations</a> <span class="c_punctuation">()</span>
|
@@ -1098,7 +1098,7 @@
|
|
1098
1098
|
</tr>
|
1099
1099
|
<tr>
|
1100
1100
|
<td class="function_type">
|
1101
|
-
<a href="
|
1101
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
1102
1102
|
</td>
|
1103
1103
|
<td class="function_name">
|
1104
1104
|
<a class="link" href="gdk2-Windows.html#gdk-window-get-toplevels" title="gdk_window_get_toplevels ()">gdk_window_get_toplevels</a> <span class="c_punctuation">()</span>
|
@@ -1199,18 +1199,18 @@
|
|
1199
1199
|
<tr>
|
1200
1200
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
1201
1201
|
<td class="signal_name"><a class="link" href="gdk2-Windows.html#GdkWindow-from-embedder" title="The “from-embedder” signal">from-embedder</a></td>
|
1202
|
-
<td class="signal_flags"><a href="
|
1202
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
1203
1203
|
</tr>
|
1204
1204
|
<tr>
|
1205
1205
|
<td class="signal_type">
|
1206
1206
|
<a class="link" href="gdk2-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a>*</td>
|
1207
1207
|
<td class="signal_name"><a class="link" href="gdk2-Windows.html#GdkWindow-pick-embedded-child" title="The “pick-embedded-child” signal">pick-embedded-child</a></td>
|
1208
|
-
<td class="signal_flags"><a href="
|
1208
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
1209
1209
|
</tr>
|
1210
1210
|
<tr>
|
1211
1211
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
1212
1212
|
<td class="signal_name"><a class="link" href="gdk2-Windows.html#GdkWindow-to-embedder" title="The “to-embedder” signal">to-embedder</a></td>
|
1213
|
-
<td class="signal_flags"><a href="
|
1213
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
1214
1214
|
</tr>
|
1215
1215
|
</tbody>
|
1216
1216
|
</table></div>
|
@@ -1320,7 +1320,7 @@
|
|
1320
1320
|
</div>
|
1321
1321
|
<div class="refsect1">
|
1322
1322
|
<a name="gdk2-Windows.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
1323
|
-
<pre class="screen"> <a href="
|
1323
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
1324
1324
|
<span class="lineart">╰──</span> <a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable">GdkDrawable</a>
|
1325
1325
|
<span class="lineart">╰──</span> GdkWindow
|
1326
1326
|
</pre>
|
@@ -1480,7 +1480,7 @@ application to render the window contents at the right spot.
|
|
1480
1480
|
<span class="comment"> * (and because GTK+ might actually replace our transparency with its</span>
|
1481
1481
|
<span class="comment"> * default background colour).</span>
|
1482
1482
|
<span class="comment"> */</span>
|
1483
|
-
<span class="keyword">static</span><span class="normal"> <a href="
|
1483
|
+
<span class="keyword">static</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a></span>
|
1484
1484
|
<span class="function">transparent_expose</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>
|
1485
1485
|
<span class="normal"> </span><span class="usertype">GdkEventExpose</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">)</span>
|
1486
1486
|
<span class="cbracket">{</span>
|
@@ -1490,7 +1490,7 @@ application to render the window contents at the right spot.
|
|
1490
1490
|
<span class="normal"> </span><span class="function"><a href="gdk2-Cairo-Interaction.html#gdk-cairo-region">gdk_cairo_region</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">region</span><span class="symbol">);</span>
|
1491
1491
|
<span class="normal"> </span><span class="function">cairo_fill</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
1492
1492
|
<span class="normal"> </span><span class="function">cairo_destroy</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
1493
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="
|
1493
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
|
1494
1494
|
<span class="cbracket">}</span>
|
1495
1495
|
<span class="comment">/* The expose event handler for the window.</span>
|
1496
1496
|
<span class="comment"> *</span>
|
@@ -1506,7 +1506,7 @@ application to render the window contents at the right spot.
|
|
1506
1506
|
<span class="comment"> * Note: if the child window has children, then you need a cairo 1.6</span>
|
1507
1507
|
<span class="comment"> * feature to make this work correctly.</span>
|
1508
1508
|
<span class="comment"> */</span>
|
1509
|
-
<span class="keyword">static</span><span class="normal"> <a href="
|
1509
|
+
<span class="keyword">static</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a></span>
|
1510
1510
|
<span class="function">window_expose_event</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>
|
1511
1511
|
<span class="normal"> </span><span class="usertype">GdkEventExpose</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">)</span>
|
1512
1512
|
<span class="cbracket">{</span>
|
@@ -1531,7 +1531,7 @@ application to render the window contents at the right spot.
|
|
1531
1531
|
<span class="normal"> </span><span class="function">cairo_paint_with_alpha</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.5</span><span class="symbol">);</span>
|
1532
1532
|
<span class="normal"> </span><span class="comment">/* we're done */</span>
|
1533
1533
|
<span class="normal"> </span><span class="function">cairo_destroy</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
1534
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="
|
1534
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
|
1535
1535
|
<span class="cbracket">}</span>
|
1536
1536
|
<span class="type">int</span>
|
1537
1537
|
<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>
|
@@ -1558,9 +1558,9 @@ application to render the window contents at the right spot.
|
|
1558
1558
|
<span class="comment"> * drawn on it. Currently there is no way to simply tell GTK+</span>
|
1559
1559
|
<span class="comment"> * that "transparency" is the background colour for a widget.</span>
|
1560
1560
|
<span class="comment"> */</span>
|
1561
|
-
<span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gtk2/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="
|
1562
|
-
<span class="normal"> </span><span class="function"><a href="
|
1563
|
-
<span class="normal"> </span><span class="function"><a href="
|
1561
|
+
<span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gtk2/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="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
1562
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/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>
|
1563
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/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="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
1564
1564
|
<span class="normal"> </span><span class="comment">/* Put them inside one another */</span>
|
1565
1565
|
<span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gtk2/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>
|
1566
1566
|
<span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gtk2/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>
|
@@ -1570,13 +1570,13 @@ application to render the window contents at the right spot.
|
|
1570
1570
|
<span class="normal"> </span><span class="comment">/* Set the event box GdkWindow to be composited.</span>
|
1571
1571
|
<span class="comment"> * Obviously must be performed after event box is realised.</span>
|
1572
1572
|
<span class="comment"> */</span>
|
1573
|
-
<span class="normal"> </span><span class="function"><a href="gdk2-Windows.html#gdk-window-set-composited">gdk_window_set_composited</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-></span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> <a href="
|
1573
|
+
<span class="normal"> </span><span class="function"><a href="gdk2-Windows.html#gdk-window-set-composited">gdk_window_set_composited</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-></span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
1574
1574
|
<span class="normal"> </span><span class="comment">/* Set up the compositing handler.</span>
|
1575
1575
|
<span class="comment"> * Note that we do _after_ so that the normal (red) background is drawn</span>
|
1576
1576
|
<span class="comment"> * by gtk before our compositing occurs.</span>
|
1577
1577
|
<span class="comment"> */</span>
|
1578
|
-
<span class="normal"> </span><span class="function"><a href="
|
1579
|
-
<span class="normal"> </span><span class="function"><a href="
|
1578
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/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>
|
1579
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/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="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
1580
1580
|
<span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gtk2/gtk3-General.html#gtk-main">gtk_main</a></span><span class="normal"> </span><span class="symbol">();</span>
|
1581
1581
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
1582
1582
|
<span class="cbracket">}</span></pre></td>
|
@@ -1635,7 +1635,7 @@ offscreen window are available as a pixmap, via
|
|
1635
1635
|
<pre class="programlisting"><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> *
|
1636
1636
|
gdk_window_new (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *parent</code></em>,
|
1637
1637
|
<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindowAttr" title="struct GdkWindowAttr"><span class="type">GdkWindowAttr</span></a> *attributes</code></em>,
|
1638
|
-
<em class="parameter"><code><a href="
|
1638
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> attributes_mask</code></em>);</pre>
|
1639
1639
|
<p>Creates a new <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> using the attributes from
|
1640
1640
|
<em class="parameter"><code>attributes</code></em>
|
1641
1641
|
. See <a class="link" href="gdk2-Windows.html#GdkWindowAttr" title="struct GdkWindowAttr"><span class="type">GdkWindowAttr</span></a> and <a class="link" href="gdk2-Windows.html#GdkWindowAttributesType" title="enum GdkWindowAttributesType"><span class="type">GdkWindowAttributesType</span></a> for
|
@@ -1653,7 +1653,7 @@ display, <em class="parameter"><code>parent</code></em>
|
|
1653
1653
|
<tbody>
|
1654
1654
|
<tr>
|
1655
1655
|
<td class="parameter_name"><p>parent</p></td>
|
1656
|
-
<td class="parameter_description"><p> a <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>, or <a href="
|
1656
|
+
<td class="parameter_description"><p> a <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to create the window as a child of
|
1657
1657
|
the default root window for the default display. </p></td>
|
1658
1658
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1659
1659
|
</tr>
|
@@ -1884,12 +1884,12 @@ gdk_window_get_window_type (<em class="parameter"><code><a class="link" href="gd
|
|
1884
1884
|
<div class="refsect2">
|
1885
1885
|
<a name="gdk-window-at-pointer"></a><h3>gdk_window_at_pointer ()</h3>
|
1886
1886
|
<pre class="programlisting"><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> *
|
1887
|
-
gdk_window_at_pointer (<em class="parameter"><code><a href="
|
1888
|
-
<em class="parameter"><code><a href="
|
1887
|
+
gdk_window_at_pointer (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *win_x</code></em>,
|
1888
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *win_y</code></em>);</pre>
|
1889
1889
|
<p>Obtains the window underneath the mouse pointer, returning the
|
1890
1890
|
location of that window in <em class="parameter"><code>win_x</code></em>
|
1891
1891
|
, <em class="parameter"><code>win_y</code></em>
|
1892
|
-
. Returns <a href="
|
1892
|
+
. Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the
|
1893
1893
|
window under the mouse pointer is not known to GDK (if the window
|
1894
1894
|
belongs to another application and a <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> hasn't been created
|
1895
1895
|
for it with <a class="link" href="gdk2-X-Window-System-Interaction.html#gdk-window-foreign-new" title="gdk_window_foreign_new ()"><code class="function">gdk_window_foreign_new()</code></a>)</p>
|
@@ -2006,7 +2006,7 @@ part of <a href="http://developer.gnome.org/gtk2/GtkWidget.html#gtk-widget-hide"
|
|
2006
2006
|
<hr>
|
2007
2007
|
<div class="refsect2">
|
2008
2008
|
<a name="gdk-window-is-destroyed"></a><h3>gdk_window_is_destroyed ()</h3>
|
2009
|
-
<pre class="programlisting"><a href="
|
2009
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2010
2010
|
gdk_window_is_destroyed (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
2011
2011
|
<p>Check to see if a window is destroyed..</p>
|
2012
2012
|
<div class="refsect3">
|
@@ -2026,14 +2026,14 @@ gdk_window_is_destroyed (<em class="parameter"><code><a class="link" href="gdk2-
|
|
2026
2026
|
</div>
|
2027
2027
|
<div class="refsect3">
|
2028
2028
|
<a name="gdk-window-is-destroyed.returns"></a><h4>Returns</h4>
|
2029
|
-
<p> <a href="
|
2029
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the window is destroyed</p>
|
2030
2030
|
</div>
|
2031
2031
|
<p class="since">Since: <a class="link" href="api-index-2-18.html#api-index-2.18">2.18</a></p>
|
2032
2032
|
</div>
|
2033
2033
|
<hr>
|
2034
2034
|
<div class="refsect2">
|
2035
2035
|
<a name="gdk-window-is-visible"></a><h3>gdk_window_is_visible ()</h3>
|
2036
|
-
<pre class="programlisting"><a href="
|
2036
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2037
2037
|
gdk_window_is_visible (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
2038
2038
|
<p>Checks whether the window has been mapped (with <a class="link" href="gdk2-Windows.html#gdk-window-show" title="gdk_window_show ()"><code class="function">gdk_window_show()</code></a> or
|
2039
2039
|
<a class="link" href="gdk2-Windows.html#gdk-window-show-unraised" title="gdk_window_show_unraised ()"><code class="function">gdk_window_show_unraised()</code></a>).</p>
|
@@ -2054,13 +2054,13 @@ gdk_window_is_visible (<em class="parameter"><code><a class="link" href="gdk2-Wi
|
|
2054
2054
|
</div>
|
2055
2055
|
<div class="refsect3">
|
2056
2056
|
<a name="gdk-window-is-visible.returns"></a><h4>Returns</h4>
|
2057
|
-
<p> <a href="
|
2057
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the window is mapped</p>
|
2058
2058
|
</div>
|
2059
2059
|
</div>
|
2060
2060
|
<hr>
|
2061
2061
|
<div class="refsect2">
|
2062
2062
|
<a name="gdk-window-is-viewable"></a><h3>gdk_window_is_viewable ()</h3>
|
2063
|
-
<pre class="programlisting"><a href="
|
2063
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2064
2064
|
gdk_window_is_viewable (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
2065
2065
|
<p>Check if the window and all ancestors of the window are
|
2066
2066
|
mapped. (This is not necessarily "viewable" in the X sense, since
|
@@ -2083,13 +2083,13 @@ window.)</p>
|
|
2083
2083
|
</div>
|
2084
2084
|
<div class="refsect3">
|
2085
2085
|
<a name="gdk-window-is-viewable.returns"></a><h4>Returns</h4>
|
2086
|
-
<p> <a href="
|
2086
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the window is viewable</p>
|
2087
2087
|
</div>
|
2088
2088
|
</div>
|
2089
2089
|
<hr>
|
2090
2090
|
<div class="refsect2">
|
2091
2091
|
<a name="gdk-window-is-shaped"></a><h3>gdk_window_is_shaped ()</h3>
|
2092
|
-
<pre class="programlisting"><a href="
|
2092
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2093
2093
|
gdk_window_is_shaped (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
2094
2094
|
<p>Determines whether or not the window is shaped.</p>
|
2095
2095
|
<div class="refsect3">
|
@@ -2109,7 +2109,7 @@ gdk_window_is_shaped (<em class="parameter"><code><a class="link" href="gdk2-Win
|
|
2109
2109
|
</div>
|
2110
2110
|
<div class="refsect3">
|
2111
2111
|
<a name="gdk-window-is-shaped.returns"></a><h4>Returns</h4>
|
2112
|
-
<p> <a href="
|
2112
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>window</code></em>
|
2113
2113
|
is shaped</p>
|
2114
2114
|
</div>
|
2115
2115
|
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
@@ -2117,7 +2117,7 @@ is shaped</p>
|
|
2117
2117
|
<hr>
|
2118
2118
|
<div class="refsect2">
|
2119
2119
|
<a name="gdk-window-is-input-only"></a><h3>gdk_window_is_input_only ()</h3>
|
2120
|
-
<pre class="programlisting"><a href="
|
2120
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2121
2121
|
gdk_window_is_input_only (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
2122
2122
|
<p>Determines whether or not the window is an input only window.</p>
|
2123
2123
|
<div class="refsect3">
|
@@ -2137,7 +2137,7 @@ gdk_window_is_input_only (<em class="parameter"><code><a class="link" href="gdk2
|
|
2137
2137
|
</div>
|
2138
2138
|
<div class="refsect3">
|
2139
2139
|
<a name="gdk-window-is-input-only.returns"></a><h4>Returns</h4>
|
2140
|
-
<p> <a href="
|
2140
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>window</code></em>
|
2141
2141
|
is input only</p>
|
2142
2142
|
</div>
|
2143
2143
|
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
@@ -2432,7 +2432,7 @@ it to happen.</p>
|
|
2432
2432
|
<a name="gdk-window-set-keep-above"></a><h3>gdk_window_set_keep_above ()</h3>
|
2433
2433
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2434
2434
|
gdk_window_set_keep_above (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
2435
|
-
<em class="parameter"><code><a href="
|
2435
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre>
|
2436
2436
|
<p>Set if <em class="parameter"><code>window</code></em>
|
2437
2437
|
must be kept above other windows. If the
|
2438
2438
|
window was already above, then this function does nothing.</p>
|
@@ -2473,7 +2473,7 @@ above other windows</p></td>
|
|
2473
2473
|
<a name="gdk-window-set-keep-below"></a><h3>gdk_window_set_keep_below ()</h3>
|
2474
2474
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2475
2475
|
gdk_window_set_keep_below (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
2476
|
-
<em class="parameter"><code><a href="
|
2476
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre>
|
2477
2477
|
<p>Set if <em class="parameter"><code>window</code></em>
|
2478
2478
|
must be kept below other windows. If the
|
2479
2479
|
window was already below, then this function does nothing.</p>
|
@@ -2514,7 +2514,7 @@ below other windows</p></td>
|
|
2514
2514
|
<a name="gdk-window-set-opacity"></a><h3>gdk_window_set_opacity ()</h3>
|
2515
2515
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2516
2516
|
gdk_window_set_opacity (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
2517
|
-
<em class="parameter"><code><a href="
|
2517
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> opacity</code></em>);</pre>
|
2518
2518
|
<p>Request the windowing system to make <em class="parameter"><code>window</code></em>
|
2519
2519
|
partially transparent,
|
2520
2520
|
with opacity 0 being fully transparent and 1 fully opaque. (Values
|
@@ -2553,7 +2553,7 @@ For making non-toplevel windows translucent, see
|
|
2553
2553
|
<a name="gdk-window-set-composited"></a><h3>gdk_window_set_composited ()</h3>
|
2554
2554
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2555
2555
|
gdk_window_set_composited (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
2556
|
-
<em class="parameter"><code><a href="
|
2556
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> composited</code></em>);</pre>
|
2557
2557
|
<p>Sets a <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> as composited, or unsets it. Composited
|
2558
2558
|
windows do not automatically have their contents drawn to
|
2559
2559
|
the screen. Drawing is redirected to an offscreen buffer
|
@@ -2590,7 +2590,7 @@ attempting to do so.</p>
|
|
2590
2590
|
</tr>
|
2591
2591
|
<tr>
|
2592
2592
|
<td class="parameter_name"><p>composited</p></td>
|
2593
|
-
<td class="parameter_description"><p><a href="
|
2593
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to set the window as composited</p></td>
|
2594
2594
|
<td class="parameter_annotations"> </td>
|
2595
2595
|
</tr>
|
2596
2596
|
</tbody>
|
@@ -2601,7 +2601,7 @@ attempting to do so.</p>
|
|
2601
2601
|
<hr>
|
2602
2602
|
<div class="refsect2">
|
2603
2603
|
<a name="gdk-window-get-composited"></a><h3>gdk_window_get_composited ()</h3>
|
2604
|
-
<pre class="programlisting"><a href="
|
2604
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2605
2605
|
gdk_window_get_composited (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
2606
2606
|
<p>Determines whether <em class="parameter"><code>window</code></em>
|
2607
2607
|
is composited.</p>
|
@@ -2623,7 +2623,7 @@ gdk_window_get_composited (<em class="parameter"><code><a class="link" href="gdk
|
|
2623
2623
|
</div>
|
2624
2624
|
<div class="refsect3">
|
2625
2625
|
<a name="gdk-window-get-composited.returns"></a><h4>Returns</h4>
|
2626
|
-
<p> <a href="
|
2626
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the window is composited.</p>
|
2627
2627
|
</div>
|
2628
2628
|
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2629
2629
|
</div>
|
@@ -2632,8 +2632,8 @@ gdk_window_get_composited (<em class="parameter"><code><a class="link" href="gdk
|
|
2632
2632
|
<a name="gdk-window-move"></a><h3>gdk_window_move ()</h3>
|
2633
2633
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2634
2634
|
gdk_window_move (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
2635
|
-
<em class="parameter"><code><a href="
|
2636
|
-
<em class="parameter"><code><a href="
|
2635
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
2636
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
|
2637
2637
|
<p>Repositions a window relative to its parent window.
|
2638
2638
|
For toplevel windows, window managers may ignore or modify the move;
|
2639
2639
|
you should probably use <a href="http://developer.gnome.org/gtk2/GtkWindow.html#gtk-window-move"><code class="function">gtk_window_move()</code></a> on a <a href="http://developer.gnome.org/gtk2/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> widget
|
@@ -2674,8 +2674,8 @@ to both move and resize simultaneously, for a nicer visual effect.</p>
|
|
2674
2674
|
<a name="gdk-window-resize"></a><h3>gdk_window_resize ()</h3>
|
2675
2675
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2676
2676
|
gdk_window_resize (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
2677
|
-
<em class="parameter"><code><a href="
|
2678
|
-
<em class="parameter"><code><a href="
|
2677
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
2678
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
2679
2679
|
<p>Resizes <em class="parameter"><code>window</code></em>
|
2680
2680
|
; for toplevel windows, asks the window manager to resize
|
2681
2681
|
the window. The window manager may not allow the resize. When using GTK+,
|
@@ -2716,10 +2716,10 @@ to both move and resize simultaneously, for a nicer visual effect.</p>
|
|
2716
2716
|
<a name="gdk-window-move-resize"></a><h3>gdk_window_move_resize ()</h3>
|
2717
2717
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2718
2718
|
gdk_window_move_resize (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
2719
|
-
<em class="parameter"><code><a href="
|
2720
|
-
<em class="parameter"><code><a href="
|
2721
|
-
<em class="parameter"><code><a href="
|
2722
|
-
<em class="parameter"><code><a href="
|
2719
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
2720
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
2721
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
2722
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
2723
2723
|
<p>Equivalent to calling <a class="link" href="gdk2-Windows.html#gdk-window-move" title="gdk_window_move ()"><code class="function">gdk_window_move()</code></a> and <a class="link" href="gdk2-Windows.html#gdk-window-resize" title="gdk_window_resize ()"><code class="function">gdk_window_resize()</code></a>,
|
2724
2724
|
except that both operations are performed at once, avoiding strange
|
2725
2725
|
visual effects. (i.e. the user may be able to see the window first
|
@@ -2767,8 +2767,8 @@ move, then resize, if you don't use <a class="link" href="gdk2-Windows.html#gdk-
|
|
2767
2767
|
<a name="gdk-window-scroll"></a><h3>gdk_window_scroll ()</h3>
|
2768
2768
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2769
2769
|
gdk_window_scroll (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
2770
|
-
<em class="parameter"><code><a href="
|
2771
|
-
<em class="parameter"><code><a href="
|
2770
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dx</code></em>,
|
2771
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dy</code></em>);</pre>
|
2772
2772
|
<p>Scroll the contents of its window, both pixels and children, by
|
2773
2773
|
the given amount. Portions of the window that the scroll operation
|
2774
2774
|
brings in from offscreen areas are invalidated.</p>
|
@@ -2806,8 +2806,8 @@ brings in from offscreen areas are invalidated.</p>
|
|
2806
2806
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2807
2807
|
gdk_window_move_region (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
2808
2808
|
<em class="parameter"><code>const <a class="link" href="gdk2-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
2809
|
-
<em class="parameter"><code><a href="
|
2810
|
-
<em class="parameter"><code><a href="
|
2809
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dx</code></em>,
|
2810
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dy</code></em>);</pre>
|
2811
2811
|
<p>Move the part of <em class="parameter"><code>window</code></em>
|
2812
2812
|
indicated by <em class="parameter"><code>region</code></em>
|
2813
2813
|
by <em class="parameter"><code>dy</code></em>
|
@@ -2890,7 +2890,7 @@ will be called automatically before sending the expose event.</p>
|
|
2890
2890
|
<hr>
|
2891
2891
|
<div class="refsect2">
|
2892
2892
|
<a name="gdk-window-has-native"></a><h3>gdk_window_has_native ()</h3>
|
2893
|
-
<pre class="programlisting"><a href="
|
2893
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2894
2894
|
gdk_window_has_native (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
2895
2895
|
<p>Checks whether the window has a native window or not. Note that
|
2896
2896
|
you can use <a class="link" href="gdk2-Windows.html#gdk-window-ensure-native" title="gdk_window_ensure_native ()"><code class="function">gdk_window_ensure_native()</code></a> if a native window is needed.</p>
|
@@ -2911,17 +2911,17 @@ you can use <a class="link" href="gdk2-Windows.html#gdk-window-ensure-native" ti
|
|
2911
2911
|
</div>
|
2912
2912
|
<div class="refsect3">
|
2913
2913
|
<a name="gdk-window-has-native.returns"></a><h4>Returns</h4>
|
2914
|
-
<p> <a href="
|
2914
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <code class="literal">window</code> has a native window, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
2915
2915
|
</div>
|
2916
2916
|
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2917
2917
|
</div>
|
2918
2918
|
<hr>
|
2919
2919
|
<div class="refsect2">
|
2920
2920
|
<a name="gdk-window-ensure-native"></a><h3>gdk_window_ensure_native ()</h3>
|
2921
|
-
<pre class="programlisting"><a href="
|
2921
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2922
2922
|
gdk_window_ensure_native (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
2923
2923
|
<p>Tries to ensure that there is a window-system native window for this
|
2924
|
-
GdkWindow. This may fail in some situations, returning <a href="
|
2924
|
+
GdkWindow. This may fail in some situations, returning <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
2925
2925
|
<p>Offscreen window and children of them can never have native windows.</p>
|
2926
2926
|
<p>Some backends may not support native child windows.</p>
|
2927
2927
|
<div class="refsect3">
|
@@ -2941,7 +2941,7 @@ GdkWindow. This may fail in some situations, returning <a href="/home/vagrant/ru
|
|
2941
2941
|
</div>
|
2942
2942
|
<div class="refsect3">
|
2943
2943
|
<a name="gdk-window-ensure-native.returns"></a><h4>Returns</h4>
|
2944
|
-
<p> <a href="
|
2944
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the window has a native window, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
2945
2945
|
</div>
|
2946
2946
|
<p class="since">Since: <a class="link" href="api-index-2-18.html#api-index-2.18">2.18</a></p>
|
2947
2947
|
</div>
|
@@ -2951,8 +2951,8 @@ GdkWindow. This may fail in some situations, returning <a href="/home/vagrant/ru
|
|
2951
2951
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2952
2952
|
gdk_window_reparent (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
2953
2953
|
<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *new_parent</code></em>,
|
2954
|
-
<em class="parameter"><code><a href="
|
2955
|
-
<em class="parameter"><code><a href="
|
2954
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
2955
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
|
2956
2956
|
<p>Reparents <em class="parameter"><code>window</code></em>
|
2957
2957
|
into the given <em class="parameter"><code>new_parent</code></em>
|
2958
2958
|
. The window being
|
@@ -3019,10 +3019,10 @@ gdk_window_clear (<em class="parameter"><code><a class="link" href="gdk2-Windows
|
|
3019
3019
|
<a name="gdk-window-clear-area"></a><h3>gdk_window_clear_area ()</h3>
|
3020
3020
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3021
3021
|
gdk_window_clear_area (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
3022
|
-
<em class="parameter"><code><a href="
|
3023
|
-
<em class="parameter"><code><a href="
|
3024
|
-
<em class="parameter"><code><a href="
|
3025
|
-
<em class="parameter"><code><a href="
|
3022
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
3023
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
3024
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
3025
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
3026
3026
|
<p>Clears an area of <em class="parameter"><code>window</code></em>
|
3027
3027
|
to the background color or background pixmap.</p>
|
3028
3028
|
<div class="refsect3">
|
@@ -3068,10 +3068,10 @@ gdk_window_clear_area (<em class="parameter"><code><a class="link" href="gdk2-Wi
|
|
3068
3068
|
<a name="gdk-window-clear-area-e"></a><h3>gdk_window_clear_area_e ()</h3>
|
3069
3069
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3070
3070
|
gdk_window_clear_area_e (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
3071
|
-
<em class="parameter"><code><a href="
|
3072
|
-
<em class="parameter"><code><a href="
|
3073
|
-
<em class="parameter"><code><a href="
|
3074
|
-
<em class="parameter"><code><a href="
|
3071
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
3072
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
3073
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
3074
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
3075
3075
|
<p>Like <a class="link" href="gdk2-Windows.html#gdk-window-clear-area" title="gdk_window_clear_area ()"><code class="function">gdk_window_clear_area()</code></a>, but also generates an expose event for
|
3076
3076
|
the cleared area.</p>
|
3077
3077
|
<p>This function has a stupid name because it dates back to the mists
|
@@ -3255,18 +3255,18 @@ function before <a class="link" href="gdk2-Windows.html#gdk-window-show" title="
|
|
3255
3255
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3256
3256
|
gdk_window_restack (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
3257
3257
|
<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *sibling</code></em>,
|
3258
|
-
<em class="parameter"><code><a href="
|
3258
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> above</code></em>);</pre>
|
3259
3259
|
<p>Changes the position of <em class="parameter"><code>window</code></em>
|
3260
3260
|
in the Z-order (stacking order), so that
|
3261
3261
|
it is above <em class="parameter"><code>sibling</code></em>
|
3262
3262
|
(if <em class="parameter"><code>above</code></em>
|
3263
|
-
is <a href="
|
3263
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>) or below <em class="parameter"><code>sibling</code></em>
|
3264
3264
|
(if <em class="parameter"><code>above</code></em>
|
3265
3265
|
is
|
3266
|
-
<a href="
|
3266
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>).</p>
|
3267
3267
|
<p>If <em class="parameter"><code>sibling</code></em>
|
3268
|
-
is <a href="
|
3269
|
-
is <a href="
|
3268
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then this either raises (if <em class="parameter"><code>above</code></em>
|
3269
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>) or
|
3270
3270
|
lowers the window.</p>
|
3271
3271
|
<p>If <em class="parameter"><code>window</code></em>
|
3272
3272
|
is a toplevel, the window manager may choose to deny the
|
@@ -3289,7 +3289,7 @@ requests the restack, does not guarantee it.</p>
|
|
3289
3289
|
<tr>
|
3290
3290
|
<td class="parameter_name"><p>sibling</p></td>
|
3291
3291
|
<td class="parameter_description"><p> a <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> that is a sibling of <em class="parameter"><code>window</code></em>
|
3292
|
-
, or <a href="
|
3292
|
+
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3293
3293
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3294
3294
|
</tr>
|
3295
3295
|
<tr>
|
@@ -3307,7 +3307,7 @@ requests the restack, does not guarantee it.</p>
|
|
3307
3307
|
<a name="gdk-window-focus"></a><h3>gdk_window_focus ()</h3>
|
3308
3308
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3309
3309
|
gdk_window_focus (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
3310
|
-
<em class="parameter"><code><a href="
|
3310
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>);</pre>
|
3311
3311
|
<p>Sets keyboard focus to <em class="parameter"><code>window</code></em>
|
3312
3312
|
. In most cases, <a href="http://developer.gnome.org/gtk2/GtkWindow.html#gtk-window-present"><code class="function">gtk_window_present()</code></a>
|
3313
3313
|
should be used on a <a href="http://developer.gnome.org/gtk2/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a>, rather than calling this function.</p>
|
@@ -3364,10 +3364,10 @@ Registers a window as a potential drop destination.
|
|
3364
3364
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3365
3365
|
gdk_window_begin_resize_drag (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
3366
3366
|
<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindowEdge" title="enum GdkWindowEdge"><span class="type">GdkWindowEdge</span></a> edge</code></em>,
|
3367
|
-
<em class="parameter"><code><a href="
|
3368
|
-
<em class="parameter"><code><a href="
|
3369
|
-
<em class="parameter"><code><a href="
|
3370
|
-
<em class="parameter"><code><a href="
|
3367
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> button</code></em>,
|
3368
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> root_x</code></em>,
|
3369
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> root_y</code></em>,
|
3370
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>);</pre>
|
3371
3371
|
<p>Begins a window resize operation (for a toplevel window).
|
3372
3372
|
You might use this function to implement a "window resize grip," for
|
3373
3373
|
example; in fact <a href="http://developer.gnome.org/gtk2/GtkStatusbar.html#GtkStatusbar-struct"><span class="type">GtkStatusbar</span></a> uses it. The function works best
|
@@ -3421,10 +3421,10 @@ fallback implementation for other window managers.</p>
|
|
3421
3421
|
<a name="gdk-window-begin-move-drag"></a><h3>gdk_window_begin_move_drag ()</h3>
|
3422
3422
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3423
3423
|
gdk_window_begin_move_drag (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
3424
|
-
<em class="parameter"><code><a href="
|
3425
|
-
<em class="parameter"><code><a href="
|
3426
|
-
<em class="parameter"><code><a href="
|
3427
|
-
<em class="parameter"><code><a href="
|
3424
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> button</code></em>,
|
3425
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> root_x</code></em>,
|
3426
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> root_y</code></em>,
|
3427
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>);</pre>
|
3428
3428
|
<p>Begins a window move operation (for a toplevel window). You might
|
3429
3429
|
use this function to implement a "window move grip," for
|
3430
3430
|
example. The function works best with window managers that support
|
@@ -3474,11 +3474,11 @@ other window managers.</p>
|
|
3474
3474
|
<a name="gdk-window-constrain-size"></a><h3>gdk_window_constrain_size ()</h3>
|
3475
3475
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3476
3476
|
gdk_window_constrain_size (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkGeometry" title="struct GdkGeometry"><span class="type">GdkGeometry</span></a> *geometry</code></em>,
|
3477
|
-
<em class="parameter"><code><a href="
|
3478
|
-
<em class="parameter"><code><a href="
|
3479
|
-
<em class="parameter"><code><a href="
|
3480
|
-
<em class="parameter"><code><a href="
|
3481
|
-
<em class="parameter"><code><a href="
|
3477
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>,
|
3478
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
3479
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
3480
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *new_width</code></em>,
|
3481
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *new_height</code></em>);</pre>
|
3482
3482
|
<p>Constrains a desired width and height according to a
|
3483
3483
|
set of geometry hints (such as minimum and maximum size).</p>
|
3484
3484
|
<div class="refsect3">
|
@@ -3690,7 +3690,7 @@ call this function without a matching
|
|
3690
3690
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3691
3691
|
gdk_window_invalidate_rect (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
3692
3692
|
<em class="parameter"><code>const <a class="link" href="gdk2-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>,
|
3693
|
-
<em class="parameter"><code><a href="
|
3693
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> invalidate_children</code></em>);</pre>
|
3694
3694
|
<p>A convenience wrapper around <a class="link" href="gdk2-Windows.html#gdk-window-invalidate-region" title="gdk_window_invalidate_region ()"><code class="function">gdk_window_invalidate_region()</code></a> which
|
3695
3695
|
invalidates a rectangular region. See
|
3696
3696
|
<a class="link" href="gdk2-Windows.html#gdk-window-invalidate-region" title="gdk_window_invalidate_region ()"><code class="function">gdk_window_invalidate_region()</code></a> for details.</p>
|
@@ -3710,7 +3710,7 @@ invalidates a rectangular region. See
|
|
3710
3710
|
</tr>
|
3711
3711
|
<tr>
|
3712
3712
|
<td class="parameter_name"><p>rect</p></td>
|
3713
|
-
<td class="parameter_description"><p> rectangle to invalidate or <a href="
|
3713
|
+
<td class="parameter_description"><p> rectangle to invalidate or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to invalidate the whole
|
3714
3714
|
window. </p></td>
|
3715
3715
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3716
3716
|
</tr>
|
@@ -3729,7 +3729,7 @@ window. </p></td>
|
|
3729
3729
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3730
3730
|
gdk_window_invalidate_region (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
3731
3731
|
<em class="parameter"><code>const <a class="link" href="gdk2-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
3732
|
-
<em class="parameter"><code><a href="
|
3732
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> invalidate_children</code></em>);</pre>
|
3733
3733
|
<p>Adds <em class="parameter"><code>region</code></em>
|
3734
3734
|
to the update area for <em class="parameter"><code>window</code></em>
|
3735
3735
|
. The update area is the
|
@@ -3747,7 +3747,7 @@ invalidate regions that you know should be redrawn.</p>
|
|
3747
3747
|
parameter controls whether the region of
|
3748
3748
|
each child window that intersects <em class="parameter"><code>region</code></em>
|
3749
3749
|
will also be invalidated.
|
3750
|
-
If <a href="
|
3750
|
+
If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, then the update area for child windows will remain
|
3751
3751
|
unaffected. See gdk_window_invalidate_maybe_recurse if you need
|
3752
3752
|
fine grained control over which children are invalidated.</p>
|
3753
3753
|
<div class="refsect3">
|
@@ -3771,7 +3771,7 @@ fine grained control over which children are invalidated.</p>
|
|
3771
3771
|
</tr>
|
3772
3772
|
<tr>
|
3773
3773
|
<td class="parameter_name"><p>invalidate_children</p></td>
|
3774
|
-
<td class="parameter_description"><p><a href="
|
3774
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to also invalidate child windows</p></td>
|
3775
3775
|
<td class="parameter_annotations"> </td>
|
3776
3776
|
</tr>
|
3777
3777
|
</tbody>
|
@@ -3784,8 +3784,8 @@ fine grained control over which children are invalidated.</p>
|
|
3784
3784
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3785
3785
|
gdk_window_invalidate_maybe_recurse (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
3786
3786
|
<em class="parameter"><code>const <a class="link" href="gdk2-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
3787
|
-
<em class="parameter"><code><a href="
|
3788
|
-
<em class="parameter"><code><a href="
|
3787
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> (*child_func) (GdkWindow *, gpointer)</code></em>,
|
3788
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
3789
3789
|
<p>Adds <em class="parameter"><code>region</code></em>
|
3790
3790
|
to the update area for <em class="parameter"><code>window</code></em>
|
3791
3791
|
. The update area is the
|
@@ -3828,7 +3828,7 @@ invalidated.</p>
|
|
3828
3828
|
<tr>
|
3829
3829
|
<td class="parameter_name"><p>child_func</p></td>
|
3830
3830
|
<td class="parameter_description"><p>function to use to decide if to recurse to a child,
|
3831
|
-
<a href="
|
3831
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> means never recurse.</p></td>
|
3832
3832
|
<td class="parameter_annotations"> </td>
|
3833
3833
|
</tr>
|
3834
3834
|
<tr>
|
@@ -3853,8 +3853,8 @@ of the function. That is, after calling this function, <em class="parameter"><co
|
|
3853
3853
|
no longer have an invalid/dirty region; the update area is removed
|
3854
3854
|
from <em class="parameter"><code>window</code></em>
|
3855
3855
|
and handed to you. If a window has no update area,
|
3856
|
-
<a class="link" href="gdk2-Windows.html#gdk-window-get-update-area" title="gdk_window_get_update_area ()"><code class="function">gdk_window_get_update_area()</code></a> returns <a href="
|
3857
|
-
calling <a class="link" href="gdk2-Points-Rectangles-and-Regions.html#gdk-region-destroy" title="gdk_region_destroy ()"><code class="function">gdk_region_destroy()</code></a> on the returned region if it's non-<a href="
|
3856
|
+
<a class="link" href="gdk2-Windows.html#gdk-window-get-update-area" title="gdk_window_get_update_area ()"><code class="function">gdk_window_get_update_area()</code></a> returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. You are responsible for
|
3857
|
+
calling <a class="link" href="gdk2-Points-Rectangles-and-Regions.html#gdk-region-destroy" title="gdk_region_destroy ()"><code class="function">gdk_region_destroy()</code></a> on the returned region if it's non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
3858
3858
|
<div class="refsect3">
|
3859
3859
|
<a name="gdk-window-get-update-area.parameters"></a><h4>Parameters</h4>
|
3860
3860
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -3937,7 +3937,7 @@ in the application.</p>
|
|
3937
3937
|
<a name="gdk-window-process-updates"></a><h3>gdk_window_process_updates ()</h3>
|
3938
3938
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3939
3939
|
gdk_window_process_updates (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
3940
|
-
<em class="parameter"><code><a href="
|
3940
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> update_children</code></em>);</pre>
|
3941
3941
|
<p>Sends one or more expose events to <em class="parameter"><code>window</code></em>
|
3942
3942
|
. The areas in each
|
3943
3943
|
expose event will cover the entire update area for the window (see
|
@@ -3974,7 +3974,7 @@ this is useful to produce nicer scrolling behavior, for example.</p>
|
|
3974
3974
|
<div class="refsect2">
|
3975
3975
|
<a name="gdk-window-set-debug-updates"></a><h3>gdk_window_set_debug_updates ()</h3>
|
3976
3976
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3977
|
-
gdk_window_set_debug_updates (<em class="parameter"><code><a href="
|
3977
|
+
gdk_window_set_debug_updates (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre>
|
3978
3978
|
<p>With update debugging enabled, calls to
|
3979
3979
|
<a class="link" href="gdk2-Windows.html#gdk-window-invalidate-region" title="gdk_window_invalidate_region ()"><code class="function">gdk_window_invalidate_region()</code></a> clear the invalidated region of the
|
3980
3980
|
screen to a noticeable color, and GDK pauses for a short time
|
@@ -4002,7 +4002,7 @@ updates sometime after application startup time.</p>
|
|
4002
4002
|
</colgroup>
|
4003
4003
|
<tbody><tr>
|
4004
4004
|
<td class="parameter_name"><p>setting</p></td>
|
4005
|
-
<td class="parameter_description"><p><a href="
|
4005
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to turn on update debugging</p></td>
|
4006
4006
|
<td class="parameter_annotations"> </td>
|
4007
4007
|
</tr></tbody>
|
4008
4008
|
</table></div>
|
@@ -4014,8 +4014,8 @@ updates sometime after application startup time.</p>
|
|
4014
4014
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4015
4015
|
gdk_window_get_internal_paint_info (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4016
4016
|
<em class="parameter"><code><a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> **real_drawable</code></em>,
|
4017
|
-
<em class="parameter"><code><a href="
|
4018
|
-
<em class="parameter"><code><a href="
|
4017
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x_offset</code></em>,
|
4018
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y_offset</code></em>);</pre>
|
4019
4019
|
<p>If you bypass the GDK layer and use windowing system primitives to
|
4020
4020
|
draw directly onto a <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>, then you need to deal with two
|
4021
4021
|
details: there may be an offset between GDK coordinates and windowing
|
@@ -4134,13 +4134,13 @@ was called previously.</p>
|
|
4134
4134
|
<a name="gdk-window-set-user-data"></a><h3>gdk_window_set_user_data ()</h3>
|
4135
4135
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4136
4136
|
gdk_window_set_user_data (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4137
|
-
<em class="parameter"><code><a href="
|
4137
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
4138
4138
|
<p>For most purposes this function is deprecated in favor of
|
4139
|
-
<a href="
|
4139
|
+
<a href="https://developer.gnome.org/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
|
4140
4140
|
the <a href="http://developer.gnome.org/gtk2/GtkWidget.html#GtkWidget-struct"><span class="type">GtkWidget</span></a> that owns a <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> as user data on the
|
4141
4141
|
<a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>. So, custom widget implementations should use
|
4142
4142
|
this function for that. If GTK+ receives an event for a <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>,
|
4143
|
-
and the user data for the window is non-<a href="
|
4143
|
+
and the user data for the window is non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, GTK+ will assume the
|
4144
4144
|
user data is a <a href="http://developer.gnome.org/gtk2/GtkWidget.html#GtkWidget-struct"><span class="type">GtkWidget</span></a>, and forward the event to that widget.</p>
|
4145
4145
|
<div class="refsect3">
|
4146
4146
|
<a name="gdk-window-set-user-data.parameters"></a><h4>Parameters</h4>
|
@@ -4170,7 +4170,7 @@ user data is a <a href="http://developer.gnome.org/gtk2/GtkWidget.html#GtkWidget
|
|
4170
4170
|
<a name="gdk-window-set-override-redirect"></a><h3>gdk_window_set_override_redirect ()</h3>
|
4171
4171
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4172
4172
|
gdk_window_set_override_redirect (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4173
|
-
<em class="parameter"><code><a href="
|
4173
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> override_redirect</code></em>);</pre>
|
4174
4174
|
<p>An override redirect window is not under the control of the window manager.
|
4175
4175
|
This means it won't have a titlebar, won't be minimizable, etc. - it will
|
4176
4176
|
be entirely under the control of the application. The window manager
|
@@ -4194,7 +4194,7 @@ window in its implementation, for example.</p>
|
|
4194
4194
|
</tr>
|
4195
4195
|
<tr>
|
4196
4196
|
<td class="parameter_name"><p>override_redirect</p></td>
|
4197
|
-
<td class="parameter_description"><p><a href="
|
4197
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if window should be override redirect</p></td>
|
4198
4198
|
<td class="parameter_annotations"> </td>
|
4199
4199
|
</tr>
|
4200
4200
|
</tbody>
|
@@ -4206,9 +4206,9 @@ window in its implementation, for example.</p>
|
|
4206
4206
|
<a name="gdk-window-set-accept-focus"></a><h3>gdk_window_set_accept_focus ()</h3>
|
4207
4207
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4208
4208
|
gdk_window_set_accept_focus (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4209
|
-
<em class="parameter"><code><a href="
|
4209
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> accept_focus</code></em>);</pre>
|
4210
4210
|
<p>Setting <em class="parameter"><code>accept_focus</code></em>
|
4211
|
-
to <a href="
|
4211
|
+
to <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> hints the desktop environment that the
|
4212
4212
|
window doesn't want to receive input focus. </p>
|
4213
4213
|
<p>On X, it is the responsibility of the window manager to interpret this
|
4214
4214
|
hint. ICCCM-compliant window manager usually respect it.</p>
|
@@ -4228,7 +4228,7 @@ hint. ICCCM-compliant window manager usually respect it.</p>
|
|
4228
4228
|
</tr>
|
4229
4229
|
<tr>
|
4230
4230
|
<td class="parameter_name"><p>accept_focus</p></td>
|
4231
|
-
<td class="parameter_description"><p><a href="
|
4231
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the window should receive input focus</p></td>
|
4232
4232
|
<td class="parameter_annotations"> </td>
|
4233
4233
|
</tr>
|
4234
4234
|
</tbody>
|
@@ -4239,7 +4239,7 @@ hint. ICCCM-compliant window manager usually respect it.</p>
|
|
4239
4239
|
<hr>
|
4240
4240
|
<div class="refsect2">
|
4241
4241
|
<a name="gdk-window-get-accept-focus"></a><h3>gdk_window_get_accept_focus ()</h3>
|
4242
|
-
<pre class="programlisting"><a href="
|
4242
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
4243
4243
|
gdk_window_get_accept_focus (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
4244
4244
|
<p>Determines whether or not the desktop environment shuld be hinted that
|
4245
4245
|
the window does not want to receive input focus.</p>
|
@@ -4269,9 +4269,9 @@ the window does not want to receive input focus.</p>
|
|
4269
4269
|
<a name="gdk-window-set-focus-on-map"></a><h3>gdk_window_set_focus_on_map ()</h3>
|
4270
4270
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4271
4271
|
gdk_window_set_focus_on_map (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4272
|
-
<em class="parameter"><code><a href="
|
4272
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> focus_on_map</code></em>);</pre>
|
4273
4273
|
<p>Setting <em class="parameter"><code>focus_on_map</code></em>
|
4274
|
-
to <a href="
|
4274
|
+
to <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> hints the desktop environment that the
|
4275
4275
|
window doesn't want to receive input focus when it is mapped.
|
4276
4276
|
focus_on_map should be turned off for windows that aren't triggered
|
4277
4277
|
interactively (such as popups from network activity).</p>
|
@@ -4294,7 +4294,7 @@ manager extension specification should respect it.</p>
|
|
4294
4294
|
</tr>
|
4295
4295
|
<tr>
|
4296
4296
|
<td class="parameter_name"><p>focus_on_map</p></td>
|
4297
|
-
<td class="parameter_description"><p><a href="
|
4297
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the window should receive input focus when mapped</p></td>
|
4298
4298
|
<td class="parameter_annotations"> </td>
|
4299
4299
|
</tr>
|
4300
4300
|
</tbody>
|
@@ -4305,7 +4305,7 @@ manager extension specification should respect it.</p>
|
|
4305
4305
|
<hr>
|
4306
4306
|
<div class="refsect2">
|
4307
4307
|
<a name="gdk-window-get-focus-on-map"></a><h3>gdk_window_get_focus_on_map ()</h3>
|
4308
|
-
<pre class="programlisting"><a href="
|
4308
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
4309
4309
|
gdk_window_get_focus_on_map (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
4310
4310
|
<p>Determines whether or not the desktop environment should be hinted that the
|
4311
4311
|
window does not want to receive input focus when it is mapped.</p>
|
@@ -4337,12 +4337,12 @@ it is mapped.</p>
|
|
4337
4337
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4338
4338
|
gdk_window_add_filter (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4339
4339
|
<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkFilterFunc" title="GdkFilterFunc ()"><span class="type">GdkFilterFunc</span></a> function</code></em>,
|
4340
|
-
<em class="parameter"><code><a href="
|
4340
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
4341
4341
|
<p>Adds an event filter to <em class="parameter"><code>window</code></em>
|
4342
4342
|
, allowing you to intercept events
|
4343
4343
|
before they reach GDK. This is a low-level operation and makes it
|
4344
4344
|
easy to break GDK and/or GTK+, so you have to know what you're
|
4345
|
-
doing. Pass <a href="
|
4345
|
+
doing. Pass <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for <em class="parameter"><code>window</code></em>
|
4346
4346
|
to get all events for all windows,
|
4347
4347
|
instead of events for a specific window.</p>
|
4348
4348
|
<p>See <a class="link" href="GdkDisplay.html#gdk-display-add-client-message-filter" title="gdk_display_add_client_message_filter ()"><code class="function">gdk_display_add_client_message_filter()</code></a> if you are interested
|
@@ -4381,7 +4381,7 @@ in X ClientMessage events.</p>
|
|
4381
4381
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4382
4382
|
gdk_window_remove_filter (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4383
4383
|
<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkFilterFunc" title="GdkFilterFunc ()"><span class="type">GdkFilterFunc</span></a> function</code></em>,
|
4384
|
-
<em class="parameter"><code><a href="
|
4384
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
4385
4385
|
<p>Remove a filter previously added with <a class="link" href="gdk2-Windows.html#gdk-window-add-filter" title="gdk_window_add_filter ()"><code class="function">gdk_window_add_filter()</code></a>.</p>
|
4386
4386
|
<div class="refsect3">
|
4387
4387
|
<a name="gdk-window-remove-filter.parameters"></a><h4>Parameters</h4>
|
@@ -4417,7 +4417,7 @@ gdk_window_remove_filter (<em class="parameter"><code><a class="link" href="gdk2
|
|
4417
4417
|
<pre class="programlisting"><a class="link" href="gdk2-Windows.html#GdkFilterReturn" title="enum GdkFilterReturn"><span class="returnvalue">GdkFilterReturn</span></a>
|
4418
4418
|
<span class="c_punctuation">(</span>*GdkFilterFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkXEvent" title="GdkXEvent"><span class="type">GdkXEvent</span></a> *xevent</code></em>,
|
4419
4419
|
<em class="parameter"><code><a class="link" href="gdk2-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
4420
|
-
<em class="parameter"><code><a href="
|
4420
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
4421
4421
|
<p>
|
4422
4422
|
Specifies the type of function used to filter native events before they are
|
4423
4423
|
converted to GDK events.
|
@@ -4467,8 +4467,8 @@ continue, it should return <code class="literal">GDK_FILTER_TRANSLATE</code>.
|
|
4467
4467
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4468
4468
|
gdk_window_shape_combine_mask (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4469
4469
|
<em class="parameter"><code><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkBitmap" title="GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>,
|
4470
|
-
<em class="parameter"><code><a href="
|
4471
|
-
<em class="parameter"><code><a href="
|
4470
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
4471
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
|
4472
4472
|
<p>Applies a shape mask to <em class="parameter"><code>window</code></em>
|
4473
4473
|
. Pixels in <em class="parameter"><code>window</code></em>
|
4474
4474
|
corresponding to
|
@@ -4479,7 +4479,7 @@ corresponding to unset bits in the <em class="parameter"><code>mask</code></em>
|
|
4479
4479
|
will be transparent. This
|
4480
4480
|
gives a non-rectangular window.</p>
|
4481
4481
|
<p>If <em class="parameter"><code>mask</code></em>
|
4482
|
-
is <a href="
|
4482
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the shape mask will be unset, and the <em class="parameter"><code>x</code></em>
|
4483
4483
|
/<em class="parameter"><code>y</code></em>
|
4484
4484
|
|
4485
4485
|
parameters are not used.</p>
|
@@ -4530,20 +4530,20 @@ will do nothing.</p>
|
|
4530
4530
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4531
4531
|
gdk_window_shape_combine_region (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4532
4532
|
<em class="parameter"><code>const <a class="link" href="gdk2-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *shape_region</code></em>,
|
4533
|
-
<em class="parameter"><code><a href="
|
4534
|
-
<em class="parameter"><code><a href="
|
4533
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_x</code></em>,
|
4534
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_y</code></em>);</pre>
|
4535
4535
|
<p>Makes pixels in <em class="parameter"><code>window</code></em>
|
4536
4536
|
outside <em class="parameter"><code>shape_region</code></em>
|
4537
4537
|
be transparent,
|
4538
4538
|
so that the window may be nonrectangular. See also
|
4539
4539
|
<a class="link" href="gdk2-Windows.html#gdk-window-shape-combine-mask" title="gdk_window_shape_combine_mask ()"><code class="function">gdk_window_shape_combine_mask()</code></a> to use a bitmap as the mask.</p>
|
4540
4540
|
<p>If <em class="parameter"><code>shape_region</code></em>
|
4541
|
-
is <a href="
|
4541
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the shape will be unset, so the whole
|
4542
4542
|
window will be opaque again. <em class="parameter"><code>offset_x</code></em>
|
4543
4543
|
and <em class="parameter"><code>offset_y</code></em>
|
4544
4544
|
are ignored
|
4545
4545
|
if <em class="parameter"><code>shape_region</code></em>
|
4546
|
-
is <a href="
|
4546
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
4547
4547
|
<p>On the X11 platform, this uses an X server extension which is
|
4548
4548
|
widely available on most common platforms, but not available on
|
4549
4549
|
very old X servers, and occasionally the implementation will be
|
@@ -4654,8 +4654,8 @@ be merged.</p>
|
|
4654
4654
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4655
4655
|
gdk_window_input_shape_combine_mask (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4656
4656
|
<em class="parameter"><code><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkBitmap" title="GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>,
|
4657
|
-
<em class="parameter"><code><a href="
|
4658
|
-
<em class="parameter"><code><a href="
|
4657
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
4658
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
|
4659
4659
|
<p>Like <a class="link" href="gdk2-Windows.html#gdk-window-shape-combine-mask" title="gdk_window_shape_combine_mask ()"><code class="function">gdk_window_shape_combine_mask()</code></a>, but the shape applies
|
4660
4660
|
only to event handling. Mouse events which happen while
|
4661
4661
|
the pointer position corresponds to an unset bit in the
|
@@ -4686,7 +4686,7 @@ function does nothing.</p>
|
|
4686
4686
|
</tr>
|
4687
4687
|
<tr>
|
4688
4688
|
<td class="parameter_name"><p>mask</p></td>
|
4689
|
-
<td class="parameter_description"><p> shape mask, or <a href="
|
4689
|
+
<td class="parameter_description"><p> shape mask, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
4690
4690
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
4691
4691
|
</tr>
|
4692
4692
|
<tr>
|
@@ -4712,8 +4712,8 @@ function does nothing.</p>
|
|
4712
4712
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4713
4713
|
gdk_window_input_shape_combine_region (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4714
4714
|
<em class="parameter"><code>const <a class="link" href="gdk2-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *shape_region</code></em>,
|
4715
|
-
<em class="parameter"><code><a href="
|
4716
|
-
<em class="parameter"><code><a href="
|
4715
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_x</code></em>,
|
4716
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_y</code></em>);</pre>
|
4717
4717
|
<p>Like <a class="link" href="gdk2-Windows.html#gdk-window-shape-combine-region" title="gdk_window_shape_combine_region ()"><code class="function">gdk_window_shape_combine_region()</code></a>, but the shape applies
|
4718
4718
|
only to event handling. Mouse events which happen while
|
4719
4719
|
the pointer position corresponds to an unset bit in the
|
@@ -4832,9 +4832,9 @@ shapes to be merged.</p>
|
|
4832
4832
|
<hr>
|
4833
4833
|
<div class="refsect2">
|
4834
4834
|
<a name="gdk-window-set-static-gravities"></a><h3>gdk_window_set_static_gravities ()</h3>
|
4835
|
-
<pre class="programlisting"><a href="
|
4835
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
4836
4836
|
gdk_window_set_static_gravities (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4837
|
-
<em class="parameter"><code><a href="
|
4837
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_static</code></em>);</pre>
|
4838
4838
|
<p>Set the bit gravity of the given window to static, and flag it so
|
4839
4839
|
all children get static subwindow gravity. This is used if you are
|
4840
4840
|
implementing scary features that involve deep knowledge of the
|
@@ -4855,7 +4855,7 @@ windowing system. Don't worry about it unless you have to.</p>
|
|
4855
4855
|
</tr>
|
4856
4856
|
<tr>
|
4857
4857
|
<td class="parameter_name"><p>use_static</p></td>
|
4858
|
-
<td class="parameter_description"><p><a href="
|
4858
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to turn on static gravity</p></td>
|
4859
4859
|
<td class="parameter_annotations"> </td>
|
4860
4860
|
</tr>
|
4861
4861
|
</tbody>
|
@@ -4863,7 +4863,7 @@ windowing system. Don't worry about it unless you have to.</p>
|
|
4863
4863
|
</div>
|
4864
4864
|
<div class="refsect3">
|
4865
4865
|
<a name="gdk-window-set-static-gravities.returns"></a><h4>Returns</h4>
|
4866
|
-
<p> <a href="
|
4866
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the server supports static gravity</p>
|
4867
4867
|
</div>
|
4868
4868
|
</div>
|
4869
4869
|
<hr>
|
@@ -4871,13 +4871,13 @@ windowing system. Don't worry about it unless you have to.</p>
|
|
4871
4871
|
<a name="gdk-window-set-hints"></a><h3>gdk_window_set_hints ()</h3>
|
4872
4872
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4873
4873
|
gdk_window_set_hints (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4874
|
-
<em class="parameter"><code><a href="
|
4875
|
-
<em class="parameter"><code><a href="
|
4876
|
-
<em class="parameter"><code><a href="
|
4877
|
-
<em class="parameter"><code><a href="
|
4878
|
-
<em class="parameter"><code><a href="
|
4879
|
-
<em class="parameter"><code><a href="
|
4880
|
-
<em class="parameter"><code><a href="
|
4874
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
4875
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
4876
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> min_width</code></em>,
|
4877
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> min_height</code></em>,
|
4878
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_width</code></em>,
|
4879
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_height</code></em>,
|
4880
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> flags</code></em>);</pre>
|
4881
4881
|
<div class="warning"><p><code class="literal">gdk_window_set_hints</code> is deprecated and should not be used in newly-written code.</p></div>
|
4882
4882
|
<p>This function is broken and useless and you should ignore it.
|
4883
4883
|
If using GTK+, use functions such as <a href="http://developer.gnome.org/gtk2/GtkWindow.html#gtk-window-resize"><code class="function">gtk_window_resize()</code></a>, <code class="function">gtk_window_set_size_request()</code>,
|
@@ -4942,7 +4942,7 @@ depending on what you're trying to do.</p>
|
|
4942
4942
|
<a name="gdk-window-set-title"></a><h3>gdk_window_set_title ()</h3>
|
4943
4943
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4944
4944
|
gdk_window_set_title (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4945
|
-
<em class="parameter"><code>const <a href="
|
4945
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
|
4946
4946
|
<p>Sets the title of a toplevel window, to be displayed in the titlebar.
|
4947
4947
|
If you haven't explicitly set the icon name for the window
|
4948
4948
|
(using <a class="link" href="gdk2-Windows.html#gdk-window-set-icon-name" title="gdk_window_set_icon_name ()"><code class="function">gdk_window_set_icon_name()</code></a>), the icon name will be set to
|
@@ -4950,7 +4950,7 @@ If you haven't explicitly set the icon name for the window
|
|
4950
4950
|
as well. <em class="parameter"><code>title</code></em>
|
4951
4951
|
must be in UTF-8 encoding (as with all
|
4952
4952
|
user-readable strings in GDK/GTK+). <em class="parameter"><code>title</code></em>
|
4953
|
-
may not be <a href="
|
4953
|
+
may not be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
4954
4954
|
<div class="refsect3">
|
4955
4955
|
<a name="gdk-window-set-title.parameters"></a><h4>Parameters</h4>
|
4956
4956
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -5019,19 +5019,19 @@ to allocate a color.</p>
|
|
5019
5019
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5020
5020
|
gdk_window_set_back_pixmap (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5021
5021
|
<em class="parameter"><code><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
|
5022
|
-
<em class="parameter"><code><a href="
|
5022
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> parent_relative</code></em>);</pre>
|
5023
5023
|
<p>Sets the background pixmap of <em class="parameter"><code>window</code></em>
|
5024
5024
|
. May also be used to set a
|
5025
5025
|
background of "None" on <em class="parameter"><code>window</code></em>
|
5026
5026
|
, by setting a background pixmap
|
5027
|
-
of <a href="
|
5027
|
+
of <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
5028
5028
|
<p>A background pixmap will be tiled, positioning the first tile at
|
5029
5029
|
the origin of <em class="parameter"><code>window</code></em>
|
5030
5030
|
, or if <em class="parameter"><code>parent_relative</code></em>
|
5031
|
-
is <a href="
|
5031
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the tiling
|
5032
5032
|
will be done based on the origin of the parent window (useful to
|
5033
5033
|
align tiles in a parent with tiles in a child).</p>
|
5034
|
-
<p>A background pixmap of <a href="
|
5034
|
+
<p>A background pixmap of <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> means that the window will have no
|
5035
5035
|
background. A window with no background will never have its
|
5036
5036
|
background filled by the windowing system, instead the window will
|
5037
5037
|
contain whatever pixels were already in the corresponding area of
|
@@ -5055,7 +5055,7 @@ when the window is obscured then exposed, and when you call
|
|
5055
5055
|
</tr>
|
5056
5056
|
<tr>
|
5057
5057
|
<td class="parameter_name"><p>pixmap</p></td>
|
5058
|
-
<td class="parameter_description"><p> a <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>, or <a href="
|
5058
|
+
<td class="parameter_description"><p> a <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
5059
5059
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
5060
5060
|
</tr>
|
5061
5061
|
<tr>
|
@@ -5077,7 +5077,7 @@ gdk_window_get_background_pattern (<em class="parameter"><code><a class="link" h
|
|
5077
5077
|
<p>Gets the pattern used to clear the background on <em class="parameter"><code>window</code></em>
|
5078
5078
|
. If <em class="parameter"><code>window</code></em>
|
5079
5079
|
|
5080
|
-
does not have its own background and reuses the parent's, <a href="
|
5080
|
+
does not have its own background and reuses the parent's, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
|
5081
5081
|
returned and you'll have to query it yourself.</p>
|
5082
5082
|
<div class="refsect3">
|
5083
5083
|
<a name="gdk-window-get-background-pattern.parameters"></a><h4>Parameters</h4>
|
@@ -5097,7 +5097,7 @@ returned and you'll have to query it yourself.</p>
|
|
5097
5097
|
<div class="refsect3">
|
5098
5098
|
<a name="gdk-window-get-background-pattern.returns"></a><h4>Returns</h4>
|
5099
5099
|
<p> The pattern to use for the background or
|
5100
|
-
<a href="
|
5100
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the parent's background. </p>
|
5101
5101
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
5102
5102
|
</div>
|
5103
5103
|
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
@@ -5110,7 +5110,7 @@ gdk_window_set_cursor (<em class="parameter"><code><a class="link" href="gdk2-Wi
|
|
5110
5110
|
<em class="parameter"><code><a class="link" href="gdk2-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a> *cursor</code></em>);</pre>
|
5111
5111
|
<p>Sets the mouse pointer for a <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>. Use <a class="link" href="gdk2-Cursors.html#gdk-cursor-new-for-display" title="gdk_cursor_new_for_display ()"><code class="function">gdk_cursor_new_for_display()</code></a>
|
5112
5112
|
or <a class="link" href="gdk2-Cursors.html#gdk-cursor-new-from-pixmap" title="gdk_cursor_new_from_pixmap ()"><code class="function">gdk_cursor_new_from_pixmap()</code></a> to create the cursor. To make the cursor
|
5113
|
-
invisible, use <a class="link" href="gdk2-Cursors.html#GDK-BLANK-CURSOR:CAPS"><code class="literal">GDK_BLANK_CURSOR</code></a>. Passing <a href="
|
5113
|
+
invisible, use <a class="link" href="gdk2-Cursors.html#GDK-BLANK-CURSOR:CAPS"><code class="literal">GDK_BLANK_CURSOR</code></a>. Passing <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for the <em class="parameter"><code>cursor</code></em>
|
5114
5114
|
argument
|
5115
5115
|
to <a class="link" href="gdk2-Windows.html#gdk-window-set-cursor" title="gdk_window_set_cursor ()"><code class="function">gdk_window_set_cursor()</code></a> means that <em class="parameter"><code>window</code></em>
|
5116
5116
|
will use the cursor of its
|
@@ -5144,7 +5144,7 @@ parent window. Most windows should use this default.</p>
|
|
5144
5144
|
<pre class="programlisting"><a class="link" href="gdk2-Cursors.html#GdkCursor" title="GdkCursor"><span class="returnvalue">GdkCursor</span></a> *
|
5145
5145
|
gdk_window_get_cursor (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
5146
5146
|
<p>Retrieves a <a class="link" href="gdk2-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a> pointer for the cursor currently set on the
|
5147
|
-
specified <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>, or <a href="
|
5147
|
+
specified <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. If the return value is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then
|
5148
5148
|
there is no custom cursor set on the specified window, and it is
|
5149
5149
|
using the cursor for its parent window.</p>
|
5150
5150
|
<div class="refsect3">
|
@@ -5164,7 +5164,7 @@ using the cursor for its parent window.</p>
|
|
5164
5164
|
</div>
|
5165
5165
|
<div class="refsect3">
|
5166
5166
|
<a name="gdk-window-get-cursor.returns"></a><h4>Returns</h4>
|
5167
|
-
<p> a <a class="link" href="gdk2-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a>, or <a href="
|
5167
|
+
<p> a <a class="link" href="gdk2-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The returned
|
5168
5168
|
object is owned by the <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> and should not be unreferenced
|
5169
5169
|
directly. Use <a class="link" href="gdk2-Windows.html#gdk-window-set-cursor" title="gdk_window_set_cursor ()"><code class="function">gdk_window_set_cursor()</code></a> to unset the cursor of the
|
5170
5170
|
window. </p>
|
@@ -5177,7 +5177,7 @@ window. </p>
|
|
5177
5177
|
<a name="gdk-window-get-user-data"></a><h3>gdk_window_get_user_data ()</h3>
|
5178
5178
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5179
5179
|
gdk_window_get_user_data (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5180
|
-
<em class="parameter"><code><a href="
|
5180
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *data</code></em>);</pre>
|
5181
5181
|
<p>Retrieves the user data for <em class="parameter"><code>window</code></em>
|
5182
5182
|
, which is normally the widget
|
5183
5183
|
that <em class="parameter"><code>window</code></em>
|
@@ -5210,12 +5210,12 @@ that <em class="parameter"><code>window</code></em>
|
|
5210
5210
|
<a name="gdk-window-get-geometry"></a><h3>gdk_window_get_geometry ()</h3>
|
5211
5211
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5212
5212
|
gdk_window_get_geometry (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5213
|
-
<em class="parameter"><code><a href="
|
5214
|
-
<em class="parameter"><code><a href="
|
5215
|
-
<em class="parameter"><code><a href="
|
5216
|
-
<em class="parameter"><code><a href="
|
5217
|
-
<em class="parameter"><code><a href="
|
5218
|
-
<p>Any of the return location arguments to this function may be <a href="
|
5213
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
|
5214
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>,
|
5215
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
5216
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
|
5217
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *depth</code></em>);</pre>
|
5218
|
+
<p>Any of the return location arguments to this function may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
5219
5219
|
if you aren't interested in getting the value of that field.</p>
|
5220
5220
|
<p>The X and Y coordinates returned are relative to the parent window
|
5221
5221
|
of <em class="parameter"><code>window</code></em>
|
@@ -5294,7 +5294,7 @@ are set, hints not flagged in <em class="parameter"><code>geom_mask</code></em>
|
|
5294
5294
|
are unset.
|
5295
5295
|
To unset all hints, use a <em class="parameter"><code>geom_mask</code></em>
|
5296
5296
|
of 0 and a <em class="parameter"><code>geometry</code></em>
|
5297
|
-
of <a href="
|
5297
|
+
of <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
5298
5298
|
<p>This function provides hints to the windowing system about
|
5299
5299
|
acceptable sizes for a toplevel window. The purpose of
|
5300
5300
|
this is to constrain user resizing, but the windowing system
|
@@ -5344,7 +5344,7 @@ to pay attention to</p></td>
|
|
5344
5344
|
<a name="gdk-window-set-icon-list"></a><h3>gdk_window_set_icon_list ()</h3>
|
5345
5345
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5346
5346
|
gdk_window_set_icon_list (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5347
|
-
<em class="parameter"><code><a href="
|
5347
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *pixbufs</code></em>);</pre>
|
5348
5348
|
<p>Sets a list of icons for the window. One of these will be used
|
5349
5349
|
to represent the window when it has been iconified. The icon is
|
5350
5350
|
usually shown in an icon box or some sort of task bar. Which icon
|
@@ -5380,7 +5380,7 @@ icon by a small amount or not at all.</p>
|
|
5380
5380
|
<a name="gdk-window-set-modal-hint"></a><h3>gdk_window_set_modal_hint ()</h3>
|
5381
5381
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5382
5382
|
gdk_window_set_modal_hint (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5383
|
-
<em class="parameter"><code><a href="
|
5383
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> modal</code></em>);</pre>
|
5384
5384
|
<p>The application can use this hint to tell the window manager
|
5385
5385
|
that a certain window has modal behaviour. The window manager
|
5386
5386
|
can use this information to handle modal windows in a special
|
@@ -5403,7 +5403,7 @@ previously called <a class="link" href="gdk2-Windows.html#gdk-window-set-transie
|
|
5403
5403
|
</tr>
|
5404
5404
|
<tr>
|
5405
5405
|
<td class="parameter_name"><p>modal</p></td>
|
5406
|
-
<td class="parameter_description"><p><a href="
|
5406
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the window is modal, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p></td>
|
5407
5407
|
<td class="parameter_annotations"> </td>
|
5408
5408
|
</tr>
|
5409
5409
|
</tbody>
|
@@ -5413,7 +5413,7 @@ previously called <a class="link" href="gdk2-Windows.html#gdk-window-set-transie
|
|
5413
5413
|
<hr>
|
5414
5414
|
<div class="refsect2">
|
5415
5415
|
<a name="gdk-window-get-modal-hint"></a><h3>gdk_window_get_modal_hint ()</h3>
|
5416
|
-
<pre class="programlisting"><a href="
|
5416
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
5417
5417
|
gdk_window_get_modal_hint (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
5418
5418
|
<p>Determines whether or not the window manager is hinted that <em class="parameter"><code>window</code></em>
|
5419
5419
|
|
@@ -5506,7 +5506,7 @@ gdk_window_get_type_hint (<em class="parameter"><code><a class="link" href="gdk2
|
|
5506
5506
|
<a name="gdk-window-set-skip-taskbar-hint"></a><h3>gdk_window_set_skip_taskbar_hint ()</h3>
|
5507
5507
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5508
5508
|
gdk_window_set_skip_taskbar_hint (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5509
|
-
<em class="parameter"><code><a href="
|
5509
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> skips_taskbar</code></em>);</pre>
|
5510
5510
|
<p>Toggles whether a window should appear in a task list or window
|
5511
5511
|
list. If a window's semantic type as specified with
|
5512
5512
|
<a class="link" href="gdk2-Windows.html#gdk-window-set-type-hint" title="gdk_window_set_type_hint ()"><code class="function">gdk_window_set_type_hint()</code></a> already fully describes the window, this
|
@@ -5529,7 +5529,7 @@ standard policy for its semantic type.</p>
|
|
5529
5529
|
</tr>
|
5530
5530
|
<tr>
|
5531
5531
|
<td class="parameter_name"><p>skips_taskbar</p></td>
|
5532
|
-
<td class="parameter_description"><p><a href="
|
5532
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to skip the taskbar</p></td>
|
5533
5533
|
<td class="parameter_annotations"> </td>
|
5534
5534
|
</tr>
|
5535
5535
|
</tbody>
|
@@ -5542,7 +5542,7 @@ standard policy for its semantic type.</p>
|
|
5542
5542
|
<a name="gdk-window-set-skip-pager-hint"></a><h3>gdk_window_set_skip_pager_hint ()</h3>
|
5543
5543
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5544
5544
|
gdk_window_set_skip_pager_hint (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5545
|
-
<em class="parameter"><code><a href="
|
5545
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> skips_pager</code></em>);</pre>
|
5546
5546
|
<p>Toggles whether a window should appear in a pager (workspace
|
5547
5547
|
switcher, or other desktop utility program that displays a small
|
5548
5548
|
thumbnail representation of the windows on the desktop). If a
|
@@ -5567,7 +5567,7 @@ its semantic type.</p>
|
|
5567
5567
|
</tr>
|
5568
5568
|
<tr>
|
5569
5569
|
<td class="parameter_name"><p>skips_pager</p></td>
|
5570
|
-
<td class="parameter_description"><p><a href="
|
5570
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to skip the pager</p></td>
|
5571
5571
|
<td class="parameter_annotations"> </td>
|
5572
5572
|
</tr>
|
5573
5573
|
</tbody>
|
@@ -5580,7 +5580,7 @@ its semantic type.</p>
|
|
5580
5580
|
<a name="gdk-window-set-urgency-hint"></a><h3>gdk_window_set_urgency_hint ()</h3>
|
5581
5581
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5582
5582
|
gdk_window_set_urgency_hint (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5583
|
-
<em class="parameter"><code><a href="
|
5583
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> urgent</code></em>);</pre>
|
5584
5584
|
<p>Toggles whether a window needs the user's
|
5585
5585
|
urgent attention.</p>
|
5586
5586
|
<div class="refsect3">
|
@@ -5599,7 +5599,7 @@ urgent attention.</p>
|
|
5599
5599
|
</tr>
|
5600
5600
|
<tr>
|
5601
5601
|
<td class="parameter_name"><p>urgent</p></td>
|
5602
|
-
<td class="parameter_description"><p><a href="
|
5602
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the window is urgent</p></td>
|
5603
5603
|
<td class="parameter_annotations"> </td>
|
5604
5604
|
</tr>
|
5605
5605
|
</tbody>
|
@@ -5612,8 +5612,8 @@ urgent attention.</p>
|
|
5612
5612
|
<a name="gdk-window-get-position"></a><h3>gdk_window_get_position ()</h3>
|
5613
5613
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5614
5614
|
gdk_window_get_position (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5615
|
-
<em class="parameter"><code><a href="
|
5616
|
-
<em class="parameter"><code><a href="
|
5615
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
|
5616
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>);</pre>
|
5617
5617
|
<p>Obtains the position of the window as reported in the
|
5618
5618
|
most-recently-processed <a class="link" href="gdk2-Event-Structures.html#GdkEventConfigure" title="struct GdkEventConfigure"><span class="type">GdkEventConfigure</span></a>. Contrast with
|
5619
5619
|
<a class="link" href="gdk2-Windows.html#gdk-window-get-geometry" title="gdk_window_get_geometry ()"><code class="function">gdk_window_get_geometry()</code></a> which queries the X server for the
|
@@ -5653,8 +5653,8 @@ received or processed.</p>
|
|
5653
5653
|
<a name="gdk-window-get-root-origin"></a><h3>gdk_window_get_root_origin ()</h3>
|
5654
5654
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5655
5655
|
gdk_window_get_root_origin (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5656
|
-
<em class="parameter"><code><a href="
|
5657
|
-
<em class="parameter"><code><a href="
|
5656
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
|
5657
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>);</pre>
|
5658
5658
|
<p>Obtains the top-left corner of the window manager frame in root
|
5659
5659
|
window coordinates.</p>
|
5660
5660
|
<div class="refsect3">
|
@@ -5721,10 +5721,10 @@ the frame) in root window coordinates, use <a class="link" href="gdk2-Windows.ht
|
|
5721
5721
|
<hr>
|
5722
5722
|
<div class="refsect2">
|
5723
5723
|
<a name="gdk-window-get-origin"></a><h3>gdk_window_get_origin ()</h3>
|
5724
|
-
<pre class="programlisting"><a href="
|
5724
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
5725
5725
|
gdk_window_get_origin (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5726
|
-
<em class="parameter"><code><a href="
|
5727
|
-
<em class="parameter"><code><a href="
|
5726
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
|
5727
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>);</pre>
|
5728
5728
|
<p>Obtains the position of a window in root window coordinates.
|
5729
5729
|
(Compare with <a class="link" href="gdk2-Windows.html#gdk-window-get-position" title="gdk_window_get_position ()"><code class="function">gdk_window_get_position()</code></a> and
|
5730
5730
|
<a class="link" href="gdk2-Windows.html#gdk-window-get-geometry" title="gdk_window_get_geometry ()"><code class="function">gdk_window_get_geometry()</code></a> which return the position of a window
|
@@ -5764,10 +5764,10 @@ relative to its parent window.)</p>
|
|
5764
5764
|
<hr>
|
5765
5765
|
<div class="refsect2">
|
5766
5766
|
<a name="gdk-window-get-deskrelative-origin"></a><h3>gdk_window_get_deskrelative_origin ()</h3>
|
5767
|
-
<pre class="programlisting"><a href="
|
5767
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
5768
5768
|
gdk_window_get_deskrelative_origin (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5769
|
-
<em class="parameter"><code><a href="
|
5770
|
-
<em class="parameter"><code><a href="
|
5769
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
|
5770
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>);</pre>
|
5771
5771
|
<div class="warning"><p><code class="literal">gdk_window_get_deskrelative_origin</code> is deprecated and should not be used in newly-written code.</p></div>
|
5772
5772
|
<p>This gets the origin of a <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> relative to
|
5773
5773
|
an Enlightenment-window-manager desktop. As long as you don't
|
@@ -5812,10 +5812,10 @@ It's deprecated for that reason.</p>
|
|
5812
5812
|
<a name="gdk-window-get-root-coords"></a><h3>gdk_window_get_root_coords ()</h3>
|
5813
5813
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5814
5814
|
gdk_window_get_root_coords (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5815
|
-
<em class="parameter"><code><a href="
|
5816
|
-
<em class="parameter"><code><a href="
|
5817
|
-
<em class="parameter"><code><a href="
|
5818
|
-
<em class="parameter"><code><a href="
|
5815
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
5816
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
5817
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *root_x</code></em>,
|
5818
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *root_y</code></em>);</pre>
|
5819
5819
|
<p>Obtains the position of a window position in root
|
5820
5820
|
window coordinates. This is similar to
|
5821
5821
|
<a class="link" href="gdk2-Windows.html#gdk-window-get-origin" title="gdk_window_get_origin ()"><code class="function">gdk_window_get_origin()</code></a> but allows you go pass
|
@@ -5864,10 +5864,10 @@ in any position in the window, not just the origin.</p>
|
|
5864
5864
|
<a name="gdk-window-coords-from-parent"></a><h3>gdk_window_coords_from_parent ()</h3>
|
5865
5865
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5866
5866
|
gdk_window_coords_from_parent (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5867
|
-
<em class="parameter"><code><a href="
|
5868
|
-
<em class="parameter"><code><a href="
|
5869
|
-
<em class="parameter"><code><a href="
|
5870
|
-
<em class="parameter"><code><a href="
|
5867
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> parent_x</code></em>,
|
5868
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> parent_y</code></em>,
|
5869
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x</code></em>,
|
5870
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y</code></em>);</pre>
|
5871
5871
|
<p>Transforms window coordinates from a parent window to a child
|
5872
5872
|
window, where the parent window is the normal parent as returned by
|
5873
5873
|
<a class="link" href="gdk2-Windows.html#gdk-window-get-parent" title="gdk_window_get_parent ()"><code class="function">gdk_window_get_parent()</code></a> for normal windows, and the window's
|
@@ -5925,10 +5925,10 @@ walks down a window hierarchy.</p>
|
|
5925
5925
|
<a name="gdk-window-coords-to-parent"></a><h3>gdk_window_coords_to_parent ()</h3>
|
5926
5926
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5927
5927
|
gdk_window_coords_to_parent (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5928
|
-
<em class="parameter"><code><a href="
|
5929
|
-
<em class="parameter"><code><a href="
|
5930
|
-
<em class="parameter"><code><a href="
|
5931
|
-
<em class="parameter"><code><a href="
|
5928
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
|
5929
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
|
5930
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *parent_x</code></em>,
|
5931
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *parent_y</code></em>);</pre>
|
5932
5932
|
<p>Transforms window coordinates from a child window to its parent
|
5933
5933
|
window, where the parent window is the normal parent as returned by
|
5934
5934
|
<a class="link" href="gdk2-Windows.html#gdk-window-get-parent" title="gdk_window_get_parent ()"><code class="function">gdk_window_get_parent()</code></a> for normal windows, and the window's
|
@@ -5969,13 +5969,13 @@ walks up a window hierarchy.</p>
|
|
5969
5969
|
<tr>
|
5970
5970
|
<td class="parameter_name"><p>parent_x</p></td>
|
5971
5971
|
<td class="parameter_description"><p> return location for X coordinate
|
5972
|
-
in parent's coordinate system, or <a href="
|
5972
|
+
in parent's coordinate system, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
5973
5973
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
5974
5974
|
</tr>
|
5975
5975
|
<tr>
|
5976
5976
|
<td class="parameter_name"><p>parent_y</p></td>
|
5977
5977
|
<td class="parameter_description"><p> return location for Y coordinate
|
5978
|
-
in parent's coordinate system, or <a href="
|
5978
|
+
in parent's coordinate system, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
5979
5979
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
5980
5980
|
</tr>
|
5981
5981
|
</tbody>
|
@@ -5988,8 +5988,8 @@ in parent's coordinate system, or <a href="/home/vagrant/ruby-gnome2.win32/glib2
|
|
5988
5988
|
<a name="gdk-window-get-pointer"></a><h3>gdk_window_get_pointer ()</h3>
|
5989
5989
|
<pre class="programlisting"><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> *
|
5990
5990
|
gdk_window_get_pointer (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5991
|
-
<em class="parameter"><code><a href="
|
5992
|
-
<em class="parameter"><code><a href="
|
5991
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
|
5992
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>,
|
5993
5993
|
<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a> *mask</code></em>);</pre>
|
5994
5994
|
<p>Obtains the current pointer position and modifier state.
|
5995
5995
|
The position is given in coordinates relative to the upper left
|
@@ -6011,19 +6011,19 @@ corner of <em class="parameter"><code>window</code></em>
|
|
6011
6011
|
</tr>
|
6012
6012
|
<tr>
|
6013
6013
|
<td class="parameter_name"><p>x</p></td>
|
6014
|
-
<td class="parameter_description"><p> return location for X coordinate of pointer or <a href="
|
6014
|
+
<td class="parameter_description"><p> return location for X coordinate of pointer or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to not
|
6015
6015
|
return the X coordinate. </p></td>
|
6016
6016
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
6017
6017
|
</tr>
|
6018
6018
|
<tr>
|
6019
6019
|
<td class="parameter_name"><p>y</p></td>
|
6020
|
-
<td class="parameter_description"><p> return location for Y coordinate of pointer or <a href="
|
6020
|
+
<td class="parameter_description"><p> return location for Y coordinate of pointer or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to not
|
6021
6021
|
return the Y coordinate. </p></td>
|
6022
6022
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
6023
6023
|
</tr>
|
6024
6024
|
<tr>
|
6025
6025
|
<td class="parameter_name"><p>mask</p></td>
|
6026
|
-
<td class="parameter_description"><p> return location for modifier mask or <a href="
|
6026
|
+
<td class="parameter_description"><p> return location for modifier mask or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to not return the
|
6027
6027
|
modifier mask. </p></td>
|
6028
6028
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
6029
6029
|
</tr>
|
@@ -6033,7 +6033,7 @@ modifier mask. </p></td>
|
|
6033
6033
|
<div class="refsect3">
|
6034
6034
|
<a name="gdk-window-get-pointer.returns"></a><h4>Returns</h4>
|
6035
6035
|
<p> the window containing the pointer (as with
|
6036
|
-
<a class="link" href="gdk2-Windows.html#gdk-window-at-pointer" title="gdk_window_at_pointer ()"><code class="function">gdk_window_at_pointer()</code></a>), or <a href="
|
6036
|
+
<a class="link" href="gdk2-Windows.html#gdk-window-at-pointer" title="gdk_window_at_pointer ()"><code class="function">gdk_window_at_pointer()</code></a>), or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the window containing the
|
6037
6037
|
pointer isn't known to GDK. </p>
|
6038
6038
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
6039
6039
|
</div>
|
@@ -6177,7 +6177,7 @@ embedder as its parent, using <a class="link" href="gdk2-Windows.html#gdk-window
|
|
6177
6177
|
<hr>
|
6178
6178
|
<div class="refsect2">
|
6179
6179
|
<a name="gdk-window-get-children"></a><h3>gdk_window_get_children ()</h3>
|
6180
|
-
<pre class="programlisting"><a href="
|
6180
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
6181
6181
|
gdk_window_get_children (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
6182
6182
|
<p>Gets the list of children of <em class="parameter"><code>window</code></em>
|
6183
6183
|
known to GDK.
|
@@ -6211,7 +6211,7 @@ list need not be.</p>
|
|
6211
6211
|
<hr>
|
6212
6212
|
<div class="refsect2">
|
6213
6213
|
<a name="gdk-window-peek-children"></a><h3>gdk_window_peek_children ()</h3>
|
6214
|
-
<pre class="programlisting"><a href="
|
6214
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
6215
6215
|
gdk_window_peek_children (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
6216
6216
|
<p>Like <a class="link" href="gdk2-Windows.html#gdk-window-get-children" title="gdk_window_get_children ()"><code class="function">gdk_window_get_children()</code></a>, but does not copy the list of
|
6217
6217
|
children, so the list does not need to be freed.</p>
|
@@ -6329,18 +6329,18 @@ want to fall back to <a class="link" href="gdk2-Windows.html#gdk-window-set-icon
|
|
6329
6329
|
</tr>
|
6330
6330
|
<tr>
|
6331
6331
|
<td class="parameter_name"><p>icon_window</p></td>
|
6332
|
-
<td class="parameter_description"><p>a <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> to use for the icon, or <a href="
|
6332
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> to use for the icon, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset</p></td>
|
6333
6333
|
<td class="parameter_annotations"> </td>
|
6334
6334
|
</tr>
|
6335
6335
|
<tr>
|
6336
6336
|
<td class="parameter_name"><p>pixmap</p></td>
|
6337
|
-
<td class="parameter_description"><p>a <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> to use as the icon, or <a href="
|
6337
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> to use as the icon, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset</p></td>
|
6338
6338
|
<td class="parameter_annotations"> </td>
|
6339
6339
|
</tr>
|
6340
6340
|
<tr>
|
6341
6341
|
<td class="parameter_name"><p>mask</p></td>
|
6342
6342
|
<td class="parameter_description"><p>a 1-bit pixmap (<a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkBitmap" title="GdkBitmap"><span class="type">GdkBitmap</span></a>) to use as mask for <em class="parameter"><code>pixmap</code></em>
|
6343
|
-
, or <a href="
|
6343
|
+
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to have none</p></td>
|
6344
6344
|
<td class="parameter_annotations"> </td>
|
6345
6345
|
</tr>
|
6346
6346
|
</tbody>
|
@@ -6352,15 +6352,15 @@ want to fall back to <a class="link" href="gdk2-Windows.html#gdk-window-set-icon
|
|
6352
6352
|
<a name="gdk-window-set-icon-name"></a><h3>gdk_window_set_icon_name ()</h3>
|
6353
6353
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
6354
6354
|
gdk_window_set_icon_name (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
6355
|
-
<em class="parameter"><code>const <a href="
|
6355
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
6356
6356
|
<p>Windows may have a name used while minimized, distinct from the
|
6357
6357
|
name they display in their titlebar. Most of the time this is a bad
|
6358
6358
|
idea from a user interface standpoint. But you can set such a name
|
6359
6359
|
with this function, if you like.</p>
|
6360
|
-
<p>After calling this with a non-<a href="
|
6360
|
+
<p>After calling this with a non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code>name</code></em>
|
6361
6361
|
, calls to <a class="link" href="gdk2-Windows.html#gdk-window-set-title" title="gdk_window_set_title ()"><code class="function">gdk_window_set_title()</code></a>
|
6362
6362
|
will not update the icon title.</p>
|
6363
|
-
<p>Using <a href="
|
6363
|
+
<p>Using <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for <em class="parameter"><code>name</code></em>
|
6364
6364
|
unsets the icon title; further calls to
|
6365
6365
|
<a class="link" href="gdk2-Windows.html#gdk-window-set-title" title="gdk_window_set_title ()"><code class="function">gdk_window_set_title()</code></a> will again update the icon title as well.</p>
|
6366
6366
|
<div class="refsect3">
|
@@ -6432,7 +6432,7 @@ keep <em class="parameter"><code>window</code></em>
|
|
6432
6432
|
<a name="gdk-window-set-role"></a><h3>gdk_window_set_role ()</h3>
|
6433
6433
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
6434
6434
|
gdk_window_set_role (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
6435
|
-
<em class="parameter"><code>const <a href="
|
6435
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *role</code></em>);</pre>
|
6436
6436
|
<p>When using GTK+, typically you should use <a href="http://developer.gnome.org/gtk2/GtkWindow.html#gtk-window-set-role"><code class="function">gtk_window_set_role()</code></a> instead
|
6437
6437
|
of this low-level function.</p>
|
6438
6438
|
<p>The window manager and session manager use a window's role to
|
@@ -6472,7 +6472,7 @@ non-interchangeable kind of window.</p>
|
|
6472
6472
|
<a name="gdk-window-set-startup-id"></a><h3>gdk_window_set_startup_id ()</h3>
|
6473
6473
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
6474
6474
|
gdk_window_set_startup_id (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
6475
|
-
<em class="parameter"><code>const <a href="
|
6475
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *startup_id</code></em>);</pre>
|
6476
6476
|
<p>When using GTK+, typically you should use <a href="http://developer.gnome.org/gtk2/GtkWindow.html#gtk-window-set-startup-id"><code class="function">gtk_window_set_startup_id()</code></a>
|
6477
6477
|
instead of this low-level function.</p>
|
6478
6478
|
<div class="refsect3">
|
@@ -6531,7 +6531,7 @@ if your application pretends to be multiple applications.</p>
|
|
6531
6531
|
</tr>
|
6532
6532
|
<tr>
|
6533
6533
|
<td class="parameter_name"><p>leader</p></td>
|
6534
|
-
<td class="parameter_description"><p>group leader window, or <a href="
|
6534
|
+
<td class="parameter_description"><p>group leader window, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to restore the default group leader window</p></td>
|
6535
6535
|
<td class="parameter_annotations"> </td>
|
6536
6536
|
</tr>
|
6537
6537
|
</tbody>
|
@@ -6612,7 +6612,7 @@ but very few honor all possible combinations of bits.</p>
|
|
6612
6612
|
<hr>
|
6613
6613
|
<div class="refsect2">
|
6614
6614
|
<a name="gdk-window-get-decorations"></a><h3>gdk_window_get_decorations ()</h3>
|
6615
|
-
<pre class="programlisting"><a href="
|
6615
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
6616
6616
|
gdk_window_get_decorations (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
6617
6617
|
<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWMDecoration" title="enum GdkWMDecoration"><span class="type">GdkWMDecoration</span></a> *decorations</code></em>);</pre>
|
6618
6618
|
<p>Returns the decorations set on the GdkWindow with <a class="link" href="gdk2-Windows.html#gdk-window-set-decorations" title="gdk_window_set_decorations ()"><span class="type">gdk_window_set_decorations</span></a></p>
|
@@ -6688,7 +6688,7 @@ enable.</p>
|
|
6688
6688
|
<hr>
|
6689
6689
|
<div class="refsect2">
|
6690
6690
|
<a name="gdk-window-get-toplevels"></a><h3>gdk_window_get_toplevels ()</h3>
|
6691
|
-
<pre class="programlisting"><a href="
|
6691
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
6692
6692
|
gdk_window_get_toplevels (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
6693
6693
|
<div class="warning">
|
6694
6694
|
<p><code class="literal">gdk_window_get_toplevels</code> has been deprecated since version 2.16 and should not be used in newly-written code.</p>
|
@@ -6698,11 +6698,11 @@ gdk_window_get_toplevels (<em class="parameter"><code><span class="type">void</s
|
|
6698
6698
|
screen (see <a class="link" href="GdkScreen.html#gdk-screen-get-toplevel-windows" title="gdk_screen_get_toplevel_windows ()"><code class="function">gdk_screen_get_toplevel_windows()</code></a>).
|
6699
6699
|
A toplevel window is a child of the root window (see
|
6700
6700
|
<a class="link" href="gdk2-Windows.html#gdk-get-default-root-window" title="gdk_get_default_root_window ()"><code class="function">gdk_get_default_root_window()</code></a>).</p>
|
6701
|
-
<p>The returned list should be freed with <a href="
|
6701
|
+
<p>The returned list should be freed with <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>, but
|
6702
6702
|
its elements need not be freed.</p>
|
6703
6703
|
<div class="refsect3">
|
6704
6704
|
<a name="gdk-window-get-toplevels.returns"></a><h4>Returns</h4>
|
6705
|
-
<p> list of toplevel windows, free with <a href="
|
6705
|
+
<p> list of toplevel windows, free with <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a></p>
|
6706
6706
|
</div>
|
6707
6707
|
</div>
|
6708
6708
|
<hr>
|
@@ -6745,7 +6745,7 @@ see <a class="link" href="GdkDisplay.html#gdk-display-set-pointer-hooks" title="
|
|
6745
6745
|
<td class="parameter_name"><p>new_hooks</p></td>
|
6746
6746
|
<td class="parameter_description"><p>a table of pointers to functions for getting
|
6747
6747
|
quantities related to the current pointer position,
|
6748
|
-
or <a href="
|
6748
|
+
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to restore the default table.</p></td>
|
6749
6749
|
<td class="parameter_annotations"> </td>
|
6750
6750
|
</tr></tbody>
|
6751
6751
|
</table></div>
|
@@ -6780,7 +6780,7 @@ add a reference to it.</p>
|
|
6780
6780
|
</div>
|
6781
6781
|
<div class="refsect3">
|
6782
6782
|
<a name="gdk-offscreen-window-get-pixmap.returns"></a><h4>Returns</h4>
|
6783
|
-
<p> The offscreen pixmap, or <a href="
|
6783
|
+
<p> The offscreen pixmap, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not offscreen</p>
|
6784
6784
|
</div>
|
6785
6785
|
<p class="since">Since: <a class="link" href="api-index-2-18.html#api-index-2.18">2.18</a></p>
|
6786
6786
|
</div>
|
@@ -6848,7 +6848,7 @@ gdk_offscreen_window_get_embedder (<em class="parameter"><code><a class="link" h
|
|
6848
6848
|
</div>
|
6849
6849
|
<div class="refsect3">
|
6850
6850
|
<a name="gdk-offscreen-window-get-embedder.returns"></a><h4>Returns</h4>
|
6851
|
-
<p> the embedding <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>, or <a href="
|
6851
|
+
<p> the embedding <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>window</code></em>
|
6852
6852
|
is not an
|
6853
6853
|
embedded offscreen window</p>
|
6854
6854
|
</div>
|
@@ -6885,12 +6885,12 @@ track of which offscreen window the pointer is in.</p>
|
|
6885
6885
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
6886
6886
|
gdk_window_redirect_to_drawable (<em class="parameter"><code><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
6887
6887
|
<em class="parameter"><code><a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
6888
|
-
<em class="parameter"><code><a href="
|
6889
|
-
<em class="parameter"><code><a href="
|
6890
|
-
<em class="parameter"><code><a href="
|
6891
|
-
<em class="parameter"><code><a href="
|
6892
|
-
<em class="parameter"><code><a href="
|
6893
|
-
<em class="parameter"><code><a href="
|
6888
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> src_x</code></em>,
|
6889
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> src_y</code></em>,
|
6890
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dest_x</code></em>,
|
6891
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dest_y</code></em>,
|
6892
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
6893
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
6894
6894
|
<p>Redirects drawing into <em class="parameter"><code>window</code></em>
|
6895
6895
|
so that drawing to the
|
6896
6896
|
window in the rectangle specified by <em class="parameter"><code>src_x</code></em>
|
@@ -7305,56 +7305,56 @@ ratio.
|
|
7305
7305
|
</colgroup>
|
7306
7306
|
<tbody>
|
7307
7307
|
<tr>
|
7308
|
-
<td class="struct_member_name"><p><a href="
|
7308
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/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>;</p></td>
|
7309
7309
|
<td class="struct_member_description"><p>minimum width of window (or -1 to use requisition, with <a href="http://developer.gnome.org/gtk2/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> only)</p></td>
|
7310
7310
|
<td class="struct_member_annotations"> </td>
|
7311
7311
|
</tr>
|
7312
7312
|
<tr>
|
7313
|
-
<td class="struct_member_name"><p><a href="
|
7313
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/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>;</p></td>
|
7314
7314
|
<td class="struct_member_description"><p>minimum height of window (or -1 to use requisition, with <a href="http://developer.gnome.org/gtk2/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> only)</p></td>
|
7315
7315
|
<td class="struct_member_annotations"> </td>
|
7316
7316
|
</tr>
|
7317
7317
|
<tr>
|
7318
|
-
<td class="struct_member_name"><p><a href="
|
7318
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/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>;</p></td>
|
7319
7319
|
<td class="struct_member_description"><p>maximum width of window (or -1 to use requisition, with <a href="http://developer.gnome.org/gtk2/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> only)</p></td>
|
7320
7320
|
<td class="struct_member_annotations"> </td>
|
7321
7321
|
</tr>
|
7322
7322
|
<tr>
|
7323
|
-
<td class="struct_member_name"><p><a href="
|
7323
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/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>;</p></td>
|
7324
7324
|
<td class="struct_member_description"><p>maximum height of window (or -1 to use requisition, with <a href="http://developer.gnome.org/gtk2/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> only)</p></td>
|
7325
7325
|
<td class="struct_member_annotations"> </td>
|
7326
7326
|
</tr>
|
7327
7327
|
<tr>
|
7328
|
-
<td class="struct_member_name"><p><a href="
|
7328
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/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>;</p></td>
|
7329
7329
|
<td class="struct_member_description"><p>allowed window widths are <em class="parameter"><code>base_width</code></em>
|
7330
7330
|
+ <em class="parameter"><code>width_inc</code></em>
|
7331
7331
|
* N where N is any integer (-1 allowed with <a href="http://developer.gnome.org/gtk2/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a>)</p></td>
|
7332
7332
|
<td class="struct_member_annotations"> </td>
|
7333
7333
|
</tr>
|
7334
7334
|
<tr>
|
7335
|
-
<td class="struct_member_name"><p><a href="
|
7335
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/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>;</p></td>
|
7336
7336
|
<td class="struct_member_description"><p>allowed window widths are <em class="parameter"><code>base_height</code></em>
|
7337
7337
|
+ <em class="parameter"><code>height_inc</code></em>
|
7338
7338
|
* N where N is any integer (-1 allowed with <a href="http://developer.gnome.org/gtk2/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a>)</p></td>
|
7339
7339
|
<td class="struct_member_annotations"> </td>
|
7340
7340
|
</tr>
|
7341
7341
|
<tr>
|
7342
|
-
<td class="struct_member_name"><p><a href="
|
7342
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/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>;</p></td>
|
7343
7343
|
<td class="struct_member_description"><p>width resize increment</p></td>
|
7344
7344
|
<td class="struct_member_annotations"> </td>
|
7345
7345
|
</tr>
|
7346
7346
|
<tr>
|
7347
|
-
<td class="struct_member_name"><p><a href="
|
7347
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGeometry.height-inc"></a>height_inc</code></em>;</p></td>
|
7348
7348
|
<td class="struct_member_description"><p>height resize increment</p></td>
|
7349
7349
|
<td class="struct_member_annotations"> </td>
|
7350
7350
|
</tr>
|
7351
7351
|
<tr>
|
7352
|
-
<td class="struct_member_name"><p><a href="
|
7352
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GdkGeometry.min-aspect"></a>min_aspect</code></em>;</p></td>
|
7353
7353
|
<td class="struct_member_description"><p>minimum width/height ratio</p></td>
|
7354
7354
|
<td class="struct_member_annotations"> </td>
|
7355
7355
|
</tr>
|
7356
7356
|
<tr>
|
7357
|
-
<td class="struct_member_name"><p><a href="
|
7357
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GdkGeometry.max-aspect"></a>max_aspect</code></em>;</p></td>
|
7358
7358
|
<td class="struct_member_description"><p>maximum width/height ratio</p></td>
|
7359
7359
|
<td class="struct_member_annotations"> </td>
|
7360
7360
|
</tr>
|
@@ -7700,32 +7700,32 @@ Attributes to use for a newly-created window.
|
|
7700
7700
|
</colgroup>
|
7701
7701
|
<tbody>
|
7702
7702
|
<tr>
|
7703
|
-
<td class="struct_member_name"><p><a href="
|
7703
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdkWindowAttr.title"></a>title</code></em>;</p></td>
|
7704
7704
|
<td class="struct_member_description"><p>title of the window (for toplevel windows)</p></td>
|
7705
7705
|
<td class="struct_member_annotations"> </td>
|
7706
7706
|
</tr>
|
7707
7707
|
<tr>
|
7708
|
-
<td class="struct_member_name"><p><a href="
|
7708
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkWindowAttr.event-mask"></a>event_mask</code></em>;</p></td>
|
7709
7709
|
<td class="struct_member_description"><p>event mask (see <a class="link" href="gdk2-Windows.html#gdk-window-set-events" title="gdk_window_set_events ()"><code class="function">gdk_window_set_events()</code></a>)</p></td>
|
7710
7710
|
<td class="struct_member_annotations"> </td>
|
7711
7711
|
</tr>
|
7712
7712
|
<tr>
|
7713
|
-
<td class="struct_member_name"><p><a href="
|
7713
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkWindowAttr.x"></a>x</code></em>;</p></td>
|
7714
7714
|
<td class="struct_member_description"><p>X coordinate relative to parent window (see <a class="link" href="gdk2-Windows.html#gdk-window-move" title="gdk_window_move ()"><code class="function">gdk_window_move()</code></a>)</p></td>
|
7715
7715
|
<td class="struct_member_annotations"> </td>
|
7716
7716
|
</tr>
|
7717
7717
|
<tr>
|
7718
|
-
<td class="struct_member_name"><p><a href="
|
7718
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkWindowAttr.y"></a>y</code></em>;</p></td>
|
7719
7719
|
<td class="struct_member_description"><p>Y coordinate relative to parent window (see <a class="link" href="gdk2-Windows.html#gdk-window-move" title="gdk_window_move ()"><code class="function">gdk_window_move()</code></a>)</p></td>
|
7720
7720
|
<td class="struct_member_annotations"> </td>
|
7721
7721
|
</tr>
|
7722
7722
|
<tr>
|
7723
|
-
<td class="struct_member_name"><p><a href="
|
7723
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkWindowAttr.width"></a>width</code></em>;</p></td>
|
7724
7724
|
<td class="struct_member_description"><p>width of window</p></td>
|
7725
7725
|
<td class="struct_member_annotations"> </td>
|
7726
7726
|
</tr>
|
7727
7727
|
<tr>
|
7728
|
-
<td class="struct_member_name"><p><a href="
|
7728
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkWindowAttr.height"></a>height</code></em>;</p></td>
|
7729
7729
|
<td class="struct_member_description"><p>height of window</p></td>
|
7730
7730
|
<td class="struct_member_annotations"> </td>
|
7731
7731
|
</tr>
|
@@ -7755,18 +7755,18 @@ Attributes to use for a newly-created window.
|
|
7755
7755
|
<td class="struct_member_annotations"> </td>
|
7756
7756
|
</tr>
|
7757
7757
|
<tr>
|
7758
|
-
<td class="struct_member_name"><p><a href="
|
7758
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/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>;</p></td>
|
7759
7759
|
<td class="struct_member_description"><p>don't use (see <a href="http://developer.gnome.org/gtk2/GtkWindow.html#gtk-window-set-wmclass"><code class="function">gtk_window_set_wmclass()</code></a>)</p></td>
|
7760
7760
|
<td class="struct_member_annotations"> </td>
|
7761
7761
|
</tr>
|
7762
7762
|
<tr>
|
7763
|
-
<td class="struct_member_name"><p><a href="
|
7763
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/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>;</p></td>
|
7764
7764
|
<td class="struct_member_description"><p>don't use (see <a href="http://developer.gnome.org/gtk2/GtkWindow.html#gtk-window-set-wmclass"><code class="function">gtk_window_set_wmclass()</code></a>)</p></td>
|
7765
7765
|
<td class="struct_member_annotations"> </td>
|
7766
7766
|
</tr>
|
7767
7767
|
<tr>
|
7768
|
-
<td class="struct_member_name"><p><a href="
|
7769
|
-
<td class="struct_member_description"><p><a href="
|
7768
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/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>;</p></td>
|
7769
|
+
<td class="struct_member_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to bypass the window manager</p></td>
|
7770
7770
|
<td class="struct_member_annotations"> </td>
|
7771
7771
|
</tr>
|
7772
7772
|
<tr>
|
@@ -7872,7 +7872,7 @@ corresponding flag in <a class="link" href="gdk2-Windows.html#GdkWindowAttribute
|
|
7872
7872
|
</pre>
|
7873
7873
|
<div class="warning"><p><code class="literal">gdk_window_ref</code> is deprecated and should not be used in newly-written code.</p></div>
|
7874
7874
|
<p>
|
7875
|
-
Deprecated equivalent of <a href="
|
7875
|
+
Deprecated equivalent of <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>
|
7876
7876
|
</p>
|
7877
7877
|
<div class="refsect3">
|
7878
7878
|
<a name="gdk-window-ref.returns"></a><h4>Returns</h4>
|
@@ -7886,7 +7886,7 @@ Deprecated equivalent of <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/l
|
|
7886
7886
|
</pre>
|
7887
7887
|
<div class="warning"><p><code class="literal">gdk_window_unref</code> is deprecated and should not be used in newly-written code.</p></div>
|
7888
7888
|
<p>
|
7889
|
-
Deprecated equivalent of <a href="
|
7889
|
+
Deprecated equivalent of <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>
|
7890
7890
|
</p>
|
7891
7891
|
</div>
|
7892
7892
|
<hr>
|
@@ -8340,7 +8340,7 @@ the pointer, which is returned in <em class="parameter"><code>window</code></em>
|
|
8340
8340
|
<td class="struct_member_description"><p>Obtains the window underneath the mouse pointer,
|
8341
8341
|
returning the location of that window in <em class="parameter"><code>win_x</code></em>
|
8342
8342
|
, <em class="parameter"><code>win_y</code></em>
|
8343
|
-
. Returns <a href="
|
8343
|
+
. Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
8344
8344
|
if the window under the mouse pointer is not known to GDK (for example,
|
8345
8345
|
belongs to another application).</p></td>
|
8346
8346
|
<td class="struct_member_annotations"> </td>
|
@@ -8367,11 +8367,11 @@ belongs to another application).</p></td>
|
|
8367
8367
|
<a name="GdkWindow-from-embedder"></a><h3>The <code class="literal">“from-embedder”</code> signal</h3>
|
8368
8368
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
8369
8369
|
user_function (<a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window,
|
8370
|
-
<a href="
|
8371
|
-
<a href="
|
8372
|
-
<a href="
|
8373
|
-
<a href="
|
8374
|
-
<a href="
|
8370
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> embedder-x,
|
8371
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> embedder-y,
|
8372
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> offscreen-x,
|
8373
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> offscreen-y,
|
8374
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
8375
8375
|
<p>The ::from-embedder signal is emitted to translate coordinates
|
8376
8376
|
in the embedder of an offscreen window to the offscreen window.</p>
|
8377
8377
|
<p>See also <span class="type">“to-embedder”</span>.</p>
|
@@ -8419,7 +8419,7 @@ coordinate in the offscreen window. </p></td>
|
|
8419
8419
|
</tbody>
|
8420
8420
|
</table></div>
|
8421
8421
|
</div>
|
8422
|
-
<p>Flags: <a href="
|
8422
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
8423
8423
|
<p class="since">Since: <a class="link" href="api-index-2-18.html#api-index-2.18">2.18</a></p>
|
8424
8424
|
</div>
|
8425
8425
|
<hr>
|
@@ -8427,9 +8427,9 @@ coordinate in the offscreen window. </p></td>
|
|
8427
8427
|
<a name="GdkWindow-pick-embedded-child"></a><h3>The <code class="literal">“pick-embedded-child”</code> signal</h3>
|
8428
8428
|
<pre class="programlisting"><a class="link" href="gdk2-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a>*
|
8429
8429
|
user_function (<a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window,
|
8430
|
-
<a href="
|
8431
|
-
<a href="
|
8432
|
-
<a href="
|
8430
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x,
|
8431
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y,
|
8432
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
8433
8433
|
<p>The ::pick-embedded-child signal is emitted to find an embedded
|
8434
8434
|
child at the given position.</p>
|
8435
8435
|
<div class="refsect3">
|
@@ -8469,10 +8469,10 @@ child at the given position.</p>
|
|
8469
8469
|
<p> the <a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> of the embedded child at
|
8470
8470
|
<em class="parameter"><code>x</code></em>
|
8471
8471
|
, <em class="parameter"><code>y</code></em>
|
8472
|
-
, or <a href="
|
8472
|
+
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
8473
8473
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
8474
8474
|
</div>
|
8475
|
-
<p>Flags: <a href="
|
8475
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
8476
8476
|
<p class="since">Since: <a class="link" href="api-index-2-18.html#api-index-2.18">2.18</a></p>
|
8477
8477
|
</div>
|
8478
8478
|
<hr>
|
@@ -8480,11 +8480,11 @@ child at the given position.</p>
|
|
8480
8480
|
<a name="GdkWindow-to-embedder"></a><h3>The <code class="literal">“to-embedder”</code> signal</h3>
|
8481
8481
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
8482
8482
|
user_function (<a class="link" href="gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window,
|
8483
|
-
<a href="
|
8484
|
-
<a href="
|
8485
|
-
<a href="
|
8486
|
-
<a href="
|
8487
|
-
<a href="
|
8483
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> offscreen-x,
|
8484
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> offscreen-y,
|
8485
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> embedder-x,
|
8486
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> embedder-y,
|
8487
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
8488
8488
|
<p>The ::to-embedder signal is emitted to translate coordinates
|
8489
8489
|
in an offscreen window to its embedder.</p>
|
8490
8490
|
<p>See also <span class="type">“from-embedder”</span>.</p>
|
@@ -8532,7 +8532,7 @@ coordinate in the embedder window. </p></td>
|
|
8532
8532
|
</tbody>
|
8533
8533
|
</table></div>
|
8534
8534
|
</div>
|
8535
|
-
<p>Flags: <a href="
|
8535
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
8536
8536
|
<p class="since">Since: <a class="link" href="api-index-2-18.html#api-index-2.18">2.18</a></p>
|
8537
8537
|
</div>
|
8538
8538
|
</div>
|