New upstream version 3.24.8
This commit is contained in:
commit
2c2e749fa0
6
INSTALL
6
INSTALL
@ -4,7 +4,7 @@ Prerequisites
|
||||
GTK+ requires the following packages:
|
||||
|
||||
- The GLib, Pango, GdkPixbuf, ATK and cairo libraries, available at
|
||||
the same location as GTK+. GTK+ 3.24.7 requires at least
|
||||
the same location as GTK+. GTK+ 3.24.8 requires at least
|
||||
GLib 2.53.4, Pango 1.41.0,
|
||||
GdkPixbuf 2.30.0, ATK 2.15.1
|
||||
and cairo 1.14.0.
|
||||
@ -22,8 +22,8 @@ GTK+ requires the following packages:
|
||||
Simple install procedure
|
||||
========================
|
||||
|
||||
% tar xf gtk+-3.24.7.tar.xz # unpack the sources
|
||||
% cd gtk+-3.24.7 # change to the toplevel directory
|
||||
% tar xf gtk+-3.24.8.tar.xz # unpack the sources
|
||||
% cd gtk+-3.24.8 # change to the toplevel directory
|
||||
% ./configure # run the `configure' script
|
||||
% make # build GTK+
|
||||
[ Become root if necessary ]
|
||||
|
@ -215,8 +215,8 @@ am__DIST_COMMON = $(srcdir)/INSTALL.in $(srcdir)/Makefile.in \
|
||||
$(top_srcdir)/build-aux/missing ABOUT-NLS AUTHORS COPYING \
|
||||
ChangeLog INSTALL NEWS README build-aux/compile \
|
||||
build-aux/config.guess build-aux/config.rpath \
|
||||
build-aux/config.sub build-aux/depcomp build-aux/install-sh \
|
||||
build-aux/ltmain.sh build-aux/missing
|
||||
build-aux/config.sub build-aux/install-sh build-aux/ltmain.sh \
|
||||
build-aux/missing
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
@ -321,7 +321,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
38
NEWS
38
NEWS
@ -1,3 +1,41 @@
|
||||
Overview of Changes in GTK+ 3.24.8
|
||||
==================================
|
||||
|
||||
* Color editor: don't warn if editing is cancelled
|
||||
|
||||
* Always redraw on allocate - not doing so is
|
||||
not safe when any widget can have a background
|
||||
|
||||
* Use GLSL 3.30 for shaders
|
||||
|
||||
* Quartz: add a preliminary GdkGLContext implementation
|
||||
|
||||
* Win32: Fix a bug that prevented storing printer driver prefs
|
||||
|
||||
* Wayland: properly place window menus
|
||||
|
||||
* GtkApplication: support session state changes in
|
||||
sandboxes, using the inhibit portal
|
||||
|
||||
* Fix a problem with autostart notification
|
||||
|
||||
* Places: Show loop devices as reported by gvfs
|
||||
|
||||
* Translation updates:
|
||||
Brazilian Portuguese
|
||||
Catalan
|
||||
Czech
|
||||
German
|
||||
Hungarian
|
||||
Indonesian
|
||||
Italian
|
||||
Polish
|
||||
Romanian
|
||||
Spanish
|
||||
Swedish
|
||||
Turkish
|
||||
|
||||
|
||||
Overview of Changes in GTK+ 3.24.7
|
||||
==================================
|
||||
|
||||
|
2
README
2
README
@ -1,7 +1,7 @@
|
||||
General Information
|
||||
===================
|
||||
|
||||
This is GTK+ version 3.24.7. GTK+ is a multi-platform toolkit for
|
||||
This is GTK+ version 3.24.8. GTK+ is a multi-platform toolkit for
|
||||
creating graphical user interfaces. Offering a complete set of widgets,
|
||||
GTK+ is suitable for projects ranging from small one-off projects to
|
||||
complete application suites.
|
||||
|
47
aclocal.m4
vendored
47
aclocal.m4
vendored
@ -24,7 +24,7 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
|
||||
# Owen Taylor 1997-2001
|
||||
|
||||
# Increment this whenever this file is changed.
|
||||
#serial 3
|
||||
#serial 1
|
||||
|
||||
dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||
dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject,
|
||||
@ -34,16 +34,10 @@ AC_DEFUN([AM_PATH_GLIB_2_0],
|
||||
[dnl
|
||||
dnl Get the cflags and libraries from pkg-config
|
||||
dnl
|
||||
|
||||
dnl We can't use PKG_PREREQ because that needs 0.29.
|
||||
m4_ifndef([PKG_PROG_PKG_CONFIG],
|
||||
[pkg.m4 version 0.28 or later is required])
|
||||
|
||||
AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program],
|
||||
, enable_glibtest=yes)
|
||||
|
||||
min_glib_version=ifelse([$1], [], [2.0.0], [$1])
|
||||
pkg_config_args="glib-2.0 >= $min_glib_version"
|
||||
pkg_config_args=glib-2.0
|
||||
for module in . $4
|
||||
do
|
||||
case "$module" in
|
||||
@ -74,15 +68,7 @@ AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run
|
||||
PKG_CONFIG=no
|
||||
fi
|
||||
|
||||
dnl For GLIB_CFLAGS and GLIB_LIBS
|
||||
PKG_CHECK_MODULES([GLIB], [$pkg_config_args], [:], [:])
|
||||
|
||||
dnl For the tools
|
||||
PKG_CHECK_VAR([GLIB_GENMARSHAL], [glib-2.0], [glib_genmarshal])
|
||||
PKG_CHECK_VAR([GOBJECT_QUERY], [glib-2.0], [gobject_query])
|
||||
PKG_CHECK_VAR([GLIB_MKENUMS], [glib-2.0], [glib_mkenums])
|
||||
PKG_CHECK_VAR([GLIB_COMPILE_RESOURCES], [gio-2.0], [glib_compile_resources])
|
||||
|
||||
min_glib_version=ifelse([$1], ,2.0.0,$1)
|
||||
AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
|
||||
|
||||
if test x$PKG_CONFIG != xno ; then
|
||||
@ -100,6 +86,13 @@ AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run
|
||||
fi
|
||||
|
||||
if test x"$no_glib" = x ; then
|
||||
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
|
||||
GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
|
||||
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
|
||||
GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
|
||||
|
||||
GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
|
||||
GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
|
||||
glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
|
||||
@ -233,11 +226,17 @@ main (void)
|
||||
GLIB_COMPILE_RESOURCES=""
|
||||
ifelse([$3], , :, [$3])
|
||||
fi
|
||||
AC_SUBST(GLIB_CFLAGS)
|
||||
AC_SUBST(GLIB_LIBS)
|
||||
AC_SUBST(GLIB_GENMARSHAL)
|
||||
AC_SUBST(GOBJECT_QUERY)
|
||||
AC_SUBST(GLIB_MKENUMS)
|
||||
AC_SUBST(GLIB_COMPILE_RESOURCES)
|
||||
rm -f conf.glibtest
|
||||
])
|
||||
|
||||
# Increment this whenever this file is changed.
|
||||
#serial 2
|
||||
#serial 1
|
||||
|
||||
dnl GLIB_GSETTINGS
|
||||
dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether
|
||||
@ -246,10 +245,6 @@ dnl
|
||||
|
||||
AC_DEFUN([GLIB_GSETTINGS],
|
||||
[
|
||||
dnl We can't use PKG_PREREQ because that needs 0.29.
|
||||
m4_ifndef([PKG_PROG_PKG_CONFIG],
|
||||
[pkg.m4 version 0.28 or later is required])
|
||||
|
||||
m4_pattern_allow([AM_V_GEN])
|
||||
AC_ARG_ENABLE(schemas-compile,
|
||||
AS_HELP_STRING([--disable-schemas-compile],
|
||||
@ -262,9 +257,11 @@ AC_DEFUN([GLIB_GSETTINGS],
|
||||
AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE])
|
||||
PKG_PROG_PKG_CONFIG([0.16])
|
||||
AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas])
|
||||
AS_IF([test x$cross_compiling != xyes],
|
||||
[PKG_CHECK_VAR([GLIB_COMPILE_SCHEMAS], [gio-2.0], [glib_compile_schemas])],
|
||||
[AC_PATH_PROG([GLIB_COMPILE_SCHEMAS], [glib-compile-schemas])])
|
||||
if test x$cross_compiling != xyes; then
|
||||
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
|
||||
else
|
||||
AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas)
|
||||
fi
|
||||
AC_SUBST(GLIB_COMPILE_SCHEMAS)
|
||||
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
|
||||
ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2])
|
||||
|
@ -253,7 +253,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
@ -26,143 +26,3 @@
|
||||
..\..\gdk\win32\gdkwin32screen.h
|
||||
..\..\gdk\win32\gdkwin32window.h
|
||||
..\..\gdk\win32\gdkwindow-win32.c
|
||||
..\..\gdk\win32\gdkcursor-win32.c
|
||||
..\..\gdk\win32\gdkdevicemanager-win32.c
|
||||
..\..\gdk\win32\gdkdevice-virtual.c
|
||||
..\..\gdk\win32\gdkdevice-win32.c
|
||||
..\..\gdk\win32\gdkdevice-wintab.c
|
||||
..\..\gdk\win32\gdkdisplaymanager-win32.c
|
||||
..\..\gdk\win32\gdkdisplay-win32.c
|
||||
..\..\gdk\win32\gdkdnd-win32.c
|
||||
..\..\gdk\win32\gdkevents-win32.c
|
||||
..\..\gdk\win32\gdkgeometry-win32.c
|
||||
..\..\gdk\win32\gdkglobals-win32.c
|
||||
..\..\gdk\win32\gdkkeys-win32.c
|
||||
..\..\gdk\win32\gdkmain-win32.c
|
||||
..\..\gdk\win32\gdkproperty-win32.c
|
||||
..\..\gdk\win32\gdkscreen-win32.c
|
||||
..\..\gdk\win32\gdkselection-win32.c
|
||||
..\..\gdk\win32\gdktestutils-win32.c
|
||||
..\..\gdk\win32\gdkwin32.h
|
||||
..\..\gdk\win32\gdkwin32cursor.h
|
||||
..\..\gdk\win32\gdkwin32display.h
|
||||
..\..\gdk\win32\gdkwin32displaymanager.h
|
||||
..\..\gdk\win32\gdkwin32dnd.h
|
||||
..\..\gdk\win32\gdkwin32id.c
|
||||
..\..\gdk\win32\gdkwin32keys.h
|
||||
..\..\gdk\win32\gdkwin32misc.h
|
||||
..\..\gdk\win32\gdkwin32screen.h
|
||||
..\..\gdk\win32\gdkwin32window.h
|
||||
..\..\gdk\win32\gdkwindow-win32.c
|
||||
..\..\gdk\win32\gdkcursor-win32.c
|
||||
..\..\gdk\win32\gdkdevicemanager-win32.c
|
||||
..\..\gdk\win32\gdkdevice-virtual.c
|
||||
..\..\gdk\win32\gdkdevice-win32.c
|
||||
..\..\gdk\win32\gdkdevice-wintab.c
|
||||
..\..\gdk\win32\gdkdisplaymanager-win32.c
|
||||
..\..\gdk\win32\gdkdisplay-win32.c
|
||||
..\..\gdk\win32\gdkdnd-win32.c
|
||||
..\..\gdk\win32\gdkevents-win32.c
|
||||
..\..\gdk\win32\gdkgeometry-win32.c
|
||||
..\..\gdk\win32\gdkglobals-win32.c
|
||||
..\..\gdk\win32\gdkkeys-win32.c
|
||||
..\..\gdk\win32\gdkmain-win32.c
|
||||
..\..\gdk\win32\gdkproperty-win32.c
|
||||
..\..\gdk\win32\gdkscreen-win32.c
|
||||
..\..\gdk\win32\gdkselection-win32.c
|
||||
..\..\gdk\win32\gdktestutils-win32.c
|
||||
..\..\gdk\win32\gdkwin32.h
|
||||
..\..\gdk\win32\gdkwin32cursor.h
|
||||
..\..\gdk\win32\gdkwin32display.h
|
||||
..\..\gdk\win32\gdkwin32displaymanager.h
|
||||
..\..\gdk\win32\gdkwin32dnd.h
|
||||
..\..\gdk\win32\gdkwin32id.c
|
||||
..\..\gdk\win32\gdkwin32keys.h
|
||||
..\..\gdk\win32\gdkwin32misc.h
|
||||
..\..\gdk\win32\gdkwin32screen.h
|
||||
..\..\gdk\win32\gdkwin32window.h
|
||||
..\..\gdk\win32\gdkwindow-win32.c
|
||||
..\..\gdk\win32\gdkcursor-win32.c
|
||||
..\..\gdk\win32\gdkdevicemanager-win32.c
|
||||
..\..\gdk\win32\gdkdevice-virtual.c
|
||||
..\..\gdk\win32\gdkdevice-win32.c
|
||||
..\..\gdk\win32\gdkdevice-wintab.c
|
||||
..\..\gdk\win32\gdkdisplaymanager-win32.c
|
||||
..\..\gdk\win32\gdkdisplay-win32.c
|
||||
..\..\gdk\win32\gdkdnd-win32.c
|
||||
..\..\gdk\win32\gdkevents-win32.c
|
||||
..\..\gdk\win32\gdkgeometry-win32.c
|
||||
..\..\gdk\win32\gdkglobals-win32.c
|
||||
..\..\gdk\win32\gdkkeys-win32.c
|
||||
..\..\gdk\win32\gdkmain-win32.c
|
||||
..\..\gdk\win32\gdkproperty-win32.c
|
||||
..\..\gdk\win32\gdkscreen-win32.c
|
||||
..\..\gdk\win32\gdkselection-win32.c
|
||||
..\..\gdk\win32\gdktestutils-win32.c
|
||||
..\..\gdk\win32\gdkwin32.h
|
||||
..\..\gdk\win32\gdkwin32cursor.h
|
||||
..\..\gdk\win32\gdkwin32display.h
|
||||
..\..\gdk\win32\gdkwin32displaymanager.h
|
||||
..\..\gdk\win32\gdkwin32dnd.h
|
||||
..\..\gdk\win32\gdkwin32id.c
|
||||
..\..\gdk\win32\gdkwin32keys.h
|
||||
..\..\gdk\win32\gdkwin32misc.h
|
||||
..\..\gdk\win32\gdkwin32screen.h
|
||||
..\..\gdk\win32\gdkwin32window.h
|
||||
..\..\gdk\win32\gdkwindow-win32.c
|
||||
..\..\gdk\win32\gdkcursor-win32.c
|
||||
..\..\gdk\win32\gdkdevicemanager-win32.c
|
||||
..\..\gdk\win32\gdkdevice-virtual.c
|
||||
..\..\gdk\win32\gdkdevice-win32.c
|
||||
..\..\gdk\win32\gdkdevice-wintab.c
|
||||
..\..\gdk\win32\gdkdisplaymanager-win32.c
|
||||
..\..\gdk\win32\gdkdisplay-win32.c
|
||||
..\..\gdk\win32\gdkdnd-win32.c
|
||||
..\..\gdk\win32\gdkevents-win32.c
|
||||
..\..\gdk\win32\gdkgeometry-win32.c
|
||||
..\..\gdk\win32\gdkglobals-win32.c
|
||||
..\..\gdk\win32\gdkkeys-win32.c
|
||||
..\..\gdk\win32\gdkmain-win32.c
|
||||
..\..\gdk\win32\gdkproperty-win32.c
|
||||
..\..\gdk\win32\gdkscreen-win32.c
|
||||
..\..\gdk\win32\gdkselection-win32.c
|
||||
..\..\gdk\win32\gdktestutils-win32.c
|
||||
..\..\gdk\win32\gdkwin32.h
|
||||
..\..\gdk\win32\gdkwin32cursor.h
|
||||
..\..\gdk\win32\gdkwin32display.h
|
||||
..\..\gdk\win32\gdkwin32displaymanager.h
|
||||
..\..\gdk\win32\gdkwin32dnd.h
|
||||
..\..\gdk\win32\gdkwin32id.c
|
||||
..\..\gdk\win32\gdkwin32keys.h
|
||||
..\..\gdk\win32\gdkwin32misc.h
|
||||
..\..\gdk\win32\gdkwin32screen.h
|
||||
..\..\gdk\win32\gdkwin32window.h
|
||||
..\..\gdk\win32\gdkwindow-win32.c
|
||||
..\..\gdk\win32\gdkcursor-win32.c
|
||||
..\..\gdk\win32\gdkdevicemanager-win32.c
|
||||
..\..\gdk\win32\gdkdevice-virtual.c
|
||||
..\..\gdk\win32\gdkdevice-win32.c
|
||||
..\..\gdk\win32\gdkdevice-wintab.c
|
||||
..\..\gdk\win32\gdkdisplaymanager-win32.c
|
||||
..\..\gdk\win32\gdkdisplay-win32.c
|
||||
..\..\gdk\win32\gdkdnd-win32.c
|
||||
..\..\gdk\win32\gdkevents-win32.c
|
||||
..\..\gdk\win32\gdkgeometry-win32.c
|
||||
..\..\gdk\win32\gdkglobals-win32.c
|
||||
..\..\gdk\win32\gdkkeys-win32.c
|
||||
..\..\gdk\win32\gdkmain-win32.c
|
||||
..\..\gdk\win32\gdkproperty-win32.c
|
||||
..\..\gdk\win32\gdkscreen-win32.c
|
||||
..\..\gdk\win32\gdkselection-win32.c
|
||||
..\..\gdk\win32\gdktestutils-win32.c
|
||||
..\..\gdk\win32\gdkwin32.h
|
||||
..\..\gdk\win32\gdkwin32cursor.h
|
||||
..\..\gdk\win32\gdkwin32display.h
|
||||
..\..\gdk\win32\gdkwin32displaymanager.h
|
||||
..\..\gdk\win32\gdkwin32dnd.h
|
||||
..\..\gdk\win32\gdkwin32id.c
|
||||
..\..\gdk\win32\gdkwin32keys.h
|
||||
..\..\gdk\win32\gdkwin32misc.h
|
||||
..\..\gdk\win32\gdkwin32screen.h
|
||||
..\..\gdk\win32\gdkwin32window.h
|
||||
..\..\gdk\win32\gdkwindow-win32.c
|
||||
|
@ -72,385 +72,10 @@
|
||||
..\..\gdk\gdkvisual.c
|
||||
..\..\gdk\gdkwindow.c
|
||||
..\..\gdk\gdkwindowimpl.c
|
||||
..\..\gdk\gdkenumtypes.c
|
||||
..\..\gdk\gdkenumtypes.h
|
||||
..\..\gdk\gdk.h
|
||||
..\..\gdk\gdk-autocleanup.h
|
||||
..\..\gdk\gdkapplaunchcontext.h
|
||||
..\..\gdk\gdkcairo.h
|
||||
..\..\gdk\gdkcursor.h
|
||||
..\..\gdk\gdkdevice.h
|
||||
..\..\gdk\gdkdevicepad.h
|
||||
..\..\gdk\gdkdevicetool.h
|
||||
..\..\gdk\gdkdevicemanager.h
|
||||
..\..\gdk\gdkdisplay.h
|
||||
..\..\gdk\gdkdisplaymanager.h
|
||||
..\..\gdk\gdkdnd.h
|
||||
..\..\gdk\gdkdrawingcontext.h
|
||||
..\..\gdk\gdkevents.h
|
||||
..\..\gdk\gdkframetimings.h
|
||||
..\..\gdk\gdkglcontext.h
|
||||
..\..\gdk\gdkkeys.h
|
||||
..\..\gdk\gdkkeysyms.h
|
||||
..\..\gdk\gdkmain.h
|
||||
..\..\gdk\gdkmonitor.h
|
||||
..\..\gdk\gdkpango.h
|
||||
..\..\gdk\gdkframeclock.h
|
||||
..\..\gdk\gdkpixbuf.h
|
||||
..\..\gdk\gdkprivate.h
|
||||
..\..\gdk\gdkproperty.h
|
||||
..\..\gdk\gdkrectangle.h
|
||||
..\..\gdk\gdkrgba.h
|
||||
..\..\gdk\gdkscreen.h
|
||||
..\..\gdk\gdkseat.h
|
||||
..\..\gdk\gdkselection.h
|
||||
..\..\gdk\gdktestutils.h
|
||||
..\..\gdk\gdkthreads.h
|
||||
..\..\gdk\gdktypes.h
|
||||
..\..\gdk\gdkvisual.h
|
||||
..\..\gdk\gdkwindow.h
|
||||
..\..\gdk\deprecated\gdkcolor.h
|
||||
..\..\gdk\deprecated\gdkcolor.c
|
||||
..\..\gdk\gdk-private.c
|
||||
..\..\gdk\gdk.c
|
||||
..\..\gdk\gdkapplaunchcontext.c
|
||||
..\..\gdk\gdkcairo.c
|
||||
..\..\gdk\gdkcursor.c
|
||||
..\..\gdk\gdkdeprecated.c
|
||||
..\..\gdk\gdkdevice.c
|
||||
..\..\gdk\gdkdevicepad.c
|
||||
..\..\gdk\gdkdevicetool.c
|
||||
..\..\gdk\gdkdevicemanager.c
|
||||
..\..\gdk\gdkdisplay.c
|
||||
..\..\gdk\gdkdisplaymanager.c
|
||||
..\..\gdk\gdkdnd.c
|
||||
..\..\gdk\gdkdrawingcontext.c
|
||||
..\..\gdk\gdkevents.c
|
||||
..\..\gdk\gdkframetimings.c
|
||||
..\..\gdk\gdkgl.c
|
||||
..\..\gdk\gdkglcontext.c
|
||||
..\..\gdk\gdkglobals.c
|
||||
..\..\gdk\gdkkeys.c
|
||||
..\..\gdk\gdkkeyuni.c
|
||||
..\..\gdk\gdkmonitor.c
|
||||
..\..\gdk\gdkoffscreenwindow.c
|
||||
..\..\gdk\gdkframeclock.c
|
||||
..\..\gdk\gdkframeclockidle.c
|
||||
..\..\gdk\gdkpango.c
|
||||
..\..\gdk\gdkpixbuf-drawable.c
|
||||
..\..\gdk\gdkproperty.c
|
||||
..\..\gdk\gdkrectangle.c
|
||||
..\..\gdk\gdkrgba.c
|
||||
..\..\gdk\gdkscreen.c
|
||||
..\..\gdk\gdkseat.c
|
||||
..\..\gdk\gdkseatdefault.c
|
||||
..\..\gdk\gdkselection.c
|
||||
..\..\gdk\gdkvisual.c
|
||||
..\..\gdk\gdkwindow.c
|
||||
..\..\gdk\gdkwindowimpl.c
|
||||
..\..\gdk\gdkenumtypes.c
|
||||
..\..\gdk\gdkenumtypes.h
|
||||
..\..\gdk\gdk.h
|
||||
..\..\gdk\gdk-autocleanup.h
|
||||
..\..\gdk\gdkapplaunchcontext.h
|
||||
..\..\gdk\gdkcairo.h
|
||||
..\..\gdk\gdkcursor.h
|
||||
..\..\gdk\gdkdevice.h
|
||||
..\..\gdk\gdkdevicepad.h
|
||||
..\..\gdk\gdkdevicetool.h
|
||||
..\..\gdk\gdkdevicemanager.h
|
||||
..\..\gdk\gdkdisplay.h
|
||||
..\..\gdk\gdkdisplaymanager.h
|
||||
..\..\gdk\gdkdnd.h
|
||||
..\..\gdk\gdkdrawingcontext.h
|
||||
..\..\gdk\gdkevents.h
|
||||
..\..\gdk\gdkframetimings.h
|
||||
..\..\gdk\gdkglcontext.h
|
||||
..\..\gdk\gdkkeys.h
|
||||
..\..\gdk\gdkkeysyms.h
|
||||
..\..\gdk\gdkmain.h
|
||||
..\..\gdk\gdkmonitor.h
|
||||
..\..\gdk\gdkpango.h
|
||||
..\..\gdk\gdkframeclock.h
|
||||
..\..\gdk\gdkpixbuf.h
|
||||
..\..\gdk\gdkprivate.h
|
||||
..\..\gdk\gdkproperty.h
|
||||
..\..\gdk\gdkrectangle.h
|
||||
..\..\gdk\gdkrgba.h
|
||||
..\..\gdk\gdkscreen.h
|
||||
..\..\gdk\gdkseat.h
|
||||
..\..\gdk\gdkselection.h
|
||||
..\..\gdk\gdktestutils.h
|
||||
..\..\gdk\gdkthreads.h
|
||||
..\..\gdk\gdktypes.h
|
||||
..\..\gdk\gdkvisual.h
|
||||
..\..\gdk\gdkwindow.h
|
||||
..\..\gdk\deprecated\gdkcolor.h
|
||||
..\..\gdk\deprecated\gdkcolor.c
|
||||
..\..\gdk\gdk-private.c
|
||||
..\..\gdk\gdk.c
|
||||
..\..\gdk\gdkapplaunchcontext.c
|
||||
..\..\gdk\gdkcairo.c
|
||||
..\..\gdk\gdkcursor.c
|
||||
..\..\gdk\gdkdeprecated.c
|
||||
..\..\gdk\gdkdevice.c
|
||||
..\..\gdk\gdkdevicepad.c
|
||||
..\..\gdk\gdkdevicetool.c
|
||||
..\..\gdk\gdkdevicemanager.c
|
||||
..\..\gdk\gdkdisplay.c
|
||||
..\..\gdk\gdkdisplaymanager.c
|
||||
..\..\gdk\gdkdnd.c
|
||||
..\..\gdk\gdkdrawingcontext.c
|
||||
..\..\gdk\gdkevents.c
|
||||
..\..\gdk\gdkframetimings.c
|
||||
..\..\gdk\gdkgl.c
|
||||
..\..\gdk\gdkglcontext.c
|
||||
..\..\gdk\gdkglobals.c
|
||||
..\..\gdk\gdkkeys.c
|
||||
..\..\gdk\gdkkeyuni.c
|
||||
..\..\gdk\gdkmonitor.c
|
||||
..\..\gdk\gdkoffscreenwindow.c
|
||||
..\..\gdk\gdkframeclock.c
|
||||
..\..\gdk\gdkframeclockidle.c
|
||||
..\..\gdk\gdkpango.c
|
||||
..\..\gdk\gdkpixbuf-drawable.c
|
||||
..\..\gdk\gdkproperty.c
|
||||
..\..\gdk\gdkrectangle.c
|
||||
..\..\gdk\gdkrgba.c
|
||||
..\..\gdk\gdkscreen.c
|
||||
..\..\gdk\gdkseat.c
|
||||
..\..\gdk\gdkseatdefault.c
|
||||
..\..\gdk\gdkselection.c
|
||||
..\..\gdk\gdkvisual.c
|
||||
..\..\gdk\gdkwindow.c
|
||||
..\..\gdk\gdkwindowimpl.c
|
||||
..\..\gdk\gdkenumtypes.c
|
||||
..\..\gdk\gdkenumtypes.h
|
||||
..\..\gdk\gdk.h
|
||||
..\..\gdk\gdk-autocleanup.h
|
||||
..\..\gdk\gdkapplaunchcontext.h
|
||||
..\..\gdk\gdkcairo.h
|
||||
..\..\gdk\gdkcursor.h
|
||||
..\..\gdk\gdkdevice.h
|
||||
..\..\gdk\gdkdevicepad.h
|
||||
..\..\gdk\gdkdevicetool.h
|
||||
..\..\gdk\gdkdevicemanager.h
|
||||
..\..\gdk\gdkdisplay.h
|
||||
..\..\gdk\gdkdisplaymanager.h
|
||||
..\..\gdk\gdkdnd.h
|
||||
..\..\gdk\gdkdrawingcontext.h
|
||||
..\..\gdk\gdkevents.h
|
||||
..\..\gdk\gdkframetimings.h
|
||||
..\..\gdk\gdkglcontext.h
|
||||
..\..\gdk\gdkkeys.h
|
||||
..\..\gdk\gdkkeysyms.h
|
||||
..\..\gdk\gdkmain.h
|
||||
..\..\gdk\gdkmonitor.h
|
||||
..\..\gdk\gdkpango.h
|
||||
..\..\gdk\gdkframeclock.h
|
||||
..\..\gdk\gdkpixbuf.h
|
||||
..\..\gdk\gdkprivate.h
|
||||
..\..\gdk\gdkproperty.h
|
||||
..\..\gdk\gdkrectangle.h
|
||||
..\..\gdk\gdkrgba.h
|
||||
..\..\gdk\gdkscreen.h
|
||||
..\..\gdk\gdkseat.h
|
||||
..\..\gdk\gdkselection.h
|
||||
..\..\gdk\gdktestutils.h
|
||||
..\..\gdk\gdkthreads.h
|
||||
..\..\gdk\gdktypes.h
|
||||
..\..\gdk\gdkvisual.h
|
||||
..\..\gdk\gdkwindow.h
|
||||
..\..\gdk\deprecated\gdkcolor.h
|
||||
..\..\gdk\deprecated\gdkcolor.c
|
||||
..\..\gdk\gdk-private.c
|
||||
..\..\gdk\gdk.c
|
||||
..\..\gdk\gdkapplaunchcontext.c
|
||||
..\..\gdk\gdkcairo.c
|
||||
..\..\gdk\gdkcursor.c
|
||||
..\..\gdk\gdkdeprecated.c
|
||||
..\..\gdk\gdkdevice.c
|
||||
..\..\gdk\gdkdevicepad.c
|
||||
..\..\gdk\gdkdevicetool.c
|
||||
..\..\gdk\gdkdevicemanager.c
|
||||
..\..\gdk\gdkdisplay.c
|
||||
..\..\gdk\gdkdisplaymanager.c
|
||||
..\..\gdk\gdkdnd.c
|
||||
..\..\gdk\gdkdrawingcontext.c
|
||||
..\..\gdk\gdkevents.c
|
||||
..\..\gdk\gdkframetimings.c
|
||||
..\..\gdk\gdkgl.c
|
||||
..\..\gdk\gdkglcontext.c
|
||||
..\..\gdk\gdkglobals.c
|
||||
..\..\gdk\gdkkeys.c
|
||||
..\..\gdk\gdkkeyuni.c
|
||||
..\..\gdk\gdkmonitor.c
|
||||
..\..\gdk\gdkoffscreenwindow.c
|
||||
..\..\gdk\gdkframeclock.c
|
||||
..\..\gdk\gdkframeclockidle.c
|
||||
..\..\gdk\gdkpango.c
|
||||
..\..\gdk\gdkpixbuf-drawable.c
|
||||
..\..\gdk\gdkproperty.c
|
||||
..\..\gdk\gdkrectangle.c
|
||||
..\..\gdk\gdkrgba.c
|
||||
..\..\gdk\gdkscreen.c
|
||||
..\..\gdk\gdkseat.c
|
||||
..\..\gdk\gdkseatdefault.c
|
||||
..\..\gdk\gdkselection.c
|
||||
..\..\gdk\gdkvisual.c
|
||||
..\..\gdk\gdkwindow.c
|
||||
..\..\gdk\gdkwindowimpl.c
|
||||
..\..\gdk\gdkenumtypes.c
|
||||
..\..\gdk\gdkenumtypes.h
|
||||
..\..\gdk\gdk.h
|
||||
..\..\gdk\gdk-autocleanup.h
|
||||
..\..\gdk\gdkapplaunchcontext.h
|
||||
..\..\gdk\gdkcairo.h
|
||||
..\..\gdk\gdkcursor.h
|
||||
..\..\gdk\gdkdevice.h
|
||||
..\..\gdk\gdkdevicepad.h
|
||||
..\..\gdk\gdkdevicetool.h
|
||||
..\..\gdk\gdkdevicemanager.h
|
||||
..\..\gdk\gdkdisplay.h
|
||||
..\..\gdk\gdkdisplaymanager.h
|
||||
..\..\gdk\gdkdnd.h
|
||||
..\..\gdk\gdkdrawingcontext.h
|
||||
..\..\gdk\gdkevents.h
|
||||
..\..\gdk\gdkframetimings.h
|
||||
..\..\gdk\gdkglcontext.h
|
||||
..\..\gdk\gdkkeys.h
|
||||
..\..\gdk\gdkkeysyms.h
|
||||
..\..\gdk\gdkmain.h
|
||||
..\..\gdk\gdkmonitor.h
|
||||
..\..\gdk\gdkpango.h
|
||||
..\..\gdk\gdkframeclock.h
|
||||
..\..\gdk\gdkpixbuf.h
|
||||
..\..\gdk\gdkprivate.h
|
||||
..\..\gdk\gdkproperty.h
|
||||
..\..\gdk\gdkrectangle.h
|
||||
..\..\gdk\gdkrgba.h
|
||||
..\..\gdk\gdkscreen.h
|
||||
..\..\gdk\gdkseat.h
|
||||
..\..\gdk\gdkselection.h
|
||||
..\..\gdk\gdktestutils.h
|
||||
..\..\gdk\gdkthreads.h
|
||||
..\..\gdk\gdktypes.h
|
||||
..\..\gdk\gdkvisual.h
|
||||
..\..\gdk\gdkwindow.h
|
||||
..\..\gdk\deprecated\gdkcolor.h
|
||||
..\..\gdk\deprecated\gdkcolor.c
|
||||
..\..\gdk\gdk-private.c
|
||||
..\..\gdk\gdk.c
|
||||
..\..\gdk\gdkapplaunchcontext.c
|
||||
..\..\gdk\gdkcairo.c
|
||||
..\..\gdk\gdkcursor.c
|
||||
..\..\gdk\gdkdeprecated.c
|
||||
..\..\gdk\gdkdevice.c
|
||||
..\..\gdk\gdkdevicepad.c
|
||||
..\..\gdk\gdkdevicetool.c
|
||||
..\..\gdk\gdkdevicemanager.c
|
||||
..\..\gdk\gdkdisplay.c
|
||||
..\..\gdk\gdkdisplaymanager.c
|
||||
..\..\gdk\gdkdnd.c
|
||||
..\..\gdk\gdkdrawingcontext.c
|
||||
..\..\gdk\gdkevents.c
|
||||
..\..\gdk\gdkframetimings.c
|
||||
..\..\gdk\gdkgl.c
|
||||
..\..\gdk\gdkglcontext.c
|
||||
..\..\gdk\gdkglobals.c
|
||||
..\..\gdk\gdkkeys.c
|
||||
..\..\gdk\gdkkeyuni.c
|
||||
..\..\gdk\gdkmonitor.c
|
||||
..\..\gdk\gdkoffscreenwindow.c
|
||||
..\..\gdk\gdkframeclock.c
|
||||
..\..\gdk\gdkframeclockidle.c
|
||||
..\..\gdk\gdkpango.c
|
||||
..\..\gdk\gdkpixbuf-drawable.c
|
||||
..\..\gdk\gdkproperty.c
|
||||
..\..\gdk\gdkrectangle.c
|
||||
..\..\gdk\gdkrgba.c
|
||||
..\..\gdk\gdkscreen.c
|
||||
..\..\gdk\gdkseat.c
|
||||
..\..\gdk\gdkseatdefault.c
|
||||
..\..\gdk\gdkselection.c
|
||||
..\..\gdk\gdkvisual.c
|
||||
..\..\gdk\gdkwindow.c
|
||||
..\..\gdk\gdkwindowimpl.c
|
||||
..\..\gdk\gdkenumtypes.c
|
||||
..\..\gdk\gdkenumtypes.h
|
||||
..\..\gdk\gdk.h
|
||||
..\..\gdk\gdk-autocleanup.h
|
||||
..\..\gdk\gdkapplaunchcontext.h
|
||||
..\..\gdk\gdkcairo.h
|
||||
..\..\gdk\gdkcursor.h
|
||||
..\..\gdk\gdkdevice.h
|
||||
..\..\gdk\gdkdevicepad.h
|
||||
..\..\gdk\gdkdevicetool.h
|
||||
..\..\gdk\gdkdevicemanager.h
|
||||
..\..\gdk\gdkdisplay.h
|
||||
..\..\gdk\gdkdisplaymanager.h
|
||||
..\..\gdk\gdkdnd.h
|
||||
..\..\gdk\gdkdrawingcontext.h
|
||||
..\..\gdk\gdkevents.h
|
||||
..\..\gdk\gdkframetimings.h
|
||||
..\..\gdk\gdkglcontext.h
|
||||
..\..\gdk\gdkkeys.h
|
||||
..\..\gdk\gdkkeysyms.h
|
||||
..\..\gdk\gdkmain.h
|
||||
..\..\gdk\gdkmonitor.h
|
||||
..\..\gdk\gdkpango.h
|
||||
..\..\gdk\gdkframeclock.h
|
||||
..\..\gdk\gdkpixbuf.h
|
||||
..\..\gdk\gdkprivate.h
|
||||
..\..\gdk\gdkproperty.h
|
||||
..\..\gdk\gdkrectangle.h
|
||||
..\..\gdk\gdkrgba.h
|
||||
..\..\gdk\gdkscreen.h
|
||||
..\..\gdk\gdkseat.h
|
||||
..\..\gdk\gdkselection.h
|
||||
..\..\gdk\gdktestutils.h
|
||||
..\..\gdk\gdkthreads.h
|
||||
..\..\gdk\gdktypes.h
|
||||
..\..\gdk\gdkvisual.h
|
||||
..\..\gdk\gdkwindow.h
|
||||
..\..\gdk\deprecated\gdkcolor.h
|
||||
..\..\gdk\deprecated\gdkcolor.c
|
||||
..\..\gdk\gdk-private.c
|
||||
..\..\gdk\gdk.c
|
||||
..\..\gdk\gdkapplaunchcontext.c
|
||||
..\..\gdk\gdkcairo.c
|
||||
..\..\gdk\gdkcursor.c
|
||||
..\..\gdk\gdkdeprecated.c
|
||||
..\..\gdk\gdkdevice.c
|
||||
..\..\gdk\gdkdevicepad.c
|
||||
..\..\gdk\gdkdevicetool.c
|
||||
..\..\gdk\gdkdevicemanager.c
|
||||
..\..\gdk\gdkdisplay.c
|
||||
..\..\gdk\gdkdisplaymanager.c
|
||||
..\..\gdk\gdkdnd.c
|
||||
..\..\gdk\gdkdrawingcontext.c
|
||||
..\..\gdk\gdkevents.c
|
||||
..\..\gdk\gdkframetimings.c
|
||||
..\..\gdk\gdkgl.c
|
||||
..\..\gdk\gdkglcontext.c
|
||||
..\..\gdk\gdkglobals.c
|
||||
..\..\gdk\gdkkeys.c
|
||||
..\..\gdk\gdkkeyuni.c
|
||||
..\..\gdk\gdkmonitor.c
|
||||
..\..\gdk\gdkoffscreenwindow.c
|
||||
..\..\gdk\gdkframeclock.c
|
||||
..\..\gdk\gdkframeclockidle.c
|
||||
..\..\gdk\gdkpango.c
|
||||
..\..\gdk\gdkpixbuf-drawable.c
|
||||
..\..\gdk\gdkproperty.c
|
||||
..\..\gdk\gdkrectangle.c
|
||||
..\..\gdk\gdkrgba.c
|
||||
..\..\gdk\gdkscreen.c
|
||||
..\..\gdk\gdkseat.c
|
||||
..\..\gdk\gdkseatdefault.c
|
||||
..\..\gdk\gdkselection.c
|
||||
..\..\gdk\gdkvisual.c
|
||||
..\..\gdk\gdkwindow.c
|
||||
..\..\gdk\gdkwindowimpl.c
|
||||
..\..\gdk\gdkenumtypes.c
|
||||
..\..\gdk\gdkenumtypes.h
|
||||
..\..\gdk\gdkmarshalers.h
|
||||
..\..\gdk\gdkmarshalers.c
|
||||
..\..\gdk\gdkresources.h
|
||||
..\..\gdk\gdkresources.c
|
||||
..\..\gdk\gdkversionmacros.h
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -253,7 +253,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
@ -68,7 +68,7 @@ vs$(VSVER)\$(CFG)\$(PLAT)\bin\Gtk-3.0.gir: Gtk_3_0_gir_list
|
||||
--include=Atk-1.0 \
|
||||
--pkg-export=gtk+-3.0 \
|
||||
--cflags-begin \
|
||||
-DG_LOG_USE_STRUCTURED=1 -DGTK_VERSION="3.24.7" -DGTK_BINARY_VERSION="3.0.0" -DGTK_COMPILATION -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -DGTK_LIBDIR=\"/dummy/lib\" -DGTK_DATADIR=\"/dummy/share\" -DGTK_DATA_PREFIX=\"/dummy\" -DGTK_SYSCONFDIR=\"/dummy/etc\" -DGTK_HOST=\"$(AT_PLAT)-pc-vs$(VSVER)\" -DGTK_PRINT_BACKENDS=\"file\" -DINCLUDE_IM_am_et -DINCLUDE_IM_cedilla -DINCLUDE_IM_cyrillic_translit -DINCLUDE_IM_ime -DINCLUDE_IM_inuktitu -DINCLUDE_IM_ipa -DINCLUDE_IM_multipress -DINCLUDE_IM_thai -DINCLUDE_IM_ti_er -DINCLUDE_IM_ti_et -DINCLUDE_IM_viqr -DGTK_TEXT_USE_INTERNAL_UNSUPPORTED_API -I../.. -I../../gtk -I../../gdk \
|
||||
-DG_LOG_USE_STRUCTURED=1 -DGTK_VERSION="3.24.8" -DGTK_BINARY_VERSION="3.0.0" -DGTK_COMPILATION -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -DGTK_LIBDIR=\"/dummy/lib\" -DGTK_DATADIR=\"/dummy/share\" -DGTK_DATA_PREFIX=\"/dummy\" -DGTK_SYSCONFDIR=\"/dummy/etc\" -DGTK_HOST=\"$(AT_PLAT)-pc-vs$(VSVER)\" -DGTK_PRINT_BACKENDS=\"file\" -DINCLUDE_IM_am_et -DINCLUDE_IM_cedilla -DINCLUDE_IM_cyrillic_translit -DINCLUDE_IM_ime -DINCLUDE_IM_inuktitu -DINCLUDE_IM_ipa -DINCLUDE_IM_multipress -DINCLUDE_IM_thai -DINCLUDE_IM_ti_er -DINCLUDE_IM_ti_et -DINCLUDE_IM_viqr -DGTK_TEXT_USE_INTERNAL_UNSUPPORTED_API -I../.. -I../../gtk -I../../gdk \
|
||||
--cflags-end \
|
||||
--warn-all --include-uninstalled=./vs$(VSVER)/$(CFG)/$(PLAT)/bin/Gdk-3.0.gir \
|
||||
--filelist=Gtk_3_0_gir_list \
|
||||
|
@ -195,7 +195,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
@ -136,6 +136,7 @@
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkscreen-win32.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkselection-win32.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdktestutils-win32.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32langnotification.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32id.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwindow-win32.c" />
|
||||
</ItemGroup>
|
||||
|
@ -34,6 +34,7 @@
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkscreen-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkselection-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdktestutils-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32langnotification.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32id.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwindow-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
</ItemGroup>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<GlibEtcInstallRoot>$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRoot>
|
||||
<CopyDir>..\..\..\..\vs$(VSVer)\$(Platform)</CopyDir>
|
||||
<ApiVersion>3.0</ApiVersion>
|
||||
<GtkVersion>3.24.7</GtkVersion>
|
||||
<GtkVersion>3.24.8</GtkVersion>
|
||||
<GtkLibtoolCompatibleDllPrefix>lib</GtkLibtoolCompatibleDllPrefix>
|
||||
<GtkLibtoolCompatibleDllSuffix>.0-0</GtkLibtoolCompatibleDllSuffix>
|
||||
<GtkSeparateVSDllPrefix />
|
||||
|
@ -209,7 +209,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
@ -136,6 +136,7 @@
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkscreen-win32.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkselection-win32.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdktestutils-win32.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32langnotification.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32id.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwindow-win32.c" />
|
||||
</ItemGroup>
|
||||
|
@ -34,6 +34,7 @@
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkscreen-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkselection-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdktestutils-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32langnotification.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32id.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwindow-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
</ItemGroup>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<GlibEtcInstallRoot>$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRoot>
|
||||
<CopyDir>..\..\..\..\vs$(VSVer)\$(Platform)</CopyDir>
|
||||
<ApiVersion>3.0</ApiVersion>
|
||||
<GtkVersion>3.24.7</GtkVersion>
|
||||
<GtkVersion>3.24.8</GtkVersion>
|
||||
<GtkLibtoolCompatibleDllPrefix>lib</GtkLibtoolCompatibleDllPrefix>
|
||||
<GtkLibtoolCompatibleDllSuffix>.0-0</GtkLibtoolCompatibleDllSuffix>
|
||||
<GtkSeparateVSDllPrefix />
|
||||
|
@ -209,7 +209,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
@ -136,6 +136,7 @@
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkscreen-win32.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkselection-win32.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdktestutils-win32.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32langnotification.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32id.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwindow-win32.c" />
|
||||
</ItemGroup>
|
||||
|
@ -34,6 +34,7 @@
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkscreen-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkselection-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdktestutils-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32langnotification.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32id.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwindow-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
</ItemGroup>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<GlibEtcInstallRoot>$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRoot>
|
||||
<CopyDir>..\..\..\..\vs$(VSVer)\$(Platform)</CopyDir>
|
||||
<ApiVersion>3.0</ApiVersion>
|
||||
<GtkVersion>3.24.7</GtkVersion>
|
||||
<GtkVersion>3.24.8</GtkVersion>
|
||||
<GtkLibtoolCompatibleDllPrefix>lib</GtkLibtoolCompatibleDllPrefix>
|
||||
<GtkLibtoolCompatibleDllSuffix>.0-0</GtkLibtoolCompatibleDllSuffix>
|
||||
<GtkSeparateVSDllPrefix />
|
||||
|
@ -209,7 +209,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
@ -136,6 +136,7 @@
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkscreen-win32.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkselection-win32.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdktestutils-win32.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32langnotification.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32id.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwindow-win32.c" />
|
||||
</ItemGroup>
|
||||
|
@ -34,6 +34,7 @@
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkscreen-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkselection-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdktestutils-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32langnotification.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32id.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwindow-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
</ItemGroup>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<GlibEtcInstallRoot>$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRoot>
|
||||
<CopyDir>..\..\..\..\vs$(VSVer)\$(Platform)</CopyDir>
|
||||
<ApiVersion>3.0</ApiVersion>
|
||||
<GtkVersion>3.24.7</GtkVersion>
|
||||
<GtkVersion>3.24.8</GtkVersion>
|
||||
<GtkLibtoolCompatibleDllPrefix>lib</GtkLibtoolCompatibleDllPrefix>
|
||||
<GtkLibtoolCompatibleDllSuffix>.0-0</GtkLibtoolCompatibleDllSuffix>
|
||||
<GtkSeparateVSDllPrefix />
|
||||
|
@ -209,7 +209,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
@ -136,6 +136,7 @@
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkscreen-win32.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkselection-win32.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdktestutils-win32.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32langnotification.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32id.c" />
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwindow-win32.c" />
|
||||
</ItemGroup>
|
||||
|
@ -34,6 +34,7 @@
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkscreen-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkselection-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdktestutils-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32langnotification.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwin32id.c"><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\..\gdk\win32\gdkwindow-win32.c"><Filter>Source Files</Filter></ClCompile>
|
||||
</ItemGroup>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<GlibEtcInstallRoot>$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRoot>
|
||||
<CopyDir>..\..\..\..\vs$(VSVer)\$(Platform)</CopyDir>
|
||||
<ApiVersion>3.0</ApiVersion>
|
||||
<GtkVersion>3.24.7</GtkVersion>
|
||||
<GtkVersion>3.24.8</GtkVersion>
|
||||
<GtkLibtoolCompatibleDllPrefix>lib</GtkLibtoolCompatibleDllPrefix>
|
||||
<GtkLibtoolCompatibleDllSuffix>.0-0</GtkLibtoolCompatibleDllSuffix>
|
||||
<GtkSeparateVSDllPrefix />
|
||||
|
@ -195,7 +195,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
@ -143,6 +143,7 @@
|
||||
<File RelativePath="..\..\..\gdk\win32\gdkscreen-win32.c" />
|
||||
<File RelativePath="..\..\..\gdk\win32\gdkselection-win32.c" />
|
||||
<File RelativePath="..\..\..\gdk\win32\gdktestutils-win32.c" />
|
||||
<File RelativePath="..\..\..\gdk\win32\gdkwin32langnotification.c" />
|
||||
<File RelativePath="..\..\..\gdk\win32\gdkwin32id.c" />
|
||||
<File RelativePath="..\..\..\gdk\win32\gdkwindow-win32.c" />
|
||||
</Filter>
|
||||
|
@ -22,7 +22,7 @@
|
||||
/>
|
||||
<UserMacro
|
||||
Name="GtkVersion"
|
||||
Value="3.24.7"
|
||||
Value="3.24.8"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="GtkLibtoolCompatibleDllPrefix"
|
||||
|
@ -72,9 +72,6 @@
|
||||
/* Define if gio-unix is available */
|
||||
#undef HAVE_GIO_UNIX
|
||||
|
||||
/* Have GNU ftw */
|
||||
#undef HAVE_GNU_FTW
|
||||
|
||||
/* defines whether we have HarfBuzz */
|
||||
#undef HAVE_HARFBUZZ
|
||||
|
||||
@ -153,9 +150,6 @@
|
||||
/* Define to 1 if you have the `sincos' function. */
|
||||
#undef HAVE_SINCOS
|
||||
|
||||
/* Have the sockaddr_un.sun_len member */
|
||||
#undef HAVE_SOCKADDR_UN_SUN_LEN
|
||||
|
||||
/* Define to 1 if solaris xinerama is available */
|
||||
#undef HAVE_SOLARIS_XINERAMA
|
||||
|
||||
|
@ -77,9 +77,6 @@
|
||||
/* Define if gio-unix is available */
|
||||
/* #undef HAVE_GIO_UNIX */
|
||||
|
||||
/* Have GNU ftw */
|
||||
/* #undef HAVE_GNU_FTW */
|
||||
|
||||
/* Define to 1 if you have the `httpGetAuthString' function. */
|
||||
/* #undef HAVE_HTTPGETAUTHSTRING */
|
||||
|
||||
@ -157,9 +154,6 @@
|
||||
/* Define to 1 if sincos() is available */
|
||||
/* #undef HAVE_SINCOS */
|
||||
|
||||
/* Have the sockaddr_un.sun_len member */
|
||||
/* #undef HAVE_SOCKADDR_UN_SUN_LEN */
|
||||
|
||||
/* Define to 1 if solaris xinerama is available */
|
||||
/* #undef HAVE_SOLARIS_XINERAMA */
|
||||
|
||||
@ -287,7 +281,7 @@
|
||||
#define PACKAGE_NAME "gtk+"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "gtk+ 3.24.7"
|
||||
#define PACKAGE_STRING "gtk+ 3.24.8"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "gtk+"
|
||||
@ -296,7 +290,7 @@
|
||||
#define PACKAGE_URL ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "3.24.7"
|
||||
#define PACKAGE_VERSION "3.24.8"
|
||||
|
||||
/* Use NSBundle functions to determine load paths for libraries, translations,
|
||||
etc. */
|
||||
|
@ -77,9 +77,6 @@
|
||||
/* Define if gio-unix is available */
|
||||
/* #undef HAVE_GIO_UNIX */
|
||||
|
||||
/* Have GNU ftw */
|
||||
/* #undef HAVE_GNU_FTW */
|
||||
|
||||
/* Define to 1 if you have the `httpGetAuthString' function. */
|
||||
/* #undef HAVE_HTTPGETAUTHSTRING */
|
||||
|
||||
@ -157,9 +154,6 @@
|
||||
/* Define to 1 if sincos() is available */
|
||||
/* #undef HAVE_SINCOS */
|
||||
|
||||
/* Have the sockaddr_un.sun_len member */
|
||||
/* #undef HAVE_SOCKADDR_UN_SUN_LEN */
|
||||
|
||||
/* Define to 1 if solaris xinerama is available */
|
||||
/* #undef HAVE_SOLARIS_XINERAMA */
|
||||
|
||||
|
507
configure
vendored
507
configure
vendored
@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.69 for gtk+ 3.24.7.
|
||||
# Generated by GNU Autoconf 2.69 for gtk+ 3.24.8.
|
||||
#
|
||||
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B>.
|
||||
#
|
||||
@ -591,8 +591,8 @@ MAKEFLAGS=
|
||||
# Identity of this package.
|
||||
PACKAGE_NAME='gtk+'
|
||||
PACKAGE_TARNAME='gtk+'
|
||||
PACKAGE_VERSION='3.24.7'
|
||||
PACKAGE_STRING='gtk+ 3.24.7'
|
||||
PACKAGE_VERSION='3.24.8'
|
||||
PACKAGE_STRING='gtk+ 3.24.8'
|
||||
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B'
|
||||
PACKAGE_URL=''
|
||||
|
||||
@ -711,7 +711,6 @@ CUPS_API_MAJOR
|
||||
CUPS_CONFIG
|
||||
HAVE_CUPS_FALSE
|
||||
HAVE_CUPS_TRUE
|
||||
GAIL_INET_LIBS
|
||||
GDK_PIXBUF_LIBS
|
||||
GTK_XIM_FLAGS
|
||||
GTK_DEBUG_FLAGS
|
||||
@ -1106,12 +1105,6 @@ CAIRO_CFLAGS
|
||||
CAIRO_LIBS
|
||||
GMODULE_CFLAGS
|
||||
GMODULE_LIBS
|
||||
GLIB_CFLAGS
|
||||
GLIB_LIBS
|
||||
GLIB_GENMARSHAL
|
||||
GOBJECT_QUERY
|
||||
GLIB_MKENUMS
|
||||
GLIB_COMPILE_RESOURCES
|
||||
PKG_CONFIG_FOR_BUILD
|
||||
XMKMF
|
||||
GDK_DEP_CFLAGS
|
||||
@ -1126,7 +1119,6 @@ REST_CFLAGS
|
||||
REST_LIBS
|
||||
JSON_GLIB_CFLAGS
|
||||
JSON_GLIB_LIBS
|
||||
GLIB_COMPILE_SCHEMAS
|
||||
COLORD_CFLAGS
|
||||
COLORD_LIBS
|
||||
GTKDOC_DEPS_CFLAGS
|
||||
@ -1672,7 +1664,7 @@ if test "$ac_init_help" = "long"; then
|
||||
# Omit some internal or obsolete options to make the list less imposing.
|
||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||
cat <<_ACEOF
|
||||
\`configure' configures gtk+ 3.24.7 to adapt to many kinds of systems.
|
||||
\`configure' configures gtk+ 3.24.8 to adapt to many kinds of systems.
|
||||
|
||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||
|
||||
@ -1746,7 +1738,7 @@ fi
|
||||
|
||||
if test -n "$ac_init_help"; then
|
||||
case $ac_init_help in
|
||||
short | recursive ) echo "Configuration of gtk+ 3.24.7:";;
|
||||
short | recursive ) echo "Configuration of gtk+ 3.24.8:";;
|
||||
esac
|
||||
cat <<\_ACEOF
|
||||
|
||||
@ -1878,17 +1870,6 @@ Some influential environment variables:
|
||||
C compiler flags for GMODULE, overriding pkg-config
|
||||
GMODULE_LIBS
|
||||
linker flags for GMODULE, overriding pkg-config
|
||||
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
|
||||
GLIB_LIBS linker flags for GLIB, overriding pkg-config
|
||||
GLIB_GENMARSHAL
|
||||
value of glib_genmarshal for glib-2.0, overriding pkg-config
|
||||
GOBJECT_QUERY
|
||||
value of gobject_query for glib-2.0, overriding pkg-config
|
||||
GLIB_MKENUMS
|
||||
value of glib_mkenums for glib-2.0, overriding pkg-config
|
||||
GLIB_COMPILE_RESOURCES
|
||||
value of glib_compile_resources for gio-2.0, overriding
|
||||
pkg-config
|
||||
PKG_CONFIG_FOR_BUILD
|
||||
path to build system's pkg-config utility
|
||||
XMKMF Path to xmkmf, Makefile generator for X Window System
|
||||
@ -1913,8 +1894,6 @@ Some influential environment variables:
|
||||
C compiler flags for JSON_GLIB, overriding pkg-config
|
||||
JSON_GLIB_LIBS
|
||||
linker flags for JSON_GLIB, overriding pkg-config
|
||||
GLIB_COMPILE_SCHEMAS
|
||||
value of glib_compile_schemas for gio-2.0, overriding pkg-config
|
||||
COLORD_CFLAGS
|
||||
C compiler flags for COLORD, overriding pkg-config
|
||||
COLORD_LIBS linker flags for COLORD, overriding pkg-config
|
||||
@ -1990,7 +1969,7 @@ fi
|
||||
test -n "$ac_init_help" && exit $ac_status
|
||||
if $ac_init_version; then
|
||||
cat <<\_ACEOF
|
||||
gtk+ configure 3.24.7
|
||||
gtk+ configure 3.24.8
|
||||
generated by GNU Autoconf 2.69
|
||||
|
||||
Copyright (C) 2012 Free Software Foundation, Inc.
|
||||
@ -2820,7 +2799,7 @@ cat >config.log <<_ACEOF
|
||||
This file contains any messages produced by compilers while
|
||||
running configure, to aid debugging if configure makes a mistake.
|
||||
|
||||
It was created by gtk+ $as_me 3.24.7, which was
|
||||
It was created by gtk+ $as_me 3.24.8, which was
|
||||
generated by GNU Autoconf 2.69. Invocation command line was
|
||||
|
||||
$ $0 $@
|
||||
@ -3814,7 +3793,7 @@ fi
|
||||
|
||||
# Define the identity of the package.
|
||||
PACKAGE='gtk+'
|
||||
VERSION='3.24.7'
|
||||
VERSION='3.24.8'
|
||||
|
||||
|
||||
# Some tools Automake needs.
|
||||
@ -4094,10 +4073,10 @@ AM_BACKSLASH='\'
|
||||
|
||||
GTK_MAJOR_VERSION=3
|
||||
GTK_MINOR_VERSION=24
|
||||
GTK_MICRO_VERSION=7
|
||||
GTK_INTERFACE_AGE=3
|
||||
GTK_BINARY_AGE=2407
|
||||
GTK_VERSION=3.24.7
|
||||
GTK_MICRO_VERSION=8
|
||||
GTK_INTERFACE_AGE=4
|
||||
GTK_BINARY_AGE=2408
|
||||
GTK_VERSION=3.24.8
|
||||
GTK_API_VERSION=3.0
|
||||
GTK_BINARY_VERSION=3.0.0
|
||||
|
||||
@ -4119,7 +4098,7 @@ GTK_BINARY_VERSION=3.0.0
|
||||
|
||||
|
||||
|
||||
LT_VERSION_INFO="2404:3:2404"
|
||||
LT_VERSION_INFO="2404:4:2404"
|
||||
LT_CURRENT_MINUS_AGE=0
|
||||
|
||||
|
||||
@ -21050,7 +21029,7 @@ Usage: $0 [OPTIONS]
|
||||
Report bugs to <bug-libtool@gnu.org>."
|
||||
|
||||
lt_cl_version="\
|
||||
gtk+ config.lt 3.24.7
|
||||
gtk+ config.lt 3.24.8
|
||||
configured by $0, generated by GNU Autoconf 2.69.
|
||||
|
||||
Copyright (C) 2011 Free Software Foundation, Inc.
|
||||
@ -24425,9 +24404,6 @@ esac
|
||||
# Run AM_PATH_GLIB_2_0 to make sure that GLib is installed and working
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
# Check whether --enable-glibtest was given.
|
||||
if test "${enable_glibtest+set}" = set; then :
|
||||
enableval=$enable_glibtest;
|
||||
@ -24436,8 +24412,7 @@ else
|
||||
fi
|
||||
|
||||
|
||||
min_glib_version=2.53.4
|
||||
pkg_config_args="glib-2.0 >= $min_glib_version"
|
||||
pkg_config_args=glib-2.0
|
||||
for module in . gobject gmodule-no-export
|
||||
do
|
||||
case "$module" in
|
||||
@ -24587,171 +24562,7 @@ fi
|
||||
PKG_CONFIG=no
|
||||
fi
|
||||
|
||||
|
||||
pkg_failed=no
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
|
||||
$as_echo_n "checking for GLIB... " >&6; }
|
||||
|
||||
if test -n "$GLIB_CFLAGS"; then
|
||||
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
|
||||
elif test -n "$PKG_CONFIG"; then
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
|
||||
($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$pkg_config_args" 2>/dev/null`
|
||||
test "x$?" != "x0" && pkg_failed=yes
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
else
|
||||
pkg_failed=untried
|
||||
fi
|
||||
if test -n "$GLIB_LIBS"; then
|
||||
pkg_cv_GLIB_LIBS="$GLIB_LIBS"
|
||||
elif test -n "$PKG_CONFIG"; then
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
|
||||
($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$pkg_config_args" 2>/dev/null`
|
||||
test "x$?" != "x0" && pkg_failed=yes
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
else
|
||||
pkg_failed=untried
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if test $pkg_failed = yes; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
|
||||
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
||||
_pkg_short_errors_supported=yes
|
||||
else
|
||||
_pkg_short_errors_supported=no
|
||||
fi
|
||||
if test $_pkg_short_errors_supported = yes; then
|
||||
GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$pkg_config_args" 2>&1`
|
||||
else
|
||||
GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$pkg_config_args" 2>&1`
|
||||
fi
|
||||
# Put the nasty error message in config.log where it belongs
|
||||
echo "$GLIB_PKG_ERRORS" >&5
|
||||
|
||||
:
|
||||
elif test $pkg_failed = untried; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
:
|
||||
else
|
||||
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
|
||||
GLIB_LIBS=$pkg_cv_GLIB_LIBS
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
:
|
||||
fi
|
||||
|
||||
|
||||
if test -n "$GLIB_GENMARSHAL"; then
|
||||
pkg_cv_GLIB_GENMARSHAL="$GLIB_GENMARSHAL"
|
||||
elif test -n "$PKG_CONFIG"; then
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
|
||||
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
pkg_cv_GLIB_GENMARSHAL=`$PKG_CONFIG --variable="glib_genmarshal" "glib-2.0" 2>/dev/null`
|
||||
test "x$?" != "x0" && pkg_failed=yes
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
else
|
||||
pkg_failed=untried
|
||||
fi
|
||||
GLIB_GENMARSHAL=$pkg_cv_GLIB_GENMARSHAL
|
||||
|
||||
if test "x$GLIB_GENMARSHAL" = x""; then :
|
||||
|
||||
fi
|
||||
|
||||
if test -n "$GOBJECT_QUERY"; then
|
||||
pkg_cv_GOBJECT_QUERY="$GOBJECT_QUERY"
|
||||
elif test -n "$PKG_CONFIG"; then
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
|
||||
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
pkg_cv_GOBJECT_QUERY=`$PKG_CONFIG --variable="gobject_query" "glib-2.0" 2>/dev/null`
|
||||
test "x$?" != "x0" && pkg_failed=yes
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
else
|
||||
pkg_failed=untried
|
||||
fi
|
||||
GOBJECT_QUERY=$pkg_cv_GOBJECT_QUERY
|
||||
|
||||
if test "x$GOBJECT_QUERY" = x""; then :
|
||||
|
||||
fi
|
||||
|
||||
if test -n "$GLIB_MKENUMS"; then
|
||||
pkg_cv_GLIB_MKENUMS="$GLIB_MKENUMS"
|
||||
elif test -n "$PKG_CONFIG"; then
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
|
||||
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
pkg_cv_GLIB_MKENUMS=`$PKG_CONFIG --variable="glib_mkenums" "glib-2.0" 2>/dev/null`
|
||||
test "x$?" != "x0" && pkg_failed=yes
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
else
|
||||
pkg_failed=untried
|
||||
fi
|
||||
GLIB_MKENUMS=$pkg_cv_GLIB_MKENUMS
|
||||
|
||||
if test "x$GLIB_MKENUMS" = x""; then :
|
||||
|
||||
fi
|
||||
|
||||
if test -n "$GLIB_COMPILE_RESOURCES"; then
|
||||
pkg_cv_GLIB_COMPILE_RESOURCES="$GLIB_COMPILE_RESOURCES"
|
||||
elif test -n "$PKG_CONFIG"; then
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
|
||||
($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
pkg_cv_GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable="glib_compile_resources" "gio-2.0" 2>/dev/null`
|
||||
test "x$?" != "x0" && pkg_failed=yes
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
else
|
||||
pkg_failed=untried
|
||||
fi
|
||||
GLIB_COMPILE_RESOURCES=$pkg_cv_GLIB_COMPILE_RESOURCES
|
||||
|
||||
if test "x$GLIB_COMPILE_RESOURCES" = x""; then :
|
||||
|
||||
fi
|
||||
|
||||
min_glib_version=2.53.4
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
|
||||
$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
|
||||
|
||||
@ -24770,6 +24581,13 @@ $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
|
||||
fi
|
||||
|
||||
if test x"$no_glib" = x ; then
|
||||
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
|
||||
GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
|
||||
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
|
||||
GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
|
||||
|
||||
GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
|
||||
GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
|
||||
glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
|
||||
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
|
||||
glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
|
||||
@ -24933,6 +24751,12 @@ rm -f core conftest.err conftest.$ac_objext \
|
||||
*** GLIB 2.53.4 or better is required. The latest version of
|
||||
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/." "$LINENO" 5
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
rm -f conf.glibtest
|
||||
|
||||
|
||||
@ -25113,38 +24937,6 @@ fi
|
||||
done
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ftw extensions" >&5
|
||||
$as_echo_n "checking for GNU ftw extensions... " >&6; }
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
#define _XOPEN_SOURCE 500
|
||||
#define _GNU_SOURCE
|
||||
#include <ftw.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
int flags = FTW_ACTIONRETVAL;
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_compile "$LINENO"; then :
|
||||
gtk_ok=yes
|
||||
else
|
||||
gtk_ok=no
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
if test $gtk_ok = yes; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
|
||||
$as_echo "#define HAVE_GNU_FTW 1" >>confdefs.h
|
||||
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
#
|
||||
# Disable deprecation checks for all libraries we depend on on stable branches.
|
||||
# This is so newer versions of those libraries don't cause more warnings with
|
||||
@ -27249,7 +27041,7 @@ $as_echo "yes" >&6; }
|
||||
fi
|
||||
|
||||
GTK_PACKAGES="atk >= 2.15.1 cairo >= 1.14.0 cairo-gobject >= 1.14.0 gdk-pixbuf-2.0 >= 2.30.0 gio-2.0 >= 2.53.4"
|
||||
GTK_PRIVATE_PACKAGES="$ATK_PACKAGES $WAYLAND_PACKAGES $MIR_PACKAGES epoxy >= 1.4 fribidi >= fribidi_required_dep"
|
||||
GTK_PRIVATE_PACKAGES="$ATK_PACKAGES $WAYLAND_PACKAGES $MIR_PACKAGES epoxy >= 1.4 fribidi >= 0.19.7"
|
||||
if test "x$enable_x11_backend" = xyes -o "x$enable_wayland_backend" = xyes; then
|
||||
GTK_PRIVATE_PACKAGES="$GTK_PRIVATE_PACKAGES pangoft2"
|
||||
fi
|
||||
@ -27535,207 +27327,6 @@ ISO_CODES_PREFIX="`$PKG_CONFIG --variable=prefix iso-codes`"
|
||||
GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs gdk-pixbuf-2.0`
|
||||
|
||||
|
||||
########################
|
||||
# Checks needed for gail
|
||||
########################
|
||||
|
||||
old_LIBS="$LIBS"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
|
||||
$as_echo_n "checking for library containing gethostent... " >&6; }
|
||||
if ${ac_cv_search_gethostent+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_func_search_save_LIBS=$LIBS
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
/* Override any GCC internal prototype to avoid an error.
|
||||
Use char because int might match the return type of a GCC
|
||||
builtin and then its argument prototype would still apply. */
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
char gethostent ();
|
||||
int
|
||||
main ()
|
||||
{
|
||||
return gethostent ();
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
for ac_lib in '' nsl; do
|
||||
if test -z "$ac_lib"; then
|
||||
ac_res="none required"
|
||||
else
|
||||
ac_res=-l$ac_lib
|
||||
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
||||
fi
|
||||
if ac_fn_c_try_link "$LINENO"; then :
|
||||
ac_cv_search_gethostent=$ac_res
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext
|
||||
if ${ac_cv_search_gethostent+:} false; then :
|
||||
break
|
||||
fi
|
||||
done
|
||||
if ${ac_cv_search_gethostent+:} false; then :
|
||||
|
||||
else
|
||||
ac_cv_search_gethostent=no
|
||||
fi
|
||||
rm conftest.$ac_ext
|
||||
LIBS=$ac_func_search_save_LIBS
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
|
||||
$as_echo "$ac_cv_search_gethostent" >&6; }
|
||||
ac_res=$ac_cv_search_gethostent
|
||||
if test "$ac_res" != no; then :
|
||||
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
||||
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
|
||||
$as_echo_n "checking for library containing setsockopt... " >&6; }
|
||||
if ${ac_cv_search_setsockopt+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_func_search_save_LIBS=$LIBS
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
/* Override any GCC internal prototype to avoid an error.
|
||||
Use char because int might match the return type of a GCC
|
||||
builtin and then its argument prototype would still apply. */
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
char setsockopt ();
|
||||
int
|
||||
main ()
|
||||
{
|
||||
return setsockopt ();
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
for ac_lib in '' socket; do
|
||||
if test -z "$ac_lib"; then
|
||||
ac_res="none required"
|
||||
else
|
||||
ac_res=-l$ac_lib
|
||||
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
||||
fi
|
||||
if ac_fn_c_try_link "$LINENO"; then :
|
||||
ac_cv_search_setsockopt=$ac_res
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext
|
||||
if ${ac_cv_search_setsockopt+:} false; then :
|
||||
break
|
||||
fi
|
||||
done
|
||||
if ${ac_cv_search_setsockopt+:} false; then :
|
||||
|
||||
else
|
||||
ac_cv_search_setsockopt=no
|
||||
fi
|
||||
rm conftest.$ac_ext
|
||||
LIBS=$ac_func_search_save_LIBS
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
|
||||
$as_echo "$ac_cv_search_setsockopt" >&6; }
|
||||
ac_res=$ac_cv_search_setsockopt
|
||||
if test "$ac_res" != no; then :
|
||||
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
||||
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
|
||||
$as_echo_n "checking for library containing connect... " >&6; }
|
||||
if ${ac_cv_search_connect+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_func_search_save_LIBS=$LIBS
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
/* Override any GCC internal prototype to avoid an error.
|
||||
Use char because int might match the return type of a GCC
|
||||
builtin and then its argument prototype would still apply. */
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
char connect ();
|
||||
int
|
||||
main ()
|
||||
{
|
||||
return connect ();
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
for ac_lib in '' inet; do
|
||||
if test -z "$ac_lib"; then
|
||||
ac_res="none required"
|
||||
else
|
||||
ac_res=-l$ac_lib
|
||||
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
||||
fi
|
||||
if ac_fn_c_try_link "$LINENO"; then :
|
||||
ac_cv_search_connect=$ac_res
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext
|
||||
if ${ac_cv_search_connect+:} false; then :
|
||||
break
|
||||
fi
|
||||
done
|
||||
if ${ac_cv_search_connect+:} false; then :
|
||||
|
||||
else
|
||||
ac_cv_search_connect=no
|
||||
fi
|
||||
rm conftest.$ac_ext
|
||||
LIBS=$ac_func_search_save_LIBS
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
|
||||
$as_echo "$ac_cv_search_connect" >&6; }
|
||||
ac_res=$ac_cv_search_connect
|
||||
if test "$ac_res" != no; then :
|
||||
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
|
||||
#include <sys/un.h>
|
||||
|
||||
"
|
||||
if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
|
||||
struct_sockaddr_un_sun_len=true
|
||||
else
|
||||
struct_sockaddr_un_suin_len=false
|
||||
fi
|
||||
|
||||
case $struct_sockaddr_un_sun_len in
|
||||
true)
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_SOCKADDR_UN_SUN_LEN 1
|
||||
_ACEOF
|
||||
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
GAIL_INET_LIBS="$LIBS"
|
||||
|
||||
|
||||
LIBS="$old_LIBS"
|
||||
|
||||
################################################################
|
||||
# Printing system checks
|
||||
################################################################
|
||||
@ -28347,8 +27938,6 @@ fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Check whether --enable-schemas-compile was given.
|
||||
if test "${enable_schemas_compile+set}" = set; then :
|
||||
enableval=$enable_schemas_compile; case ${enableval} in
|
||||
@ -28481,32 +28070,10 @@ $as_echo "no" >&6; }
|
||||
fi
|
||||
gsettingsschemadir=${datadir}/glib-2.0/schemas
|
||||
|
||||
if test x$cross_compiling != xyes; then :
|
||||
|
||||
if test -n "$GLIB_COMPILE_SCHEMAS"; then
|
||||
pkg_cv_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS"
|
||||
elif test -n "$PKG_CONFIG"; then
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
|
||||
($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
pkg_cv_GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable="glib_compile_schemas" "gio-2.0" 2>/dev/null`
|
||||
test "x$?" != "x0" && pkg_failed=yes
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
else
|
||||
pkg_failed=untried
|
||||
fi
|
||||
GLIB_COMPILE_SCHEMAS=$pkg_cv_GLIB_COMPILE_SCHEMAS
|
||||
|
||||
if test "x$GLIB_COMPILE_SCHEMAS" = x""; then :
|
||||
|
||||
fi
|
||||
else
|
||||
# Extract the first word of "glib-compile-schemas", so it can be a program name with args.
|
||||
if test x$cross_compiling != xyes; then
|
||||
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
|
||||
else
|
||||
# Extract the first word of "glib-compile-schemas", so it can be a program name with args.
|
||||
set dummy glib-compile-schemas; ac_word=$2
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
@ -28546,7 +28113,7 @@ $as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
|
||||
as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
|
||||
@ -30405,7 +29972,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
||||
# report actual input values of CONFIG_FILES etc. instead of their
|
||||
# values after options handling.
|
||||
ac_log="
|
||||
This file was extended by gtk+ $as_me 3.24.7, which was
|
||||
This file was extended by gtk+ $as_me 3.24.8, which was
|
||||
generated by GNU Autoconf 2.69. Invocation command line was
|
||||
|
||||
CONFIG_FILES = $CONFIG_FILES
|
||||
@ -30471,7 +30038,7 @@ _ACEOF
|
||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
||||
ac_cs_version="\\
|
||||
gtk+ config.status 3.24.7
|
||||
gtk+ config.status 3.24.8
|
||||
configured by $0, generated by GNU Autoconf 2.69,
|
||||
with options \\"\$ac_cs_config\\"
|
||||
|
||||
|
50
configure.ac
50
configure.ac
@ -10,8 +10,8 @@
|
||||
|
||||
m4_define([gtk_major_version], [3])
|
||||
m4_define([gtk_minor_version], [24])
|
||||
m4_define([gtk_micro_version], [7])
|
||||
m4_define([gtk_interface_age], [3])
|
||||
m4_define([gtk_micro_version], [8])
|
||||
m4_define([gtk_interface_age], [4])
|
||||
m4_define([gtk_binary_age],
|
||||
[m4_eval(100 * gtk_minor_version + gtk_micro_version)])
|
||||
m4_define([gtk_version],
|
||||
@ -841,19 +841,6 @@ AC_CHECK_HEADERS(ftw.h,
|
||||
AC_DEFINE(HAVE_FTW_H, 1,
|
||||
[Define to 1 if ftw.h is available]))
|
||||
|
||||
AC_MSG_CHECKING([for GNU ftw extensions])
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#define _XOPEN_SOURCE 500
|
||||
#define _GNU_SOURCE
|
||||
#include <ftw.h>]],
|
||||
[[int flags = FTW_ACTIONRETVAL;]])],
|
||||
[gtk_ok=yes],[gtk_ok=no])
|
||||
if test $gtk_ok = yes; then
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_DEFINE(HAVE_GNU_FTW, 1, [Have GNU ftw])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
|
||||
#
|
||||
# Disable deprecation checks for all libraries we depend on on stable branches.
|
||||
# This is so newer versions of those libraries don't cause more warnings with
|
||||
@ -1411,7 +1398,7 @@ fi
|
||||
PKG_CHECK_MODULES(ATK, $ATK_PACKAGES)
|
||||
|
||||
GTK_PACKAGES="atk >= atk_required_version cairo >= cairo_required_version cairo-gobject >= cairo_required_version gdk-pixbuf-2.0 >= gdk_pixbuf_required_version gio-2.0 >= glib_required_version"
|
||||
GTK_PRIVATE_PACKAGES="$ATK_PACKAGES $WAYLAND_PACKAGES $MIR_PACKAGES epoxy >= epoxy_required_version fribidi >= fribidi_required_dep"
|
||||
GTK_PRIVATE_PACKAGES="$ATK_PACKAGES $WAYLAND_PACKAGES $MIR_PACKAGES epoxy >= epoxy_required_version fribidi >= fribidi_required_version"
|
||||
if test "x$enable_x11_backend" = xyes -o "x$enable_wayland_backend" = xyes; then
|
||||
GTK_PRIVATE_PACKAGES="$GTK_PRIVATE_PACKAGES pangoft2"
|
||||
fi
|
||||
@ -1516,37 +1503,6 @@ AC_SUBST(GTK_XIM_FLAGS)
|
||||
GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs gdk-pixbuf-2.0`
|
||||
AC_SUBST(GDK_PIXBUF_LIBS)
|
||||
|
||||
########################
|
||||
# Checks needed for gail
|
||||
########################
|
||||
|
||||
old_LIBS="$LIBS"
|
||||
dnl Checks for inet libraries:
|
||||
AC_SEARCH_LIBS(gethostent, nsl)
|
||||
AC_SEARCH_LIBS(setsockopt, socket)
|
||||
AC_SEARCH_LIBS(connect, inet)
|
||||
|
||||
dnl check for the sockaddr_un.sun_len member
|
||||
AC_CHECK_MEMBER([struct sockaddr_un.sun_len],
|
||||
[struct_sockaddr_un_sun_len=true],
|
||||
[struct_sockaddr_un_suin_len=false],
|
||||
[#include <sys/types.h>
|
||||
#include <sys/un.h>]
|
||||
)
|
||||
case $struct_sockaddr_un_sun_len in
|
||||
true)
|
||||
AC_DEFINE_UNQUOTED(HAVE_SOCKADDR_UN_SUN_LEN, 1,
|
||||
[Have the sockaddr_un.sun_len member])
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
GAIL_INET_LIBS="$LIBS"
|
||||
AC_SUBST([GAIL_INET_LIBS])
|
||||
|
||||
LIBS="$old_LIBS"
|
||||
|
||||
################################################################
|
||||
# Printing system checks
|
||||
################################################################
|
||||
|
@ -253,7 +253,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
@ -417,7 +417,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
@ -311,7 +311,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
@ -289,7 +289,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
@ -253,7 +253,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
@ -253,7 +253,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
@ -216,7 +216,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
|
@ -44,21 +44,21 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevice.html#gdk-device-get-name" title="gdk_device_get_name ()">gdk_device_get_name</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevice.html#gdk-device-get-vendor-id" title="gdk_device_get_vendor_id ()">gdk_device_get_vendor_id</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevice.html#gdk-device-get-product-id" title="gdk_device_get_product_id ()">gdk_device_get_product_id</a> <span class="c_punctuation">()</span>
|
||||
@ -74,7 +74,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevice.html#gdk-device-set-mode" title="gdk_device_set_mode ()">gdk_device_set_mode</a> <span class="c_punctuation">()</span>
|
||||
@ -98,7 +98,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevice.html#gdk-device-get-key" title="gdk_device_get_key ()">gdk_device_get_key</a> <span class="c_punctuation">()</span>
|
||||
@ -130,7 +130,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<span class="returnvalue">GList</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevice.html#gdk-device-list-slave-devices" title="gdk_device_list_slave_devices ()">gdk_device_list_slave_devices</a> <span class="c_punctuation">()</span>
|
||||
@ -154,7 +154,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevice.html#gdk-device-get-has-cursor" title="gdk_device_get_has_cursor ()">gdk_device_get_has_cursor</a> <span class="c_punctuation">()</span>
|
||||
@ -162,7 +162,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevice.html#gdk-device-get-n-axes" title="gdk_device_get_n_axes ()">gdk_device_get_n_axes</a> <span class="c_punctuation">()</span>
|
||||
@ -170,7 +170,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevice.html#gdk-device-get-n-keys" title="gdk_device_get_n_keys ()">gdk_device_get_n_keys</a> <span class="c_punctuation">()</span>
|
||||
@ -258,7 +258,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevice.html#gdk-device-get-history" title="gdk_device_get_history ()">gdk_device_get_history</a> <span class="c_punctuation">()</span>
|
||||
@ -274,7 +274,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevice.html#gdk-device-get-axis" title="gdk_device_get_axis ()">gdk_device_get_axis</a> <span class="c_punctuation">()</span>
|
||||
@ -282,7 +282,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<span class="returnvalue">GList</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevice.html#gdk-device-list-axes" title="gdk_device_list_axes ()">gdk_device_list_axes</a> <span class="c_punctuation">()</span>
|
||||
@ -290,7 +290,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevice.html#gdk-device-get-axis-value" title="gdk_device_get_axis_value ()">gdk_device_get_axis_value</a> <span class="c_punctuation">()</span>
|
||||
@ -306,7 +306,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
|
||||
<span class="returnvalue">guint64</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevice.html#gdk-device-tool-get-serial" title="gdk_device_tool_get_serial ()">gdk_device_tool_get_serial</a> <span class="c_punctuation">()</span>
|
||||
@ -356,7 +356,7 @@
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GdkDevice.html#GdkDevice--has-cursor" title="The “has-cursor” property">has-cursor</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
@ -371,24 +371,24 @@
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
||||
<td class="property_type"><span class="type">guint</span></td>
|
||||
<td class="property_name"><a class="link" href="GdkDevice.html#GdkDevice--n-axes" title="The “n-axes” property">n-axes</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GdkDevice.html#GdkDevice--name" title="The “name” property">name</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
||||
<td class="property_type"><span class="type">guint</span></td>
|
||||
<td class="property_name"><a class="link" href="GdkDevice.html#GdkDevice--num-touches" title="The “num-touches” property">num-touches</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GdkDevice.html#GdkDevice--product-id" title="The “product-id” property">product-id</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
@ -411,7 +411,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GdkDevice.html#GdkDevice--vendor-id" title="The “vendor-id” property">vendor-id</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
@ -430,12 +430,12 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkDevice.html#GdkDevice-changed" title="The “changed” signal">changed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkDevice.html#GdkDevice-tool-changed" title="The “tool-changed” signal">tool-changed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -489,7 +489,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GdkDevice.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GdkDevice
|
||||
</pre>
|
||||
</div>
|
||||
@ -516,7 +516,7 @@ relationships.</p>
|
||||
<a name="GdkDevice.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-get-name"></a><h3>gdk_device_get_name ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gdk_device_get_name (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>);</pre>
|
||||
<p>Determines the name of the device.</p>
|
||||
<div class="refsect3">
|
||||
@ -543,9 +543,9 @@ gdk_device_get_name (<em class="parameter"><code><a class="link" href="GdkDevice
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-get-vendor-id"></a><h3>gdk_device_get_vendor_id ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gdk_device_get_vendor_id (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>);</pre>
|
||||
<p>Returns the vendor ID of this device, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if this information couldn't
|
||||
<p>Returns the vendor ID of this device, or <code class="literal">NULL</code> if this information couldn't
|
||||
be obtained. This ID is retrieved from the device, and is thus constant for
|
||||
it.</p>
|
||||
<p>This function, together with <a class="link" href="GdkDevice.html#gdk-device-get-product-id" title="gdk_device_get_product_id ()"><code class="function">gdk_device_get_product_id()</code></a>, can be used to eg.
|
||||
@ -582,9 +582,9 @@ compose <span class="type">GSettings</span> paths to store settings for this dev
|
||||
<span class="normal"> vendor </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GdkDevice.html#gdk-device-get-vendor-id">gdk_device_get_vendor_id</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">device</span><span class="symbol">);</span>
|
||||
<span class="normal"> product </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GdkDevice.html#gdk-device-get-product-id">gdk_device_get_product_id</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">device</span><span class="symbol">);</span>
|
||||
|
||||
<span class="normal"> path </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#g-strdup-printf">g_strdup_printf</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"/org/example/app/devices/%s:%s/"</span><span class="symbol">,</span><span class="normal"> vendor</span><span class="symbol">,</span><span class="normal"> product</span><span class="symbol">);</span>
|
||||
<span class="normal"> path </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_strdup_printf</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"/org/example/app/devices/%s:%s/"</span><span class="symbol">,</span><span class="normal"> vendor</span><span class="symbol">,</span><span class="normal"> product</span><span class="symbol">);</span>
|
||||
<span class="normal"> settings </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_settings_new_with_path</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">DEVICE_SCHEMA</span><span class="symbol">,</span><span class="normal"> path</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">path</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">path</span><span class="symbol">);</span>
|
||||
|
||||
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> settings</span><span class="symbol">;</span>
|
||||
<span class="cbracket">}</span></pre></td>
|
||||
@ -611,7 +611,7 @@ compose <span class="type">GSettings</span> paths to store settings for this dev
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-get-vendor-id.returns"></a><h4>Returns</h4>
|
||||
<p>the vendor ID, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>the vendor ID, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
@ -619,9 +619,9 @@ compose <span class="type">GSettings</span> paths to store settings for this dev
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-get-product-id"></a><h3>gdk_device_get_product_id ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gdk_device_get_product_id (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>);</pre>
|
||||
<p>Returns the product ID of this device, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if this information couldn't
|
||||
<p>Returns the product ID of this device, or <code class="literal">NULL</code> if this information couldn't
|
||||
be obtained. This ID is retrieved from the device, and is thus constant for
|
||||
it. See <a class="link" href="GdkDevice.html#gdk-device-get-vendor-id" title="gdk_device_get_vendor_id ()"><code class="function">gdk_device_get_vendor_id()</code></a> for more information.</p>
|
||||
<div class="refsect3">
|
||||
@ -641,7 +641,7 @@ it. See <a class="link" href="GdkDevice.html#gdk-device-get-vendor-id" title="gd
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-get-product-id.returns"></a><h4>Returns</h4>
|
||||
<p>the product ID, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>the product ID, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
@ -676,7 +676,7 @@ gdk_device_get_source (<em class="parameter"><code><a class="link" href="GdkDevi
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-set-mode"></a><h3>gdk_device_set_mode ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_device_set_mode (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkDevice.html#GdkInputMode" title="enum GdkInputMode"><span class="type">GdkInputMode</span></a> mode</code></em>);</pre>
|
||||
<p>Sets a the mode of an input device. The mode controls if the
|
||||
@ -709,7 +709,7 @@ by the input mode.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-set-mode.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the mode was successfully changed.</p>
|
||||
<p> <code class="literal">TRUE</code> if the mode was successfully changed.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -744,8 +744,8 @@ gdk_device_get_mode (<em class="parameter"><code><a class="link" href="GdkDevice
|
||||
<a name="gdk-device-set-key"></a><h3>gdk_device_set_key ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_device_set_key (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index_</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> index_</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> keyval</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>);</pre>
|
||||
<p>Specifies the X key event to generate when a macro button of a device
|
||||
is pressed.</p>
|
||||
@ -785,13 +785,13 @@ is pressed.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-get-key"></a><h3>gdk_device_get_key ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_device_get_key (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index_</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *keyval</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> index_</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> *keyval</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a> *modifiers</code></em>);</pre>
|
||||
<p>If <em class="parameter"><code>index_</code></em>
|
||||
has a valid keyval, this function will return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
||||
has a valid keyval, this function will return <code class="literal">TRUE</code>
|
||||
and fill in <em class="parameter"><code>keyval</code></em>
|
||||
and <em class="parameter"><code>modifiers</code></em>
|
||||
with the keyval settings.</p>
|
||||
@ -829,7 +829,7 @@ and fill in <em class="parameter"><code>keyval</code></em>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-get-key.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if keyval is set for <em class="parameter"><code>index</code></em>
|
||||
<p> <code class="literal">TRUE</code> if keyval is set for <em class="parameter"><code>index</code></em>
|
||||
.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.20</p>
|
||||
@ -839,7 +839,7 @@ and fill in <em class="parameter"><code>keyval</code></em>
|
||||
<a name="gdk-device-set-axis-use"></a><h3>gdk_device_set_axis_use ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_device_set_axis_use (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index_</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> index_</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkDevice.html#GdkAxisUse" title="enum GdkAxisUse"><span class="type">GdkAxisUse</span></a> use</code></em>);</pre>
|
||||
<p>Specifies how an axis of a device is used.</p>
|
||||
<div class="refsect3">
|
||||
@ -875,7 +875,7 @@ gdk_device_set_axis_use (<em class="parameter"><code><a class="link" href="GdkDe
|
||||
<a name="gdk-device-get-axis-use"></a><h3>gdk_device_get_axis_use ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GdkDevice.html#GdkAxisUse" title="enum GdkAxisUse"><span class="returnvalue">GdkAxisUse</span></a>
|
||||
gdk_device_get_axis_use (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
||||
<p>Returns the axis use for <em class="parameter"><code>index_</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
@ -921,7 +921,7 @@ keyboard.</p>
|
||||
the master device to which <em class="parameter"><code>device</code></em>
|
||||
is attached to.</p>
|
||||
<p>If <em class="parameter"><code>device</code></em>
|
||||
is of type <a class="link" href="GdkDevice.html#GDK-DEVICE-TYPE-FLOATING:CAPS"><code class="literal">GDK_DEVICE_TYPE_FLOATING</code></a>, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be
|
||||
is of type <a class="link" href="GdkDevice.html#GDK-DEVICE-TYPE-FLOATING:CAPS"><code class="literal">GDK_DEVICE_TYPE_FLOATING</code></a>, <code class="literal">NULL</code> will be
|
||||
returned, as there is no associated device.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-get-associated-device.parameters"></a><h4>Parameters</h4>
|
||||
@ -941,7 +941,7 @@ returned, as there is no associated device.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-get-associated-device.returns"></a><h4>Returns</h4>
|
||||
<p>The associated device, or
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -949,11 +949,11 @@ returned, as there is no associated device.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-list-slave-devices"></a><h3>gdk_device_list_slave_devices ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
||||
gdk_device_list_slave_devices (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>);</pre>
|
||||
<p>If the device if of type <a class="link" href="GdkDevice.html#GDK-DEVICE-TYPE-MASTER:CAPS"><code class="literal">GDK_DEVICE_TYPE_MASTER</code></a>, it will return
|
||||
the list of slave devices attached to it, otherwise it will return
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
|
||||
<code class="literal">NULL</code></p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-list-slave-devices.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -971,8 +971,8 @@ the list of slave devices attached to it, otherwise it will return
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-list-slave-devices.returns"></a><h4>Returns</h4>
|
||||
<p>the list of slave devices, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The list must 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>, the contents of the list are
|
||||
<p>the list of slave devices, or <code class="literal">NULL</code>. The list must be
|
||||
freed with <code class="function">g_list_free()</code>, the contents of the list are
|
||||
owned by GTK+ and should not be freed. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GdkDevice]</span></p>
|
||||
</div>
|
||||
@ -1039,7 +1039,7 @@ by GTK+, and must not be freed or unreffed. </p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-get-has-cursor"></a><h3>gdk_device_get_has_cursor ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_device_get_has_cursor (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>);</pre>
|
||||
<p>Determines whether the pointer follows device motion.
|
||||
This is not meaningful for keyboard devices, which don't have a pointer.</p>
|
||||
@ -1060,14 +1060,14 @@ This is not meaningful for keyboard devices, which don't have a pointer.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-get-has-cursor.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the pointer follows device motion</p>
|
||||
<p> <code class="literal">TRUE</code> if the pointer follows device motion</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.20</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-get-n-axes"></a><h3>gdk_device_get_n_axes ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_device_get_n_axes (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>);</pre>
|
||||
<p>Returns the number of axes the device currently has.</p>
|
||||
<div class="refsect3">
|
||||
@ -1094,7 +1094,7 @@ gdk_device_get_n_axes (<em class="parameter"><code><a class="link" href="GdkDevi
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-get-n-keys"></a><h3>gdk_device_get_n_keys ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_device_get_n_keys (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>);</pre>
|
||||
<p>Returns the number of keys the device currently has.</p>
|
||||
<div class="refsect3">
|
||||
@ -1147,8 +1147,8 @@ gdk_device_get_axes (<em class="parameter"><code><a class="link" href="GdkDevice
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_device_warp (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
||||
<p>Warps <em class="parameter"><code>device</code></em>
|
||||
in <em class="parameter"><code>display</code></em>
|
||||
to the point <em class="parameter"><code>x</code></em>
|
||||
@ -1163,7 +1163,7 @@ instantaneously to the destination.</p>
|
||||
<p>Note that the pointer should normally be under the
|
||||
control of the user. This function was added to cover
|
||||
some rare use cases like keyboard navigation support
|
||||
for the color picker in the <a href="https://developer.gnome.org/gtk3/GtkColorSelectionDialog.html#GtkColorSelectionDialog-struct"><span class="type">GtkColorSelectionDialog</span></a>.</p>
|
||||
for the color picker in the <span class="type">GtkColorSelectionDialog</span>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-warp.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1235,10 +1235,10 @@ must not be freed. </p>
|
||||
gdk_device_grab (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkDevice.html#GdkGrabOwnership" title="enum GdkGrabOwnership"><span class="type">GdkGrabOwnership</span></a> grab_ownership</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> owner_events</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> owner_events</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Events.html#GdkEventMask" title="enum GdkEventMask"><span class="type">GdkEventMask</span></a> event_mask</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Cursors.html#GdkCursor"><span class="type">GdkCursor</span></a> *cursor</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_device_grab</code> has been deprecated since version 3.20. and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkSeat.html#gdk-seat-grab" title="gdk_seat_grab ()"><code class="function">gdk_seat_grab()</code></a> instead.</p>
|
||||
@ -1259,7 +1259,7 @@ pointer grab until the button is released. X does this automatically since
|
||||
most applications expect to receive button press and release events in pairs.
|
||||
It is equivalent to a pointer grab on the window with <em class="parameter"><code>owner_events</code></em>
|
||||
set to
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
||||
<code class="literal">TRUE</code>.</p>
|
||||
<p>If you set up anything at the time you take the grab that needs to be
|
||||
cleaned up when the grab ends, you should handle the <a class="link" href="gdk3-Event-Structures.html#GdkEventGrabBroken" title="struct GdkEventGrabBroken"><span class="type">GdkEventGrabBroken</span></a>
|
||||
events that are emitted when the grab ends unvoluntarily.</p>
|
||||
@ -1274,7 +1274,7 @@ events that are emitted when the grab ends unvoluntarily.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>device</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a>. To get the device you can use <a href="https://developer.gnome.org/gtk4/gtk4-General.html#gtk-get-current-event-device"><code class="function">gtk_get_current_event_device()</code></a>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a>. To get the device you can use <code class="function">gtk_get_current_event_device()</code>
|
||||
or <a class="link" href="gdk3-Events.html#gdk-event-get-device" title="gdk_event_get_device ()"><code class="function">gdk_event_get_device()</code></a> if the grab is in reaction to an event. Also, you can use
|
||||
<a class="link" href="GdkDeviceManager.html#gdk-device-manager-get-client-pointer" title="gdk_device_manager_get_client_pointer ()"><code class="function">gdk_device_manager_get_client_pointer()</code></a> but only in code that isn’t triggered by a
|
||||
<a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> and there aren’t other means to get a meaningful <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> to operate on.</p></td>
|
||||
@ -1292,11 +1292,11 @@ or <a class="link" href="gdk3-Events.html#gdk-event-get-device" title="gdk_event
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>owner_events</p></td>
|
||||
<td class="parameter_description"><p>if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> then all device events are reported with respect to
|
||||
<td class="parameter_description"><p>if <code class="literal">FALSE</code> then all device events are reported with respect to
|
||||
<em class="parameter"><code>window</code></em>
|
||||
and are only reported if selected by <em class="parameter"><code>event_mask</code></em>
|
||||
. If
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> then pointer events for this application are reported
|
||||
<code class="literal">TRUE</code> then pointer events for this application are reported
|
||||
as normal, but pointer events outside this application are
|
||||
reported with respect to <em class="parameter"><code>window</code></em>
|
||||
and only if selected by
|
||||
@ -1314,7 +1314,7 @@ and only if selected by
|
||||
<tr>
|
||||
<td class="parameter_name"><p>cursor</p></td>
|
||||
<td class="parameter_description"><p>the cursor to display while the grab is active if the device is
|
||||
a pointer. If this is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the normal cursors are used for
|
||||
a pointer. If this is <code class="literal">NULL</code> then the normal cursors are used for
|
||||
<em class="parameter"><code>window</code></em>
|
||||
and its descendants, and the cursor for <em class="parameter"><code>window</code></em>
|
||||
is used
|
||||
@ -1342,7 +1342,7 @@ can be used if the time isn’t known.</p></td>
|
||||
<a name="gdk-device-ungrab"></a><h3>gdk_device_ungrab ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_device_ungrab (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_device_ungrab</code> has been deprecated since version 3.20. and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkSeat.html#gdk-seat-ungrab" title="gdk_seat_ungrab ()"><code class="function">gdk_seat_ungrab()</code></a> instead.</p>
|
||||
@ -1379,7 +1379,7 @@ gdk_device_ungrab (<em class="parameter"><code><a class="link" href="GdkDevice.h
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_device_get_state (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *axes</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *axes</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a> *mask</code></em>);</pre>
|
||||
<p>Gets the current state of a pointer device relative to <em class="parameter"><code>window</code></em>
|
||||
. As a slave
|
||||
@ -1410,12 +1410,12 @@ unless there is an ongoing grab on them. See <a class="link" href="GdkDevice.htm
|
||||
<td class="parameter_name"><p>axes</p></td>
|
||||
<td class="parameter_description"><p>an array of doubles to store the values of
|
||||
the axes of <em class="parameter"><code>device</code></em>
|
||||
in, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
in, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>mask</p></td>
|
||||
<td class="parameter_description"><p>location to store the modifiers, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to store the modifiers, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1428,8 +1428,8 @@ in, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.h
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_device_get_position (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> **screen</code></em>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *y</code></em>);</pre>
|
||||
<p>Gets the current location of <em class="parameter"><code>device</code></em>
|
||||
. As a slave device
|
||||
coordinates are those of its master pointer, This function
|
||||
@ -1453,19 +1453,19 @@ unless there is an ongoing grab on them, see <a class="link" href="GdkDevice.htm
|
||||
<td class="parameter_name"><p>screen</p></td>
|
||||
<td class="parameter_description"><p>location to store the <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>
|
||||
the <em class="parameter"><code>device</code></em>
|
||||
is on, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
is on, or <code class="literal">NULL</code>. </p></td>
|
||||
<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="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>x</p></td>
|
||||
<td class="parameter_description"><p>location to store root window X coordinate of <em class="parameter"><code>device</code></em>
|
||||
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>y</p></td>
|
||||
<td class="parameter_description"><p>location to store root window Y coordinate of <em class="parameter"><code>device</code></em>
|
||||
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1479,8 +1479,8 @@ is on, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macro
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_device_get_position_double (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> **screen</code></em>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *y</code></em>);</pre>
|
||||
<p>Gets the current location of <em class="parameter"><code>device</code></em>
|
||||
in double precision. As a slave device's
|
||||
coordinates are those of its master pointer, this function
|
||||
@ -1504,19 +1504,19 @@ unless there is an ongoing grab on them. See <a class="link" href="GdkDevice.htm
|
||||
<td class="parameter_name"><p>screen</p></td>
|
||||
<td class="parameter_description"><p>location to store the <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>
|
||||
the <em class="parameter"><code>device</code></em>
|
||||
is on, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
is on, or <code class="literal">NULL</code>. </p></td>
|
||||
<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="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>x</p></td>
|
||||
<td class="parameter_description"><p>location to store root window X coordinate of <em class="parameter"><code>device</code></em>
|
||||
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>y</p></td>
|
||||
<td class="parameter_description"><p>location to store root window Y coordinate of <em class="parameter"><code>device</code></em>
|
||||
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1529,13 +1529,13 @@ is on, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macro
|
||||
<a name="gdk-device-get-window-at-position"></a><h3>gdk_device_get_window_at_position ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> *
|
||||
gdk_device_get_window_at_position (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gint</span> *win_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *win_y</code></em>);</pre>
|
||||
<p>Obtains the window underneath <em class="parameter"><code>device</code></em>
|
||||
, returning the location of the device in <em class="parameter"><code>win_x</code></em>
|
||||
and <em class="parameter"><code>win_y</code></em>
|
||||
. Returns
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the window tree under <em class="parameter"><code>device</code></em>
|
||||
<code class="literal">NULL</code> if the window tree under <em class="parameter"><code>device</code></em>
|
||||
is not known to GDK (for example, belongs to another application).</p>
|
||||
<p>As a slave device coordinates are those of its master pointer, This
|
||||
function may not be called on devices of type <a class="link" href="GdkDevice.html#GDK-DEVICE-TYPE-SLAVE:CAPS"><code class="literal">GDK_DEVICE_TYPE_SLAVE</code></a>,
|
||||
@ -1557,13 +1557,13 @@ unless there is an ongoing grab on them, see <a class="link" href="GdkDevice.htm
|
||||
<tr>
|
||||
<td class="parameter_name"><p>win_x</p></td>
|
||||
<td class="parameter_description"><p>return location for the X coordinate of the device location,
|
||||
relative to the window origin, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
relative to the window origin, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>win_y</p></td>
|
||||
<td class="parameter_description"><p>return location for the Y coordinate of the device location,
|
||||
relative to the window origin, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
relative to the window origin, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1572,7 +1572,7 @@ relative to the window origin, or <a href="https://developer.gnome.org/glib/unst
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-get-window-at-position.returns"></a><h4>Returns</h4>
|
||||
<p>the <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> under the
|
||||
device position, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
device position, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -1583,13 +1583,13 @@ device position, or <a href="https://developer.gnome.org/glib/unstable/glib-Stan
|
||||
<pre class="programlisting"><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> *
|
||||
gdk_device_get_window_at_position_double
|
||||
(<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *win_x</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *win_y</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *win_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *win_y</code></em>);</pre>
|
||||
<p>Obtains the window underneath <em class="parameter"><code>device</code></em>
|
||||
, returning the location of the device in <em class="parameter"><code>win_x</code></em>
|
||||
and <em class="parameter"><code>win_y</code></em>
|
||||
in
|
||||
double precision. Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the window tree under <em class="parameter"><code>device</code></em>
|
||||
double precision. Returns <code class="literal">NULL</code> if the window tree under <em class="parameter"><code>device</code></em>
|
||||
is not known to GDK (for example,
|
||||
belongs to another application).</p>
|
||||
<p>As a slave device coordinates are those of its master pointer, This
|
||||
@ -1612,13 +1612,13 @@ unless there is an ongoing grab on them, see <a class="link" href="GdkDevice.htm
|
||||
<tr>
|
||||
<td class="parameter_name"><p>win_x</p></td>
|
||||
<td class="parameter_description"><p>return location for the X coordinate of the device location,
|
||||
relative to the window origin, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
relative to the window origin, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>win_y</p></td>
|
||||
<td class="parameter_description"><p>return location for the Y coordinate of the device location,
|
||||
relative to the window origin, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
relative to the window origin, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1627,7 +1627,7 @@ relative to the window origin, or <a href="https://developer.gnome.org/glib/unst
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-get-window-at-position-double.returns"></a><h4>Returns</h4>
|
||||
<p>the <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> under the
|
||||
device position, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
device position, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -1635,17 +1635,17 @@ device position, or <a href="https://developer.gnome.org/glib/unstable/glib-Stan
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-get-history"></a><h3>gdk_device_get_history ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_device_get_history (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> start</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> stop</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint32</span> start</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint32</span> stop</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkDevice.html#GdkTimeCoord" title="struct GdkTimeCoord"><span class="type">GdkTimeCoord</span></a> ***events</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_events</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> *n_events</code></em>);</pre>
|
||||
<p>Obtains the motion history for a pointer device; given a starting and
|
||||
ending timestamp, return all events in the motion history for
|
||||
the device in the given range of time. Some windowing systems
|
||||
do not support motion history, in which case, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will
|
||||
do not support motion history, in which case, <code class="literal">FALSE</code> will
|
||||
be returned. (This is not distinguishable from the case where
|
||||
motion history is supported and no events were found.)</p>
|
||||
<p>Note that there is also <a class="link" href="gdk3-Windows.html#gdk-window-set-event-compression" title="gdk_window_set_event_compression ()"><code class="function">gdk_window_set_event_compression()</code></a> to get
|
||||
@ -1684,14 +1684,14 @@ system.</p>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>events</p></td>
|
||||
<td class="parameter_description"><p>location to store a newly-allocated array of <a class="link" href="GdkDevice.html#GdkTimeCoord" title="struct GdkTimeCoord"><span class="type">GdkTimeCoord</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>
|
||||
<code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_events][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>n_events</p></td>
|
||||
<td class="parameter_description"><p>location to store the length of
|
||||
<em class="parameter"><code>events</code></em>
|
||||
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
, or <code class="literal">NULL</code>. </p></td>
|
||||
<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 may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1699,7 +1699,7 @@ system.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-get-history.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the windowing system supports motion history and
|
||||
<p> <code class="literal">TRUE</code> if the windowing system supports motion history and
|
||||
at least one event was found.</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -1708,7 +1708,7 @@ at least one event was found.</p>
|
||||
<a name="gdk-device-free-history"></a><h3>gdk_device_free_history ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_device_free_history (<em class="parameter"><code><a class="link" href="GdkDevice.html#GdkTimeCoord" title="struct GdkTimeCoord"><span class="type">GdkTimeCoord</span></a> **events</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_events</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> n_events</code></em>);</pre>
|
||||
<p>Frees an array of <a class="link" href="GdkDevice.html#GdkTimeCoord" title="struct GdkTimeCoord"><span class="type">GdkTimeCoord</span></a> that was returned by <a class="link" href="GdkDevice.html#gdk-device-get-history" title="gdk_device_get_history ()"><code class="function">gdk_device_get_history()</code></a>.</p>
|
||||
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
||||
<div class="refsect3">
|
||||
@ -1737,11 +1737,11 @@ gdk_device_free_history (<em class="parameter"><code><a class="link" href="GdkDe
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-get-axis"></a><h3>gdk_device_get_axis ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_device_get_axis (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *axes</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *axes</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkDevice.html#GdkAxisUse" title="enum GdkAxisUse"><span class="type">GdkAxisUse</span></a> use</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *value</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre>
|
||||
<p>Interprets an array of double as axis values for a given device,
|
||||
and locates the value in the array for a given axis use.</p>
|
||||
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
||||
@ -1779,15 +1779,15 @@ and locates the value in the array for a given axis use.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-get-axis.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the given axis use was found, otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
|
||||
<p> <code class="literal">TRUE</code> if the given axis use was found, otherwise <code class="literal">FALSE</code></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-list-axes"></a><h3>gdk_device_list_axes ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
||||
gdk_device_list_axes (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>);</pre>
|
||||
<p>Returns a <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a href="gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtoms</span></a>, containing the labels for
|
||||
<p>Returns a <span class="type">GList</span> of <a href="gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtoms</span></a>, containing the labels for
|
||||
the axes that <em class="parameter"><code>device</code></em>
|
||||
currently has.</p>
|
||||
<div class="refsect3">
|
||||
@ -1807,7 +1807,7 @@ the axes that <em class="parameter"><code>device</code></em>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-list-axes.returns"></a><h4>Returns</h4>
|
||||
<p>A <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a href="gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtoms</span></a>, 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>
|
||||
<p>A <span class="type">GList</span> of <a href="gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtoms</span></a>, free with <code class="function">g_list_free()</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GdkAtom]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -1815,11 +1815,11 @@ the axes that <em class="parameter"><code>device</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-get-axis-value"></a><h3>gdk_device_get_axis_value ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_device_get_axis_value (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *axes</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *axes</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> axis_label</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *value</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre>
|
||||
<p>Interprets an array of double as axis values for a given device,
|
||||
and locates the value in the array for a given axis label, as returned
|
||||
by <a class="link" href="GdkDevice.html#gdk-device-list-axes" title="gdk_device_list_axes ()"><code class="function">gdk_device_list_axes()</code></a></p>
|
||||
@ -1858,7 +1858,7 @@ by <a class="link" href="GdkDevice.html#gdk-device-list-axes" title="gdk_device_
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-get-axis-value.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the given axis use was found, otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
||||
<p> <code class="literal">TRUE</code> if the given axis use was found, otherwise <code class="literal">FALSE</code>.</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
</div>
|
||||
@ -1869,8 +1869,8 @@ by <a class="link" href="GdkDevice.html#gdk-device-list-axes" title="gdk_device_
|
||||
gdk_device_get_last_event_window (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>);</pre>
|
||||
<p>Gets information about which window the given pointer device is in, based on events
|
||||
that have been received so far from the display server. If another application
|
||||
has a pointer grab, or this application has a grab with owner_events = <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> may be returned even if the pointer is physically over one of this
|
||||
has a pointer grab, or this application has a grab with owner_events = <code class="literal">FALSE</code>,
|
||||
<code class="literal">NULL</code> may be returned even if the pointer is physically over one of this
|
||||
application's windows.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-device-get-last-event-window.parameters"></a><h4>Parameters</h4>
|
||||
@ -1897,7 +1897,7 @@ application's windows.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-tool-get-serial"></a><h3>gdk_device_tool_get_serial ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">guint64</span>
|
||||
gdk_device_tool_get_serial (<em class="parameter"><code><span class="type">GdkDeviceTool</span> *tool</code></em>);</pre>
|
||||
<p>Gets the serial of this tool, this value can be used to identify a
|
||||
physical tool (eg. a tablet pen) across program executions.</p>
|
||||
@ -2439,12 +2439,12 @@ for more information about the meaning of these device types.</p>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkTimeCoord.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkTimeCoord.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The timestamp for this event.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkTimeCoord.axes"></a>axes</code></em>[GDK_MAX_TIMECOORD_AXES];</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkTimeCoord.axes"></a>axes</code></em>[GDK_MAX_TIMECOORD_AXES];</p></td>
|
||||
<td class="struct_member_description"><p>the values of the device’s axes.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
@ -2459,7 +2459,7 @@ for more information about the meaning of these device types.</p>
|
||||
<a name="GdkDevice--associated-device"></a><h3>The <code class="literal">“associated-device”</code> property</h3>
|
||||
<pre class="programlisting"> “associated-device” <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *</pre>
|
||||
<p>Associated pointer or keyboard with this device, if any. Devices of type <a class="link" href="GdkDevice.html#GDK-DEVICE-TYPE-MASTER:CAPS"><span class="type">GDK_DEVICE_TYPE_MASTER</span></a>
|
||||
always come in keyboard/pointer pairs. Other device types will have a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> associated device.</p>
|
||||
always come in keyboard/pointer pairs. Other device types will have a <code class="literal">NULL</code> associated device.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
</div>
|
||||
@ -2490,9 +2490,9 @@ always come in keyboard/pointer pairs. Other device types will have a <a href="h
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkDevice--has-cursor"></a><h3>The <code class="literal">“has-cursor”</code> property</h3>
|
||||
<pre class="programlisting"> “has-cursor” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “has-cursor” <span class="type">gboolean</span></pre>
|
||||
<p>Whether the device is represented by a cursor on the screen. Devices of type
|
||||
<a class="link" href="GdkDevice.html#GDK-DEVICE-TYPE-MASTER:CAPS"><code class="literal">GDK_DEVICE_TYPE_MASTER</code></a> will have <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> here.</p>
|
||||
<a class="link" href="GdkDevice.html#GDK-DEVICE-TYPE-MASTER:CAPS"><code class="literal">GDK_DEVICE_TYPE_MASTER</code></a> will have <code class="literal">TRUE</code> here.</p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
<p>Default value: FALSE</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -2517,7 +2517,7 @@ always come in keyboard/pointer pairs. Other device types will have a <a href="h
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkDevice--n-axes"></a><h3>The <code class="literal">“n-axes”</code> property</h3>
|
||||
<pre class="programlisting"> “n-axes” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
||||
<pre class="programlisting"> “n-axes” <span class="type">guint</span></pre>
|
||||
<p>Number of axes in the device.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -2526,7 +2526,7 @@ always come in keyboard/pointer pairs. Other device types will have a <a href="h
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkDevice--name"></a><h3>The <code class="literal">“name”</code> property</h3>
|
||||
<pre class="programlisting"> “name” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “name” <span class="type">gchar</span> *</pre>
|
||||
<p>The device name.</p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -2535,7 +2535,7 @@ always come in keyboard/pointer pairs. Other device types will have a <a href="h
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkDevice--num-touches"></a><h3>The <code class="literal">“num-touches”</code> property</h3>
|
||||
<pre class="programlisting"> “num-touches” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
||||
<pre class="programlisting"> “num-touches” <span class="type">guint</span></pre>
|
||||
<p>The maximal number of concurrent touches on a touch device.
|
||||
Will be 0 if the device is not a touch device or if the number
|
||||
of touches is unknown.</p>
|
||||
@ -2546,7 +2546,7 @@ of touches is unknown.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkDevice--product-id"></a><h3>The <code class="literal">“product-id”</code> property</h3>
|
||||
<pre class="programlisting"> “product-id” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “product-id” <span class="type">gchar</span> *</pre>
|
||||
<p>Product ID of this device, see <a class="link" href="GdkDevice.html#gdk-device-get-product-id" title="gdk_device_get_product_id ()"><code class="function">gdk_device_get_product_id()</code></a>.</p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -2579,7 +2579,7 @@ of touches is unknown.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkDevice--vendor-id"></a><h3>The <code class="literal">“vendor-id”</code> property</h3>
|
||||
<pre class="programlisting"> “vendor-id” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “vendor-id” <span class="type">gchar</span> *</pre>
|
||||
<p>Vendor ID of this device, see <a class="link" href="GdkDevice.html#gdk-device-get-vendor-id" title="gdk_device_get_vendor_id ()"><code class="function">gdk_device_get_vendor_id()</code></a>.</p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -2592,7 +2592,7 @@ of touches is unknown.</p>
|
||||
<a name="GdkDevice-changed"></a><h3>The <code class="literal">“changed”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::changed signal is emitted either when the <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a>
|
||||
has changed the number of either axes or keys. For example
|
||||
In X this will normally happen when the slave device routing
|
||||
@ -2622,7 +2622,7 @@ axes and keys.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
@ -2630,7 +2630,7 @@ axes and keys.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device,
|
||||
<span class="type">GdkDeviceTool</span> *tool,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::tool-changed signal is emitted on pen/eraser
|
||||
<a href="GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevices</span></a> whenever tools enter or leave proximity.</p>
|
||||
<div class="refsect3">
|
||||
@ -2660,7 +2660,7 @@ user_function (<a class="link" href="GdkDevice.html" title="GdkDevice"><span cla
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -60,7 +60,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<span class="returnvalue">GList</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDeviceManager.html#gdk-device-manager-list-devices" title="gdk_device_manager_list_devices ()">gdk_device_manager_list_devices</a> <span class="c_punctuation">()</span>
|
||||
@ -105,17 +105,17 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkDeviceManager.html#GdkDeviceManager-device-added" title="The “device-added” signal">device-added</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkDeviceManager.html#GdkDeviceManager-device-changed" title="The “device-changed” signal">device-changed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkDeviceManager.html#GdkDeviceManager-device-removed" title="The “device-removed” signal">device-removed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -135,7 +135,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GdkDeviceManager.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GdkDeviceManager
|
||||
</pre>
|
||||
</div>
|
||||
@ -164,7 +164,7 @@ to a compatibility mode in which it will emit just one enter/leave
|
||||
event pair for all devices on a window. To enable per-device
|
||||
enter/leave events and other multi-pointer interaction features,
|
||||
<a class="link" href="gdk3-Windows.html#gdk-window-set-support-multidevice" title="gdk_window_set_support_multidevice ()"><code class="function">gdk_window_set_support_multidevice()</code></a> must be called on
|
||||
<a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a> (or <a href="https://developer.gnome.org/gtk4/GtkWidget.html#gtk-widget-set-support-multidevice"><code class="function">gtk_widget_set_support_multidevice()</code></a> on widgets).
|
||||
<a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a> (or <code class="function">gtk_widget_set_support_multidevice()</code> on widgets).
|
||||
window. See the <a class="link" href="gdk3-Windows.html#gdk-window-set-support-multidevice" title="gdk_window_set_support_multidevice ()"><code class="function">gdk_window_set_support_multidevice()</code></a> documentation
|
||||
for more information.</p>
|
||||
<p>On X11, multi-device support is implemented through XInput 2.
|
||||
@ -278,8 +278,8 @@ written code.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_disable_multidevice (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<p>Disables multidevice support in GDK. This call must happen prior
|
||||
to <a class="link" href="GdkDisplay.html#gdk-display-open" title="gdk_display_open ()"><code class="function">gdk_display_open()</code></a>, <a href="https://developer.gnome.org/gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a>, <a href="https://developer.gnome.org/gtk3/gtk3-General.html#gtk-init-with-args"><code class="function">gtk_init_with_args()</code></a> or
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-General.html#gtk-init-check"><code class="function">gtk_init_check()</code></a> in order to take effect.</p>
|
||||
to <a class="link" href="GdkDisplay.html#gdk-display-open" title="gdk_display_open ()"><code class="function">gdk_display_open()</code></a>, <code class="function">gtk_init()</code>, <code class="function">gtk_init_with_args()</code> or
|
||||
<code class="function">gtk_init_check()</code> in order to take effect.</p>
|
||||
<p>Most common GTK+ applications won’t ever need to call this. Only
|
||||
applications that do mixed GDK/Xlib calls could want to disable
|
||||
multidevice support if such Xlib code deals with input devices in
|
||||
@ -312,7 +312,7 @@ gdk_device_manager_get_display (<em class="parameter"><code><a class="link" href
|
||||
<a name="gdk-device-manager-get-display.returns"></a><h4>Returns</h4>
|
||||
<p>the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> to which
|
||||
<em class="parameter"><code>device_manager</code></em>
|
||||
is associated to, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. This memory is
|
||||
is associated to, or <code class="literal">NULL</code>. This memory is
|
||||
owned by GDK and must not be freed or unreferenced. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -321,7 +321,7 @@ owned by GDK and must not be freed or unreferenced. </p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-manager-list-devices"></a><h3>gdk_device_manager_list_devices ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
||||
gdk_device_manager_list_devices (<em class="parameter"><code><a class="link" href="GdkDeviceManager.html" title="GdkDeviceManager"><span class="type">GdkDeviceManager</span></a> *device_manager</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkDevice.html#GdkDeviceType" title="enum GdkDeviceType"><span class="type">GdkDeviceType</span></a> type</code></em>);</pre>
|
||||
<div class="warning">
|
||||
@ -359,7 +359,7 @@ gdk_device_manager_list_devices (<em class="parameter"><code><a class="link" hre
|
||||
<a name="gdk-device-manager-list-devices.returns"></a><h4>Returns</h4>
|
||||
<p>a list of
|
||||
<a href="GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevices</span></a>. The returned list must 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>. The list elements are owned by
|
||||
freed with <code class="function">g_list_free()</code>. The list elements are owned by
|
||||
GTK+ and must not be freed or unreffed. </p>
|
||||
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Gdk.Device]</span></p>
|
||||
</div>
|
||||
@ -426,7 +426,7 @@ owned by GDK and must not be freed or unreferenced. </p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkDeviceManager.html" title="GdkDeviceManager"><span class="type">GdkDeviceManager</span></a> *device_manager,
|
||||
<a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::device-added signal is emitted either when a new master
|
||||
pointer is created, or when a slave (Hardware) input device
|
||||
is plugged in.</p>
|
||||
@ -457,7 +457,7 @@ is plugged in.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
@ -465,14 +465,14 @@ is plugged in.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkDeviceManager.html" title="GdkDeviceManager"><span class="type">GdkDeviceManager</span></a> *device_manager,
|
||||
<a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::device-changed signal is emitted whenever a device
|
||||
has changed in the hierarchy, either slave devices being
|
||||
disconnected from their master device or connected to
|
||||
another one, or master devices being added or removed
|
||||
a slave device.</p>
|
||||
<p>If a slave device is detached from all master devices
|
||||
(<a class="link" href="GdkDevice.html#gdk-device-get-associated-device" title="gdk_device_get_associated_device ()"><code class="function">gdk_device_get_associated_device()</code></a> returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>), its
|
||||
(<a class="link" href="GdkDevice.html#gdk-device-get-associated-device" title="gdk_device_get_associated_device ()"><code class="function">gdk_device_get_associated_device()</code></a> returns <code class="literal">NULL</code>), its
|
||||
<a class="link" href="GdkDevice.html#GdkDeviceType" title="enum GdkDeviceType"><span class="type">GdkDeviceType</span></a> will change to <a class="link" href="GdkDevice.html#GDK-DEVICE-TYPE-FLOATING:CAPS"><code class="literal">GDK_DEVICE_TYPE_FLOATING</code></a>,
|
||||
if it's attached, it will change to <a class="link" href="GdkDevice.html#GDK-DEVICE-TYPE-SLAVE:CAPS"><code class="literal">GDK_DEVICE_TYPE_SLAVE</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -502,7 +502,7 @@ if it's attached, it will change to <a class="link" href="GdkDevice.html#GDK-DEV
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
@ -510,7 +510,7 @@ if it's attached, it will change to <a class="link" href="GdkDevice.html#GDK-DEV
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkDeviceManager.html" title="GdkDeviceManager"><span class="type">GdkDeviceManager</span></a> *device_manager,
|
||||
<a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::device-removed signal is emitted either when a master
|
||||
pointer is removed, or when a slave (Hardware) input device
|
||||
is unplugged.</p>
|
||||
@ -541,7 +541,7 @@ is unplugged.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
|
@ -43,7 +43,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevicePad.html#gdk-device-pad-get-n-groups" title="gdk_device_pad_get_n_groups ()">gdk_device_pad_get_n_groups</a> <span class="c_punctuation">()</span>
|
||||
@ -51,7 +51,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevicePad.html#gdk-device-pad-get-group-n-modes" title="gdk_device_pad_get_group_n_modes ()">gdk_device_pad_get_group_n_modes</a> <span class="c_punctuation">()</span>
|
||||
@ -59,7 +59,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevicePad.html#gdk-device-pad-get-n-features" title="gdk_device_pad_get_n_features ()">gdk_device_pad_get_n_features</a> <span class="c_punctuation">()</span>
|
||||
@ -67,7 +67,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDevicePad.html#gdk-device-pad-get-feature-group" title="gdk_device_pad_get_feature_group ()">gdk_device_pad_get_feature_group</a> <span class="c_punctuation">()</span>
|
||||
@ -134,7 +134,7 @@ event.</p>
|
||||
<a name="GdkDevicePad.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-pad-get-n-groups"></a><h3>gdk_device_pad_get_n_groups ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_device_pad_get_n_groups (<em class="parameter"><code><a class="link" href="GdkDevicePad.html" title="GtkDevicePad"><span class="type">GdkDevicePad</span></a> *pad</code></em>);</pre>
|
||||
<p>Returns the number of groups this pad device has. Pads have
|
||||
at least one group. A pad group is a subcollection of
|
||||
@ -164,9 +164,9 @@ current mode.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-pad-get-group-n-modes"></a><h3>gdk_device_pad_get_group_n_modes ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_device_pad_get_group_n_modes (<em class="parameter"><code><a class="link" href="GdkDevicePad.html" title="GtkDevicePad"><span class="type">GdkDevicePad</span></a> *pad</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> group_idx</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> group_idx</code></em>);</pre>
|
||||
<p>Returns the number of modes that <em class="parameter"><code>group</code></em>
|
||||
may have.</p>
|
||||
<div class="refsect3">
|
||||
@ -201,7 +201,7 @@ gdk_device_pad_get_group_n_modes (<em class="parameter"><code><a class="link" hr
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-pad-get-n-features"></a><h3>gdk_device_pad_get_n_features ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_device_pad_get_n_features (<em class="parameter"><code><a class="link" href="GdkDevicePad.html" title="GtkDevicePad"><span class="type">GdkDevicePad</span></a> *pad</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkDevicePad.html#GdkDevicePadFeature" title="enum GdkDevicePadFeature"><span class="type">GdkDevicePadFeature</span></a> feature</code></em>);</pre>
|
||||
<p>Returns the number of features a tablet pad has.</p>
|
||||
@ -237,10 +237,10 @@ that this pad has.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-device-pad-get-feature-group"></a><h3>gdk_device_pad_get_feature_group ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_device_pad_get_feature_group (<em class="parameter"><code><a class="link" href="GdkDevicePad.html" title="GtkDevicePad"><span class="type">GdkDevicePad</span></a> *pad</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkDevicePad.html#GdkDevicePadFeature" title="enum GdkDevicePadFeature"><span class="type">GdkDevicePadFeature</span></a> feature</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> feature_idx</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> feature_idx</code></em>);</pre>
|
||||
<p>Returns the group the given <em class="parameter"><code>feature</code></em>
|
||||
and <em class="parameter"><code>idx</code></em>
|
||||
belong to,
|
||||
|
@ -58,7 +58,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-get-name" title="gdk_display_get_name ()">gdk_display_get_name</a> <span class="c_punctuation">()</span>
|
||||
@ -66,7 +66,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-get-n-screens" title="gdk_display_get_n_screens ()">gdk_display_get_n_screens</a> <span class="c_punctuation">()</span>
|
||||
@ -114,7 +114,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-pointer-is-grabbed" title="gdk_display_pointer_is_grabbed ()">gdk_display_pointer_is_grabbed</a> <span class="c_punctuation">()</span>
|
||||
@ -122,7 +122,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-device-is-grabbed" title="gdk_display_device_is_grabbed ()">gdk_display_device_is_grabbed</a> <span class="c_punctuation">()</span>
|
||||
@ -162,7 +162,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-is-closed" title="gdk_display_is_closed ()">gdk_display_is_closed</a> <span class="c_punctuation">()</span>
|
||||
@ -194,7 +194,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-has-pending" title="gdk_display_has_pending ()">gdk_display_has_pending</a> <span class="c_punctuation">()</span>
|
||||
@ -226,7 +226,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<span class="returnvalue">GList</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-list-devices" title="gdk_display_list_devices ()">gdk_display_list_devices</a> <span class="c_punctuation">()</span>
|
||||
@ -250,7 +250,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-supports-cursor-color" title="gdk_display_supports_cursor_color ()">gdk_display_supports_cursor_color</a> <span class="c_punctuation">()</span>
|
||||
@ -258,7 +258,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-supports-cursor-alpha" title="gdk_display_supports_cursor_alpha ()">gdk_display_supports_cursor_alpha</a> <span class="c_punctuation">()</span>
|
||||
@ -266,7 +266,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-get-default-cursor-size" title="gdk_display_get_default_cursor_size ()">gdk_display_get_default_cursor_size</a> <span class="c_punctuation">()</span>
|
||||
@ -290,7 +290,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-supports-selection-notification" title="gdk_display_supports_selection_notification ()">gdk_display_supports_selection_notification</a> <span class="c_punctuation">()</span>
|
||||
@ -298,7 +298,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-request-selection-notification" title="gdk_display_request_selection_notification ()">gdk_display_request_selection_notification</a> <span class="c_punctuation">()</span>
|
||||
@ -306,7 +306,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-supports-clipboard-persistence" title="gdk_display_supports_clipboard_persistence ()">gdk_display_supports_clipboard_persistence</a> <span class="c_punctuation">()</span>
|
||||
@ -322,7 +322,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-supports-shapes" title="gdk_display_supports_shapes ()">gdk_display_supports_shapes</a> <span class="c_punctuation">()</span>
|
||||
@ -330,7 +330,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-supports-input-shapes" title="gdk_display_supports_input_shapes ()">gdk_display_supports_input_shapes</a> <span class="c_punctuation">()</span>
|
||||
@ -338,7 +338,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-supports-composite" title="gdk_display_supports_composite ()">gdk_display_supports_composite</a> <span class="c_punctuation">()</span>
|
||||
@ -370,7 +370,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<span class="returnvalue">GList</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-list-seats" title="gdk_display_list_seats ()">gdk_display_list_seats</a> <span class="c_punctuation">()</span>
|
||||
@ -431,32 +431,32 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkDisplay.html#GdkDisplay-closed" title="The “closed” signal">closed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkDisplay.html#GdkDisplay-monitor-added" title="The “monitor-added” signal">monitor-added</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkDisplay.html#GdkDisplay-monitor-removed" title="The “monitor-removed” signal">monitor-removed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkDisplay.html#GdkDisplay-opened" title="The “opened” signal">opened</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkDisplay.html#GdkDisplay-seat-added" title="The “seat-added” signal">seat-added</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkDisplay.html#GdkDisplay-seat-removed" title="The “seat-removed” signal">seat-removed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -476,7 +476,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GdkDisplay.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GdkDisplay
|
||||
</pre>
|
||||
</div>
|
||||
@ -509,7 +509,7 @@ device manager, which you can obtain using
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-open"></a><h3>gdk_display_open ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="returnvalue">GdkDisplay</span></a> *
|
||||
gdk_display_open (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *display_name</code></em>);</pre>
|
||||
gdk_display_open (<em class="parameter"><code>const <span class="type">gchar</span> *display_name</code></em>);</pre>
|
||||
<p>Opens a display.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-open.parameters"></a><h4>Parameters</h4>
|
||||
@ -528,7 +528,7 @@ gdk_display_open (<em class="parameter"><code>const <a href="https://developer.g
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-open.returns"></a><h4>Returns</h4>
|
||||
<p>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</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
|
||||
<p>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>, or <code class="literal">NULL</code> if the
|
||||
display could not be opened. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -544,7 +544,7 @@ function for:
|
||||
<code class="literal">gdk_display_manager_get_default_display (<a class="link" href="GdkDisplayManager.html#gdk-display-manager-get" title="gdk_display_manager_get ()"><code class="function">gdk_display_manager_get()</code></a>)</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-get-default.returns"></a><h4>Returns</h4>
|
||||
<p>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
||||
<p>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>, or <code class="literal">NULL</code> if
|
||||
there is no default display. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -553,7 +553,7 @@ there is no default display. </p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-get-name"></a><h3>gdk_display_get_name ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gdk_display_get_name (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Gets the name of the display.</p>
|
||||
<div class="refsect3">
|
||||
@ -581,7 +581,7 @@ by GDK and should not be modified or freed.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-get-n-screens"></a><h3>gdk_display_get_n_screens ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_display_get_n_screens (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_display_get_n_screens</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -615,7 +615,7 @@ gdk_display_get_n_screens (<em class="parameter"><code><a class="link" href="Gdk
|
||||
<a name="gdk-display-get-screen"></a><h3>gdk_display_get_screen ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="returnvalue">GdkScreen</span></a> *
|
||||
gdk_display_get_screen (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> screen_num</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> screen_num</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_display_get_screen</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
<p>There is only one screen; use <a class="link" href="GdkDisplay.html#gdk-display-get-default-screen" title="gdk_display_get_default_screen ()"><code class="function">gdk_display_get_default_screen()</code></a> to get it.</p>
|
||||
@ -709,7 +709,7 @@ gdk_display_get_device_manager (<em class="parameter"><code><a class="link" href
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-get-device-manager.returns"></a><h4>Returns</h4>
|
||||
<p>A <a class="link" href="GdkDeviceManager.html" title="GdkDeviceManager"><span class="type">GdkDeviceManager</span></a>, or
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. This memory is owned by GDK and must not be freed
|
||||
<code class="literal">NULL</code>. This memory is owned by GDK and must not be freed
|
||||
or unreferenced. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -720,7 +720,7 @@ or unreferenced. </p>
|
||||
<a name="gdk-display-pointer-ungrab"></a><h3>gdk_display_pointer_ungrab ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_display_pointer_ungrab (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_display_pointer_ungrab</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkDevice.html#gdk-device-ungrab" title="gdk_device_ungrab ()"><code class="function">gdk_device_ungrab()</code></a>, together with <a class="link" href="GdkDevice.html#gdk-device-grab" title="gdk_device_grab ()"><code class="function">gdk_device_grab()</code></a>
|
||||
@ -756,7 +756,7 @@ gdk_display_pointer_ungrab (<em class="parameter"><code><a class="link" href="Gd
|
||||
<a name="gdk-display-keyboard-ungrab"></a><h3>gdk_display_keyboard_ungrab ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_display_keyboard_ungrab (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_display_keyboard_ungrab</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkDevice.html#gdk-device-ungrab" title="gdk_device_ungrab ()"><code class="function">gdk_device_ungrab()</code></a>, together with <a class="link" href="GdkDevice.html#gdk-device-grab" title="gdk_device_grab ()"><code class="function">gdk_device_grab()</code></a>
|
||||
@ -790,7 +790,7 @@ gdk_display_keyboard_ungrab (<em class="parameter"><code><a class="link" href="G
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-pointer-is-grabbed"></a><h3>gdk_display_pointer_is_grabbed ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_display_pointer_is_grabbed (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_display_pointer_is_grabbed</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
@ -814,17 +814,17 @@ gdk_display_pointer_is_grabbed (<em class="parameter"><code><a class="link" href
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-pointer-is-grabbed.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if an active X pointer grab is in effect</p>
|
||||
<p> <code class="literal">TRUE</code> if an active X pointer grab is in effect</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.2</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-device-is-grabbed"></a><h3>gdk_display_device_is_grabbed ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_display_device_is_grabbed (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>);</pre>
|
||||
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there is an ongoing grab on <em class="parameter"><code>device</code></em>
|
||||
<p>Returns <code class="literal">TRUE</code> if there is an ongoing grab on <em class="parameter"><code>device</code></em>
|
||||
for <em class="parameter"><code>display</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
@ -851,7 +851,7 @@ gdk_display_device_is_grabbed (<em class="parameter"><code><a class="link" href=
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-device-is-grabbed.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there is a grab in effect for <em class="parameter"><code>device</code></em>
|
||||
<p> <code class="literal">TRUE</code> if there is a grab in effect for <em class="parameter"><code>device</code></em>
|
||||
.</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -966,7 +966,7 @@ and cleans up associated resources.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-is-closed"></a><h3>gdk_display_is_closed ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_display_is_closed (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Finds out if the display has been closed.</p>
|
||||
<div class="refsect3">
|
||||
@ -986,7 +986,7 @@ gdk_display_is_closed (<em class="parameter"><code><a class="link" href="GdkDisp
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-is-closed.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the display is closed.</p>
|
||||
<p> <code class="literal">TRUE</code> if the display is closed.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.22</p>
|
||||
</div>
|
||||
@ -1015,7 +1015,7 @@ windowing system if necessary.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-get-event.returns"></a><h4>Returns</h4>
|
||||
<p>the next <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> to be processed, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
||||
<p>the next <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> to be processed, or <code class="literal">NULL</code>
|
||||
if no events are pending. The returned <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> should be freed
|
||||
with <a class="link" href="gdk3-Events.html#gdk-event-free" title="gdk_event_free ()"><code class="function">gdk_event_free()</code></a>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
@ -1050,7 +1050,7 @@ that have already been moved to the GDK event queue.)</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-peek-event.returns"></a><h4>Returns</h4>
|
||||
<p>a copy of the first <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> on the event
|
||||
queue, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no events are in the queue. The returned
|
||||
queue, or <code class="literal">NULL</code> if no events are in the queue. The returned
|
||||
<a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> should be freed with <a class="link" href="gdk3-Events.html#gdk-event-free" title="gdk_event_free ()"><code class="function">gdk_event_free()</code></a>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -1092,7 +1092,7 @@ queue for <em class="parameter"><code>display</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-has-pending"></a><h3>gdk_display_has_pending ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_display_has_pending (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Returns whether the display has events that are waiting
|
||||
to be processed.</p>
|
||||
@ -1113,7 +1113,7 @@ to be processed.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-has-pending.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there are events ready to be processed.</p>
|
||||
<p> <code class="literal">TRUE</code> if there are events ready to be processed.</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
</div>
|
||||
@ -1122,7 +1122,7 @@ to be processed.</p>
|
||||
<a name="gdk-display-set-double-click-time"></a><h3>gdk_display_set_double_click_time ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_display_set_double_click_time (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> msec</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> msec</code></em>);</pre>
|
||||
<p>Sets the double click time (two clicks within this time interval
|
||||
count as a double click and result in a <a class="link" href="gdk3-Events.html#GDK-2BUTTON-PRESS:CAPS"><span class="type">GDK_2BUTTON_PRESS</span></a> event).
|
||||
Applications should not set this, it is a global
|
||||
@ -1156,7 +1156,7 @@ user-configured setting.</p>
|
||||
<a name="gdk-display-set-double-click-distance"></a><h3>gdk_display_set_double_click_distance ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_display_set_double_click_distance (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> distance</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> distance</code></em>);</pre>
|
||||
<p>Sets the double click distance (two clicks within this distance
|
||||
count as a double click and result in a <a class="link" href="gdk3-Events.html#GDK-2BUTTON-PRESS:CAPS"><span class="type">GDK_2BUTTON_PRESS</span></a> event).
|
||||
See also <a class="link" href="GdkDisplay.html#gdk-display-set-double-click-time" title="gdk_display_set_double_click_time ()"><code class="function">gdk_display_set_double_click_time()</code></a>.
|
||||
@ -1192,8 +1192,8 @@ user-configured setting.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_display_get_pointer (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> **screen</code></em>,
|
||||
<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>,
|
||||
<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>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *y</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a> *mask</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_display_get_pointer</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
@ -1218,22 +1218,22 @@ mask for a given display.</p>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>screen</p></td>
|
||||
<td class="parameter_description"><p>location to store the screen that the
|
||||
cursor is on, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
cursor is on, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>x</p></td>
|
||||
<td class="parameter_description"><p>location to store root window 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>. </p></td>
|
||||
<td class="parameter_description"><p>location to store root window X coordinate of pointer, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>y</p></td>
|
||||
<td class="parameter_description"><p>location to store root window 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>. </p></td>
|
||||
<td class="parameter_description"><p>location to store root window Y coordinate of pointer, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>mask</p></td>
|
||||
<td class="parameter_description"><p>location to store current modifier mask, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to store current modifier mask, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1244,7 +1244,7 @@ cursor is on, or <a href="https://developer.gnome.org/glib/unstable/glib-Standar
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-list-devices"></a><h3>gdk_display_list_devices ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
||||
gdk_display_list_devices (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_display_list_devices</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
@ -1280,8 +1280,8 @@ The list is statically allocated and should not be freed.</p>
|
||||
<a name="gdk-display-get-window-at-pointer"></a><h3>gdk_display_get_window_at_pointer ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> *
|
||||
gdk_display_get_window_at_pointer (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gint</span> *win_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *win_y</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_display_get_window_at_pointer</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkDevice.html#gdk-device-get-window-at-position" title="gdk_device_get_window_at_position ()"><code class="function">gdk_device_get_window_at_position()</code></a> instead.</p>
|
||||
@ -1290,7 +1290,7 @@ gdk_display_get_window_at_pointer (<em class="parameter"><code><a class="link" h
|
||||
of the pointer in that window in <em class="parameter"><code>win_x</code></em>
|
||||
, <em class="parameter"><code>win_y</code></em>
|
||||
for <em class="parameter"><code>screen</code></em>
|
||||
. Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
||||
. Returns <code class="literal">NULL</code>
|
||||
if the window under the mouse pointer is not known to GDK (for example,
|
||||
belongs to another application).</p>
|
||||
<div class="refsect3">
|
||||
@ -1310,13 +1310,13 @@ belongs to another application).</p>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>win_x</p></td>
|
||||
<td class="parameter_description"><p>return location for x coordinate of the pointer location relative
|
||||
to the window origin, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
to the window origin, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>win_y</p></td>
|
||||
<td class="parameter_description"><p>return location for y coordinate of the pointer location relative
|
||||
& to the window origin, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
& to the window origin, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1325,7 +1325,7 @@ to the window origin, or <a href="https://developer.gnome.org/glib/unstable/glib
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-get-window-at-pointer.returns"></a><h4>Returns</h4>
|
||||
<p>the window under the mouse
|
||||
pointer, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
pointer, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.2</p>
|
||||
@ -1336,8 +1336,8 @@ pointer, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Mac
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_display_warp_pointer (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_display_warp_pointer</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkDevice.html#gdk-device-warp" title="gdk_device_warp ()"><code class="function">gdk_device_warp()</code></a> instead.</p>
|
||||
@ -1355,7 +1355,7 @@ instantaneously to the destination.</p>
|
||||
<p>Note that the pointer should normally be under the
|
||||
control of the user. This function was added to cover
|
||||
some rare use cases like keyboard navigation support
|
||||
for the color picker in the <a href="https://developer.gnome.org/gtk3/GtkColorSelectionDialog.html#GtkColorSelectionDialog-struct"><span class="type">GtkColorSelectionDialog</span></a>.</p>
|
||||
for the color picker in the <span class="type">GtkColorSelectionDialog</span>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-warp-pointer.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1394,9 +1394,9 @@ to warp the pointer to</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-supports-cursor-color"></a><h3>gdk_display_supports_cursor_color ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_display_supports_cursor_color (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if multicolored cursors are supported
|
||||
<p>Returns <code class="literal">TRUE</code> if multicolored cursors are supported
|
||||
on <em class="parameter"><code>display</code></em>
|
||||
. Otherwise, cursors have only a forground
|
||||
and a background color.</p>
|
||||
@ -1424,9 +1424,9 @@ and a background color.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-supports-cursor-alpha"></a><h3>gdk_display_supports_cursor_alpha ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_display_supports_cursor_alpha (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if cursors can use an 8bit alpha channel
|
||||
<p>Returns <code class="literal">TRUE</code> if cursors can use an 8bit alpha channel
|
||||
on <em class="parameter"><code>display</code></em>
|
||||
. Otherwise, cursors are restricted to bilevel
|
||||
alpha (i.e. a mask).</p>
|
||||
@ -1454,7 +1454,7 @@ alpha (i.e. a mask).</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-get-default-cursor-size"></a><h3>gdk_display_get_default_cursor_size ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gdk_display_get_default_cursor_size (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Returns the default size to use for cursors on <em class="parameter"><code>display</code></em>
|
||||
.</p>
|
||||
@ -1484,8 +1484,8 @@ gdk_display_get_default_cursor_size (<em class="parameter"><code><a class="link"
|
||||
<a name="gdk-display-get-maximal-cursor-size"></a><h3>gdk_display_get_maximal_cursor_size ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_display_get_maximal_cursor_size (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *width</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *height</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> *width</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> *height</code></em>);</pre>
|
||||
<p>Gets the maximal size to use for cursors on <em class="parameter"><code>display</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
@ -1553,7 +1553,7 @@ for <em class="parameter"><code>display</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-supports-selection-notification"></a><h3>gdk_display_supports_selection_notification ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_display_supports_selection_notification
|
||||
(<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Returns whether <a class="link" href="gdk3-Event-Structures.html#GdkEventOwnerChange" title="struct GdkEventOwnerChange"><span class="type">GdkEventOwnerChange</span></a> events will be
|
||||
@ -1583,7 +1583,7 @@ be sent.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-request-selection-notification"></a><h3>gdk_display_request_selection_notification ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_display_request_selection_notification
|
||||
(<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> selection</code></em>);</pre>
|
||||
@ -1622,7 +1622,7 @@ be sent.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-supports-clipboard-persistence"></a><h3>gdk_display_supports_clipboard_persistence ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_display_supports_clipboard_persistence
|
||||
(<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Returns whether the speicifed display supports clipboard
|
||||
@ -1646,7 +1646,7 @@ running.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-supports-clipboard-persistence.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the display supports clipboard persistance.</p>
|
||||
<p> <code class="literal">TRUE</code> if the display supports clipboard persistance.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.6</p>
|
||||
</div>
|
||||
@ -1656,9 +1656,9 @@ running.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_display_store_clipboard (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *clipboard_window</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>,
|
||||
<em class="parameter"><code>const <a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> *targets</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_targets</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>);</pre>
|
||||
<p>Issues a request to the clipboard manager to store the
|
||||
clipboard data. On X11, this is a special program that works
|
||||
according to the
|
||||
@ -1690,7 +1690,7 @@ according to the
|
||||
<tr>
|
||||
<td class="parameter_name"><p>targets</p></td>
|
||||
<td class="parameter_description"><p>an array of targets
|
||||
that should be saved, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
||||
that should be saved, or <code class="literal">NULL</code>
|
||||
if all available targets should be saved. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_targets][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
@ -1708,9 +1708,9 @@ array</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-supports-shapes"></a><h3>gdk_display_supports_shapes ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_display_supports_shapes (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <code class="function">gdk_window_shape_combine_mask()</code> can
|
||||
<p>Returns <code class="literal">TRUE</code> if <code class="function">gdk_window_shape_combine_mask()</code> can
|
||||
be used to create shaped windows on <em class="parameter"><code>display</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
@ -1730,16 +1730,16 @@ be used to create shaped windows on <em class="parameter"><code>display</code></
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-supports-shapes.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if shaped windows are supported</p>
|
||||
<p> <code class="literal">TRUE</code> if shaped windows are supported</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-supports-input-shapes"></a><h3>gdk_display_supports_input_shapes ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_display_supports_input_shapes (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <code class="function">gdk_window_input_shape_combine_mask()</code> can
|
||||
<p>Returns <code class="literal">TRUE</code> if <code class="function">gdk_window_input_shape_combine_mask()</code> can
|
||||
be used to modify the input shape of windows on <em class="parameter"><code>display</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
@ -1759,21 +1759,21 @@ be used to modify the input shape of windows on <em class="parameter"><code>disp
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-supports-input-shapes.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if windows with modified input shape are supported</p>
|
||||
<p> <code class="literal">TRUE</code> if windows with modified input shape are supported</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-supports-composite"></a><h3>gdk_display_supports_composite ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_display_supports_composite (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_display_supports_composite</code> has been deprecated since version 3.16 and should not be used in newly-written code.</p>
|
||||
<p>Compositing is an outdated technology that
|
||||
only ever worked on X11.</p>
|
||||
</div>
|
||||
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <a class="link" href="gdk3-Windows.html#gdk-window-set-composited" title="gdk_window_set_composited ()"><code class="function">gdk_window_set_composited()</code></a> can be used
|
||||
<p>Returns <code class="literal">TRUE</code> if <a class="link" href="gdk3-Windows.html#gdk-window-set-composited" title="gdk_window_set_composited ()"><code class="function">gdk_window_set_composited()</code></a> can be used
|
||||
to redirect drawing on the window using compositing.</p>
|
||||
<p>Currently this only works on X11 with XComposite and
|
||||
XDamage extensions available.</p>
|
||||
@ -1794,7 +1794,7 @@ XDamage extensions available.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-supports-composite.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if windows may be composited.</p>
|
||||
<p> <code class="literal">TRUE</code> if windows may be composited.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.12</p>
|
||||
</div>
|
||||
@ -1824,7 +1824,7 @@ applications on the given display.</p>
|
||||
<a name="gdk-display-get-app-launch-context.returns"></a><h4>Returns</h4>
|
||||
<p>a new <a class="link" href="gdk3-Application-launching.html#GdkAppLaunchContext"><span class="type">GdkAppLaunchContext</span></a> for <em class="parameter"><code>display</code></em>
|
||||
.
|
||||
Free with <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> when done. </p>
|
||||
Free with <code class="function">g_object_unref()</code> when done. </p>
|
||||
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -1834,12 +1834,12 @@ Free with <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base
|
||||
<a name="gdk-display-notify-startup-complete"></a><h3>gdk_display_notify_startup_complete ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_display_notify_startup_complete (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<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>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *startup_id</code></em>);</pre>
|
||||
<p>Indicates to the GUI environment that the application has
|
||||
finished loading, using a given identifier.</p>
|
||||
<p>GTK+ will call this function automatically for <a href="https://developer.gnome.org/gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a>
|
||||
<p>GTK+ will call this function automatically for <span class="type">GtkWindow</span>
|
||||
with custom startup-notification identifier unless
|
||||
<a href="https://developer.gnome.org/gtk4/GtkWindow.html#gtk-window-set-auto-startup-notification"><code class="function">gtk_window_set_auto_startup_notification()</code></a> is called to
|
||||
<code class="function">gtk_window_set_auto_startup_notification()</code> is called to
|
||||
disable that feature.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-notify-startup-complete.parameters"></a><h4>Parameters</h4>
|
||||
@ -1897,7 +1897,7 @@ gdk_display_get_default_seat (<em class="parameter"><code><a class="link" href="
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-list-seats"></a><h3>gdk_display_list_seats ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
||||
gdk_display_list_seats (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Returns the list of seats known to <em class="parameter"><code>display</code></em>
|
||||
.</p>
|
||||
@ -1985,7 +1985,7 @@ gdk_display_get_monitor (<em class="parameter"><code><a class="link" href="GdkDi
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-get-monitor.returns"></a><h4>Returns</h4>
|
||||
<p>the <a class="link" href="GdkMonitor.html" title="GdkMonitor"><span class="type">GdkMonitor</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
||||
<p>the <a class="link" href="GdkMonitor.html" title="GdkMonitor"><span class="type">GdkMonitor</span></a>, or <code class="literal">NULL</code> if
|
||||
<em class="parameter"><code>monitor_num</code></em>
|
||||
is not a valid monitor number. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
@ -2019,7 +2019,7 @@ such as panels should place themselves on the primary monitor.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-get-primary-monitor.returns"></a><h4>Returns</h4>
|
||||
<p>the primary monitor, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no primary
|
||||
<p>the primary monitor, or <code class="literal">NULL</code> if no primary
|
||||
monitor is configured by the user. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -2125,8 +2125,8 @@ of all monitors.</p>
|
||||
<a name="GdkDisplay-closed"></a><h3>The <code class="literal">“closed”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_error,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gboolean</span> is_error,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::closed signal is emitted when the connection to the windowing
|
||||
system for <em class="parameter"><code>display</code></em>
|
||||
is closed.</p>
|
||||
@ -2146,7 +2146,7 @@ system for <em class="parameter"><code>display</code></em>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>is_error</p></td>
|
||||
<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 display was closed due to an error</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> if the display was closed due to an error</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -2157,7 +2157,7 @@ system for <em class="parameter"><code>display</code></em>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: 2.2</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -2166,7 +2166,7 @@ system for <em class="parameter"><code>display</code></em>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display,
|
||||
<a class="link" href="GdkMonitor.html" title="GdkMonitor"><span class="type">GdkMonitor</span></a> *monitor,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::monitor-added signal is emitted whenever a monitor is
|
||||
added.</p>
|
||||
<div class="refsect3">
|
||||
@ -2196,7 +2196,7 @@ added.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -2205,7 +2205,7 @@ added.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display,
|
||||
<a class="link" href="GdkMonitor.html" title="GdkMonitor"><span class="type">GdkMonitor</span></a> *monitor,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::monitor-removed signal is emitted whenever a monitor is
|
||||
removed.</p>
|
||||
<div class="refsect3">
|
||||
@ -2235,7 +2235,7 @@ removed.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -2243,7 +2243,7 @@ removed.</p>
|
||||
<a name="GdkDisplay-opened"></a><h3>The <code class="literal">“opened”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::opened signal is emitted when the connection to the windowing
|
||||
system for <em class="parameter"><code>display</code></em>
|
||||
is opened.</p>
|
||||
@ -2269,7 +2269,7 @@ system for <em class="parameter"><code>display</code></em>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
@ -2277,7 +2277,7 @@ system for <em class="parameter"><code>display</code></em>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display,
|
||||
<a class="link" href="GdkSeat.html" title="GdkSeat"><span class="type">GdkSeat</span></a> *seat,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::seat-added signal is emitted whenever a new seat is made
|
||||
known to the windowing system.</p>
|
||||
<div class="refsect3">
|
||||
@ -2307,7 +2307,7 @@ known to the windowing system.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -2316,7 +2316,7 @@ known to the windowing system.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display,
|
||||
<a class="link" href="GdkSeat.html" title="GdkSeat"><span class="type">GdkSeat</span></a> *seat,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::seat-removed signal is emitted whenever a seat is removed
|
||||
by the windowing system.</p>
|
||||
<div class="refsect3">
|
||||
@ -2346,7 +2346,7 @@ by the windowing system.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -68,7 +68,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
||||
<span class="returnvalue">GSList</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDisplayManager.html#gdk-display-manager-list-displays" title="gdk_display_manager_list_displays ()">gdk_display_manager_list_displays</a> <span class="c_punctuation">()</span>
|
||||
@ -112,7 +112,7 @@
|
||||
<tbody><tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkDisplayManager.html#GdkDisplayManager-display-opened" title="The “display-opened” signal">display-opened</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
@ -131,7 +131,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GdkDisplayManager.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GdkDisplayManager
|
||||
</pre>
|
||||
</div>
|
||||
@ -193,7 +193,7 @@ macros like <code class="function">GDK_IS_X11_DISPLAY()</code> to find out which
|
||||
<span class="normal"> </span><span class="cbracket">}</span>
|
||||
<span class="normal"> </span><span class="keyword">else</span>
|
||||
<span class="preproc">#endif</span>
|
||||
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Message-Logging.html#g-error">g_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Unsupported GDK backend"</span><span class="symbol">);</span></pre></td>
|
||||
<span class="normal"> </span><span class="function">g_error</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Unsupported GDK backend"</span><span class="symbol">);</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -247,7 +247,7 @@ gdk_display_manager_get_default_display
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-manager-get-default-display.returns"></a><h4>Returns</h4>
|
||||
<p>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
||||
<p>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>, or <code class="literal">NULL</code> if
|
||||
there is no default display. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -289,7 +289,7 @@ gdk_display_manager_set_default_display
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-display-manager-list-displays"></a><h3>gdk_display_manager_list_displays ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GSList</span> *
|
||||
gdk_display_manager_list_displays (<em class="parameter"><code><a class="link" href="GdkDisplayManager.html" title="GdkDisplayManager"><span class="type">GdkDisplayManager</span></a> *manager</code></em>);</pre>
|
||||
<p>List all currently open displays.</p>
|
||||
<div class="refsect3">
|
||||
@ -310,7 +310,7 @@ gdk_display_manager_list_displays (<em class="parameter"><code><a class="link" h
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-manager-list-displays.returns"></a><h4>Returns</h4>
|
||||
<p>a newly
|
||||
allocated <a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> of <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> objects. Free with <a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>
|
||||
allocated <span class="type">GSList</span> of <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> objects. Free with <code class="function">g_slist_free()</code>
|
||||
when you are done with it. </p>
|
||||
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GdkDisplay]</span></p>
|
||||
</div>
|
||||
@ -321,7 +321,7 @@ when you are done with it. </p>
|
||||
<a name="gdk-display-manager-open-display"></a><h3>gdk_display_manager_open_display ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="returnvalue">GdkDisplay</span></a> *
|
||||
gdk_display_manager_open_display (<em class="parameter"><code><a class="link" href="GdkDisplayManager.html" title="GdkDisplayManager"><span class="type">GdkDisplayManager</span></a> *manager</code></em>,
|
||||
<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>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
|
||||
<p>Opens a display.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-manager-open-display.parameters"></a><h4>Parameters</h4>
|
||||
@ -347,7 +347,7 @@ gdk_display_manager_open_display (<em class="parameter"><code><a class="link" hr
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-display-manager-open-display.returns"></a><h4>Returns</h4>
|
||||
<p>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</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
|
||||
<p>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>, or <code class="literal">NULL</code> if the
|
||||
display could not be opened. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -377,7 +377,7 @@ display could not be opened. </p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkDisplayManager.html" title="GdkDisplayManager"><span class="type">GdkDisplayManager</span></a> *manager,
|
||||
<a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::display-opened signal is emitted when a display is opened.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GdkDisplayManager-display-opened.parameters"></a><h4>Parameters</h4>
|
||||
@ -406,7 +406,7 @@ user_function (<a class="link" href="GdkDisplayManager.html" title="GdkDisplayMa
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: 2.2</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -67,7 +67,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkDrawingContext.html#gdk-drawing-context-is-valid" title="gdk_drawing_context_is_valid ()">gdk_drawing_context_is_valid</a> <span class="c_punctuation">()</span>
|
||||
@ -115,7 +115,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GdkDrawingContext.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GdkDrawingContext
|
||||
</pre>
|
||||
</div>
|
||||
@ -215,7 +215,7 @@ the contents of the <a class="link" href="gdk3-Windows.html#GdkWindow"><span cla
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-drawing-context-is-valid"></a><h3>gdk_drawing_context_is_valid ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_drawing_context_is_valid (<em class="parameter"><code><a class="link" href="GdkDrawingContext.html" title="GdkDrawingContext"><span class="type">GdkDrawingContext</span></a> *context</code></em>);</pre>
|
||||
<p>Checks whether the given <a class="link" href="GdkDrawingContext.html" title="GdkDrawingContext"><span class="type">GdkDrawingContext</span></a> is valid.</p>
|
||||
<div class="refsect3">
|
||||
@ -235,7 +235,7 @@ gdk_drawing_context_is_valid (<em class="parameter"><code><a class="link" href="
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-drawing-context-is-valid.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the context is valid</p>
|
||||
<p> <code class="literal">TRUE</code> if the context is valid</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
||||
</div>
|
||||
|
@ -43,7 +43,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<span class="returnvalue">gint64</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkFrameClock.html#gdk-frame-clock-get-frame-time" title="gdk_frame_clock_get_frame_time ()">gdk_frame_clock_get_frame_time</a> <span class="c_punctuation">()</span>
|
||||
@ -75,7 +75,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<span class="returnvalue">gint64</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkFrameClock.html#gdk-frame-clock-get-frame-counter" title="gdk_frame_clock_get_frame_counter ()">gdk_frame_clock_get_frame_counter</a> <span class="c_punctuation">()</span>
|
||||
@ -83,7 +83,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<span class="returnvalue">gint64</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkFrameClock.html#gdk-frame-clock-get-history-start" title="gdk_frame_clock_get_history_start ()">gdk_frame_clock_get_history_start</a> <span class="c_punctuation">()</span>
|
||||
@ -128,37 +128,37 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkFrameClock.html#GdkFrameClock-after-paint" title="The “after-paint” signal">after-paint</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkFrameClock.html#GdkFrameClock-before-paint" title="The “before-paint” signal">before-paint</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkFrameClock.html#GdkFrameClock-flush-events" title="The “flush-events” signal">flush-events</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkFrameClock.html#GdkFrameClock-layout" title="The “layout” signal">layout</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkFrameClock.html#GdkFrameClock-paint" title="The “paint” signal">paint</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkFrameClock.html#GdkFrameClock-resume-events" title="The “resume-events” signal">resume-events</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkFrameClock.html#GdkFrameClock-update" title="The “update” signal">update</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -184,7 +184,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GdkFrameClock.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GdkFrameClock
|
||||
</pre>
|
||||
</div>
|
||||
@ -216,8 +216,8 @@ documentation of the phases. <a class="link" href="GdkFrameClock.html#GDK-FRAME-
|
||||
writers, and are used to update the animations, using the frame time
|
||||
given by <a class="link" href="GdkFrameClock.html#gdk-frame-clock-get-frame-time" title="gdk_frame_clock_get_frame_time ()"><code class="function">gdk_frame_clock_get_frame_time()</code></a>.</p>
|
||||
<p>The frame time is reported in microseconds and generally in the same
|
||||
timescale as <a href="https://developer.gnome.org/glib/unstable/glib-Date-and-Time-Functions.html#g-get-monotonic-time"><code class="function">g_get_monotonic_time()</code></a>, however, it is not the same
|
||||
as <a href="https://developer.gnome.org/glib/unstable/glib-Date-and-Time-Functions.html#g-get-monotonic-time"><code class="function">g_get_monotonic_time()</code></a>. The frame time does not advance during
|
||||
timescale as <code class="function">g_get_monotonic_time()</code>, however, it is not the same
|
||||
as <code class="function">g_get_monotonic_time()</code>. The frame time does not advance during
|
||||
the time a frame is being painted, and outside of a frame, an attempt
|
||||
is made so that all calls to <a class="link" href="GdkFrameClock.html#gdk-frame-clock-get-frame-time" title="gdk_frame_clock_get_frame_time ()"><code class="function">gdk_frame_clock_get_frame_time()</code></a> that
|
||||
are called at a “similar” time get the same value. This means that
|
||||
@ -230,7 +230,7 @@ they will stay exactly synchronized.</p>
|
||||
<a name="GdkFrameClock.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-frame-clock-get-frame-time"></a><h3>gdk_frame_clock_get_frame_time ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint64</span>
|
||||
gdk_frame_clock_get_frame_time (<em class="parameter"><code><a class="link" href="GdkFrameClock.html" title="Frame clock"><span class="type">GdkFrameClock</span></a> *frame_clock</code></em>);</pre>
|
||||
<p>Gets the time that should currently be used for animations. Inside
|
||||
the processing of a frame, it’s the time used to compute the
|
||||
@ -256,7 +256,7 @@ time.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-frame-clock-get-frame-time.returns"></a><h4>Returns</h4>
|
||||
<p> a timestamp in microseconds, in the timescale of
|
||||
of <a href="https://developer.gnome.org/glib/unstable/glib-Date-and-Time-Functions.html#g-get-monotonic-time"><code class="function">g_get_monotonic_time()</code></a>.</p>
|
||||
of <code class="function">g_get_monotonic_time()</code>.</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-8.html#api-index-3.8">3.8</a></p>
|
||||
</div>
|
||||
@ -355,7 +355,7 @@ gdk_frame_clock_end_updating (<em class="parameter"><code><a class="link" href="
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-frame-clock-get-frame-counter"></a><h3>gdk_frame_clock_get_frame_counter ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint64</span>
|
||||
gdk_frame_clock_get_frame_counter (<em class="parameter"><code><a class="link" href="GdkFrameClock.html" title="Frame clock"><span class="type">GdkFrameClock</span></a> *frame_clock</code></em>);</pre>
|
||||
<p>A <a class="link" href="GdkFrameClock.html" title="Frame clock"><span class="type">GdkFrameClock</span></a> maintains a 64-bit counter that increments for
|
||||
each frame drawn.</p>
|
||||
@ -385,7 +385,7 @@ counter for the last frame.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-frame-clock-get-history-start"></a><h3>gdk_frame_clock_get_history_start ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint64</span>
|
||||
gdk_frame_clock_get_history_start (<em class="parameter"><code><a class="link" href="GdkFrameClock.html" title="Frame clock"><span class="type">GdkFrameClock</span></a> *frame_clock</code></em>);</pre>
|
||||
<p><a class="link" href="GdkFrameClock.html" title="Frame clock"><span class="type">GdkFrameClock</span></a> internally keeps a history of <a class="link" href="gdk3-GdkFrameTimings.html#GdkFrameTimings" title="GdkFrameTimings"><span class="type">GdkFrameTimings</span></a>
|
||||
objects for recent frames that can be retrieved with
|
||||
@ -421,7 +421,7 @@ that is available in the internal frame history of the
|
||||
<a name="gdk-frame-clock-get-timings"></a><h3>gdk_frame_clock_get_timings ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gdk3-GdkFrameTimings.html#GdkFrameTimings" title="GdkFrameTimings"><span class="returnvalue">GdkFrameTimings</span></a> *
|
||||
gdk_frame_clock_get_timings (<em class="parameter"><code><a class="link" href="GdkFrameClock.html" title="Frame clock"><span class="type">GdkFrameClock</span></a> *frame_clock</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> frame_counter</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint64</span> frame_counter</code></em>);</pre>
|
||||
<p>Retrieves a <a class="link" href="gdk3-GdkFrameTimings.html#GdkFrameTimings" title="GdkFrameTimings"><span class="type">GdkFrameTimings</span></a> object holding timing information
|
||||
for the current frame or a recent frame. The <a class="link" href="gdk3-GdkFrameTimings.html#GdkFrameTimings" title="GdkFrameTimings"><span class="type">GdkFrameTimings</span></a>
|
||||
object may not yet be complete: see <a class="link" href="gdk3-GdkFrameTimings.html#gdk-frame-timings-get-complete" title="gdk_frame_timings_get_complete ()"><code class="function">gdk_frame_timings_get_complete()</code></a>.</p>
|
||||
@ -451,7 +451,7 @@ be received.</p></td>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-frame-clock-get-timings.returns"></a><h4>Returns</h4>
|
||||
<p>the <a class="link" href="gdk3-GdkFrameTimings.html#GdkFrameTimings" title="GdkFrameTimings"><span class="type">GdkFrameTimings</span></a> object for
|
||||
the specified frame, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it is not available. See
|
||||
the specified frame, or <code class="literal">NULL</code> if it is not available. See
|
||||
<a class="link" href="GdkFrameClock.html#gdk-frame-clock-get-history-start" title="gdk_frame_clock_get_history_start ()"><code class="function">gdk_frame_clock_get_history_start()</code></a>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -483,7 +483,7 @@ gdk_frame_clock_get_current_timings (<em class="parameter"><code><a class="link"
|
||||
<p>the <a class="link" href="gdk3-GdkFrameTimings.html#GdkFrameTimings" title="GdkFrameTimings"><span class="type">GdkFrameTimings</span></a> for the
|
||||
frame currently being processed, or even no frame is being
|
||||
processed, for the previous frame. Before any frames have been
|
||||
processed, returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
processed, returns <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-8.html#api-index-3.8">3.8</a></p>
|
||||
@ -493,9 +493,9 @@ processed, returns <a href="https://developer.gnome.org/glib/unstable/glib-Stand
|
||||
<a name="gdk-frame-clock-get-refresh-info"></a><h3>gdk_frame_clock_get_refresh_info ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_frame_clock_get_refresh_info (<em class="parameter"><code><a class="link" href="GdkFrameClock.html" title="Frame clock"><span class="type">GdkFrameClock</span></a> *frame_clock</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> base_time</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> *refresh_interval_return</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> *presentation_time_return</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint64</span> base_time</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint64</span> *refresh_interval_return</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint64</span> *presentation_time_return</code></em>);</pre>
|
||||
<p>Using the frame history stored in the frame clock, finds the last
|
||||
known presentation time and refresh interval, and assuming that
|
||||
presentation times are separated by the refresh interval,
|
||||
@ -524,7 +524,7 @@ interval after the last presentation time, and later than <em class="parameter">
|
||||
<tr>
|
||||
<td class="parameter_name"><p>refresh_interval_return</p></td>
|
||||
<td class="parameter_description"><p>a location to store the
|
||||
determined refresh interval, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. A default refresh interval of
|
||||
determined refresh interval, or <code class="literal">NULL</code>. A default refresh interval of
|
||||
1/60th of a second will be stored if no history is present. </p></td>
|
||||
<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 may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
||||
</tr>
|
||||
@ -641,7 +641,7 @@ correspond to the signals of <a class="link" href="GdkFrameClock.html" title="Fr
|
||||
<a name="GdkFrameClock-after-paint"></a><h3>The <code class="literal">“after-paint”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkFrameClock.html" title="Frame clock"><span class="type">GdkFrameClock</span></a> *clock,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>This signal ends processing of the frame. Applications
|
||||
should generally not handle this signal.</p>
|
||||
<div class="refsect3">
|
||||
@ -666,14 +666,14 @@ should generally not handle this signal.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkFrameClock-before-paint"></a><h3>The <code class="literal">“before-paint”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkFrameClock.html" title="Frame clock"><span class="type">GdkFrameClock</span></a> *clock,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>This signal begins processing of the frame. Applications
|
||||
should generally not handle this signal.</p>
|
||||
<div class="refsect3">
|
||||
@ -698,14 +698,14 @@ should generally not handle this signal.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkFrameClock-flush-events"></a><h3>The <code class="literal">“flush-events”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkFrameClock.html" title="Frame clock"><span class="type">GdkFrameClock</span></a> *clock,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>This signal is used to flush pending motion events that
|
||||
are being batched up and compressed together. Applications
|
||||
should not handle this signal.</p>
|
||||
@ -731,14 +731,14 @@ should not handle this signal.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkFrameClock-layout"></a><h3>The <code class="literal">“layout”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkFrameClock.html" title="Frame clock"><span class="type">GdkFrameClock</span></a> *clock,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>This signal is emitted as the second step of toolkit and
|
||||
application processing of the frame. Any work to update
|
||||
sizes and positions of application elements should be
|
||||
@ -765,19 +765,19 @@ performed. GTK+ normally handles this internally.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkFrameClock-paint"></a><h3>The <code class="literal">“paint”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkFrameClock.html" title="Frame clock"><span class="type">GdkFrameClock</span></a> *clock,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>This signal is emitted as the third step of toolkit and
|
||||
application processing of the frame. The frame is
|
||||
repainted. GDK normally handles this internally and
|
||||
produces expose events, which are turned into GTK+
|
||||
<a href="https://developer.gnome.org/gtk3/GtkWidget.html#GtkWidget-draw"><span class="type">“draw”</span></a> signals.</p>
|
||||
<span class="type">“draw”</span> signals.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GdkFrameClock-paint.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -800,14 +800,14 @@ produces expose events, which are turned into GTK+
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkFrameClock-resume-events"></a><h3>The <code class="literal">“resume-events”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkFrameClock.html" title="Frame clock"><span class="type">GdkFrameClock</span></a> *clock,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>This signal is emitted after processing of the frame is
|
||||
finished, and is handled internally by GTK+ to resume normal
|
||||
event processing. Applications should not handle this signal.</p>
|
||||
@ -833,19 +833,19 @@ event processing. Applications should not handle this signal.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkFrameClock-update"></a><h3>The <code class="literal">“update”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkFrameClock.html" title="Frame clock"><span class="type">GdkFrameClock</span></a> *clock,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>This signal is emitted as the first step of toolkit and
|
||||
application processing of the frame. Animations should
|
||||
be updated using <a class="link" href="GdkFrameClock.html#gdk-frame-clock-get-frame-time" title="gdk_frame_clock_get_frame_time ()"><code class="function">gdk_frame_clock_get_frame_time()</code></a>.
|
||||
Applications can connect directly to this signal, or
|
||||
use <a href="https://developer.gnome.org/gtk4/GtkWidget.html#gtk-widget-add-tick-callback"><code class="function">gtk_widget_add_tick_callback()</code></a> as a more convenient
|
||||
use <code class="function">gtk_widget_add_tick_callback()</code> as a more convenient
|
||||
interface.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GdkFrameClock-update.parameters"></a><h4>Parameters</h4>
|
||||
@ -869,7 +869,7 @@ interface.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -99,7 +99,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkGLContext.html#gdk-gl-context-get-debug-enabled" title="gdk_gl_context_get_debug_enabled ()">gdk_gl_context_get_debug_enabled</a> <span class="c_punctuation">()</span>
|
||||
@ -115,7 +115,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkGLContext.html#gdk-gl-context-get-forward-compatible" title="gdk_gl_context_get_forward_compatible ()">gdk_gl_context_get_forward_compatible</a> <span class="c_punctuation">()</span>
|
||||
@ -131,7 +131,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkGLContext.html#gdk-gl-context-get-use-es" title="gdk_gl_context_get_use_es ()">gdk_gl_context_get_use_es</a> <span class="c_punctuation">()</span>
|
||||
@ -139,7 +139,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkGLContext.html#gdk-gl-context-is-legacy" title="gdk_gl_context_is_legacy ()">gdk_gl_context_is_legacy</a> <span class="c_punctuation">()</span>
|
||||
@ -147,7 +147,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkGLContext.html#gdk-gl-context-realize" title="gdk_gl_context_realize ()">gdk_gl_context_realize</a> <span class="c_punctuation">()</span>
|
||||
@ -231,7 +231,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GdkGLContext.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GdkGLContext
|
||||
</pre>
|
||||
</div>
|
||||
@ -254,7 +254,7 @@ you can create render buffers or textures and use <a class="link" href="gdk3-Cai
|
||||
in the draw function of your widget to draw them. Then GDK will handle
|
||||
the integration of your rendering with that of other widgets.</p>
|
||||
<p>Support for <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> is platform-specific, context creation
|
||||
can fail, returning <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> context.</p>
|
||||
can fail, returning <code class="literal">NULL</code> context.</p>
|
||||
<p>A <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> has to be made "current" in order to start using
|
||||
it, otherwise any OpenGL call will be ignored.</p>
|
||||
<div class="refsect3">
|
||||
@ -320,7 +320,7 @@ gdk_gl_context_get_display (<em class="parameter"><code><a class="link" href="Gd
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-gl-context-get-display.returns"></a><h4>Returns</h4>
|
||||
<p>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
@ -349,7 +349,7 @@ gdk_gl_context_get_window (<em class="parameter"><code><a class="link" href="Gdk
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-gl-context-get-window.returns"></a><h4>Returns</h4>
|
||||
<p>a <a class="link" href="gdk3-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>. </p>
|
||||
<p>a <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
@ -378,7 +378,7 @@ gdk_gl_context_get_shared_context (<em class="parameter"><code><a class="link" h
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-gl-context-get-shared-context.returns"></a><h4>Returns</h4>
|
||||
<p>a <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>a <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
@ -508,7 +508,7 @@ gdk_gl_context_get_required_version (<em class="parameter"><code><a class="link"
|
||||
<a name="gdk-gl-context-set-debug-enabled"></a><h3>gdk_gl_context_set_debug_enabled ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_gl_context_set_debug_enabled (<em class="parameter"><code><a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enabled</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> enabled</code></em>);</pre>
|
||||
<p>Sets whether the <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> should perform extra validations and
|
||||
run time checking. This is useful during development, but has
|
||||
additional overhead.</p>
|
||||
@ -541,7 +541,7 @@ calling this function.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-gl-context-get-debug-enabled"></a><h3>gdk_gl_context_get_debug_enabled ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_gl_context_get_debug_enabled (<em class="parameter"><code><a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> *context</code></em>);</pre>
|
||||
<p>Retrieves the value set using <a class="link" href="GdkGLContext.html#gdk-gl-context-set-debug-enabled" title="gdk_gl_context_set_debug_enabled ()"><code class="function">gdk_gl_context_set_debug_enabled()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -561,7 +561,7 @@ gdk_gl_context_get_debug_enabled (<em class="parameter"><code><a class="link" hr
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-gl-context-get-debug-enabled.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if debugging is enabled</p>
|
||||
<p> <code class="literal">TRUE</code> if debugging is enabled</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
</div>
|
||||
@ -570,7 +570,7 @@ gdk_gl_context_get_debug_enabled (<em class="parameter"><code><a class="link" hr
|
||||
<a name="gdk-gl-context-set-forward-compatible"></a><h3>gdk_gl_context_set_forward_compatible ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_gl_context_set_forward_compatible (<em class="parameter"><code><a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> compatible</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> compatible</code></em>);</pre>
|
||||
<p>Sets whether the <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> should be forward compatible.</p>
|
||||
<p>Forward compatibile contexts must not support OpenGL functionality that
|
||||
has been marked as deprecated in the requested version; non-forward
|
||||
@ -605,7 +605,7 @@ this function.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-gl-context-get-forward-compatible"></a><h3>gdk_gl_context_get_forward_compatible ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_gl_context_get_forward_compatible (<em class="parameter"><code><a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> *context</code></em>);</pre>
|
||||
<p>Retrieves the value set using <a class="link" href="GdkGLContext.html#gdk-gl-context-set-forward-compatible" title="gdk_gl_context_set_forward_compatible ()"><code class="function">gdk_gl_context_set_forward_compatible()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -625,7 +625,7 @@ gdk_gl_context_get_forward_compatible (<em class="parameter"><code><a class="lin
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-gl-context-get-forward-compatible.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the context should be forward compatible</p>
|
||||
<p> <code class="literal">TRUE</code> if the context should be forward compatible</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
</div>
|
||||
@ -674,7 +674,7 @@ or -1 to allow auto-detection</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-gl-context-get-use-es"></a><h3>gdk_gl_context_get_use_es ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_gl_context_get_use_es (<em class="parameter"><code><a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> *context</code></em>);</pre>
|
||||
<p>Checks whether the <em class="parameter"><code>context</code></em>
|
||||
is using an OpenGL or OpenGL ES profile.</p>
|
||||
@ -695,24 +695,24 @@ gdk_gl_context_get_use_es (<em class="parameter"><code><a class="link" href="Gdk
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-gl-context-get-use-es.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> is using an OpenGL ES profile</p>
|
||||
<p> <code class="literal">TRUE</code> if the <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> is using an OpenGL ES profile</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-gl-context-is-legacy"></a><h3>gdk_gl_context_is_legacy ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_gl_context_is_legacy (<em class="parameter"><code><a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> *context</code></em>);</pre>
|
||||
<p>Whether the <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> is in legacy mode or not.</p>
|
||||
<p>The <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> must be realized before calling this function.</p>
|
||||
<p>When realizing a GL context, GDK will try to use the OpenGL 3.2 core
|
||||
profile; this profile removes all the OpenGL API that was deprecated
|
||||
prior to the 3.2 version of the specification. If the realization is
|
||||
successful, this function will return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
||||
successful, this function will return <code class="literal">FALSE</code>.</p>
|
||||
<p>If the underlying OpenGL implementation does not support core profiles,
|
||||
GDK will fall back to a pre-3.2 compatibility profile, and this function
|
||||
will return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
||||
will return <code class="literal">TRUE</code>.</p>
|
||||
<p>You can use the value returned by this function to decide which kind
|
||||
of OpenGL API to use, or whether to do extension discovery, or what
|
||||
kind of shader programs to load.</p>
|
||||
@ -733,16 +733,16 @@ kind of shader programs to load.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-gl-context-is-legacy.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the GL context is in legacy mode</p>
|
||||
<p> <code class="literal">TRUE</code> if the GL context is in legacy mode</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-gl-context-realize"></a><h3>gdk_gl_context_realize ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_gl_context_realize (<em class="parameter"><code><a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||
<p>Realizes the given <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a>.</p>
|
||||
<p>It is safe to call this function on a realized <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -761,7 +761,7 @@ gdk_gl_context_realize (<em class="parameter"><code><a class="link" href="GdkGLC
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>error</p></td>
|
||||
<td class="parameter_description"><p>return location for a <a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
|
||||
<td class="parameter_description"><p>return location for a <span class="type">GError</span></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -769,7 +769,7 @@ gdk_gl_context_realize (<em class="parameter"><code><a class="link" href="GdkGLC
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-gl-context-realize.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the context is realized</p>
|
||||
<p> <code class="literal">TRUE</code> if the context is realized</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
</div>
|
||||
@ -805,7 +805,7 @@ gdk_gl_context_get_current (<em class="parameter"><code><span class="type">void<
|
||||
<p>Retrieves the current <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-gl-context-get-current.returns"></a><h4>Returns</h4>
|
||||
<p>the current <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>the current <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a>, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
@ -880,7 +880,7 @@ until <a class="link" href="GdkGLContext.html#gdk-gl-context-make-current" title
|
||||
<div class="refsect2">
|
||||
<a name="GdkGLContext--shared-context"></a><h3>The <code class="literal">“shared-context”</code> property</h3>
|
||||
<pre class="programlisting"> “shared-context” <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> *</pre>
|
||||
<p>The <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> that this context is sharing data with, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
|
||||
<p>The <a class="link" href="GdkGLContext.html" title="GdkGLContext"><span class="type">GdkGLContext</span></a> that this context is sharing data with, or <code class="literal">NULL</code></p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
</div>
|
||||
|
@ -122,7 +122,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkMonitor.html#gdk-monitor-is-primary" title="gdk_monitor_is_primary ()">gdk_monitor_is_primary</a> <span class="c_punctuation">()</span>
|
||||
@ -153,29 +153,29 @@
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GdkMonitor.html#GdkMonitor--height-mm" title="The “height-mm” property">height-mm</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GdkMonitor.html#GdkMonitor--manufacturer" title="The “manufacturer” property">manufacturer</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GdkMonitor.html#GdkMonitor--model" title="The “model” property">model</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GdkMonitor.html#GdkMonitor--refresh-rate" title="The “refresh-rate” property">refresh-rate</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GdkMonitor.html#GdkMonitor--scale-factor" title="The “scale-factor” property">scale-factor</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
@ -185,7 +185,7 @@
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GdkMonitor.html#GdkMonitor--width-mm" title="The “width-mm” property">width-mm</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
@ -209,7 +209,7 @@
|
||||
<tbody><tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkMonitor.html#GdkMonitor-invalidate" title="The “invalidate” signal">invalidate</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
|
||||
<td class="signal_flags">Run First</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
@ -234,7 +234,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GdkMonitor.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GdkMonitor
|
||||
</pre>
|
||||
</div>
|
||||
@ -433,7 +433,7 @@ gdk_monitor_get_manufacturer (<em class="parameter"><code><a class="link" href="
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-monitor-get-manufacturer.returns"></a><h4>Returns</h4>
|
||||
<p>the name of the manufacturer, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>the name of the manufacturer, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
@ -460,7 +460,7 @@ gdk_monitor_get_model (<em class="parameter"><code><a class="link" href="GdkMoni
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-monitor-get-model.returns"></a><h4>Returns</h4>
|
||||
<p>the monitor model, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>the monitor model, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
@ -556,7 +556,7 @@ primaries for each pixel in this monitor, if available.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-monitor-is-primary"></a><h3>gdk_monitor_is_primary ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_monitor_is_primary (<em class="parameter"><code><a class="link" href="GdkMonitor.html" title="GdkMonitor"><span class="type">GdkMonitor</span></a> *monitor</code></em>);</pre>
|
||||
<p>Gets whether this monitor should be considered primary
|
||||
(see <a class="link" href="GdkDisplay.html#gdk-display-get-primary-monitor" title="gdk_display_get_primary_monitor ()"><code class="function">gdk_display_get_primary_monitor()</code></a>).</p>
|
||||
@ -577,7 +577,7 @@ gdk_monitor_is_primary (<em class="parameter"><code><a class="link" href="GdkMon
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-monitor-is-primary.returns"></a><h4>Returns</h4>
|
||||
<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>monitor</code></em>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>monitor</code></em>
|
||||
is primary</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
||||
@ -669,7 +669,7 @@ of physical pixels on an output device are laid out.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkMonitor--height-mm"></a><h3>The <code class="literal">“height-mm”</code> property</h3>
|
||||
<pre class="programlisting"> “height-mm” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “height-mm” <span class="type">gint</span></pre>
|
||||
<p>The height of the monitor, in millimeters.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
@ -678,7 +678,7 @@ of physical pixels on an output device are laid out.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkMonitor--manufacturer"></a><h3>The <code class="literal">“manufacturer”</code> property</h3>
|
||||
<pre class="programlisting"> “manufacturer” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “manufacturer” <span class="type">gchar</span> *</pre>
|
||||
<p>The manufacturer name.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -686,7 +686,7 @@ of physical pixels on an output device are laid out.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkMonitor--model"></a><h3>The <code class="literal">“model”</code> property</h3>
|
||||
<pre class="programlisting"> “model” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “model” <span class="type">gchar</span> *</pre>
|
||||
<p>The model name.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -694,7 +694,7 @@ of physical pixels on an output device are laid out.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkMonitor--refresh-rate"></a><h3>The <code class="literal">“refresh-rate”</code> property</h3>
|
||||
<pre class="programlisting"> “refresh-rate” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “refresh-rate” <span class="type">gint</span></pre>
|
||||
<p>The refresh rate, in millihertz.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
@ -703,7 +703,7 @@ of physical pixels on an output device are laid out.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkMonitor--scale-factor"></a><h3>The <code class="literal">“scale-factor”</code> property</h3>
|
||||
<pre class="programlisting"> “scale-factor” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “scale-factor” <span class="type">gint</span></pre>
|
||||
<p>The scale factor.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
@ -720,7 +720,7 @@ of physical pixels on an output device are laid out.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkMonitor--width-mm"></a><h3>The <code class="literal">“width-mm”</code> property</h3>
|
||||
<pre class="programlisting"> “width-mm” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “width-mm” <span class="type">gint</span></pre>
|
||||
<p>The width of the monitor, in millimeters.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
@ -740,8 +740,8 @@ of physical pixels on an output device are laid out.</p>
|
||||
<a name="GdkMonitor-invalidate"></a><h3>The <code class="literal">“invalidate”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkMonitor.html" title="GdkMonitor"><span class="type">GdkMonitor</span></a> *gdkmonitor,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>Flags: Run First</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -68,7 +68,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-is-composited" title="gdk_screen_is_composited ()">gdk_screen_is_composited</a> <span class="c_punctuation">()</span>
|
||||
@ -92,7 +92,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-number" title="gdk_screen_get_number ()">gdk_screen_get_number</a> <span class="c_punctuation">()</span>
|
||||
@ -100,7 +100,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-width" title="gdk_screen_get_width ()">gdk_screen_get_width</a> <span class="c_punctuation">()</span>
|
||||
@ -108,7 +108,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-height" title="gdk_screen_get_height ()">gdk_screen_get_height</a> <span class="c_punctuation">()</span>
|
||||
@ -116,7 +116,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-width-mm" title="gdk_screen_get_width_mm ()">gdk_screen_get_width_mm</a> <span class="c_punctuation">()</span>
|
||||
@ -124,7 +124,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-height-mm" title="gdk_screen_get_height_mm ()">gdk_screen_get_height_mm</a> <span class="c_punctuation">()</span>
|
||||
@ -132,7 +132,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<span class="returnvalue">GList</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-list-visuals" title="gdk_screen_list_visuals ()">gdk_screen_list_visuals</a> <span class="c_punctuation">()</span>
|
||||
@ -140,7 +140,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<span class="returnvalue">GList</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-toplevel-windows" title="gdk_screen_get_toplevel_windows ()">gdk_screen_get_toplevel_windows</a> <span class="c_punctuation">()</span>
|
||||
@ -148,7 +148,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-make-display-name" title="gdk_screen_make_display_name ()">gdk_screen_make_display_name</a> <span class="c_punctuation">()</span>
|
||||
@ -156,7 +156,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-n-monitors" title="gdk_screen_get_n_monitors ()">gdk_screen_get_n_monitors</a> <span class="c_punctuation">()</span>
|
||||
@ -164,7 +164,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-primary-monitor" title="gdk_screen_get_primary_monitor ()">gdk_screen_get_primary_monitor</a> <span class="c_punctuation">()</span>
|
||||
@ -188,7 +188,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-monitor-at-point" title="gdk_screen_get_monitor_at_point ()">gdk_screen_get_monitor_at_point</a> <span class="c_punctuation">()</span>
|
||||
@ -196,7 +196,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-monitor-at-window" title="gdk_screen_get_monitor_at_window ()">gdk_screen_get_monitor_at_window</a> <span class="c_punctuation">()</span>
|
||||
@ -204,7 +204,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-monitor-height-mm" title="gdk_screen_get_monitor_height_mm ()">gdk_screen_get_monitor_height_mm</a> <span class="c_punctuation">()</span>
|
||||
@ -212,7 +212,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-monitor-width-mm" title="gdk_screen_get_monitor_width_mm ()">gdk_screen_get_monitor_width_mm</a> <span class="c_punctuation">()</span>
|
||||
@ -220,7 +220,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-monitor-plug-name" title="gdk_screen_get_monitor_plug_name ()">gdk_screen_get_monitor_plug_name</a> <span class="c_punctuation">()</span>
|
||||
@ -228,7 +228,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-monitor-scale-factor" title="gdk_screen_get_monitor_scale_factor ()">gdk_screen_get_monitor_scale_factor</a> <span class="c_punctuation">()</span>
|
||||
@ -236,7 +236,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-setting" title="gdk_screen_get_setting ()">gdk_screen_get_setting</a> <span class="c_punctuation">()</span>
|
||||
@ -259,7 +259,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<span class="returnvalue">gdouble</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-resolution" title="gdk_screen_get_resolution ()">gdk_screen_get_resolution</a> <span class="c_punctuation">()</span>
|
||||
@ -283,7 +283,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<span class="returnvalue">GList</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-get-window-stack" title="gdk_screen_get_window_stack ()">gdk_screen_get_window_stack</a> <span class="c_punctuation">()</span>
|
||||
@ -302,12 +302,12 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></td>
|
||||
<td class="property_type"><span class="type">gpointer</span></td>
|
||||
<td class="property_name"><a class="link" href="GdkScreen.html#GdkScreen--font-options" title="The “font-options” property">font-options</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
||||
<td class="property_type"><span class="type">gdouble</span></td>
|
||||
<td class="property_name"><a class="link" href="GdkScreen.html#GdkScreen--resolution" title="The “resolution” property">resolution</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -326,17 +326,17 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkScreen.html#GdkScreen-composited-changed" title="The “composited-changed” signal">composited-changed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkScreen.html#GdkScreen-monitors-changed" title="The “monitors-changed” signal">monitors-changed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkScreen.html#GdkScreen-size-changed" title="The “size-changed” signal">size-changed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -356,7 +356,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GdkScreen.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GdkScreen
|
||||
</pre>
|
||||
</div>
|
||||
@ -388,7 +388,7 @@ gdk_screen_get_default (<em class="parameter"><code><span class="type">void</spa
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-get-default" title="gdk_display_get_default ()"><code class="function">gdk_display_get_default()</code></a>).</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-screen-get-default.returns"></a><h4>Returns</h4>
|
||||
<p>a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
||||
<p>a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>, or <code class="literal">NULL</code> if
|
||||
there is no default display. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -432,8 +432,8 @@ The return value should not be freed.</p>
|
||||
gdk_screen_get_rgba_visual (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<p>Gets a visual to use for creating windows with an alpha channel.
|
||||
The windowing system on which GTK+ is running
|
||||
may not support this capability, in which case <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will
|
||||
be returned. Even if a non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> value is returned, its
|
||||
may not support this capability, in which case <code class="literal">NULL</code> will
|
||||
be returned. Even if a non-<code class="literal">NULL</code> value is returned, its
|
||||
possible that the window’s alpha channel won’t be honored
|
||||
when displaying the window on the screen: in particular, for
|
||||
X an appropriate windowing manager and compositing manager
|
||||
@ -459,7 +459,7 @@ must be running to provide appropriate display.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-screen-get-rgba-visual.returns"></a><h4>Returns</h4>
|
||||
<p>a visual to use for windows
|
||||
with an alpha channel or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the capability is not
|
||||
with an alpha channel or <code class="literal">NULL</code> if the capability is not
|
||||
available. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -468,7 +468,7 @@ available. </p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-is-composited"></a><h3>gdk_screen_is_composited ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_screen_is_composited (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<p>Returns whether windows with an RGBA visual can reasonably
|
||||
be expected to have their alpha channel drawn correctly on
|
||||
@ -560,7 +560,7 @@ belongs. </p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-number"></a><h3>gdk_screen_get_number ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_get_number (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gdk_screen_get_number</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p></div>
|
||||
<p>Gets the index of <em class="parameter"><code>screen</code></em>
|
||||
@ -590,7 +590,7 @@ to which it belongs. (See <a class="link" href="GdkScreen.html#gdk-screen-get-di
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-width"></a><h3>gdk_screen_get_width ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_get_width (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_get_width</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -625,7 +625,7 @@ in pixels.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-height"></a><h3>gdk_screen_get_height ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_get_height (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_get_height</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -660,7 +660,7 @@ in pixels.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-width-mm"></a><h3>gdk_screen_get_width_mm ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_get_width_mm (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_get_width_mm</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -696,7 +696,7 @@ in millimeters.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-height-mm"></a><h3>gdk_screen_get_height_mm ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_get_height_mm (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_get_height_mm</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -732,14 +732,14 @@ in millimeters.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-list-visuals"></a><h3>gdk_screen_list_visuals ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
||||
gdk_screen_list_visuals (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<p>Lists the available visuals for the specified <em class="parameter"><code>screen</code></em>
|
||||
.
|
||||
A visual describes a hardware image data format.
|
||||
For example, a visual might support 24-bit color, or 8-bit color,
|
||||
and might expect pixels to be in a certain format.</p>
|
||||
<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>
|
||||
<p>Call <code class="function">g_list_free()</code> on the return value when you’re finished with it.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-screen-list-visuals.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -765,13 +765,13 @@ and might expect pixels to be in a certain format.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-toplevel-windows"></a><h3>gdk_screen_get_toplevel_windows ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
||||
gdk_screen_get_toplevel_windows (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<p>Obtains a list of all toplevel windows known to GDK on the screen <em class="parameter"><code>screen</code></em>
|
||||
.
|
||||
A toplevel window is a child of the root window (see
|
||||
<a class="link" href="gdk3-Windows.html#gdk-get-default-root-window" title="gdk_get_default_root_window ()"><code class="function">gdk_get_default_root_window()</code></a>).</p>
|
||||
<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
|
||||
<p>The returned list should be freed with <code class="function">g_list_free()</code>, but
|
||||
its elements need not be freed.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-screen-get-toplevel-windows.parameters"></a><h4>Parameters</h4>
|
||||
@ -790,7 +790,7 @@ its elements need not be freed.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-screen-get-toplevel-windows.returns"></a><h4>Returns</h4>
|
||||
<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>
|
||||
<p>list of toplevel windows, free with <code class="function">g_list_free()</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GdkWindow]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.2</p>
|
||||
@ -798,7 +798,7 @@ its elements need not be freed.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-make-display-name"></a><h3>gdk_screen_make_display_name ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gdk_screen_make_display_name (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gdk_screen_make_display_name</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p></div>
|
||||
<p>Determines the name to pass to <a class="link" href="GdkDisplay.html#gdk-display-open" title="gdk_display_open ()"><code class="function">gdk_display_open()</code></a> to get
|
||||
@ -820,14 +820,14 @@ a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">G
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-screen-make-display-name.returns"></a><h4>Returns</h4>
|
||||
<p> a newly allocated string, free with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a></p>
|
||||
<p> a newly allocated string, free with <code class="function">g_free()</code></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.2</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-n-monitors"></a><h3>gdk_screen_get_n_monitors ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_get_n_monitors (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_get_n_monitors</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -860,7 +860,7 @@ consists of</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-primary-monitor"></a><h3>gdk_screen_get_primary_monitor ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_get_primary_monitor (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_get_primary_monitor</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -900,7 +900,7 @@ will be 0, defaulting to the first monitor.</p>
|
||||
<a name="gdk-screen-get-monitor-geometry"></a><h3>gdk_screen_get_monitor_geometry ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_screen_get_monitor_geometry (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> monitor_num</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> monitor_num</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *dest</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_get_monitor_geometry</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -950,7 +950,7 @@ the monitor geometry. </p></td>
|
||||
<a name="gdk-screen-get-monitor-workarea"></a><h3>gdk_screen_get_monitor_workarea ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_screen_get_monitor_workarea (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> monitor_num</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> monitor_num</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *dest</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_get_monitor_workarea</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -1002,10 +1002,10 @@ the monitor workarea. </p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-monitor-at-point"></a><h3>gdk_screen_get_monitor_at_point ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_get_monitor_at_point (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_get_monitor_at_point</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkDisplay.html#gdk-display-get-monitor-at-point" title="gdk_display_get_monitor_at_point ()"><code class="function">gdk_display_get_monitor_at_point()</code></a> instead</p>
|
||||
@ -1054,7 +1054,7 @@ a monitor close to (<em class="parameter"><code>x</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-monitor-at-window"></a><h3>gdk_screen_get_monitor_at_window ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_get_monitor_at_window (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
||||
<div class="warning">
|
||||
@ -1100,9 +1100,9 @@ close to <em class="parameter"><code>window</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-monitor-height-mm"></a><h3>gdk_screen_get_monitor_height_mm ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_get_monitor_height_mm (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> monitor_num</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> monitor_num</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_get_monitor_height_mm</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkMonitor.html#gdk-monitor-get-height-mm" title="gdk_monitor_get_height_mm ()"><code class="function">gdk_monitor_get_height_mm()</code></a> instead</p>
|
||||
@ -1139,9 +1139,9 @@ gdk_screen_get_monitor_height_mm (<em class="parameter"><code><a class="link" hr
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-monitor-width-mm"></a><h3>gdk_screen_get_monitor_width_mm ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_get_monitor_width_mm (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> monitor_num</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> monitor_num</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_get_monitor_width_mm</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkMonitor.html#gdk-monitor-get-width-mm" title="gdk_monitor_get_width_mm ()"><code class="function">gdk_monitor_get_width_mm()</code></a> instead</p>
|
||||
@ -1178,9 +1178,9 @@ gdk_screen_get_monitor_width_mm (<em class="parameter"><code><a class="link" hre
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-monitor-plug-name"></a><h3>gdk_screen_get_monitor_plug_name ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gdk_screen_get_monitor_plug_name (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> monitor_num</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> monitor_num</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_get_monitor_plug_name</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkMonitor.html#gdk-monitor-get-model" title="gdk_monitor_get_model ()"><code class="function">gdk_monitor_get_model()</code></a> instead</p>
|
||||
@ -1213,7 +1213,7 @@ product name of the display device.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-screen-get-monitor-plug-name.returns"></a><h4>Returns</h4>
|
||||
<p>a newly-allocated string containing the name
|
||||
of the monitor, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the name cannot be determined. </p>
|
||||
of the monitor, or <code class="literal">NULL</code> if the name cannot be determined. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.14</p>
|
||||
@ -1221,9 +1221,9 @@ of the monitor, or <a href="https://developer.gnome.org/glib/unstable/glib-Stand
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-monitor-scale-factor"></a><h3>gdk_screen_get_monitor_scale_factor ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_get_monitor_scale_factor (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> monitor_num</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> monitor_num</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_get_monitor_scale_factor</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkMonitor.html#gdk-monitor-get-scale-factor" title="gdk_monitor_get_scale_factor ()"><code class="function">gdk_monitor_get_scale_factor()</code></a> instead</p>
|
||||
@ -1265,10 +1265,10 @@ where it is better to use <a class="link" href="gdk3-Windows.html#gdk-window-get
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-setting"></a><h3>gdk_screen_get_setting ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_screen_get_setting (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<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>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
||||
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>);</pre>
|
||||
<p>Retrieves a desktop-wide setting such as double-click time
|
||||
for the <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> <em class="parameter"><code>screen</code></em>
|
||||
.</p>
|
||||
@ -1303,9 +1303,9 @@ more information.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-screen-get-setting.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the setting existed and a value was stored
|
||||
<p> <code class="literal">TRUE</code> if the setting existed and a value was stored
|
||||
in <em class="parameter"><code>value</code></em>
|
||||
, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
||||
, <code class="literal">FALSE</code> otherwise.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.2</p>
|
||||
</div>
|
||||
@ -1332,7 +1332,7 @@ gdk_screen_get_font_options (<em class="parameter"><code><a class="link" href="G
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-screen-get-font-options.returns"></a><h4>Returns</h4>
|
||||
<p>the current font options, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no
|
||||
<p>the current font options, or <code class="literal">NULL</code> if no
|
||||
default font options have been set. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -1365,7 +1365,7 @@ have already been created.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>options</p></td>
|
||||
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html#cairo-font-options-t"><span class="type">cairo_font_options_t</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset any
|
||||
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html#cairo-font-options-t"><span class="type">cairo_font_options_t</span></a>, or <code class="literal">NULL</code> to unset any
|
||||
previously set default font options. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
@ -1377,7 +1377,7 @@ previously set default font options. </p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-resolution"></a><h3>gdk_screen_get_resolution ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gdouble</span>
|
||||
gdk_screen_get_resolution (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<p>Gets the resolution for font handling on the screen; see
|
||||
<a class="link" href="GdkScreen.html#gdk-screen-set-resolution" title="gdk_screen_set_resolution ()"><code class="function">gdk_screen_set_resolution()</code></a> for full details.</p>
|
||||
@ -1408,7 +1408,7 @@ has been set.</p>
|
||||
<a name="gdk-screen-set-resolution"></a><h3>gdk_screen_set_resolution ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_screen_set_resolution (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> dpi</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> dpi</code></em>);</pre>
|
||||
<p>Sets the resolution for font handling on the screen. This is a
|
||||
scale factor between points specified in a <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription-struct"><span class="type">PangoFontDescription</span></a>
|
||||
and cairo units. The default value is 96, meaning that a 10 point
|
||||
@ -1450,10 +1450,10 @@ on the root window, as described in the
|
||||
<a class="ulink" href="http://www.freedesktop.org/Standards/wm-spec" target="_top">Extended Window Manager Hints</a>.
|
||||
If there is no currently currently active
|
||||
window, or the window manager does not support the
|
||||
_NET_ACTIVE_WINDOW hint, this function returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
||||
<p>On other platforms, this function may return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, depending on whether
|
||||
_NET_ACTIVE_WINDOW hint, this function returns <code class="literal">NULL</code>.</p>
|
||||
<p>On other platforms, this function may return <code class="literal">NULL</code>, depending on whether
|
||||
it is implementable on that platform.</p>
|
||||
<p>The returned window should be unrefed using <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> when
|
||||
<p>The returned window should be unrefed using <code class="function">g_object_unref()</code> when
|
||||
no longer needed.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-screen-get-active-window.parameters"></a><h4>Parameters</h4>
|
||||
@ -1473,7 +1473,7 @@ no longer needed.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-screen-get-active-window.returns"></a><h4>Returns</h4>
|
||||
<p>the currently active window,
|
||||
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -1481,20 +1481,20 @@ or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-get-window-stack"></a><h3>gdk_screen_get_window_stack ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
||||
gdk_screen_get_window_stack (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<p>Returns a <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a> representing the current
|
||||
<p>Returns a <span class="type">GList</span> of <a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a> representing the current
|
||||
window stack.</p>
|
||||
<p>On X11, this is done by inspecting the _NET_CLIENT_LIST_STACKING
|
||||
property on the root window, as described in the
|
||||
<a class="ulink" href="http://www.freedesktop.org/Standards/wm-spec" target="_top">Extended Window Manager Hints</a>.
|
||||
If the window manager does not support the
|
||||
_NET_CLIENT_LIST_STACKING hint, this function returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
||||
<p>On other platforms, this function may return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, depending on whether
|
||||
_NET_CLIENT_LIST_STACKING hint, this function returns <code class="literal">NULL</code>.</p>
|
||||
<p>On other platforms, this function may return <code class="literal">NULL</code>, depending on whether
|
||||
it is implementable on that platform.</p>
|
||||
<p>The returned list is newly allocated and owns references to the
|
||||
windows it contains, so it should be freed using <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> and
|
||||
its windows unrefed using <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> when no longer needed.</p>
|
||||
windows it contains, so it should be freed using <code class="function">g_list_free()</code> and
|
||||
its windows unrefed using <code class="function">g_object_unref()</code> when no longer needed.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-screen-get-window-stack.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1513,7 +1513,7 @@ its windows unrefed using <a href="https://developer.gnome.org/gobject/unstable/
|
||||
<div class="refsect3">
|
||||
<a name="gdk-screen-get-window-stack.returns"></a><h4>Returns</h4>
|
||||
<p>a
|
||||
list of <a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a> for the current window stack, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
list of <a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a> for the current window stack, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GdkWindow]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -1530,14 +1530,14 @@ list of <a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindo
|
||||
<a name="GdkScreen.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GdkScreen--font-options"></a><h3>The <code class="literal">“font-options”</code> property</h3>
|
||||
<pre class="programlisting"> “font-options” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></pre>
|
||||
<pre class="programlisting"> “font-options” <span class="type">gpointer</span></pre>
|
||||
<p>The default font options for the screen.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GdkScreen--resolution"></a><h3>The <code class="literal">“resolution”</code> property</h3>
|
||||
<pre class="programlisting"> “resolution” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
||||
<pre class="programlisting"> “resolution” <span class="type">gdouble</span></pre>
|
||||
<p>The resolution for fonts on the screen.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: [-1,10000]</p>
|
||||
@ -1550,7 +1550,7 @@ list of <a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindo
|
||||
<a name="GdkScreen-composited-changed"></a><h3>The <code class="literal">“composited-changed”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::composited-changed signal is emitted when the composited
|
||||
status of the screen changes</p>
|
||||
<div class="refsect3">
|
||||
@ -1575,7 +1575,7 @@ status of the screen changes</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1583,7 +1583,7 @@ status of the screen changes</p>
|
||||
<a name="GdkScreen-monitors-changed"></a><h3>The <code class="literal">“monitors-changed”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::monitors-changed signal is emitted when the number, size
|
||||
or position of the monitors attached to the screen change. </p>
|
||||
<p>Only for X11 and OS X for now. A future implementation for Win32
|
||||
@ -1610,7 +1610,7 @@ may be a possibility.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: 2.14</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1618,7 +1618,7 @@ may be a possibility.</p>
|
||||
<a name="GdkScreen-size-changed"></a><h3>The <code class="literal">“size-changed”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::size-changed signal is emitted when the pixel width or
|
||||
|
||||
height of a screen changes.</p>
|
||||
@ -1644,7 +1644,7 @@ height of a screen changes.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: 2.2</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -100,7 +100,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<span class="returnvalue">GList</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GdkSeat.html#gdk-seat-get-slaves" title="gdk_seat_get_slaves ()">gdk_seat_get_slaves</a> <span class="c_punctuation">()</span>
|
||||
@ -137,22 +137,22 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkSeat.html#GdkSeat-device-added" title="The “device-added” signal">device-added</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkSeat.html#GdkSeat-device-removed" title="The “device-removed” signal">device-removed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkSeat.html#GdkSeat-tool-added" title="The “tool-added” signal">tool-added</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GdkSeat.html#GdkSeat-tool-removed" title="The “tool-removed” signal">tool-removed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -178,7 +178,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GdkSeat.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GdkSeat
|
||||
</pre>
|
||||
</div>
|
||||
@ -199,7 +199,7 @@ that belong to a user.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
<span class="c_punctuation">(</span>*GdkSeatGrabPrepareFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GdkSeat.html" title="GdkSeat"><span class="type">GdkSeat</span></a> *seat</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
||||
<p>Type of the callback used to set up <em class="parameter"><code>window</code></em>
|
||||
so it can be
|
||||
grabbed. A typical action would be ensuring the window is
|
||||
@ -269,11 +269,11 @@ and must not be freed. </p>
|
||||
gdk_seat_grab (<em class="parameter"><code><a class="link" href="GdkSeat.html" title="GdkSeat"><span class="type">GdkSeat</span></a> *seat</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkSeat.html#GdkSeatCapabilities" title="enum GdkSeatCapabilities"><span class="type">GdkSeatCapabilities</span></a> capabilities</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> owner_events</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> owner_events</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Cursors.html#GdkCursor"><span class="type">GdkCursor</span></a> *cursor</code></em>,
|
||||
<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkSeat.html#GdkSeatGrabPrepareFunc" title="GdkSeatGrabPrepareFunc ()"><span class="type">GdkSeatGrabPrepareFunc</span></a> prepare_func</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> prepare_func_data</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gpointer</span> prepare_func_data</code></em>);</pre>
|
||||
<p>Grabs the seat so that all events corresponding to the given <em class="parameter"><code>capabilities</code></em>
|
||||
|
||||
are passed to this application until the seat is ungrabbed with <a class="link" href="GdkSeat.html#gdk-seat-ungrab" title="gdk_seat_ungrab ()"><code class="function">gdk_seat_ungrab()</code></a>,
|
||||
@ -291,7 +291,7 @@ is used for Drag and Drop operations, popup menus and such.</p>
|
||||
and button release events, or touch begin and touch end, then a press event
|
||||
will cause an automatic grab until the button is released, equivalent to a
|
||||
grab on the window with <em class="parameter"><code>owner_events</code></em>
|
||||
set to <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. This is done because most
|
||||
set to <code class="literal">TRUE</code>. This is done because most
|
||||
applications expect to receive paired press and release events.</p>
|
||||
<p>If you set up anything at the time you take the grab that needs to be
|
||||
cleaned up when the grab ends, you should handle the <a class="link" href="gdk3-Event-Structures.html#GdkEventGrabBroken" title="struct GdkEventGrabBroken"><span class="type">GdkEventGrabBroken</span></a>
|
||||
@ -322,11 +322,11 @@ events that are emitted when the grab ends unvoluntarily.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>owner_events</p></td>
|
||||
<td class="parameter_description"><p>if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> then all device events are reported with respect to
|
||||
<td class="parameter_description"><p>if <code class="literal">FALSE</code> then all device events are reported with respect to
|
||||
<em class="parameter"><code>window</code></em>
|
||||
and are only reported if selected by <em class="parameter"><code>event_mask</code></em>
|
||||
. If
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> then pointer events for this application are reported
|
||||
<code class="literal">TRUE</code> then pointer events for this application are reported
|
||||
as normal, but pointer events outside this application are
|
||||
reported with respect to <em class="parameter"><code>window</code></em>
|
||||
and only if selected by
|
||||
@ -337,7 +337,7 @@ and only if selected by
|
||||
<tr>
|
||||
<td class="parameter_name"><p>cursor</p></td>
|
||||
<td class="parameter_description"><p>the cursor to display while the grab is active. If
|
||||
this is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the normal cursors are used for
|
||||
this is <code class="literal">NULL</code> then the normal cursors are used for
|
||||
<em class="parameter"><code>window</code></em>
|
||||
and its descendants, and the cursor for <em class="parameter"><code>window</code></em>
|
||||
is used
|
||||
@ -346,14 +346,14 @@ elsewhere. </p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>event</p></td>
|
||||
<td class="parameter_description"><p>the event that is triggering the grab, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none
|
||||
<td class="parameter_description"><p>the event that is triggering the grab, or <code class="literal">NULL</code> if none
|
||||
is available. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>prepare_func</p></td>
|
||||
<td class="parameter_description"><p>function to
|
||||
prepare the window to be grabbed, it can be <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>
|
||||
prepare the window to be grabbed, it can be <code class="literal">NULL</code> if <em class="parameter"><code>window</code></em>
|
||||
is
|
||||
visible before this call. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>][<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> prepare_func_data]</span></td>
|
||||
@ -484,7 +484,7 @@ capabilities. This object is owned by GTK+ and must not be freed. </p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-seat-get-slaves"></a><h3>gdk_seat_get_slaves ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
||||
gdk_seat_get_slaves (<em class="parameter"><code><a class="link" href="GdkSeat.html" title="GdkSeat"><span class="type">GdkSeat</span></a> *seat</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkSeat.html#GdkSeatCapabilities" title="enum GdkSeatCapabilities"><span class="type">GdkSeatCapabilities</span></a> capabilities</code></em>);</pre>
|
||||
<p>Returns the slave devices that match the given capabilities.</p>
|
||||
@ -513,7 +513,7 @@ gdk_seat_get_slaves (<em class="parameter"><code><a class="link" href="GdkSeat.h
|
||||
<div class="refsect3">
|
||||
<a name="gdk-seat-get-slaves.returns"></a><h4>Returns</h4>
|
||||
<p>A list of <a href="GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevices</span></a>.
|
||||
The list must 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>, the elements are owned
|
||||
The list must be freed with <code class="function">g_list_free()</code>, the elements are owned
|
||||
by GDK and must not be freed. </p>
|
||||
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GdkDevice]</span></p>
|
||||
</div>
|
||||
@ -611,7 +611,7 @@ by GDK and must not be freed. </p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkSeat.html" title="GdkSeat"><span class="type">GdkSeat</span></a> *seat,
|
||||
<a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::device-added signal is emitted when a new input
|
||||
device is related to this seat.</p>
|
||||
<div class="refsect3">
|
||||
@ -641,7 +641,7 @@ device is related to this seat.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -650,7 +650,7 @@ device is related to this seat.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkSeat.html" title="GdkSeat"><span class="type">GdkSeat</span></a> *seat,
|
||||
<a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::device-removed signal is emitted when an
|
||||
input device is removed (e.g. unplugged).</p>
|
||||
<div class="refsect3">
|
||||
@ -680,7 +680,7 @@ input device is removed (e.g. unplugged).</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -689,7 +689,7 @@ input device is removed (e.g. unplugged).</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkSeat.html" title="GdkSeat"><span class="type">GdkSeat</span></a> *seat,
|
||||
<span class="type">GdkDeviceTool</span> *tool,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::tool-added signal is emitted whenever a new tool
|
||||
is made known to the seat. The tool may later be assigned
|
||||
to a device (i.e. on proximity with a tablet). The device
|
||||
@ -722,7 +722,7 @@ will emit the <a class="link" href="GdkDevice.html#GdkDevice-tool-changed" title
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -731,7 +731,7 @@ will emit the <a class="link" href="GdkDevice.html#GdkDevice-tool-changed" title
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GdkSeat.html" title="GdkSeat"><span class="type">GdkSeat</span></a> *seat,
|
||||
<span class="type">GdkDeviceTool</span> *tool,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>This signal is emitted whenever a tool is no longer known
|
||||
to this <em class="parameter"><code>seat</code></em>
|
||||
.</p>
|
||||
@ -762,7 +762,7 @@ to this <em class="parameter"><code>seat</code></em>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -131,7 +131,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="gdk3-Application-launching.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GAppLaunchContext
|
||||
<span class="lineart">╰──</span> GdkAppLaunchContext
|
||||
</pre>
|
||||
@ -172,9 +172,9 @@ screen or workspace.</p>
|
||||
<span class="function"><a href="gdk3-Application-launching.html#gdk-app-launch-context-set-timestamp">gdk_app_launch_context_set_timestamp</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-></span><span class="normal">time</span><span class="symbol">);</span>
|
||||
|
||||
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function">g_app_info_launch_default_for_uri</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"http://www.gtk.org"</span><span class="symbol">,</span><span class="normal"> context</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">))</span>
|
||||
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Message-Logging.html#g-warning">g_warning</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Launching failed: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function">g_warning</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Launching failed: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
||||
|
||||
<span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">);</span></pre></td>
|
||||
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">);</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -281,7 +281,7 @@ display are used.</p>
|
||||
<a name="gdk-app-launch-context-set-desktop"></a><h3>gdk_app_launch_context_set_desktop ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_app_launch_context_set_desktop (<em class="parameter"><code><a class="link" href="gdk3-Application-launching.html#GdkAppLaunchContext"><span class="type">GdkAppLaunchContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> desktop</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> desktop</code></em>);</pre>
|
||||
<p>Sets the workspace on which applications will be launched when
|
||||
using this context when running under a window manager that
|
||||
supports multiple workspaces, as described in the
|
||||
@ -319,7 +319,7 @@ be the current workspace.</p>
|
||||
<a name="gdk-app-launch-context-set-timestamp"></a><h3>gdk_app_launch_context_set_timestamp ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_app_launch_context_set_timestamp (<em class="parameter"><code><a class="link" href="gdk3-Application-launching.html#GdkAppLaunchContext"><span class="type">GdkAppLaunchContext</span></a> *context</code></em>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">guint32</span> timestamp</code></em>);</pre>
|
||||
<p>Sets the timestamp of <em class="parameter"><code>context</code></em>
|
||||
. The timestamp should ideally
|
||||
be taken from the event that triggered the launch.</p>
|
||||
@ -378,7 +378,7 @@ notification.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>icon</p></td>
|
||||
<td class="parameter_description"><p>a <span class="type">GIcon</span>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>a <span class="type">GIcon</span>, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -421,7 +421,7 @@ for the launched application itself.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>icon_name</p></td>
|
||||
<td class="parameter_description"><p>an icon name, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>an icon name, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -65,7 +65,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Cairo-Interaction.html#gdk-cairo-get-clip-rectangle" title="gdk_cairo_get_clip_rectangle ()">gdk_cairo_get_clip_rectangle</a> <span class="c_punctuation">()</span>
|
||||
@ -307,7 +307,7 @@ surface's device scale is set to <em class="parameter"><code>scale</code></em>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>window</p></td>
|
||||
<td class="parameter_description"><p>window to make new surface similar to, or
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none. </p></td>
|
||||
<code class="literal">NULL</code> if none. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -391,7 +391,7 @@ instead. GTK will automatically do this for you when drawing a widget.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-cairo-get-clip-rectangle"></a><h3>gdk_cairo_get_clip_rectangle ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_cairo_get_clip_rectangle (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);</pre>
|
||||
<p>This is a convenience function around <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-clip-extents"><code class="function">cairo_clip_extents()</code></a>.
|
||||
@ -413,7 +413,7 @@ a boolean indicating if a clip area exists.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>rect</p></td>
|
||||
<td class="parameter_description"><p>return location for the clip, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>return location for the clip, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -421,7 +421,7 @@ a boolean indicating if a clip area exists.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-cairo-get-clip-rectangle.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a clip rectangle exists, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if all of <em class="parameter"><code>cr</code></em>
|
||||
<p> <code class="literal">TRUE</code> if a clip rectangle exists, <code class="literal">FALSE</code> if all of <em class="parameter"><code>cr</code></em>
|
||||
is
|
||||
clipped and all drawing can be skipped</p>
|
||||
</div>
|
||||
@ -530,8 +530,8 @@ gdk_cairo_set_source_rgba (<em class="parameter"><code><a href="/usr/share/gtk-d
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_cairo_set_source_pixbuf (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
||||
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> pixbuf_x</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> pixbuf_y</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> pixbuf_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> pixbuf_y</code></em>);</pre>
|
||||
<p>Sets the given pixbuf as the source pattern for <em class="parameter"><code>cr</code></em>
|
||||
.</p>
|
||||
<p>The pattern has an extend mode of <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#CAIRO-EXTEND-NONE:CAPS"><code class="literal">CAIRO_EXTEND_NONE</code></a> and is aligned
|
||||
@ -581,8 +581,8 @@ so that the origin of <em class="parameter"><code>pixbuf</code></em>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_cairo_set_source_window (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y</code></em>);</pre>
|
||||
<p>Sets the given window as the source pattern for <em class="parameter"><code>cr</code></em>
|
||||
.</p>
|
||||
<p>The pattern has an extend mode of <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#CAIRO-EXTEND-NONE:CAPS"><code class="literal">CAIRO_EXTEND_NONE</code></a> and is aligned
|
||||
@ -756,7 +756,7 @@ the pixbuf.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>for_window</p></td>
|
||||
<td class="parameter_description"><p>The window this will be drawn to, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>The window this will be drawn to, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -57,7 +57,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Colors.html#gdk-color-parse" title="gdk_color_parse ()">gdk_color_parse</a> <span class="c_punctuation">()</span>
|
||||
@ -65,7 +65,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Colors.html#gdk-color-equal" title="gdk_color_equal ()">gdk_color_equal</a> <span class="c_punctuation">()</span>
|
||||
@ -73,7 +73,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Colors.html#gdk-color-hash" title="gdk_color_hash ()">gdk_color_hash</a> <span class="c_punctuation">()</span>
|
||||
@ -81,7 +81,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Colors.html#gdk-color-to-string" title="gdk_color_to_string ()">gdk_color_to_string</a> <span class="c_punctuation">()</span>
|
||||
@ -177,8 +177,8 @@ gdk_color_free (<em class="parameter"><code><a class="link" href="gdk3-Colors.ht
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-color-parse"></a><h3>gdk_color_parse ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gdk_color_parse (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *spec</code></em>,
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_color_parse (<em class="parameter"><code>const <span class="type">gchar</span> *spec</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_color_parse</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
||||
@ -220,13 +220,13 @@ and “#ffffffffffff”).</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-color-parse.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the parsing succeeded</p>
|
||||
<p> <code class="literal">TRUE</code> if the parsing succeeded</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-color-equal"></a><h3>gdk_color_equal ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_color_equal (<em class="parameter"><code>const <a class="link" href="gdk3-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *colora</code></em>,
|
||||
<em class="parameter"><code>const <a class="link" href="gdk3-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *colorb</code></em>);</pre>
|
||||
<div class="warning">
|
||||
@ -258,13 +258,13 @@ gdk_color_equal (<em class="parameter"><code>const <a class="link" href="gdk3-Co
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-color-equal.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the two colors compare equal</p>
|
||||
<p> <code class="literal">TRUE</code> if the two colors compare equal</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-color-hash"></a><h3>gdk_color_hash ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gdk_color_hash (<em class="parameter"><code>const <a class="link" href="gdk3-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_color_hash</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
||||
@ -296,7 +296,7 @@ table that stores <a href="gdk3-Colors.html#GdkColor"><span class="type">GdkColo
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-color-to-string"></a><h3>gdk_color_to_string ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gdk_color_to_string (<em class="parameter"><code>const <a class="link" href="gdk3-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_color_to_string</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
||||
@ -356,25 +356,25 @@ similar to the XColor struct used in the X11 drawing API.</p>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkColor.pixel"></a>pixel</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkColor.pixel"></a>pixel</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>For allocated colors, the pixel value used to
|
||||
draw this color on the screen. Not used anymore.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GdkColor.red"></a>red</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint16</span> <em class="structfield"><code><a name="GdkColor.red"></a>red</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The red component of the color. This is
|
||||
a value between 0 and 65535, with 65535 indicating
|
||||
full intensity</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GdkColor.green"></a>green</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint16</span> <em class="structfield"><code><a name="GdkColor.green"></a>green</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The green component of the color</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GdkColor.blue"></a>blue</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint16</span> <em class="structfield"><code><a name="GdkColor.blue"></a>blue</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The blue component of the color</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
|
@ -176,7 +176,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="gdk3-Cursors.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GdkCursor
|
||||
</pre>
|
||||
</div>
|
||||
@ -240,8 +240,8 @@ See <a class="link" href="gdk3-Cursors.html#gdk-cursor-new-for-display" title="g
|
||||
<pre class="programlisting"><a class="link" href="gdk3-Cursors.html#GdkCursor"><span class="returnvalue">GdkCursor</span></a> *
|
||||
gdk_cursor_new_from_pixbuf (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
||||
<p>Creates a new cursor from a pixbuf.</p>
|
||||
<p>Not all GDK backends support RGBA cursors. If they are not
|
||||
supported, a monochrome approximation will be displayed.
|
||||
@ -303,8 +303,8 @@ sufficently new version of the X Render extension.</p>
|
||||
<pre class="programlisting"><a class="link" href="gdk3-Cursors.html#GdkCursor"><span class="returnvalue">GdkCursor</span></a> *
|
||||
gdk_cursor_new_from_surface (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y</code></em>);</pre>
|
||||
<p>Creates a new cursor from a cairo image surface.</p>
|
||||
<p>Not all GDK backends support RGBA cursors. If they are not
|
||||
supported, a monochrome approximation will be displayed.
|
||||
@ -359,7 +359,7 @@ sufficently new version of the X Render extension.</p>
|
||||
<a name="gdk-cursor-new-from-name"></a><h3>gdk_cursor_new_from_name ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gdk3-Cursors.html#GdkCursor"><span class="returnvalue">GdkCursor</span></a> *
|
||||
gdk_cursor_new_from_name (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<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>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
|
||||
<p>Creates a new cursor by looking up <em class="parameter"><code>name</code></em>
|
||||
in the current cursor
|
||||
theme.</p>
|
||||
@ -426,7 +426,7 @@ platforms can be found in the CSS specification:</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-cursor-new-from-name.returns"></a><h4>Returns</h4>
|
||||
<p>a new <a class="link" href="gdk3-Cursors.html#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> if there is no
|
||||
<p>a new <a class="link" href="gdk3-Cursors.html#GdkCursor"><span class="type">GdkCursor</span></a>, or <code class="literal">NULL</code> if there is no
|
||||
cursor with the given name. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -504,7 +504,7 @@ gdk_cursor_get_image (<em class="parameter"><code><a class="link" href="gdk3-Cur
|
||||
<p>Returns a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> with the image used to display the cursor.</p>
|
||||
<p>Note that depending on the capabilities of the windowing system and
|
||||
on the cursor, GDK may not be able to obtain the image data. In this
|
||||
case, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
|
||||
case, <code class="literal">NULL</code> is returned.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-cursor-get-image.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -524,7 +524,7 @@ case, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.ht
|
||||
<a name="gdk-cursor-get-image.returns"></a><h4>Returns</h4>
|
||||
<p>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> representing
|
||||
<em class="parameter"><code>cursor</code></em>
|
||||
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.8</p>
|
||||
@ -534,12 +534,12 @@ case, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.ht
|
||||
<a name="gdk-cursor-get-surface"></a><h3>gdk_cursor_get_surface ()</h3>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="returnvalue">cairo_surface_t</span></a> *
|
||||
gdk_cursor_get_surface (<em class="parameter"><code><a class="link" href="gdk3-Cursors.html#GdkCursor"><span class="type">GdkCursor</span></a> *cursor</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_hot</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_hot</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *x_hot</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *y_hot</code></em>);</pre>
|
||||
<p>Returns a cairo image surface with the image used to display the cursor.</p>
|
||||
<p>Note that depending on the capabilities of the windowing system and
|
||||
on the cursor, GDK may not be able to obtain the image data. In this
|
||||
case, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
|
||||
case, <code class="literal">NULL</code> is returned.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-cursor-get-surface.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -557,13 +557,13 @@ case, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.ht
|
||||
<tr>
|
||||
<td class="parameter_name"><p>x_hot</p></td>
|
||||
<td class="parameter_description"><p>Location to store the hotspot x position,
|
||||
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>y_hot</p></td>
|
||||
<td class="parameter_description"><p>Location to store the hotspot y position,
|
||||
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -573,7 +573,7 @@ or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#
|
||||
<a name="gdk-cursor-get-surface.returns"></a><h4>Returns</h4>
|
||||
<p>a <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a>
|
||||
representing <em class="parameter"><code>cursor</code></em>
|
||||
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
|
||||
@ -612,7 +612,7 @@ gdk_cursor_get_cursor_type (<em class="parameter"><code><a class="link" href="gd
|
||||
gdk_cursor_ref (<em class="parameter"><code><a class="link" href="gdk3-Cursors.html#GdkCursor"><span class="type">GdkCursor</span></a> *cursor</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_cursor_ref</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <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> instead</p>
|
||||
<p>Use <code class="function">g_object_ref()</code> instead</p>
|
||||
</div>
|
||||
<p>Adds a reference to <em class="parameter"><code>cursor</code></em>
|
||||
.</p>
|
||||
@ -645,7 +645,7 @@ that was passed in. </p>
|
||||
gdk_cursor_unref (<em class="parameter"><code><a class="link" href="gdk3-Cursors.html#GdkCursor"><span class="type">GdkCursor</span></a> *cursor</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_cursor_unref</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <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> instead</p>
|
||||
<p>Use <code class="function">g_object_unref()</code> instead</p>
|
||||
</div>
|
||||
<p>Removes a reference from <em class="parameter"><code>cursor</code></em>
|
||||
, deallocating the cursor
|
||||
|
@ -115,7 +115,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Drag-and-Drop.html#gdk-drag-motion" title="gdk_drag_motion ()">gdk_drag_motion</a> <span class="c_punctuation">()</span>
|
||||
@ -139,7 +139,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Drag-and-Drop.html#gdk-drag-drop-succeeded" title="gdk_drag_drop_succeeded ()">gdk_drag_drop_succeeded</a> <span class="c_punctuation">()</span>
|
||||
@ -179,7 +179,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<span class="returnvalue">GList</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Drag-and-Drop.html#gdk-drag-context-list-targets" title="gdk_drag_context_list_targets ()">gdk_drag_context_list_targets</a> <span class="c_punctuation">()</span>
|
||||
@ -243,7 +243,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Drag-and-Drop.html#gdk-drag-context-manage-dnd" title="gdk_drag_context_manage_dnd ()">gdk_drag_context_manage_dnd</a> <span class="c_punctuation">()</span>
|
||||
@ -264,22 +264,22 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext-action-changed" title="The “action-changed” signal">action-changed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext-cancel" title="The “cancel” signal">cancel</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext-dnd-finished" title="The “dnd-finished” signal">dnd-finished</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext-drop-performed" title="The “drop-performed” signal">drop-performed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -313,7 +313,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="gdk3-Drag-and-Drop.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GdkDragContext
|
||||
</pre>
|
||||
</div>
|
||||
@ -366,7 +366,7 @@ gdk_drag_get_selection (<em class="parameter"><code><a class="link" href="gdk3-D
|
||||
<a name="gdk-drag-abort"></a><h3>gdk_drag_abort ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_drag_abort (<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<p>Aborts a drag without dropping.</p>
|
||||
<p>This function is called by the drag source.</p>
|
||||
<p>This function does not need to be called in managed drag and drop
|
||||
@ -399,8 +399,8 @@ operations. See <a class="link" href="gdk3-Drag-and-Drop.html#gdk-drag-context-m
|
||||
<a name="gdk-drop-reply"></a><h3>gdk_drop_reply ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_drop_reply (<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> accepted</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> accepted</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<p>Accepts or rejects a drop.</p>
|
||||
<p>This function is called by the drag destination in response
|
||||
to a drop initiated by the drag source.</p>
|
||||
@ -420,7 +420,7 @@ to a drop initiated by the drag source.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>accepted</p></td>
|
||||
<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 drop is accepted</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> if the drop is accepted</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -437,7 +437,7 @@ to a drop initiated by the drag source.</p>
|
||||
<a name="gdk-drag-drop"></a><h3>gdk_drag_drop ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_drag_drop (<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<p>Drops on the current destination.</p>
|
||||
<p>This function is called by the drag source.</p>
|
||||
<p>This function does not need to be called in managed drag and drop
|
||||
@ -470,8 +470,8 @@ operations. See <a class="link" href="gdk3-Drag-and-Drop.html#gdk-drag-context-m
|
||||
<a name="gdk-drag-drop-done"></a><h3>gdk_drag_drop_done ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_drag_drop_done (<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> success</code></em>);</pre>
|
||||
<p>Inform GDK if the drop ended successfully. Passing <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> success</code></em>);</pre>
|
||||
<p>Inform GDK if the drop ended successfully. Passing <code class="literal">FALSE</code>
|
||||
for <em class="parameter"><code>success</code></em>
|
||||
may trigger a drag cancellation animation.</p>
|
||||
<p>This function is called by the drag source, and should
|
||||
@ -512,8 +512,8 @@ all subsequent calls will be ignored.</p>
|
||||
gdk_drag_find_window_for_screen (<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *drag_window</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_root</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_root</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> x_root</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y_root</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> **dest_window</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragProtocol" title="enum GdkDragProtocol"><span class="type">GdkDragProtocol</span></a> *protocol</code></em>);</pre>
|
||||
<p>Finds the destination window and DND protocol to use at the
|
||||
@ -577,7 +577,7 @@ should be ignored, since it is put up by the drag source as an icon</p></td>
|
||||
<a name="gdk-drag-begin"></a><h3>gdk_drag_begin ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="returnvalue">GdkDragContext</span></a> *
|
||||
gdk_drag_begin (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *targets</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GList</span> *targets</code></em>);</pre>
|
||||
<p>Starts a drag and creates a new drag context for it.
|
||||
This function assumes that the drag is controlled by the
|
||||
client pointer device, use <a class="link" href="gdk3-Drag-and-Drop.html#gdk-drag-begin-for-device" title="gdk_drag_begin_for_device ()"><code class="function">gdk_drag_begin_for_device()</code></a> to
|
||||
@ -618,7 +618,7 @@ as list of <a href="gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">G
|
||||
<pre class="programlisting"><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="returnvalue">GdkDragContext</span></a> *
|
||||
gdk_drag_begin_for_device (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *targets</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GList</span> *targets</code></em>);</pre>
|
||||
<p>Starts a drag and creates a new drag context for it.</p>
|
||||
<p>This function is called by the drag source.</p>
|
||||
<div class="refsect3">
|
||||
@ -661,9 +661,9 @@ as list of <a href="gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">G
|
||||
<pre class="programlisting"><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="returnvalue">GdkDragContext</span></a> *
|
||||
gdk_drag_begin_from_point (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *targets</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_root</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_root</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GList</span> *targets</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> x_root</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y_root</code></em>);</pre>
|
||||
<p>Starts a drag and creates a new drag context for it.</p>
|
||||
<p>This function is called by the drag source.</p>
|
||||
<div class="refsect3">
|
||||
@ -714,15 +714,15 @@ as list of <a href="gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">G
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-drag-motion"></a><h3>gdk_drag_motion ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_drag_motion (<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *dest_window</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragProtocol" title="enum GdkDragProtocol"><span class="type">GdkDragProtocol</span></a> protocol</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_root</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_root</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> x_root</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y_root</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragAction" title="enum GdkDragAction"><span class="type">GdkDragAction</span></a> suggested_action</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragAction" title="enum GdkDragAction"><span class="type">GdkDragAction</span></a> possible_actions</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<p>Updates the drag context when the pointer moves or the
|
||||
set of actions changes.</p>
|
||||
<p>This function is called by the drag source.</p>
|
||||
@ -787,8 +787,8 @@ operations. See <a class="link" href="gdk3-Drag-and-Drop.html#gdk-drag-context-m
|
||||
<a name="gdk-drop-finish"></a><h3>gdk_drop_finish ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_drop_finish (<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> success</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> success</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<p>Ends the drag operation after a drop.</p>
|
||||
<p>This function is called by the drag destination.</p>
|
||||
<div class="refsect3">
|
||||
@ -807,7 +807,7 @@ gdk_drop_finish (<em class="parameter"><code><a class="link" href="gdk3-Drag-and
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>success</p></td>
|
||||
<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 data was successfully received</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> if the data was successfully received</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -825,7 +825,7 @@ gdk_drop_finish (<em class="parameter"><code><a class="link" href="gdk3-Drag-and
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_drag_status (<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragAction" title="enum GdkDragAction"><span class="type">GdkDragAction</span></a> action</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<p>Selects one of the actions offered by the drag source.</p>
|
||||
<p>This function is called by the drag destination in response to
|
||||
<a class="link" href="gdk3-Drag-and-Drop.html#gdk-drag-motion" title="gdk_drag_motion ()"><code class="function">gdk_drag_motion()</code></a> called by the drag source.</p>
|
||||
@ -861,7 +861,7 @@ or 0 to indicate that a drop will not be accepted</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-drag-drop-succeeded"></a><h3>gdk_drag_drop_succeeded ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_drag_drop_succeeded (<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>);</pre>
|
||||
<p>Returns whether the dropped data has been successfully
|
||||
transferred. This function is intended to be used while
|
||||
@ -884,7 +884,7 @@ meaningless at other times.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-drag-drop-succeeded.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the drop was successful.</p>
|
||||
<p> <code class="literal">TRUE</code> if the drop was successful.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.6</p>
|
||||
</div>
|
||||
@ -914,7 +914,7 @@ gdk_window_get_drag_protocol (<em class="parameter"><code><a class="link" href="
|
||||
<td class="parameter_description"><p>location of the window
|
||||
where the drop should happen. This may be <em class="parameter"><code>window</code></em>
|
||||
or a proxy window,
|
||||
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>
|
||||
or <code class="literal">NULL</code> if <em class="parameter"><code>window</code></em>
|
||||
does not support Drag and Drop. </p></td>
|
||||
<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>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
||||
</tr>
|
||||
@ -1012,7 +1012,7 @@ gdk_drag_context_get_selected_action (<em class="parameter"><code><a class="link
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-drag-context-list-targets"></a><h3>gdk_drag_context_list_targets ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
||||
gdk_drag_context_list_targets (<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>);</pre>
|
||||
<p>Retrieves the list of targets of the context.</p>
|
||||
<div class="refsect3">
|
||||
@ -1032,7 +1032,7 @@ gdk_drag_context_list_targets (<em class="parameter"><code><a class="link" href=
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-drag-context-list-targets.returns"></a><h4>Returns</h4>
|
||||
<p>a <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of targets. </p>
|
||||
<p>a <span class="type">GList</span> of targets. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GdkAtom]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.22</p>
|
||||
@ -1210,7 +1210,7 @@ the drag operation is over.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-drag-context-get-drag-window.returns"></a><h4>Returns</h4>
|
||||
<p>the drag window, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>the drag window, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
||||
@ -1220,8 +1220,8 @@ the drag operation is over.</p>
|
||||
<a name="gdk-drag-context-set-hotspot"></a><h3>gdk_drag_context_set_hotspot ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_drag_context_set_hotspot (<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_x</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_y</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> hot_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> hot_y</code></em>);</pre>
|
||||
<p>Sets the position of the drag window that will be kept
|
||||
under the cursor hotspot. Initially, the hotspot is at the
|
||||
top left corner of the drag window.</p>
|
||||
@ -1257,7 +1257,7 @@ top left corner of the drag window.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-drag-context-manage-dnd"></a><h3>gdk_drag_context_manage_dnd ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_drag_context_manage_dnd (<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *ipc_window</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragAction" title="enum GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
|
||||
@ -1308,7 +1308,7 @@ cancelled through other means.</p></li>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-drag-context-manage-dnd.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if the drag and drop operation is managed.</p>
|
||||
<p> <span class="type">TRUE</span> if the drag and drop operation is managed.</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
||||
</div>
|
||||
@ -1504,7 +1504,7 @@ should do with the dropped data.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context,
|
||||
<a class="link" href="gdk3-Drag-and-Drop.html#GdkDragAction" title="enum GdkDragAction"><span class="type">GdkDragAction</span></a> action,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>A new action is being chosen for the drag and drop operation.</p>
|
||||
<p>This signal will only be emitted if the <a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> manages
|
||||
the drag and drop operation. See <a class="link" href="gdk3-Drag-and-Drop.html#gdk-drag-context-manage-dnd" title="gdk_drag_context_manage_dnd ()"><code class="function">gdk_drag_context_manage_dnd()</code></a>
|
||||
@ -1536,7 +1536,7 @@ for more information.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1545,7 +1545,7 @@ for more information.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context,
|
||||
<a class="link" href="gdk3-Drag-and-Drop.html#GdkDragCancelReason" title="enum GdkDragCancelReason"><span class="type">GdkDragCancelReason</span></a> reason,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The drag and drop operation was cancelled.</p>
|
||||
<p>This signal will only be emitted if the <a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> manages
|
||||
the drag and drop operation. See <a class="link" href="gdk3-Drag-and-Drop.html#gdk-drag-context-manage-dnd" title="gdk_drag_context_manage_dnd ()"><code class="function">gdk_drag_context_manage_dnd()</code></a>
|
||||
@ -1577,7 +1577,7 @@ for more information.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1585,7 +1585,7 @@ for more information.</p>
|
||||
<a name="GdkDragContext-dnd-finished"></a><h3>The <code class="literal">“dnd-finished”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The drag and drop operation was finished, the drag destination
|
||||
finished reading all data. The drag source can now free all
|
||||
miscellaneous data.</p>
|
||||
@ -1614,7 +1614,7 @@ for more information.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1622,8 +1622,8 @@ for more information.</p>
|
||||
<a name="GdkDragContext-drop-performed"></a><h3>The <code class="literal">“drop-performed”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> time,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gint</span> time,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The drag and drop operation was performed on an accepting client.</p>
|
||||
<p>This signal will only be emitted if the <a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> manages
|
||||
the drag and drop operation. See <a class="link" href="gdk3-Drag-and-Drop.html#gdk-drag-context-manage-dnd" title="gdk_drag_context_manage_dnd ()"><code class="function">gdk_drag_context_manage_dnd()</code></a>
|
||||
@ -1655,7 +1655,7 @@ for more information.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -183,7 +183,7 @@
|
||||
<a name="gdk3-Event-Structures.description"></a><h2>Description</h2>
|
||||
<p>The event structures contain data specific to each type of event in GDK.</p>
|
||||
<div class="blockquote"><blockquote class="blockquote"><p>A common mistake is to forget to set the event mask of a widget so that
|
||||
the required events are received. See <a href="https://developer.gnome.org/gtk3/GtkWidget.html#gtk-widget-set-events"><code class="function">gtk_widget_set_events()</code></a>.</p></blockquote></div>
|
||||
the required events are received. See <code class="function">gtk_widget_set_events()</code>.</p></blockquote></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="gdk3-Event-Structures.functions_details"></a><h2>Functions</h2>
|
||||
@ -427,8 +427,8 @@ access these fields.</p>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventAny.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventAny.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -473,40 +473,40 @@ access these fields.</p>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventKey.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventKey.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventKey.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventKey.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventKey.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventKey.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||||
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkModifierType]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventKey.keyval"></a>keyval</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventKey.keyval"></a>keyval</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the key that was pressed or released. See the
|
||||
<code class="literal">gdk/gdkkeysyms.h</code> header file for a
|
||||
complete list of GDK key codes.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventKey.length"></a>length</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkEventKey.length"></a>length</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the length of <em class="parameter"><code>string</code></em>
|
||||
.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventKey.string"></a>string</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GdkEventKey.string"></a>string</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>a string containing an approximation of the text that
|
||||
would result from this keypress. The only correct way to handle text
|
||||
input of text is using input methods (see <a href="https://developer.gnome.org/gtk4/GtkIMContext.html#GtkIMContext-struct"><span class="type">GtkIMContext</span></a>), so this
|
||||
input of text is using input methods (see <span class="type">GtkIMContext</span>), so this
|
||||
field is deprecated and should never be used.
|
||||
(<a class="link" href="gdk3-Keyboard-Handling.html#gdk-unicode-to-keyval" title="gdk_unicode_to_keyval ()"><code class="function">gdk_unicode_to_keyval()</code></a> provides a non-deprecated way of getting
|
||||
an approximate translation for a key.) The string is encoded in the
|
||||
@ -519,17 +519,17 @@ it from the an empty translation.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GdkEventKey.hardware-keycode"></a>hardware_keycode</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint16</span> <em class="structfield"><code><a name="GdkEventKey.hardware-keycode"></a>hardware_keycode</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the raw code of the key that was pressed or released.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="GdkEventKey.group"></a>group</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GdkEventKey.group"></a>group</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the keyboard group.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventKey.is-modifier"></a>is_modifier</code></em> : 1;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventKey.is-modifier"></a>is_modifier</code></em> : 1;</p></td>
|
||||
<td class="struct_member_description"><p>a flag that indicates if <em class="parameter"><code>hardware_keycode</code></em>
|
||||
is mapped to a
|
||||
modifier. Since 2.10</p></td>
|
||||
@ -609,44 +609,44 @@ button press must also occur within 1/2 second of the first button press.</p>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventButton.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventButton.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventButton.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventButton.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventButton.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventButton.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the window.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventButton.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventButton.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the window.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventButton.axes"></a>axes</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> *<em class="structfield"><code><a name="GdkEventButton.axes"></a>axes</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><em class="parameter"><code>x</code></em>
|
||||
, <em class="parameter"><code>y</code></em>
|
||||
translated to the axes of <em class="parameter"><code>device</code></em>
|
||||
, 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>device</code></em>
|
||||
, or <code class="literal">NULL</code> if <em class="parameter"><code>device</code></em>
|
||||
is
|
||||
the mouse.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventButton.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventButton.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||||
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkModifierType]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventButton.button"></a>button</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventButton.button"></a>button</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the button which was pressed or released, numbered from 1 to 5.
|
||||
Normally button 1 is the left mouse button, 2 is the middle button,
|
||||
and 3 is the right button. On 2-button mice, the middle button can
|
||||
@ -660,13 +660,13 @@ often be simulated by pressing both mouse buttons together.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventButton.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventButton.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the root of the
|
||||
screen.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventButton.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventButton.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the root of the
|
||||
screen.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
@ -725,37 +725,37 @@ several active sequences at the same time.</p>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventTouch.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventTouch.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventTouch.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventTouch.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouch.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouch.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the window</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouch.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouch.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the window</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouch.axes"></a>axes</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> *<em class="structfield"><code><a name="GdkEventTouch.axes"></a>axes</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><em class="parameter"><code>x</code></em>
|
||||
, <em class="parameter"><code>y</code></em>
|
||||
translated to the axes of <em class="parameter"><code>device</code></em>
|
||||
, 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>device</code></em>
|
||||
, or <code class="literal">NULL</code> if <em class="parameter"><code>device</code></em>
|
||||
is
|
||||
the mouse</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventTouch.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventTouch.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||||
@ -767,7 +767,7 @@ buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enu
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouch.emulating-pointer"></a>emulating_pointer</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gboolean</span> <em class="structfield"><code><a name="GdkEventTouch.emulating-pointer"></a>emulating_pointer</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>whether the event should be used for emulating
|
||||
pointer event</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
@ -779,13 +779,13 @@ pointer event</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouch.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouch.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the root of the
|
||||
screen</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouch.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouch.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the root of the
|
||||
screen</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
@ -840,27 +840,27 @@ these, the scroll deltas can be obtained with
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventScroll.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventScroll.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventScroll.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventScroll.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventScroll.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventScroll.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the window.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventScroll.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventScroll.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the window.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventScroll.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventScroll.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||||
@ -880,29 +880,29 @@ buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enu
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventScroll.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventScroll.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the root of the
|
||||
screen.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventScroll.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventScroll.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the root of the
|
||||
screen.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventScroll.delta-x"></a>delta_x</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventScroll.delta-x"></a>delta_x</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the x coordinate of the scroll delta</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventScroll.delta-y"></a>delta_y</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventScroll.delta-y"></a>delta_y</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the y coordinate of the scroll delta</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventScroll.is-stop"></a>is_stop</code></em> : 1;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventScroll.is-stop"></a>is_stop</code></em> : 1;</p></td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
@ -948,44 +948,44 @@ screen.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventMotion.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventMotion.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventMotion.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventMotion.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventMotion.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventMotion.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the window.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventMotion.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventMotion.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the window.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventMotion.axes"></a>axes</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> *<em class="structfield"><code><a name="GdkEventMotion.axes"></a>axes</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><em class="parameter"><code>x</code></em>
|
||||
, <em class="parameter"><code>y</code></em>
|
||||
translated to the axes of <em class="parameter"><code>device</code></em>
|
||||
, 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>device</code></em>
|
||||
, or <code class="literal">NULL</code> if <em class="parameter"><code>device</code></em>
|
||||
is
|
||||
the mouse.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventMotion.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventMotion.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||||
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkModifierType]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint16"><span class="type">gint16</span></a> <em class="structfield"><code><a name="GdkEventMotion.is-hint"></a>is_hint</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint16</span> <em class="structfield"><code><a name="GdkEventMotion.is-hint"></a>is_hint</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>set to 1 if this event is just a hint, see the
|
||||
<a class="link" href="gdk3-Events.html#GDK-POINTER-MOTION-HINT-MASK:CAPS"><code class="literal">GDK_POINTER_MOTION_HINT_MASK</code></a> value of <a class="link" href="gdk3-Events.html#GdkEventMask" title="enum GdkEventMask"><span class="type">GdkEventMask</span></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
@ -997,13 +997,13 @@ buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enu
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventMotion.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventMotion.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the root of the
|
||||
screen.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventMotion.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventMotion.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the root of the
|
||||
screen.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
@ -1046,8 +1046,8 @@ redrawn.</p>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventExpose.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventExpose.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1062,7 +1062,7 @@ redrawn.</p>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventExpose.count"></a>count</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkEventExpose.count"></a>count</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the number of contiguous <a class="link" href="gdk3-Events.html#GDK-EXPOSE:CAPS"><code class="literal">GDK_EXPOSE</code></a> events following this one.
|
||||
The only use for this is “exposure compression”, i.e. handling all
|
||||
contiguous <a class="link" href="gdk3-Events.html#GDK-EXPOSE:CAPS"><code class="literal">GDK_EXPOSE</code></a> events in one go, though GDK performs some
|
||||
@ -1111,8 +1111,8 @@ exposure compression so this is not normally needed.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventVisibility.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventVisibility.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1165,8 +1165,8 @@ exposure compression so this is not normally needed.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventCrossing.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventCrossing.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1175,27 +1175,27 @@ exposure compression so this is not normally needed.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventCrossing.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventCrossing.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventCrossing.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventCrossing.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the window.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventCrossing.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventCrossing.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the window.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventCrossing.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventCrossing.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the root of the screen.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventCrossing.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventCrossing.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the root of the screen.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
@ -1216,13 +1216,13 @@ never native.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventCrossing.focus"></a>focus</code></em>;</p></td>
|
||||
<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> if <em class="parameter"><code>window</code></em>
|
||||
<td class="struct_member_name"><p><span class="type">gboolean</span> <em class="structfield"><code><a name="GdkEventCrossing.focus"></a>focus</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
|
||||
is the focus window or an inferior.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventCrossing.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventCrossing.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||||
@ -1263,13 +1263,13 @@ buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enu
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventFocus.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventFocus.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint16"><span class="type">gint16</span></a> <em class="structfield"><code><a name="GdkEventFocus.in"></a>in</code></em>;</p></td>
|
||||
<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> if the window has gained the keyboard focus, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if
|
||||
<td class="struct_member_name"><p><span class="type">gint16</span> <em class="structfield"><code><a name="GdkEventFocus.in"></a>in</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the window has gained the keyboard focus, <code class="literal">FALSE</code> if
|
||||
it has lost the focus.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
@ -1310,27 +1310,27 @@ it has lost the focus.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventConfigure.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventConfigure.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventConfigure.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkEventConfigure.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the new x coordinate of the window, relative to its parent.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventConfigure.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkEventConfigure.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the new y coordinate of the window, relative to its parent.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventConfigure.width"></a>width</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkEventConfigure.width"></a>width</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the new width of the window.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventConfigure.height"></a>height</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkEventConfigure.height"></a>height</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the new height of the window.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
@ -1371,8 +1371,8 @@ it has lost the focus.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventProperty.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventProperty.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1381,12 +1381,12 @@ it has lost the focus.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventProperty.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventProperty.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventProperty.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventProperty.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>whether the property was changed
|
||||
(<a class="link" href="gdk3-Event-Structures.html#GDK-PROPERTY-NEW-VALUE:CAPS"><code class="literal">GDK_PROPERTY_NEW_VALUE</code></a>) or deleted (<a class="link" href="gdk3-Event-Structures.html#GDK-PROPERTY-DELETE:CAPS"><code class="literal">GDK_PROPERTY_DELETE</code></a>). </p></td>
|
||||
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkPropertyState]</span></td>
|
||||
@ -1432,8 +1432,8 @@ is taken over by another client application.</p>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventSelection.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventSelection.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1452,14 +1452,14 @@ is taken over by another client application.</p>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventSelection.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventSelection.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventSelection.requestor"></a>requestor</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the window on which to place <em class="parameter"><code>property</code></em>
|
||||
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none.</p></td>
|
||||
or <code class="literal">NULL</code> if none.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1502,8 +1502,8 @@ or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventDND.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventDND.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1512,18 +1512,18 @@ or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventDND.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventDND.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gshort"><span class="type">gshort</span></a> <em class="structfield"><code><a name="GdkEventDND.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gshort</span> <em class="structfield"><code><a name="GdkEventDND.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the root of the
|
||||
screen, only set for <a class="link" href="gdk3-Events.html#GDK-DRAG-MOTION:CAPS"><code class="literal">GDK_DRAG_MOTION</code></a> and <a class="link" href="gdk3-Events.html#GDK-DROP-START:CAPS"><code class="literal">GDK_DROP_START</code></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gshort"><span class="type">gshort</span></a> <em class="structfield"><code><a name="GdkEventDND.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gshort</span> <em class="structfield"><code><a name="GdkEventDND.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the root of the
|
||||
screen, only set for <a class="link" href="gdk3-Events.html#GDK-DRAG-MOTION:CAPS"><code class="literal">GDK_DRAG_MOTION</code></a> and <a class="link" href="gdk3-Events.html#GDK-DROP-START:CAPS"><code class="literal">GDK_DROP_START</code></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
@ -1571,12 +1571,12 @@ XInput aware programs that are drawing their own cursor.</p>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventProximity.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventProximity.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventProximity.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventProximity.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
@ -1622,8 +1622,8 @@ XInput aware programs that are drawing their own cursor.</p>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventWindowState.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventWindowState.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1673,8 +1673,8 @@ XInput aware programs that are drawing their own cursor.</p>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventSetting.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventSetting.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1729,13 +1729,13 @@ extension.</p>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventOwnerChange.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventOwnerChange.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventOwnerChange.owner"></a>owner</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the new owner of the selection, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is none</p></td>
|
||||
<td class="struct_member_description"><p>the new owner of the selection, or <code class="literal">NULL</code> if there is none</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1749,12 +1749,12 @@ extension.</p>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventOwnerChange.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventOwnerChange.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the timestamp of the event</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventOwnerChange.selection-time"></a>selection_time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventOwnerChange.selection-time"></a>selection_time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time at which the selection ownership was taken
|
||||
over</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
@ -1802,19 +1802,19 @@ that previously owned the grab</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventGrabBroken.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventGrabBroken.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventGrabBroken.keyboard"></a>keyboard</code></em>;</p></td>
|
||||
<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> if a keyboard grab was broken, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if a pointer
|
||||
<td class="struct_member_name"><p><span class="type">gboolean</span> <em class="structfield"><code><a name="GdkEventGrabBroken.keyboard"></a>keyboard</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if a keyboard grab was broken, <code class="literal">FALSE</code> if a pointer
|
||||
grab was broken</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventGrabBroken.implicit"></a>implicit</code></em>;</p></td>
|
||||
<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> if the broken grab was implicit</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gboolean</span> <em class="structfield"><code><a name="GdkEventGrabBroken.implicit"></a>implicit</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the broken grab was implicit</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1823,7 +1823,7 @@ grab was broken</p></td>
|
||||
application, <em class="parameter"><code>grab_window</code></em>
|
||||
contains the new grab window. Otherwise
|
||||
<em class="parameter"><code>grab_window</code></em>
|
||||
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
||||
is <code class="literal">NULL</code>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1870,59 +1870,59 @@ is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.phase"></a>phase</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.phase"></a>phase</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the current phase of the gesture</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.n-fingers"></a>n_fingers</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.n-fingers"></a>n_fingers</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The number of fingers triggering the swipe</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time of the event in milliseconds</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouchpadSwipe.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The X coordinate of the pointer</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouchpadSwipe.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The Y coordinate of the pointer</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouchpadSwipe.dx"></a>dx</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.dx"></a>dx</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Movement delta in the X axis of the swipe focal point</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouchpadSwipe.dy"></a>dy</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.dy"></a>dy</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Movement delta in the Y axis of the swipe focal point</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouchpadSwipe.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The X coordinate of the pointer, relative to the
|
||||
root of the screen.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouchpadSwipe.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The Y coordinate of the pointer, relative to the
|
||||
root of the screen.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||||
@ -1973,71 +1973,71 @@ buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enu
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventTouchpadPinch.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventTouchpadPinch.phase"></a>phase</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.phase"></a>phase</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the current phase of the gesture</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventTouchpadPinch.n-fingers"></a>n_fingers</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.n-fingers"></a>n_fingers</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The number of fingers triggering the pinch</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventTouchpadPinch.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time of the event in milliseconds</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouchpadPinch.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The X coordinate of the pointer</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouchpadPinch.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The Y coordinate of the pointer</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouchpadPinch.dx"></a>dx</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.dx"></a>dx</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Movement delta in the X axis of the swipe focal point</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouchpadPinch.dy"></a>dy</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.dy"></a>dy</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Movement delta in the Y axis of the swipe focal point</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouchpadPinch.angle-delta"></a>angle_delta</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.angle-delta"></a>angle_delta</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The angle change in radians, negative angles
|
||||
denote counter-clockwise movements</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouchpadPinch.scale"></a>scale</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.scale"></a>scale</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The current scale, relative to that at the time of
|
||||
the corresponding <code class="literal">GDK_TOUCHPAD_GESTURE_PHASE_BEGIN</code> event</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouchpadPinch.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.x-root"></a>x_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The X coordinate of the pointer, relative to the
|
||||
root of the screen.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventTouchpadPinch.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.y-root"></a>y_root</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The Y coordinate of the pointer, relative to the
|
||||
root of the screen.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventTouchpadPinch.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.state"></a>state</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||||
@ -2081,28 +2081,28 @@ buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enu
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventPadButton.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventPadButton.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventPadButton.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventPadButton.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventPadButton.group"></a>group</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadButton.group"></a>group</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the pad group the button belongs to. A <a class="link" href="GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a> device
|
||||
may have one or more groups containing a set of buttons/rings/strips each.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventPadButton.button"></a>button</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadButton.button"></a>button</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The pad button that was pressed.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventPadButton.mode"></a>mode</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadButton.mode"></a>mode</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The current mode of <em class="parameter"><code>group</code></em>
|
||||
. Different groups in a <a class="link" href="GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a>
|
||||
device may have different current modes.</p></td>
|
||||
@ -2148,36 +2148,36 @@ device may have different current modes.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventPadAxis.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventPadAxis.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventPadAxis.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventPadAxis.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventPadAxis.group"></a>group</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadAxis.group"></a>group</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the pad group the ring/strip belongs to. A <a class="link" href="GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a>
|
||||
device may have one or more groups containing a set of buttons/rings/strips
|
||||
each.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventPadAxis.index"></a>index</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadAxis.index"></a>index</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>number of strip/ring that was interacted. This number is 0-indexed.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventPadAxis.mode"></a>mode</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadAxis.mode"></a>mode</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The current mode of <em class="parameter"><code>group</code></em>
|
||||
. Different groups in a <a class="link" href="GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a>
|
||||
device may have different current modes.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkEventPadAxis.value"></a>value</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventPadAxis.value"></a>value</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The current value for the given axis.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
@ -2219,24 +2219,24 @@ device may have different current modes.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GdkEventPadGroupMode.send-event"></a>send_event</code></em>;</p></td>
|
||||
<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> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventPadGroupMode.send-event"></a>send_event</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkEventPadGroupMode.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventPadGroupMode.time"></a>time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventPadGroupMode.group"></a>group</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadGroupMode.group"></a>group</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the pad group that is switching mode. A <a class="link" href="GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a>
|
||||
device may have one or more groups containing a set of buttons/rings/strips
|
||||
each.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkEventPadGroupMode.mode"></a>mode</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadGroupMode.mode"></a>mode</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The new mode of <em class="parameter"><code>group</code></em>
|
||||
. Different groups in a <a class="link" href="GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a>
|
||||
device may have different current modes.</p></td>
|
||||
|
@ -41,7 +41,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-events-pending" title="gdk_events_pending ()">gdk_events_pending</a> <span class="c_punctuation">()</span>
|
||||
@ -97,7 +97,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-event-get-axis" title="gdk_event_get_axis ()">gdk_event_get_axis</a> <span class="c_punctuation">()</span>
|
||||
@ -105,7 +105,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-event-get-button" title="gdk_event_get_button ()">gdk_event_get_button</a> <span class="c_punctuation">()</span>
|
||||
@ -113,7 +113,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-event-get-click-count" title="gdk_event_get_click_count ()">gdk_event_get_click_count</a> <span class="c_punctuation">()</span>
|
||||
@ -121,7 +121,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-event-get-coords" title="gdk_event_get_coords ()">gdk_event_get_coords</a> <span class="c_punctuation">()</span>
|
||||
@ -129,7 +129,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-event-get-keycode" title="gdk_event_get_keycode ()">gdk_event_get_keycode</a> <span class="c_punctuation">()</span>
|
||||
@ -137,7 +137,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-event-get-keyval" title="gdk_event_get_keyval ()">gdk_event_get_keyval</a> <span class="c_punctuation">()</span>
|
||||
@ -145,7 +145,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-event-get-root-coords" title="gdk_event_get_root_coords ()">gdk_event_get_root_coords</a> <span class="c_punctuation">()</span>
|
||||
@ -153,7 +153,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-event-get-scroll-direction" title="gdk_event_get_scroll_direction ()">gdk_event_get_scroll_direction</a> <span class="c_punctuation">()</span>
|
||||
@ -161,7 +161,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-event-get-scroll-deltas" title="gdk_event_get_scroll_deltas ()">gdk_event_get_scroll_deltas</a> <span class="c_punctuation">()</span>
|
||||
@ -169,7 +169,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-event-is-scroll-stop-event" title="gdk_event_is_scroll_stop_event ()">gdk_event_is_scroll_stop_event</a> <span class="c_punctuation">()</span>
|
||||
@ -177,7 +177,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-event-get-state" title="gdk_event_get_state ()">gdk_event_get_state</a> <span class="c_punctuation">()</span>
|
||||
@ -185,7 +185,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
<span class="returnvalue">guint32</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-event-get-time" title="gdk_event_get_time ()">gdk_event_get_time</a> <span class="c_punctuation">()</span>
|
||||
@ -225,7 +225,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-events-get-angle" title="gdk_events_get_angle ()">gdk_events_get_angle</a> <span class="c_punctuation">()</span>
|
||||
@ -233,7 +233,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-events-get-center" title="gdk_events_get_center ()">gdk_events_get_center</a> <span class="c_punctuation">()</span>
|
||||
@ -241,7 +241,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-events-get-distance" title="gdk_events_get_distance ()">gdk_events_get_distance</a> <span class="c_punctuation">()</span>
|
||||
@ -249,7 +249,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-event-triggers-context-menu" title="gdk_event_triggers_context_menu ()">gdk_event_triggers_context_menu</a> <span class="c_punctuation">()</span>
|
||||
@ -273,7 +273,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-event-get-pointer-emulated" title="gdk_event_get_pointer_emulated ()">gdk_event_get_pointer_emulated</a> <span class="c_punctuation">()</span>
|
||||
@ -297,7 +297,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-get-show-events" title="gdk_get_show_events ()">gdk_get_show_events</a> <span class="c_punctuation">()</span>
|
||||
@ -377,7 +377,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Events.html#gdk-setting-get" title="gdk_setting_get ()">gdk_setting_get</a> <span class="c_punctuation">()</span>
|
||||
@ -451,7 +451,7 @@
|
||||
<p>This section describes functions dealing with events from the window
|
||||
system.</p>
|
||||
<p>In GTK+ applications the events are handled automatically in
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-General.html#gtk-main-do-event"><code class="function">gtk_main_do_event()</code></a> and passed on to the appropriate widgets, so these
|
||||
<code class="function">gtk_main_do_event()</code> and passed on to the appropriate widgets, so these
|
||||
functions are rarely needed. Though some of the fields in the
|
||||
<a class="link" href="gdk3-Event-Structures.html" title="Event Structures">Event Structures</a> are useful.</p>
|
||||
</div>
|
||||
@ -459,12 +459,12 @@ functions are rarely needed. Though some of the fields in the
|
||||
<a name="gdk3-Events.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-events-pending"></a><h3>gdk_events_pending ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_events_pending (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<p>Checks if any events are ready to be processed for any display.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-events-pending.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if any events are pending.</p>
|
||||
<p> <code class="literal">TRUE</code> if any events are pending.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -477,7 +477,7 @@ display, returns a copy of it. See <a class="link" href="GdkDisplay.html#gdk-dis
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-peek.returns"></a><h4>Returns</h4>
|
||||
<p>a copy of the first <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> on some event
|
||||
queue, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no events are in any queues. The returned
|
||||
queue, or <code class="literal">NULL</code> if no events are in any queues. The returned
|
||||
<a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> should be freed with <a class="link" href="gdk3-Events.html#gdk-event-free" title="gdk_event_free ()"><code class="function">gdk_event_free()</code></a>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -492,7 +492,7 @@ on, fetching events from the windowing system if necessary.
|
||||
See <a class="link" href="GdkDisplay.html#gdk-display-get-event" title="gdk_display_get_event ()"><code class="function">gdk_display_get_event()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get.returns"></a><h4>Returns</h4>
|
||||
<p>the next <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> to be processed, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
||||
<p>the next <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> to be processed, or <code class="literal">NULL</code>
|
||||
if no events are pending. The returned <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> should be freed
|
||||
with <a class="link" href="gdk3-Events.html#gdk-event-free" title="gdk_event_free ()"><code class="function">gdk_event_free()</code></a>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
@ -505,7 +505,7 @@ with <a class="link" href="gdk3-Events.html#gdk-event-free" title="gdk_event_fre
|
||||
gdk_event_put (<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
||||
<p>Appends a copy of the given event onto the front of the event
|
||||
queue for event->any.window’s display, or the default event
|
||||
queue if event->any.window is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. See <a class="link" href="GdkDisplay.html#gdk-display-put-event" title="gdk_display_put_event ()"><code class="function">gdk_display_put_event()</code></a>.</p>
|
||||
queue if event->any.window is <code class="literal">NULL</code>. See <a class="link" href="GdkDisplay.html#gdk-display-put-event" title="gdk_display_put_event ()"><code class="function">gdk_display_put_event()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-put.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -607,10 +607,10 @@ and <a class="link" href="gdk3-Events.html#gdk-event-new" title="gdk_event_new
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-event-get-axis"></a><h3>gdk_event_get_axis ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_event_get_axis (<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GdkDevice.html#GdkAxisUse" title="enum GdkAxisUse"><span class="type">GdkAxisUse</span></a> axis_use</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *value</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre>
|
||||
<p>Extract the axis value for a particular axis use from
|
||||
an event structure.</p>
|
||||
<div class="refsect3">
|
||||
@ -642,15 +642,15 @@ an event structure.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-axis.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the specified axis was found, otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
|
||||
<p> <code class="literal">TRUE</code> if the specified axis was found, otherwise <code class="literal">FALSE</code></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-event-get-button"></a><h3>gdk_event_get_button ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_event_get_button (<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *button</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> *button</code></em>);</pre>
|
||||
<p>Extract the button number from an event.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-button.parameters"></a><h4>Parameters</h4>
|
||||
@ -676,16 +676,16 @@ gdk_event_get_button (<em class="parameter"><code>const <a class="link" href="gd
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-button.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event delivered a button number</p>
|
||||
<p> <code class="literal">TRUE</code> if the event delivered a button number</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-event-get-click-count"></a><h3>gdk_event_get_click_count ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_event_get_click_count (<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *click_count</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> *click_count</code></em>);</pre>
|
||||
<p>Extracts the click count from an event.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-click-count.parameters"></a><h4>Parameters</h4>
|
||||
@ -711,17 +711,17 @@ gdk_event_get_click_count (<em class="parameter"><code>const <a class="link" hre
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-click-count.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event delivered a click count</p>
|
||||
<p> <code class="literal">TRUE</code> if the event delivered a click count</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-event-get-coords"></a><h3>gdk_event_get_coords ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_event_get_coords (<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_win</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_win</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *x_win</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *y_win</code></em>);</pre>
|
||||
<p>Extract the event window relative x/y coordinates from an event.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-coords.parameters"></a><h4>Parameters</h4>
|
||||
@ -752,15 +752,15 @@ gdk_event_get_coords (<em class="parameter"><code>const <a class="link" href="gd
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-coords.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event delivered event window coordinates</p>
|
||||
<p> <code class="literal">TRUE</code> if the event delivered event window coordinates</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-event-get-keycode"></a><h3>gdk_event_get_keycode ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_event_get_keycode (<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> *keycode</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint16</span> *keycode</code></em>);</pre>
|
||||
<p>Extracts the hardware keycode from an event.</p>
|
||||
<p>Also see <a class="link" href="gdk3-Events.html#gdk-event-get-scancode" title="gdk_event_get_scancode ()"><code class="function">gdk_event_get_scancode()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -787,16 +787,16 @@ gdk_event_get_keycode (<em class="parameter"><code>const <a class="link" href="g
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-keycode.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event delivered a hardware keycode</p>
|
||||
<p> <code class="literal">TRUE</code> if the event delivered a hardware keycode</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-event-get-keyval"></a><h3>gdk_event_get_keyval ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_event_get_keyval (<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *keyval</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> *keyval</code></em>);</pre>
|
||||
<p>Extracts the keyval from an event.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-keyval.parameters"></a><h4>Parameters</h4>
|
||||
@ -822,17 +822,17 @@ gdk_event_get_keyval (<em class="parameter"><code>const <a class="link" href="gd
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-keyval.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event delivered a key symbol</p>
|
||||
<p> <code class="literal">TRUE</code> if the event delivered a key symbol</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-event-get-root-coords"></a><h3>gdk_event_get_root_coords ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_event_get_root_coords (<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_root</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_root</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *x_root</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *y_root</code></em>);</pre>
|
||||
<p>Extract the root window relative x/y coordinates from an event.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-root-coords.parameters"></a><h4>Parameters</h4>
|
||||
@ -863,13 +863,13 @@ gdk_event_get_root_coords (<em class="parameter"><code>const <a class="link" hre
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-root-coords.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event delivered root window coordinates</p>
|
||||
<p> <code class="literal">TRUE</code> if the event delivered root window coordinates</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-event-get-scroll-direction"></a><h3>gdk_event_get_scroll_direction ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_event_get_scroll_direction (<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Event-Structures.html#GdkScrollDirection" title="enum GdkScrollDirection"><span class="type">GdkScrollDirection</span></a> *direction</code></em>);</pre>
|
||||
<p>Extracts the scroll direction from an event.</p>
|
||||
@ -897,17 +897,17 @@ gdk_event_get_scroll_direction (<em class="parameter"><code>const <a class="link
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-scroll-direction.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event delivered a scroll direction</p>
|
||||
<p> <code class="literal">TRUE</code> if the event delivered a scroll direction</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-event-get-scroll-deltas"></a><h3>gdk_event_get_scroll_deltas ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_event_get_scroll_deltas (<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *delta_x</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *delta_y</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *delta_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *delta_y</code></em>);</pre>
|
||||
<p>Retrieves the scroll deltas from a <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a></p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-scroll-deltas.parameters"></a><h4>Parameters</h4>
|
||||
@ -938,14 +938,14 @@ gdk_event_get_scroll_deltas (<em class="parameter"><code>const <a class="link" h
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-scroll-deltas.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event contains smooth scroll information</p>
|
||||
<p> <code class="literal">TRUE</code> if the event contains smooth scroll information</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-4.html#api-index-3.4">3.4</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-event-is-scroll-stop-event"></a><h3>gdk_event_is_scroll_stop_event ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_event_is_scroll_stop_event (<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
||||
<p>Check whether a scroll event is a stop scroll event. Scroll sequences
|
||||
with smooth scroll information may provide a stop scroll event once the
|
||||
@ -970,21 +970,21 @@ scrolling based on the current velocity.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-is-scroll-stop-event.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event is a scroll stop event</p>
|
||||
<p> <code class="literal">TRUE</code> if the event is a scroll stop event</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-event-get-state"></a><h3>gdk_event_get_state ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_event_get_state (<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a> *state</code></em>);</pre>
|
||||
<p>If the event contains a “state” field, puts that field in <em class="parameter"><code>state</code></em>
|
||||
. Otherwise
|
||||
stores an empty state (0). Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there was a state field
|
||||
stores an empty state (0). Returns <code class="literal">TRUE</code> if there was a state field
|
||||
in the event. <em class="parameter"><code>event</code></em>
|
||||
may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, in which case it’s treated
|
||||
may be <code class="literal">NULL</code>, in which case it’s treated
|
||||
as if the event had no state field.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-state.parameters"></a><h4>Parameters</h4>
|
||||
@ -997,7 +997,7 @@ as if the event had no state field.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>event</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</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>
|
||||
<td class="parameter_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1010,18 +1010,18 @@ as if the event had no state field.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-state.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there was a state field in the event </p>
|
||||
<p> <code class="literal">TRUE</code> if there was a state field in the event </p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-event-get-time"></a><h3>gdk_event_get_time ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">guint32</span>
|
||||
gdk_event_get_time (<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
||||
<p>Returns the time stamp from <em class="parameter"><code>event</code></em>
|
||||
, if there is one; otherwise
|
||||
returns <a class="link" href="gdk3-Events.html#GDK-CURRENT-TIME:CAPS" title="GDK_CURRENT_TIME"><span class="type">GDK_CURRENT_TIME</span></a>. If <em class="parameter"><code>event</code></em>
|
||||
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, returns <a class="link" href="gdk3-Events.html#GDK-CURRENT-TIME:CAPS" title="GDK_CURRENT_TIME"><span class="type">GDK_CURRENT_TIME</span></a>.</p>
|
||||
is <code class="literal">NULL</code>, returns <a class="link" href="gdk3-Events.html#GDK-CURRENT-TIME:CAPS" title="GDK_CURRENT_TIME"><span class="type">GDK_CURRENT_TIME</span></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-time.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1106,7 +1106,7 @@ gdk_event_get_event_sequence (<em class="parameter"><code>const <a class="link"
|
||||
<p>If <em class="parameter"><code>event</code></em>
|
||||
if of type <a class="link" href="gdk3-Events.html#GDK-TOUCH-BEGIN:CAPS"><code class="literal">GDK_TOUCH_BEGIN</code></a>, <a class="link" href="gdk3-Events.html#GDK-TOUCH-UPDATE:CAPS"><code class="literal">GDK_TOUCH_UPDATE</code></a>,
|
||||
<a class="link" href="gdk3-Events.html#GDK-TOUCH-END:CAPS"><code class="literal">GDK_TOUCH_END</code></a> or <a class="link" href="gdk3-Events.html#GDK-TOUCH-CANCEL:CAPS"><code class="literal">GDK_TOUCH_CANCEL</code></a>, returns the <a class="link" href="gdk3-Events.html#GdkEventSequence" title="GdkEventSequence"><span class="type">GdkEventSequence</span></a>
|
||||
to which the event belongs. Otherwise, return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
||||
to which the event belongs. Otherwise, return <code class="literal">NULL</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-event-sequence.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1185,11 +1185,11 @@ motion events from a <a class="link" href="gdk3-Events.html#GDK-MOTION-NOTIFY:CA
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-events-get-angle"></a><h3>gdk_events_get_angle ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_events_get_angle (<em class="parameter"><code><a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event1</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event2</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *angle</code></em>);</pre>
|
||||
<p>If both events contain X/Y information, this function will return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *angle</code></em>);</pre>
|
||||
<p>If both events contain X/Y information, this function will return <code class="literal">TRUE</code>
|
||||
and return in <em class="parameter"><code>angle</code></em>
|
||||
the relative angle from <em class="parameter"><code>event1</code></em>
|
||||
to <em class="parameter"><code>event2</code></em>
|
||||
@ -1225,18 +1225,18 @@ Y axis.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-events-get-angle.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the angle could be calculated.</p>
|
||||
<p> <code class="literal">TRUE</code> if the angle could be calculated.</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-events-get-center"></a><h3>gdk_events_get_center ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_events_get_center (<em class="parameter"><code><a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event1</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event2</code></em>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *y</code></em>);</pre>
|
||||
<p>If both events contain X/Y information, the center of both coordinates
|
||||
will be returned in <em class="parameter"><code>x</code></em>
|
||||
and <em class="parameter"><code>y</code></em>
|
||||
@ -1275,17 +1275,17 @@ will be returned in <em class="parameter"><code>x</code></em>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-events-get-center.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the center could be calculated.</p>
|
||||
<p> <code class="literal">TRUE</code> if the center could be calculated.</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-events-get-distance"></a><h3>gdk_events_get_distance ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_events_get_distance (<em class="parameter"><code><a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event1</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event2</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *distance</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *distance</code></em>);</pre>
|
||||
<p>If both events have X/Y information, the distance between both coordinates
|
||||
(as in a straight line going from <em class="parameter"><code>event1</code></em>
|
||||
to <em class="parameter"><code>event2</code></em>
|
||||
@ -1319,14 +1319,14 @@ gdk_events_get_distance (<em class="parameter"><code><a class="link" href="gdk3-
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-events-get-distance.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the distance could be calculated.</p>
|
||||
<p> <code class="literal">TRUE</code> if the distance could be calculated.</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-event-triggers-context-menu"></a><h3>gdk_event_triggers_context_menu ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_event_triggers_context_menu (<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
||||
<p>This function returns whether a <a class="link" href="gdk3-Event-Structures.html#GdkEventButton" title="struct GdkEventButton"><span class="type">GdkEventButton</span></a> should trigger a
|
||||
context menu, according to platform conventions. The right mouse
|
||||
@ -1353,7 +1353,7 @@ event->button == <a class="link" href="gdk3-Events.html#GDK-BUTTON-SECONDARY:
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-triggers-context-menu.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event should trigger a context menu.</p>
|
||||
<p> <code class="literal">TRUE</code> if the event should trigger a context menu.</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-4.html#api-index-3.4">3.4</a></p>
|
||||
</div>
|
||||
@ -1418,13 +1418,13 @@ some extended flags.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-event-get-pointer-emulated"></a><h3>gdk_event_get_pointer_emulated ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_event_get_pointer_emulated (<em class="parameter"><code><a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
||||
<p>Returns whether this event is an 'emulated' pointer event (typically
|
||||
from a touch event), as opposed to a real one.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-pointer-emulated.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this event is emulated</p>
|
||||
<p> <code class="literal">TRUE</code> if this event is emulated</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
||||
</div>
|
||||
@ -1433,12 +1433,12 @@ from a touch event), as opposed to a real one.</p>
|
||||
<a name="gdk-event-handler-set"></a><h3>gdk_event_handler_set ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_event_handler_set (<em class="parameter"><code><a class="link" href="gdk3-Events.html#GdkEventFunc" title="GdkEventFunc ()"><span class="type">GdkEventFunc</span></a> func</code></em>,
|
||||
<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>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
||||
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
|
||||
<p>Sets the function to call to handle all events from GDK.</p>
|
||||
<p>Note that GTK+ uses this to install its own event handler, so it is
|
||||
usually not useful for GTK+ applications. (Although an application
|
||||
can call this function then call <a href="https://developer.gnome.org/gtk4/gtk4-General.html#gtk-main-do-event"><code class="function">gtk_main_do_event()</code></a> to pass
|
||||
can call this function then call <code class="function">gtk_main_do_event()</code> to pass
|
||||
events to GTK+.)</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-handler-set.parameters"></a><h4>Parameters</h4>
|
||||
@ -1474,7 +1474,7 @@ events to GTK+.)</p>
|
||||
<a name="GdkEventFunc"></a><h3>GdkEventFunc ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
<span class="c_punctuation">(</span>*GdkEventFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
||||
<p>Specifies the type of function passed to <a class="link" href="gdk3-Events.html#gdk-event-handler-set" title="gdk_event_handler_set ()"><code class="function">gdk_event_handler_set()</code></a> to
|
||||
handle all GDK events.</p>
|
||||
<div class="refsect3">
|
||||
@ -1504,19 +1504,19 @@ handle all GDK events.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-get-show-events"></a><h3>gdk_get_show_events ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_get_show_events (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<p>Gets whether event debugging output is enabled.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-get-show-events.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if event debugging output is enabled.</p>
|
||||
<p> <code class="literal">TRUE</code> if event debugging output is enabled.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-set-show-events"></a><h3>gdk_set_show_events ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_set_show_events (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_events</code></em>);</pre>
|
||||
gdk_set_show_events (<em class="parameter"><code><span class="type">gboolean</span> show_events</code></em>);</pre>
|
||||
<p>Sets whether a trace of received events is output.
|
||||
Note that GTK+ must be compiled with debugging (that is,
|
||||
configured using the <code class="literal">--enable-debug</code> option)
|
||||
@ -1531,7 +1531,7 @@ to use this option.</p>
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>show_events</p></td>
|
||||
<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 output event debugging information.</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> to output event debugging information.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -1612,7 +1612,7 @@ to which <code class="literal">event->motion.x_root</code> and
|
||||
<pre class="programlisting"><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="returnvalue">GdkDevice</span></a> *
|
||||
gdk_event_get_device (<em class="parameter"><code>const <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
||||
<p>If the event contains a “device” field, this function will return
|
||||
it, else it will return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
||||
it, else it will return <code class="literal">NULL</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-device.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1630,7 +1630,7 @@ it, else it will return <a href="https://developer.gnome.org/glib/unstable/glib-
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-device.returns"></a><h4>Returns</h4>
|
||||
<p>a <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>a <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a>, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -1682,7 +1682,7 @@ interaction with a hardware device. This may happen for example
|
||||
in synthesized crossing events after a <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> updates its
|
||||
geometry or a grab is acquired/released.</p>
|
||||
<p>If the event does not contain a device field, this function will
|
||||
return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
||||
return <code class="literal">NULL</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-source-device.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1700,7 +1700,7 @@ return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.h
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-source-device.returns"></a><h4>Returns</h4>
|
||||
<p>a <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>a <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a>, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -1748,7 +1748,7 @@ gdk_event_get_device_tool (<em class="parameter"><code>const <a class="link" hre
|
||||
<p>If the event was generated by a device that supports
|
||||
different tools (eg. a tablet), this function will
|
||||
return a <span class="type">GdkDeviceTool</span> representing the tool that
|
||||
caused the event. Otherwise, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned.</p>
|
||||
caused the event. Otherwise, <code class="literal">NULL</code> will be returned.</p>
|
||||
<p>Note: the <span class="type">GdkDeviceTool</span><!-- -->s will be constant during
|
||||
the application lifetime, if settings must be stored
|
||||
persistently across runs, see <a class="link" href="GdkDevice.html#gdk-device-tool-get-serial" title="gdk_device_tool_get_serial ()"><code class="function">gdk_device_tool_get_serial()</code></a></p>
|
||||
@ -1769,7 +1769,7 @@ persistently across runs, see <a class="link" href="GdkDevice.html#gdk-device-to
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-event-get-device-tool.returns"></a><h4>Returns</h4>
|
||||
<p>The current device tool, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>The current device tool, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
||||
@ -1797,7 +1797,7 @@ gdk_event_set_device_tool (<em class="parameter"><code><a class="link" href="gdk
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>tool</p></td>
|
||||
<td class="parameter_description"><p>tool to set on the event, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>tool to set on the event, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1808,9 +1808,9 @@ gdk_event_set_device_tool (<em class="parameter"><code><a class="link" href="gdk
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-setting-get"></a><h3>gdk_setting_get ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gdk_setting_get (<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>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_setting_get (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
||||
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>);</pre>
|
||||
<p>Obtains a desktop-wide setting, such as the double-click time,
|
||||
for the default screen. See <a class="link" href="GdkScreen.html#gdk-screen-get-setting" title="gdk_screen_get_setting ()"><code class="function">gdk_screen_get_setting()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -1837,9 +1837,9 @@ for the default screen. See <a class="link" href="GdkScreen.html#gdk-screen-get-
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-setting-get.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the setting existed and a value was stored
|
||||
<p> <code class="literal">TRUE</code> if the setting existed and a value was stored
|
||||
in <em class="parameter"><code>value</code></em>
|
||||
, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
||||
, <code class="literal">FALSE</code> otherwise.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -2265,7 +2265,7 @@ event masks and event propagation.</p>
|
||||
to reduce the number of <a class="link" href="gdk3-Events.html#GDK-MOTION-NOTIFY:CAPS"><code class="literal">GDK_MOTION_NOTIFY</code></a> events received. When using
|
||||
<a class="link" href="gdk3-Events.html#GDK-POINTER-MOTION-HINT-MASK:CAPS"><code class="literal">GDK_POINTER_MOTION_HINT_MASK</code></a>, fewer <a class="link" href="gdk3-Events.html#GDK-MOTION-NOTIFY:CAPS"><code class="literal">GDK_MOTION_NOTIFY</code></a> events will
|
||||
be sent, some of which are marked as a hint (the is_hint member is
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>). To receive more motion events after a motion hint event,
|
||||
<code class="literal">TRUE</code>). To receive more motion events after a motion hint event,
|
||||
the application needs to asks for more, by calling
|
||||
<a class="link" href="gdk3-Events.html#gdk-event-request-motions" title="gdk_event_request_motions ()"><code class="function">gdk_event_request_motions()</code></a>.</p>
|
||||
<p>Since GTK 3.8, motion events are already compressed by default, independent
|
||||
|
@ -57,7 +57,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<span class="returnvalue">gint64</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-GdkFrameTimings.html#gdk-frame-timings-get-frame-counter" title="gdk_frame_timings_get_frame_counter ()">gdk_frame_timings_get_frame_counter</a> <span class="c_punctuation">()</span>
|
||||
@ -65,7 +65,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-GdkFrameTimings.html#gdk-frame-timings-get-complete" title="gdk_frame_timings_get_complete ()">gdk_frame_timings_get_complete</a> <span class="c_punctuation">()</span>
|
||||
@ -73,7 +73,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<span class="returnvalue">gint64</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-GdkFrameTimings.html#gdk-frame-timings-get-frame-time" title="gdk_frame_timings_get_frame_time ()">gdk_frame_timings_get_frame_time</a> <span class="c_punctuation">()</span>
|
||||
@ -81,7 +81,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<span class="returnvalue">gint64</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-GdkFrameTimings.html#gdk-frame-timings-get-presentation-time" title="gdk_frame_timings_get_presentation_time ()">gdk_frame_timings_get_presentation_time</a> <span class="c_punctuation">()</span>
|
||||
@ -89,7 +89,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<span class="returnvalue">gint64</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-GdkFrameTimings.html#gdk-frame-timings-get-refresh-interval" title="gdk_frame_timings_get_refresh_interval ()">gdk_frame_timings_get_refresh_interval</a> <span class="c_punctuation">()</span>
|
||||
@ -97,7 +97,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<span class="returnvalue">gint64</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-GdkFrameTimings.html#gdk-frame-timings-get-predicted-presentation-time" title="gdk_frame_timings_get_predicted_presentation_time ()">gdk_frame_timings_get_predicted_presentation_time</a> <span class="c_punctuation">()</span>
|
||||
@ -192,7 +192,7 @@ is no longer referenced, it will be freed.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-frame-timings-get-frame-counter"></a><h3>gdk_frame_timings_get_frame_counter ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint64</span>
|
||||
gdk_frame_timings_get_frame_counter (<em class="parameter"><code><a class="link" href="gdk3-GdkFrameTimings.html#GdkFrameTimings" title="GdkFrameTimings"><span class="type">GdkFrameTimings</span></a> *timings</code></em>);</pre>
|
||||
<p>Gets the frame counter value of the <a class="link" href="GdkFrameClock.html" title="Frame clock"><span class="type">GdkFrameClock</span></a> when this
|
||||
this frame was drawn.</p>
|
||||
@ -220,7 +220,7 @@ this frame was drawn.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-frame-timings-get-complete"></a><h3>gdk_frame_timings_get_complete ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_frame_timings_get_complete (<em class="parameter"><code><a class="link" href="gdk3-GdkFrameTimings.html#GdkFrameTimings" title="GdkFrameTimings"><span class="type">GdkFrameTimings</span></a> *timings</code></em>);</pre>
|
||||
<p>The timing information in a <a class="link" href="gdk3-GdkFrameTimings.html#GdkFrameTimings" title="GdkFrameTimings"><span class="type">GdkFrameTimings</span></a> is filled in
|
||||
incrementally as the frame as drawn and passed off to the
|
||||
@ -229,7 +229,7 @@ accessor functions for <a class="link" href="gdk3-GdkFrameTimings.html#GdkFrameT
|
||||
indicate an unavailable value for two reasons: either because
|
||||
the information is not yet available, or because it isn't
|
||||
available at all. Once <a class="link" href="gdk3-GdkFrameTimings.html#gdk-frame-timings-get-complete" title="gdk_frame_timings_get_complete ()"><code class="function">gdk_frame_timings_get_complete()</code></a> returns
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for a frame, you can be certain that no further values
|
||||
<code class="literal">TRUE</code> for a frame, you can be certain that no further values
|
||||
will become available and be stored in the <a class="link" href="gdk3-GdkFrameTimings.html#GdkFrameTimings" title="GdkFrameTimings"><span class="type">GdkFrameTimings</span></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-frame-timings-get-complete.parameters"></a><h4>Parameters</h4>
|
||||
@ -248,7 +248,7 @@ will become available and be stored in the <a class="link" href="gdk3-GdkFrameTi
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-frame-timings-get-complete.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if all information that will be available
|
||||
<p> <code class="literal">TRUE</code> if all information that will be available
|
||||
for the frame has been filled in.</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-8.html#api-index-3.8">3.8</a></p>
|
||||
@ -256,7 +256,7 @@ for the frame has been filled in.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-frame-timings-get-frame-time"></a><h3>gdk_frame_timings_get_frame_time ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint64</span>
|
||||
gdk_frame_timings_get_frame_time (<em class="parameter"><code><a class="link" href="gdk3-GdkFrameTimings.html#GdkFrameTimings" title="GdkFrameTimings"><span class="type">GdkFrameTimings</span></a> *timings</code></em>);</pre>
|
||||
<p>Returns the frame time for the frame. This is the time value
|
||||
that is typically used to time animations for the frame. See
|
||||
@ -279,13 +279,13 @@ that is typically used to time animations for the frame. See
|
||||
<div class="refsect3">
|
||||
<a name="gdk-frame-timings-get-frame-time.returns"></a><h4>Returns</h4>
|
||||
<p> the frame time for the frame, in the timescale
|
||||
of <a href="https://developer.gnome.org/glib/unstable/glib-Date-and-Time-Functions.html#g-get-monotonic-time"><code class="function">g_get_monotonic_time()</code></a></p>
|
||||
of <code class="function">g_get_monotonic_time()</code></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-frame-timings-get-presentation-time"></a><h3>gdk_frame_timings_get_presentation_time ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint64</span>
|
||||
gdk_frame_timings_get_presentation_time
|
||||
(<em class="parameter"><code><a class="link" href="gdk3-GdkFrameTimings.html#GdkFrameTimings" title="GdkFrameTimings"><span class="type">GdkFrameTimings</span></a> *timings</code></em>);</pre>
|
||||
<p>Reurns the presentation time. This is the time at which the frame
|
||||
@ -308,7 +308,7 @@ became visible to the user.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-frame-timings-get-presentation-time.returns"></a><h4>Returns</h4>
|
||||
<p> the time the frame was displayed to the user, in the
|
||||
timescale of <a href="https://developer.gnome.org/glib/unstable/glib-Date-and-Time-Functions.html#g-get-monotonic-time"><code class="function">g_get_monotonic_time()</code></a>, or 0 if no presentation
|
||||
timescale of <code class="function">g_get_monotonic_time()</code>, or 0 if no presentation
|
||||
time is available. See <a class="link" href="gdk3-GdkFrameTimings.html#gdk-frame-timings-get-complete" title="gdk_frame_timings_get_complete ()"><code class="function">gdk_frame_timings_get_complete()</code></a></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-8.html#api-index-3.8">3.8</a></p>
|
||||
@ -316,7 +316,7 @@ time is available. See <a class="link" href="gdk3-GdkFrameTimings.html#gdk-frame
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-frame-timings-get-refresh-interval"></a><h3>gdk_frame_timings_get_refresh_interval ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint64</span>
|
||||
gdk_frame_timings_get_refresh_interval
|
||||
(<em class="parameter"><code><a class="link" href="gdk3-GdkFrameTimings.html#GdkFrameTimings" title="GdkFrameTimings"><span class="type">GdkFrameTimings</span></a> *timings</code></em>);</pre>
|
||||
<p>Gets the natural interval between presentation times for
|
||||
@ -348,7 +348,7 @@ See <a class="link" href="gdk3-GdkFrameTimings.html#gdk-frame-timings-get-comple
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-frame-timings-get-predicted-presentation-time"></a><h3>gdk_frame_timings_get_predicted_presentation_time ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint64</span>
|
||||
gdk_frame_timings_get_predicted_presentation_time
|
||||
(<em class="parameter"><code><a class="link" href="gdk3-GdkFrameTimings.html#GdkFrameTimings" title="GdkFrameTimings"><span class="type">GdkFrameTimings</span></a> *timings</code></em>);</pre>
|
||||
<p>Gets the predicted time at which this frame will be displayed. Although
|
||||
@ -378,7 +378,7 @@ may want this information for Audio/Video synchronization.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-frame-timings-get-predicted-presentation-time.returns"></a><h4>Returns</h4>
|
||||
<p> The predicted time at which the frame will be presented,
|
||||
in the timescale of <a href="https://developer.gnome.org/glib/unstable/glib-Date-and-Time-Functions.html#g-get-monotonic-time"><code class="function">g_get_monotonic_time()</code></a>, or 0 if no predicted
|
||||
in the timescale of <code class="function">g_get_monotonic_time()</code>, or 0 if no predicted
|
||||
presentation time is available.</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-8.html#api-index-3.8">3.8</a></p>
|
||||
|
@ -49,7 +49,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-General.html#gdk-init-check" title="gdk_init_check ()">gdk_init_check</a> <span class="c_punctuation">()</span>
|
||||
@ -64,7 +64,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-General.html#gdk-get-display-arg-name" title="gdk_get_display_arg_name ()">gdk_get_display_arg_name</a> <span class="c_punctuation">()</span>
|
||||
@ -95,7 +95,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-General.html#gdk-get-program-class" title="gdk_get_program_class ()">gdk_get_program_class</a> <span class="c_punctuation">()</span>
|
||||
@ -111,7 +111,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-General.html#gdk-get-display" title="gdk_get_display ()">gdk_get_display</a> <span class="c_punctuation">()</span>
|
||||
@ -127,7 +127,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-General.html#gdk-screen-width" title="gdk_screen_width ()">gdk_screen_width</a> <span class="c_punctuation">()</span>
|
||||
@ -135,7 +135,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-General.html#gdk-screen-height" title="gdk_screen_height ()">gdk_screen_height</a> <span class="c_punctuation">()</span>
|
||||
@ -143,7 +143,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-General.html#gdk-screen-width-mm" title="gdk_screen_width_mm ()">gdk_screen_width_mm</a> <span class="c_punctuation">()</span>
|
||||
@ -151,7 +151,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-General.html#gdk-screen-height-mm" title="gdk_screen_height_mm ()">gdk_screen_height_mm</a> <span class="c_punctuation">()</span>
|
||||
@ -175,7 +175,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-General.html#gdk-pointer-is-grabbed" title="gdk_pointer_is_grabbed ()">gdk_pointer_is_grabbed</a> <span class="c_punctuation">()</span>
|
||||
@ -223,7 +223,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-General.html#gdk-error-trap-pop" title="gdk_error_trap_pop ()">gdk_error_trap_pop</a> <span class="c_punctuation">()</span>
|
||||
@ -340,8 +340,8 @@ whose API you want to use.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-init"></a><h3>gdk_init ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_init (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *argc</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> ***argv</code></em>);</pre>
|
||||
gdk_init (<em class="parameter"><code><span class="type">gint</span> *argc</code></em>,
|
||||
<em class="parameter"><code><span class="type">gchar</span> ***argv</code></em>);</pre>
|
||||
<p>Initializes the GDK library and connects to the windowing system.
|
||||
If initialization fails, a warning message is output and the application
|
||||
terminates with a call to <code class="literal">exit(1)</code>.</p>
|
||||
@ -349,7 +349,7 @@ terminates with a call to <code class="literal">exit(1)</code>.</p>
|
||||
and <em class="parameter"><code>argv</code></em>
|
||||
|
||||
are updated accordingly.</p>
|
||||
<p>GTK+ initializes GDK in <a href="https://developer.gnome.org/gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a> and so this function is not usually
|
||||
<p>GTK+ initializes GDK in <code class="function">gtk_init()</code> and so this function is not usually
|
||||
needed by GTK+ applications.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-init.parameters"></a><h4>Parameters</h4>
|
||||
@ -377,16 +377,16 @@ needed by GTK+ applications.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-init-check"></a><h3>gdk_init_check ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gdk_init_check (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *argc</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> ***argv</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_init_check (<em class="parameter"><code><span class="type">gint</span> *argc</code></em>,
|
||||
<em class="parameter"><code><span class="type">gchar</span> ***argv</code></em>);</pre>
|
||||
<p>Initializes the GDK library and connects to the windowing system,
|
||||
returning <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
|
||||
returning <code class="literal">TRUE</code> on success.</p>
|
||||
<p>Any arguments used by GDK are removed from the array and <em class="parameter"><code>argc</code></em>
|
||||
and <em class="parameter"><code>argv</code></em>
|
||||
|
||||
are updated accordingly.</p>
|
||||
<p>GTK+ initializes GDK in <a href="https://developer.gnome.org/gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a> and so this function is not usually
|
||||
<p>GTK+ initializes GDK in <code class="function">gtk_init()</code> and so this function is not usually
|
||||
needed by GTK+ applications.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-init-check.parameters"></a><h4>Parameters</h4>
|
||||
@ -412,15 +412,15 @@ needed by GTK+ applications.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-init-check.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if initialization succeeded.</p>
|
||||
<p> <code class="literal">TRUE</code> if initialization succeeded.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-parse-args"></a><h3>gdk_parse_args ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_parse_args (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *argc</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> ***argv</code></em>);</pre>
|
||||
gdk_parse_args (<em class="parameter"><code><span class="type">gint</span> *argc</code></em>,
|
||||
<em class="parameter"><code><span class="type">gchar</span> ***argv</code></em>);</pre>
|
||||
<p>Parse command line arguments, and store for future
|
||||
use by calls to <a class="link" href="GdkDisplay.html#gdk-display-open" title="gdk_display_open ()"><code class="function">gdk_display_open()</code></a>.</p>
|
||||
<p>Any arguments used by GDK are removed from the array and <em class="parameter"><code>argc</code></em>
|
||||
@ -428,7 +428,7 @@ use by calls to <a class="link" href="GdkDisplay.html#gdk-display-open" title="g
|
||||
are
|
||||
updated accordingly.</p>
|
||||
<p>You shouldn’t call this function explicitly if you are using
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a>, <a href="https://developer.gnome.org/gtk4/gtk4-General.html#gtk-init-check"><code class="function">gtk_init_check()</code></a>, <a class="link" href="gdk3-General.html#gdk-init" title="gdk_init ()"><code class="function">gdk_init()</code></a>, or <a class="link" href="gdk3-General.html#gdk-init-check" title="gdk_init_check ()"><code class="function">gdk_init_check()</code></a>.</p>
|
||||
<code class="function">gtk_init()</code>, <code class="function">gtk_init_check()</code>, <a class="link" href="gdk3-General.html#gdk-init" title="gdk_init ()"><code class="function">gdk_init()</code></a>, or <a class="link" href="gdk3-General.html#gdk-init-check" title="gdk_init_check ()"><code class="function">gdk_init_check()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-parse-args.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -456,14 +456,14 @@ updated accordingly.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-get-display-arg-name"></a><h3>gdk_get_display_arg_name ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gdk_get_display_arg_name (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<p>Gets the display name specified in the command line arguments passed
|
||||
to <a class="link" href="gdk3-General.html#gdk-init" title="gdk_init ()"><code class="function">gdk_init()</code></a> or <a class="link" href="gdk3-General.html#gdk-parse-args" title="gdk_parse_args ()"><code class="function">gdk_parse_args()</code></a>, if any.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-get-display-arg-name.returns"></a><h4>Returns</h4>
|
||||
<p>the display name, if specified explicitly,
|
||||
otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> this string is owned by GTK+ and must not be
|
||||
otherwise <code class="literal">NULL</code> this string is owned by GTK+ and must not be
|
||||
modified or freed. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -479,7 +479,7 @@ loading. If the applications opens windows, this function is
|
||||
normally called after opening the application’s initial set of
|
||||
windows.</p>
|
||||
<p>GTK+ will call this function automatically after opening the first
|
||||
<a href="https://developer.gnome.org/gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> unless <a href="https://developer.gnome.org/gtk4/GtkWindow.html#gtk-window-set-auto-startup-notification"><code class="function">gtk_window_set_auto_startup_notification()</code></a> is called
|
||||
<span class="type">GtkWindow</span> unless <code class="function">gtk_window_set_auto_startup_notification()</code> is called
|
||||
to disable that feature.</p>
|
||||
<p class="since">Since: 2.2</p>
|
||||
</div>
|
||||
@ -487,12 +487,12 @@ to disable that feature.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-notify-startup-complete-with-id"></a><h3>gdk_notify_startup_complete_with_id ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_notify_startup_complete_with_id (<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>
|
||||
gdk_notify_startup_complete_with_id (<em class="parameter"><code>const <span class="type">gchar</span> *startup_id</code></em>);</pre>
|
||||
<p>Indicates to the GUI environment that the application has
|
||||
finished loading, using a given identifier.</p>
|
||||
<p>GTK+ will call this function automatically for <a href="https://developer.gnome.org/gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a>
|
||||
<p>GTK+ will call this function automatically for <span class="type">GtkWindow</span>
|
||||
with custom startup-notification identifier unless
|
||||
<a href="https://developer.gnome.org/gtk4/GtkWindow.html#gtk-window-set-auto-startup-notification"><code class="function">gtk_window_set_auto_startup_notification()</code></a> is called to
|
||||
<code class="function">gtk_window_set_auto_startup_notification()</code> is called to
|
||||
disable that feature.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-notify-startup-complete-with-id.parameters"></a><h4>Parameters</h4>
|
||||
@ -516,7 +516,7 @@ notification process should be completed</p></td>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-set-allowed-backends"></a><h3>gdk_set_allowed_backends ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_set_allowed_backends (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *backends</code></em>);</pre>
|
||||
gdk_set_allowed_backends (<em class="parameter"><code>const <span class="type">gchar</span> *backends</code></em>);</pre>
|
||||
<p>Sets a list of backends that GDK should try to use.</p>
|
||||
<p>This can be be useful if your application does not
|
||||
work with certain GDK backends.</p>
|
||||
@ -545,7 +545,7 @@ that are specified by this function.</p>
|
||||
broadway, wayland. You can also include a * in the
|
||||
list to try all remaining backends.</p>
|
||||
<p>This call must happen prior to <a class="link" href="GdkDisplay.html#gdk-display-open" title="gdk_display_open ()"><code class="function">gdk_display_open()</code></a>,
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a>, <a href="https://developer.gnome.org/gtk3/gtk3-General.html#gtk-init-with-args"><code class="function">gtk_init_with_args()</code></a> or <a href="https://developer.gnome.org/gtk4/gtk4-General.html#gtk-init-check"><code class="function">gtk_init_check()</code></a>
|
||||
<code class="function">gtk_init()</code>, <code class="function">gtk_init_with_args()</code> or <code class="function">gtk_init_check()</code>
|
||||
in order to take effect.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-set-allowed-backends.parameters"></a><h4>Parameters</h4>
|
||||
@ -567,12 +567,12 @@ in order to take effect.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-get-program-class"></a><h3>gdk_get_program_class ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gdk_get_program_class (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<p>Gets the program class. Unless the program class has explicitly
|
||||
been set with <a class="link" href="gdk3-General.html#gdk-set-program-class" title="gdk_set_program_class ()"><code class="function">gdk_set_program_class()</code></a> or with the <code class="literal">--class</code>
|
||||
commandline option, the default value is the program name (determined
|
||||
with <a href="https://developer.gnome.org/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-get-prgname"><code class="function">g_get_prgname()</code></a>) with the first character converted to uppercase.</p>
|
||||
with <code class="function">g_get_prgname()</code>) with the first character converted to uppercase.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-get-program-class.returns"></a><h4>Returns</h4>
|
||||
<p> the program class.</p>
|
||||
@ -582,7 +582,7 @@ with <a href="https://developer.gnome.org/glib/unstable/glib-Miscellaneous-Utili
|
||||
<div class="refsect2">
|
||||
<a name="gdk-set-program-class"></a><h3>gdk_set_program_class ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_set_program_class (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *program_class</code></em>);</pre>
|
||||
gdk_set_program_class (<em class="parameter"><code>const <span class="type">gchar</span> *program_class</code></em>);</pre>
|
||||
<p>Sets the program class. The X11 backend uses the program class to set
|
||||
the class name part of the <code class="literal">WM_CLASS</code> property on
|
||||
toplevel windows; see the ICCCM.</p>
|
||||
@ -607,7 +607,7 @@ line option.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-get-display"></a><h3>gdk_get_display ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gdk_get_display (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_get_display</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
|
||||
@ -635,7 +635,7 @@ This is rarely needed by applications.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-width"></a><h3>gdk_screen_width ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_width (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_width</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -652,7 +652,7 @@ size is in ”application pixels”, not in ”device pixels” (see
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-height"></a><h3>gdk_screen_height ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_height (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_height</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -669,7 +669,7 @@ size is in ”application pixels”, not in ”device pixels” (see
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-width-mm"></a><h3>gdk_screen_width_mm ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_width_mm (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_width_mm</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -686,7 +686,7 @@ though it is not always correct.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-screen-height-mm"></a><h3>gdk_screen_height_mm ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_screen_height_mm (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_screen_height_mm</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -705,11 +705,11 @@ though it is not always correct.</p>
|
||||
<a name="gdk-pointer-grab"></a><h3>gdk_pointer_grab ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gdk3-General.html#GdkGrabStatus" title="enum GdkGrabStatus"><span class="returnvalue">GdkGrabStatus</span></a>
|
||||
gdk_pointer_grab (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> owner_events</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> owner_events</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Events.html#GdkEventMask" title="enum GdkEventMask"><span class="type">GdkEventMask</span></a> event_mask</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *confine_to</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Cursors.html#GdkCursor"><span class="type">GdkCursor</span></a> *cursor</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_pointer_grab</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkDevice.html#gdk-device-grab" title="gdk_device_grab ()"><code class="function">gdk_device_grab()</code></a> instead.</p>
|
||||
@ -721,7 +721,7 @@ This overrides any previous pointer grab by this client.</p>
|
||||
<p>Pointer grabs are used for operations which need complete control over mouse
|
||||
events, even if the mouse leaves the application.
|
||||
For example in GTK+ it is used for Drag and Drop, for dragging the handle in
|
||||
the <a href="https://developer.gnome.org/gtk3/GtkHPaned.html#GtkHPaned-struct"><span class="type">GtkHPaned</span></a> and <a href="https://developer.gnome.org/gtk3/GtkVPaned.html#GtkVPaned-struct"><span class="type">GtkVPaned</span></a> widgets.</p>
|
||||
the <span class="type">GtkHPaned</span> and <span class="type">GtkVPaned</span> widgets.</p>
|
||||
<p>Note that if the event mask of an X window has selected both button press and
|
||||
button release events, then a button press event will cause an automatic
|
||||
pointer grab until the button is released.
|
||||
@ -729,7 +729,7 @@ X does this automatically since most applications expect to receive button
|
||||
press and release events in pairs.
|
||||
It is equivalent to a pointer grab on the window with <em class="parameter"><code>owner_events</code></em>
|
||||
set to
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
||||
<code class="literal">TRUE</code>.</p>
|
||||
<p>If you set up anything at the time you take the grab that needs to be cleaned
|
||||
up when the grab ends, you should handle the <a class="link" href="gdk3-Event-Structures.html#GdkEventGrabBroken" title="struct GdkEventGrabBroken"><span class="type">GdkEventGrabBroken</span></a> events that
|
||||
are emitted when the grab ends unvoluntarily.</p>
|
||||
@ -749,10 +749,10 @@ are emitted when the grab ends unvoluntarily.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>owner_events</p></td>
|
||||
<td class="parameter_description"><p>if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> then all pointer events are reported with respect to
|
||||
<td class="parameter_description"><p>if <code class="literal">FALSE</code> then all pointer events are reported with respect to
|
||||
<em class="parameter"><code>window</code></em>
|
||||
and are only reported if selected by <em class="parameter"><code>event_mask</code></em>
|
||||
. If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> then pointer
|
||||
. If <code class="literal">TRUE</code> then pointer
|
||||
events for this application are reported as normal, but pointer events outside
|
||||
this application are reported with respect to <em class="parameter"><code>window</code></em>
|
||||
and only if selected by
|
||||
@ -770,7 +770,7 @@ may be selected.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>confine_to</p></td>
|
||||
<td class="parameter_description"><p>If non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the pointer will be confined to this
|
||||
<td class="parameter_description"><p>If non-<code class="literal">NULL</code>, the pointer will be confined to this
|
||||
window during the grab. If the pointer is outside <em class="parameter"><code>confine_to</code></em>
|
||||
, it will
|
||||
automatically be moved to the closest edge of <em class="parameter"><code>confine_to</code></em>
|
||||
@ -780,7 +780,7 @@ and leave events will be generated as necessary. </p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>cursor</p></td>
|
||||
<td class="parameter_description"><p>the cursor to display while the grab is active. If this is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then
|
||||
<td class="parameter_description"><p>the cursor to display while the grab is active. If this is <code class="literal">NULL</code> then
|
||||
the normal cursors are used for <em class="parameter"><code>window</code></em>
|
||||
and its descendants, and the cursor
|
||||
for <em class="parameter"><code>window</code></em>
|
||||
@ -806,7 +806,7 @@ the time isn’t known.</p></td>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-pointer-ungrab"></a><h3>gdk_pointer_ungrab ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_pointer_ungrab (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
gdk_pointer_ungrab (<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_pointer_ungrab</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkDevice.html#gdk-device-ungrab" title="gdk_device_ungrab ()"><code class="function">gdk_device_ungrab()</code></a>, together with <a class="link" href="GdkDevice.html#gdk-device-grab" title="gdk_device_grab ()"><code class="function">gdk_device_grab()</code></a>
|
||||
@ -834,26 +834,26 @@ timestamp is available.</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-pointer-is-grabbed"></a><h3>gdk_pointer_is_grabbed ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_pointer_is_grabbed (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_pointer_is_grabbed</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkDisplay.html#gdk-display-device-is-grabbed" title="gdk_display_device_is_grabbed ()"><code class="function">gdk_display_device_is_grabbed()</code></a> instead.</p>
|
||||
</div>
|
||||
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the pointer on the default display is currently
|
||||
<p>Returns <code class="literal">TRUE</code> if the pointer on the default display is currently
|
||||
grabbed by this application.</p>
|
||||
<p>Note that this does not take the inmplicit pointer grab on button
|
||||
presses into account.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-pointer-is-grabbed.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the pointer is currently grabbed by this application.</p>
|
||||
<p> <code class="literal">TRUE</code> if the pointer is currently grabbed by this application.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-set-double-click-time"></a><h3>gdk_set_double_click_time ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_set_double_click_time (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> msec</code></em>);</pre>
|
||||
gdk_set_double_click_time (<em class="parameter"><code><span class="type">guint</span> msec</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gdk_set_double_click_time</code> is deprecated and should not be used in newly-written code.</p></div>
|
||||
<p>Set the double click time for the default display. See
|
||||
<a class="link" href="GdkDisplay.html#gdk-display-set-double-click-time" title="gdk_display_set_double_click_time ()"><code class="function">gdk_display_set_double_click_time()</code></a>.
|
||||
@ -881,8 +881,8 @@ global user-configured setting.</p>
|
||||
<a name="gdk-keyboard-grab"></a><h3>gdk_keyboard_grab ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gdk3-General.html#GdkGrabStatus" title="enum GdkGrabStatus"><span class="returnvalue">GdkGrabStatus</span></a>
|
||||
gdk_keyboard_grab (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> owner_events</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> owner_events</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_keyboard_grab</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkDevice.html#gdk-device-grab" title="gdk_device_grab ()"><code class="function">gdk_device_grab()</code></a> instead.</p>
|
||||
@ -909,9 +909,9 @@ are emitted when the grab ends unvoluntarily.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>owner_events</p></td>
|
||||
<td class="parameter_description"><p>if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> then all keyboard events are reported with respect to
|
||||
<td class="parameter_description"><p>if <code class="literal">FALSE</code> then all keyboard events are reported with respect to
|
||||
<em class="parameter"><code>window</code></em>
|
||||
. If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> then keyboard events for this application are
|
||||
. If <code class="literal">TRUE</code> then keyboard events for this application are
|
||||
reported as normal, but keyboard events outside this application
|
||||
are reported with respect to <em class="parameter"><code>window</code></em>
|
||||
. Both key press and key
|
||||
@ -937,7 +937,7 @@ available.</p></td>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keyboard-ungrab"></a><h3>gdk_keyboard_ungrab ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_keyboard_ungrab (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
gdk_keyboard_ungrab (<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_keyboard_ungrab</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GdkDevice.html#gdk-device-ungrab" title="gdk_device_ungrab ()"><code class="function">gdk_device_ungrab()</code></a>, together with <a class="link" href="GdkDevice.html#gdk-device-grab" title="gdk_device_grab ()"><code class="function">gdk_device_grab()</code></a>
|
||||
@ -1022,7 +1022,7 @@ on only a single display.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-error-trap-pop"></a><h3>gdk_error_trap_pop ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_error_trap_pop (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gdk_error_trap_pop</code> is deprecated and should not be used in newly-written code.</p></div>
|
||||
<p>Removes an error trap pushed with <a class="link" href="gdk3-General.html#gdk-error-trap-push" title="gdk_error_trap_push ()"><code class="function">gdk_error_trap_push()</code></a>.
|
||||
|
@ -59,7 +59,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keymap-lookup-key" title="gdk_keymap_lookup_key ()">gdk_keymap_lookup_key</a> <span class="c_punctuation">()</span>
|
||||
@ -67,7 +67,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keymap-translate-keyboard-state" title="gdk_keymap_translate_keyboard_state ()">gdk_keymap_translate_keyboard_state</a> <span class="c_punctuation">()</span>
|
||||
@ -75,7 +75,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keymap-get-entries-for-keyval" title="gdk_keymap_get_entries_for_keyval ()">gdk_keymap_get_entries_for_keyval</a> <span class="c_punctuation">()</span>
|
||||
@ -83,7 +83,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keymap-get-entries-for-keycode" title="gdk_keymap_get_entries_for_keycode ()">gdk_keymap_get_entries_for_keycode</a> <span class="c_punctuation">()</span>
|
||||
@ -99,7 +99,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keymap-have-bidi-layouts" title="gdk_keymap_have_bidi_layouts ()">gdk_keymap_have_bidi_layouts</a> <span class="c_punctuation">()</span>
|
||||
@ -107,7 +107,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keymap-get-caps-lock-state" title="gdk_keymap_get_caps_lock_state ()">gdk_keymap_get_caps_lock_state</a> <span class="c_punctuation">()</span>
|
||||
@ -115,7 +115,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keymap-get-num-lock-state" title="gdk_keymap_get_num_lock_state ()">gdk_keymap_get_num_lock_state</a> <span class="c_punctuation">()</span>
|
||||
@ -123,7 +123,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keymap-get-scroll-lock-state" title="gdk_keymap_get_scroll_lock_state ()">gdk_keymap_get_scroll_lock_state</a> <span class="c_punctuation">()</span>
|
||||
@ -131,7 +131,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keymap-get-modifier-state" title="gdk_keymap_get_modifier_state ()">gdk_keymap_get_modifier_state</a> <span class="c_punctuation">()</span>
|
||||
@ -147,7 +147,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keymap-map-virtual-modifiers" title="gdk_keymap_map_virtual_modifiers ()">gdk_keymap_map_virtual_modifiers</a> <span class="c_punctuation">()</span>
|
||||
@ -163,7 +163,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keyval-name" title="gdk_keyval_name ()">gdk_keyval_name</a> <span class="c_punctuation">()</span>
|
||||
@ -171,7 +171,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keyval-from-name" title="gdk_keyval_from_name ()">gdk_keyval_from_name</a> <span class="c_punctuation">()</span>
|
||||
@ -187,7 +187,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keyval-to-upper" title="gdk_keyval_to_upper ()">gdk_keyval_to_upper</a> <span class="c_punctuation">()</span>
|
||||
@ -195,7 +195,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keyval-to-lower" title="gdk_keyval_to_lower ()">gdk_keyval_to_lower</a> <span class="c_punctuation">()</span>
|
||||
@ -203,7 +203,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keyval-is-upper" title="gdk_keyval_is_upper ()">gdk_keyval_is_upper</a> <span class="c_punctuation">()</span>
|
||||
@ -211,7 +211,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keyval-is-lower" title="gdk_keyval_is_lower ()">gdk_keyval_is_lower</a> <span class="c_punctuation">()</span>
|
||||
@ -219,7 +219,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
<span class="returnvalue">guint32</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-keyval-to-unicode" title="gdk_keyval_to_unicode ()">gdk_keyval_to_unicode</a> <span class="c_punctuation">()</span>
|
||||
@ -227,7 +227,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Keyboard-Handling.html#gdk-unicode-to-keyval" title="gdk_unicode_to_keyval ()">gdk_unicode_to_keyval</a> <span class="c_punctuation">()</span>
|
||||
@ -248,17 +248,17 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap-direction-changed" title="The “direction-changed” signal">direction-changed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap-keys-changed" title="The “keys-changed” signal">keys-changed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap-state-changed" title="The “state-changed” signal">state-changed</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -284,7 +284,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="gdk3-Keyboard-Handling.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GdkKeymap
|
||||
</pre>
|
||||
</div>
|
||||
@ -298,7 +298,7 @@
|
||||
<p>Key values are the codes which are sent whenever a key is pressed or released.
|
||||
They appear in the <a class="link" href="gdk3-Event-Structures.html#GdkEventKey.keyval"><span class="type">GdkEventKey.keyval</span></a> field of the
|
||||
<a class="link" href="gdk3-Event-Structures.html#GdkEventKey" title="struct GdkEventKey"><span class="type">GdkEventKey</span></a> structure, which is passed to signal handlers for the
|
||||
<a href="https://developer.gnome.org/gtk3/GtkWidget.html#GtkWidget-key-press-event"><span class="type">“key-press-event”</span></a> and <a href="https://developer.gnome.org/gtk3/GtkWidget.html#GtkWidget-key-release-event"><span class="type">“key-release-event”</span></a> signals.
|
||||
<span class="type">“key-press-event”</span> and <span class="type">“key-release-event”</span> signals.
|
||||
The complete list of key values can be found in the
|
||||
<code class="literal">gdk/gdkkeysyms.h</code> header file.</p>
|
||||
<p>Key values are regularly updated from the upstream X.org X11 implementation,
|
||||
@ -402,7 +402,7 @@ gdk_keymap_get_for_display (<em class="parameter"><code><a class="link" href="Gd
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keymap-lookup-key"></a><h3>gdk_keymap_lookup_key ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gdk_keymap_lookup_key (<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap</code></em>,
|
||||
<em class="parameter"><code>const <a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymapKey" title="struct GdkKeymapKey"><span class="type">GdkKeymapKey</span></a> *key</code></em>);</pre>
|
||||
<p>Looks up the keyval mapped to a keycode/group/level triplet.
|
||||
@ -442,14 +442,14 @@ the same as the current keyboard state.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keymap-translate-keyboard-state"></a><h3>gdk_keymap_translate_keyboard_state ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_keymap_translate_keyboard_state (<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> hardware_keycode</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> hardware_keycode</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a> state</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> group</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *keyval</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *effective_group</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *level</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> group</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> *keyval</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *effective_group</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *level</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a> *consumed_modifiers</code></em>);</pre>
|
||||
<p>Translates the contents of a <a class="link" href="gdk3-Event-Structures.html#GdkEventKey" title="struct GdkEventKey"><span class="type">GdkEventKey</span></a> into a keyval, effective
|
||||
group, and level. Modifiers that affected the translation and
|
||||
@ -487,7 +487,7 @@ the <code class="literal">plus</code> symbol is shifted, so when comparing a key
|
||||
<span class="preproc">#define</span><span class="normal"> </span><span class="function">ALL_ACCELS_MASK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gdk3-Windows.html#GDK-CONTROL-MASK:CAPS">GDK_CONTROL_MASK</a> </span><span class="symbol">|</span><span class="normal"> <a href="gdk3-Windows.html#GDK-SHIFT-MASK:CAPS">GDK_SHIFT_MASK</a> </span><span class="symbol">|</span><span class="normal"> <a href="gdk3-Windows.html#GDK-MOD1-MASK:CAPS">GDK_MOD1_MASK</a></span><span class="symbol">)</span>
|
||||
<span class="function"><a href="gdk3-Keyboard-Handling.html#gdk-keymap-translate-keyboard-state">gdk_keymap_translate_keyboard_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">keymap</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">hardware_keycode</span><span class="symbol">,</span>
|
||||
<span class="normal"> event</span><span class="symbol">-></span><span class="normal">state</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">group</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="symbol">&</span><span class="normal">keyval</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><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">consumed</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="symbol">&</span><span class="normal">keyval</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">consumed</span><span class="symbol">);</span>
|
||||
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">keyval </span><span class="symbol">==</span><span class="normal"> <a href="gdk3-Cursors.html#GDK-PLUS:CAPS">GDK_PLUS</a> </span><span class="symbol">&&</span>
|
||||
<span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-></span><span class="normal">state </span><span class="symbol">&</span><span class="normal"> </span><span class="symbol">~</span><span class="normal">consumed </span><span class="symbol">&</span><span class="normal"> ALL_ACCELS_MASK</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> <a href="gdk3-Windows.html#GDK-CONTROL-MASK:CAPS">GDK_CONTROL_MASK</a></span><span class="symbol">)</span>
|
||||
<span class="normal"> </span><span class="comment">// Control was pressed</span></pre></td>
|
||||
@ -562,24 +562,24 @@ modifiers removed. Store <code class="literal"><Control>plus</code>, not <
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>keyval</p></td>
|
||||
<td class="parameter_description"><p>return location for keyval, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>return location for keyval, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>effective_group</p></td>
|
||||
<td class="parameter_description"><p>return location for effective
|
||||
group, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
group, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>level</p></td>
|
||||
<td class="parameter_description"><p>return location for level, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>return location for level, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>consumed_modifiers</p></td>
|
||||
<td class="parameter_description"><p>return location for modifiers
|
||||
that were used to determine the group or level, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
that were used to determine the group or level, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -587,17 +587,17 @@ that were used to determine the group or level, or <a href="https://developer.gn
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keymap-translate-keyboard-state.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there was a keyval bound to the keycode/state/group</p>
|
||||
<p> <code class="literal">TRUE</code> if there was a keyval bound to the keycode/state/group</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keymap-get-entries-for-keyval"></a><h3>gdk_keymap_get_entries_for_keyval ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_keymap_get_entries_for_keyval (<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> keyval</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymapKey" title="struct GdkKeymapKey"><span class="type">GdkKeymapKey</span></a> **keys</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_keys</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> *n_keys</code></em>);</pre>
|
||||
<p>Obtains a list of keycode/group/level combinations that will
|
||||
generate <em class="parameter"><code>keyval</code></em>
|
||||
. Groups and levels are two kinds of keyboard mode;
|
||||
@ -609,7 +609,7 @@ convert a keyboard between Hebrew to English modes, for example.
|
||||
<a class="link" href="gdk3-Event-Structures.html#GdkEventKey" title="struct GdkEventKey"><span class="type">GdkEventKey</span></a> contains a <code class="literal">group</code> field that indicates the active
|
||||
keyboard group. The level is computed from the modifier mask.
|
||||
The returned array should be freed
|
||||
with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
||||
with <code class="function">g_free()</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keymap-get-entries-for-keyval.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -645,24 +645,24 @@ for an array of <a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymapKey"
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keymap-get-entries-for-keyval.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if keys were found and returned</p>
|
||||
<p> <code class="literal">TRUE</code> if keys were found and returned</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keymap-get-entries-for-keycode"></a><h3>gdk_keymap_get_entries_for_keycode ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_keymap_get_entries_for_keycode (<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> hardware_keycode</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> hardware_keycode</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymapKey" title="struct GdkKeymapKey"><span class="type">GdkKeymapKey</span></a> **keys</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> **keyvals</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_entries</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> **keyvals</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *n_entries</code></em>);</pre>
|
||||
<p>Returns the keyvals bound to <em class="parameter"><code>hardware_keycode</code></em>
|
||||
.
|
||||
The Nth <a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymapKey" title="struct GdkKeymapKey"><span class="type">GdkKeymapKey</span></a> in <em class="parameter"><code>keys</code></em>
|
||||
is bound to the Nth
|
||||
keyval in <em class="parameter"><code>keyvals</code></em>
|
||||
. Free the returned arrays with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
|
||||
. Free the returned arrays with <code class="function">g_free()</code>.
|
||||
When a keycode is pressed by the user, the keyval from
|
||||
this list of entries is selected by considering the effective
|
||||
keyboard group and level. See <a class="link" href="gdk3-Keyboard-Handling.html#gdk-keymap-translate-keyboard-state" title="gdk_keymap_translate_keyboard_state ()"><code class="function">gdk_keymap_translate_keyboard_state()</code></a>.</p>
|
||||
@ -688,13 +688,13 @@ keyboard group and level. See <a class="link" href="gdk3-Keyboard-Handling.html#
|
||||
<tr>
|
||||
<td class="parameter_name"><p>keys</p></td>
|
||||
<td class="parameter_description"><p>return
|
||||
location for array of <a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymapKey" title="struct GdkKeymapKey"><span class="type">GdkKeymapKey</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>
|
||||
location for array of <a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymapKey" title="struct GdkKeymapKey"><span class="type">GdkKeymapKey</span></a>, or <code class="literal">NULL</code>. </p></td>
|
||||
<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="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_entries][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>keyvals</p></td>
|
||||
<td class="parameter_description"><p>return
|
||||
location for array of keyvals, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
location for array of keyvals, or <code class="literal">NULL</code>. </p></td>
|
||||
<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="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_entries][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -709,7 +709,7 @@ and <em class="parameter"><code>keyvals</code></em>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keymap-get-entries-for-keycode.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there were any entries</p>
|
||||
<p> <code class="literal">TRUE</code> if there were any entries</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -743,7 +743,7 @@ otherwise.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keymap-have-bidi-layouts"></a><h3>gdk_keymap_have_bidi_layouts ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_keymap_have_bidi_layouts (<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap</code></em>);</pre>
|
||||
<p>Determines if keyboard layouts for both right-to-left and left-to-right
|
||||
languages are in use.</p>
|
||||
@ -764,14 +764,14 @@ languages are in use.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keymap-have-bidi-layouts.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there are layouts in both directions, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
||||
<p> <code class="literal">TRUE</code> if there are layouts in both directions, <code class="literal">FALSE</code> otherwise</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.12</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keymap-get-caps-lock-state"></a><h3>gdk_keymap_get_caps_lock_state ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_keymap_get_caps_lock_state (<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap</code></em>);</pre>
|
||||
<p>Returns whether the Caps Lock modifer is locked.</p>
|
||||
<div class="refsect3">
|
||||
@ -791,14 +791,14 @@ gdk_keymap_get_caps_lock_state (<em class="parameter"><code><a class="link" href
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keymap-get-caps-lock-state.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if Caps Lock is on</p>
|
||||
<p> <code class="literal">TRUE</code> if Caps Lock is on</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.16</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keymap-get-num-lock-state"></a><h3>gdk_keymap_get_num_lock_state ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_keymap_get_num_lock_state (<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap</code></em>);</pre>
|
||||
<p>Returns whether the Num Lock modifer is locked.</p>
|
||||
<div class="refsect3">
|
||||
@ -818,14 +818,14 @@ gdk_keymap_get_num_lock_state (<em class="parameter"><code><a class="link" href=
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keymap-get-num-lock-state.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if Num Lock is on</p>
|
||||
<p> <code class="literal">TRUE</code> if Num Lock is on</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keymap-get-scroll-lock-state"></a><h3>gdk_keymap_get_scroll_lock_state ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_keymap_get_scroll_lock_state (<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap</code></em>);</pre>
|
||||
<p>Returns whether the Scroll Lock modifer is locked.</p>
|
||||
<div class="refsect3">
|
||||
@ -845,14 +845,14 @@ gdk_keymap_get_scroll_lock_state (<em class="parameter"><code><a class="link" hr
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keymap-get-scroll-lock-state.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if Scroll Lock is on</p>
|
||||
<p> <code class="literal">TRUE</code> if Scroll Lock is on</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-18.html#api-index-3.18">3.18</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keymap-get-modifier-state"></a><h3>gdk_keymap_get_modifier_state ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gdk_keymap_get_modifier_state (<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap</code></em>);</pre>
|
||||
<p>Returns the current modifier state.</p>
|
||||
<div class="refsect3">
|
||||
@ -919,7 +919,7 @@ accelerators.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keymap-map-virtual-modifiers"></a><h3>gdk_keymap_map_virtual_modifiers ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_keymap_map_virtual_modifiers (<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a> *state</code></em>);</pre>
|
||||
<p>Maps the virtual modifiers (i.e. Super, Hyper and Meta) which
|
||||
@ -953,8 +953,8 @@ accelerators.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keymap-map-virtual-modifiers.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if two virtual modifiers were mapped to the
|
||||
same non-virtual modifier. Note that <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is also returned
|
||||
<p> <code class="literal">FALSE</code> if two virtual modifiers were mapped to the
|
||||
same non-virtual modifier. Note that <code class="literal">FALSE</code> is also returned
|
||||
if a virtual modifier is mapped to a non-virtual modifier that
|
||||
was already set in <em class="parameter"><code>state</code></em>
|
||||
.</p>
|
||||
@ -1008,8 +1008,8 @@ expected result.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keyval-name"></a><h3>gdk_keyval_name ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gdk_keyval_name (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gdk_keyval_name (<em class="parameter"><code><span class="type">guint</span> keyval</code></em>);</pre>
|
||||
<p>Converts a key value into a symbolic name.</p>
|
||||
<p>The names are the same as those in the
|
||||
<code class="literal">gdk/gdkkeysyms.h</code> header file
|
||||
@ -1032,7 +1032,7 @@ but without the leading “GDK_KEY_”.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keyval-name.returns"></a><h4>Returns</h4>
|
||||
<p>a string containing the name
|
||||
of the key, 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>keyval</code></em>
|
||||
of the key, or <code class="literal">NULL</code> if <em class="parameter"><code>keyval</code></em>
|
||||
is not a valid key. The string
|
||||
should not be modified. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
@ -1041,8 +1041,8 @@ should not be modified. </p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keyval-from-name"></a><h3>gdk_keyval_from_name ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gdk_keyval_from_name (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *keyval_name</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gdk_keyval_from_name (<em class="parameter"><code>const <span class="type">gchar</span> *keyval_name</code></em>);</pre>
|
||||
<p>Converts a key name to a key value.</p>
|
||||
<p>The names are the same as those in the
|
||||
<code class="literal">gdk/gdkkeysyms.h</code> header file
|
||||
@ -1072,9 +1072,9 @@ if the key name is not a valid key</p>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keyval-convert-case"></a><h3>gdk_keyval_convert_case ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_keyval_convert_case (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> symbol</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *lower</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *upper</code></em>);</pre>
|
||||
gdk_keyval_convert_case (<em class="parameter"><code><span class="type">guint</span> symbol</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> *lower</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> *upper</code></em>);</pre>
|
||||
<p>Obtains the upper- and lower-case versions of the keyval <em class="parameter"><code>symbol</code></em>
|
||||
.
|
||||
Examples of keyvals are <span class="type">GDK_KEY_a</span>, <span class="type">GDK_KEY_Enter</span>, <span class="type">GDK_KEY_F1</span>, etc.</p>
|
||||
@ -1111,8 +1111,8 @@ Examples of keyvals are <span class="type">GDK_KEY_a</span>, <span class="type">
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keyval-to-upper"></a><h3>gdk_keyval_to_upper ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gdk_keyval_to_upper (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gdk_keyval_to_upper (<em class="parameter"><code><span class="type">guint</span> keyval</code></em>);</pre>
|
||||
<p>Converts a key value to upper case, if applicable.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keyval-to-upper.parameters"></a><h4>Parameters</h4>
|
||||
@ -1140,8 +1140,8 @@ in upper case or it is not subject to case conversion.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keyval-to-lower"></a><h3>gdk_keyval_to_lower ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gdk_keyval_to_lower (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gdk_keyval_to_lower (<em class="parameter"><code><span class="type">guint</span> keyval</code></em>);</pre>
|
||||
<p>Converts a key value to lower case, if applicable.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keyval-to-lower.parameters"></a><h4>Parameters</h4>
|
||||
@ -1169,9 +1169,9 @@ in lower case or it is not subject to case conversion.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keyval-is-upper"></a><h3>gdk_keyval_is_upper ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gdk_keyval_is_upper (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>);</pre>
|
||||
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the given key value is in upper case.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_keyval_is_upper (<em class="parameter"><code><span class="type">guint</span> keyval</code></em>);</pre>
|
||||
<p>Returns <code class="literal">TRUE</code> if the given key value is in upper case.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keyval-is-upper.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1189,7 +1189,7 @@ gdk_keyval_is_upper (<em class="parameter"><code><a href="https://developer.gnom
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keyval-is-upper.returns"></a><h4>Returns</h4>
|
||||
<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>keyval</code></em>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>keyval</code></em>
|
||||
is in upper case, or if <em class="parameter"><code>keyval</code></em>
|
||||
is not subject to
|
||||
case conversion.</p>
|
||||
@ -1198,9 +1198,9 @@ case conversion.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keyval-is-lower"></a><h3>gdk_keyval_is_lower ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gdk_keyval_is_lower (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>);</pre>
|
||||
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the given key value is in lower case.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_keyval_is_lower (<em class="parameter"><code><span class="type">guint</span> keyval</code></em>);</pre>
|
||||
<p>Returns <code class="literal">TRUE</code> if the given key value is in lower case.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keyval-is-lower.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1218,7 +1218,7 @@ gdk_keyval_is_lower (<em class="parameter"><code><a href="https://developer.gnom
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-keyval-is-lower.returns"></a><h4>Returns</h4>
|
||||
<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>keyval</code></em>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>keyval</code></em>
|
||||
is in lower case, or if <em class="parameter"><code>keyval</code></em>
|
||||
is not
|
||||
subject to case conversion.</p>
|
||||
@ -1227,8 +1227,8 @@ subject to case conversion.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-keyval-to-unicode"></a><h3>gdk_keyval_to_unicode ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
gdk_keyval_to_unicode (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">guint32</span>
|
||||
gdk_keyval_to_unicode (<em class="parameter"><code><span class="type">guint</span> keyval</code></em>);</pre>
|
||||
<p>Convert from a GDK key symbol to the corresponding ISO10646 (Unicode)
|
||||
character.</p>
|
||||
<div class="refsect3">
|
||||
@ -1255,8 +1255,8 @@ is no corresponding character.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-unicode-to-keyval"></a><h3>gdk_unicode_to_keyval ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gdk_unicode_to_keyval (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> wc</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gdk_unicode_to_keyval (<em class="parameter"><code><span class="type">guint32</span> wc</code></em>);</pre>
|
||||
<p>Convert from a ISO10646 character to a key symbol.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-unicode-to-keyval.parameters"></a><h4>Parameters</h4>
|
||||
@ -1313,13 +1313,13 @@ in the keymap and see what keyval it corresponds to.</p>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GdkKeymapKey.keycode"></a>keycode</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkKeymapKey.keycode"></a>keycode</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the hardware keycode. This is an identifying number for a
|
||||
physical key.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkKeymapKey.group"></a>group</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkKeymapKey.group"></a>group</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>indicates movement in a horizontal direction. Usually groups are used
|
||||
for two different languages. In group 0, a key might have two English
|
||||
characters, and in group 1 it might have two Hebrew characters. The Hebrew
|
||||
@ -1327,7 +1327,7 @@ characters will be printed on the key next to the English characters.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkKeymapKey.level"></a>level</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkKeymapKey.level"></a>level</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>indicates which symbol on the key will be used, in a vertical direction.
|
||||
So on a standard US keyboard, the key with the number “1” on it also has the
|
||||
exclamation point ("!") character on it. The level indicates whether to use
|
||||
@ -1347,7 +1347,7 @@ uppercase letter is printed.</p></td>
|
||||
<a name="GdkKeymap-direction-changed"></a><h3>The <code class="literal">“direction-changed”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::direction-changed signal gets emitted when the direction of
|
||||
the keymap changes.</p>
|
||||
<div class="refsect3">
|
||||
@ -1372,7 +1372,7 @@ the keymap changes.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: 2.0</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1380,7 +1380,7 @@ the keymap changes.</p>
|
||||
<a name="GdkKeymap-keys-changed"></a><h3>The <code class="literal">“keys-changed”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::keys-changed signal is emitted when the mapping represented by
|
||||
<em class="parameter"><code>keymap</code></em>
|
||||
changes.</p>
|
||||
@ -1406,7 +1406,7 @@ user_function (<a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><spa
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: 2.2</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1414,7 +1414,7 @@ user_function (<a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><spa
|
||||
<a name="GdkKeymap-state-changed"></a><h3>The <code class="literal">“state-changed”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::state-changed signal is emitted when the state of the
|
||||
keyboard changes, e.g when Caps Lock is turned on or off.
|
||||
See <a class="link" href="gdk3-Keyboard-Handling.html#gdk-keymap-get-caps-lock-state" title="gdk_keymap_get_caps_lock_state ()"><code class="function">gdk_keymap_get_caps_lock_state()</code></a>.</p>
|
||||
@ -1440,7 +1440,7 @@ See <a class="link" href="gdk3-Keyboard-Handling.html#gdk-keymap-get-caps-lock-s
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: 2.16</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -95,8 +95,8 @@ and types in this section are used to obtain clip regions for
|
||||
GDK.</p>
|
||||
<p>Creating a <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a> object is the first step in rendering text,
|
||||
and requires getting a handle to a <a href="/usr/share/gtk-doc/html/pango/pango-Text-Processing.html#PangoContext-struct"><span class="type">PangoContext</span></a>. For GTK+ programs,
|
||||
you’ll usually want to use <a href="https://developer.gnome.org/gtk4/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>, or
|
||||
<a href="https://developer.gnome.org/gtk4/GtkWidget.html#gtk-widget-create-pango-layout"><code class="function">gtk_widget_create_pango_layout()</code></a>, rather than using the lowlevel
|
||||
you’ll usually want to use <code class="function">gtk_widget_get_pango_context()</code>, or
|
||||
<code class="function">gtk_widget_create_pango_layout()</code>, rather than using the lowlevel
|
||||
<a class="link" href="gdk3-Pango-Interaction.html#gdk-pango-context-get-for-screen" title="gdk_pango_context_get_for_screen ()"><code class="function">gdk_pango_context_get_for_screen()</code></a>. Once you have a <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a>, you
|
||||
can set the text and attributes of it with Pango functions like
|
||||
<a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-set-text"><code class="function">pango_layout_set_text()</code></a> and get its size with <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-get-size"><code class="function">pango_layout_get_size()</code></a>.
|
||||
@ -191,7 +191,7 @@ you can also draw pieces of the layout with <a href="/usr/share/gtk-doc/html/pan
|
||||
|
||||
<span class="normal">width </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk3-Windows.html#gdk-window-get-width">gdk_window_get_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">);</span>
|
||||
<span class="normal">height </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk3-Windows.html#gdk-window-get-height">gdk_window_get_height</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">);</span>
|
||||
<span class="normal">radius </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#MIN:CAPS">MIN</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">.;</span>
|
||||
<span class="normal">radius </span><span class="symbol">=</span><span class="normal"> </span><span class="function">MIN</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">.;</span>
|
||||
|
||||
<span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Transformations.html#cairo-translate">cairo_translate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span>
|
||||
<span class="normal"> radius </span><span class="symbol">+</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">width </span><span class="symbol">-</span><span class="normal"> </span><span class="number">2</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> radius</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">,</span>
|
||||
@ -210,7 +210,7 @@ you can also draw pieces of the layout with <a href="/usr/share/gtk-doc/html/pan
|
||||
<span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">i </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span><span class="normal"> i </span><span class="symbol"><</span><span class="normal"> N_WORDS</span><span class="symbol">;</span><span class="normal"> i</span><span class="symbol">++)</span>
|
||||
<span class="normal"> </span><span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="type">double</span><span class="normal"> red</span><span class="symbol">,</span><span class="normal"> green</span><span class="symbol">,</span><span class="normal"> blue</span><span class="symbol">;</span>
|
||||
<span class="normal"> </span><span class="type">double</span><span class="normal"> angle </span><span class="symbol">=</span><span class="normal"> </span><span class="number">2</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Numerical-Definitions.html#G-PI:CAPS">G_PI</a> </span><span class="symbol">*</span><span class="normal"> i </span><span class="symbol">/</span><span class="normal"> n_words</span><span class="symbol">;</span>
|
||||
<span class="normal"> </span><span class="type">double</span><span class="normal"> angle </span><span class="symbol">=</span><span class="normal"> </span><span class="number">2</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> G_PI </span><span class="symbol">*</span><span class="normal"> i </span><span class="symbol">/</span><span class="normal"> n_words</span><span class="symbol">;</span>
|
||||
|
||||
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-save">cairo_save</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
||||
|
||||
@ -233,8 +233,8 @@ you can also draw pieces of the layout with <a href="/usr/share/gtk-doc/html/pan
|
||||
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-restore">cairo_restore</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="cbracket">}</span>
|
||||
|
||||
<span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span>
|
||||
<span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">);</span></pre></td>
|
||||
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span>
|
||||
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">);</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -253,10 +253,10 @@ you can also draw pieces of the layout with <a href="/usr/share/gtk-doc/html/pan
|
||||
<a name="gdk-pango-layout-get-clip-region"></a><h3>gdk_pango_layout_get_clip_region ()</h3>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/cairo/cairo-Regions.html#cairo-region-t"><span class="returnvalue">cairo_region_t</span></a> *
|
||||
gdk_pango_layout_get_clip_region (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_origin</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_origin</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *index_ranges</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_ranges</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> x_origin</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y_origin</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gint</span> *index_ranges</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> n_ranges</code></em>);</pre>
|
||||
<p>Obtains a clip region which contains the areas where the given ranges
|
||||
of text would be drawn. <em class="parameter"><code>x_origin</code></em>
|
||||
and <em class="parameter"><code>y_origin</code></em>
|
||||
@ -318,10 +318,10 @@ of text, such as when text is selected.</p>
|
||||
<a name="gdk-pango-layout-line-get-clip-region"></a><h3>gdk_pango_layout_line_get_clip_region ()</h3>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/cairo/cairo-Regions.html#cairo-region-t"><span class="returnvalue">cairo_region_t</span></a> *
|
||||
gdk_pango_layout_line_get_clip_region (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayoutLine-struct"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_origin</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_origin</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *index_ranges</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_ranges</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> x_origin</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y_origin</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gint</span> *index_ranges</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> n_ranges</code></em>);</pre>
|
||||
<p>Obtains a clip region which contains the areas where the given
|
||||
ranges of text would be drawn. <em class="parameter"><code>x_origin</code></em>
|
||||
and <em class="parameter"><code>y_origin</code></em>
|
||||
@ -392,12 +392,12 @@ are end indexes. </p></td>
|
||||
gdk_pango_context_get (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<p>Creates a <a href="/usr/share/gtk-doc/html/pango/pango-Text-Processing.html#PangoContext-struct"><span class="type">PangoContext</span></a> for the default GDK screen.</p>
|
||||
<p>The context must be freed when you’re finished with it.</p>
|
||||
<p>When using GTK+, normally you should use <a href="https://developer.gnome.org/gtk4/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>
|
||||
<p>When using GTK+, normally you should use <code class="function">gtk_widget_get_pango_context()</code>
|
||||
instead of this function, to get the appropriate context for
|
||||
the widget you intend to render text onto.</p>
|
||||
<p>The newly created context will have the default font options (see
|
||||
<a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html#cairo-font-options-t"><span class="type">cairo_font_options_t</span></a>) for the default screen; if these options
|
||||
change it will not be updated. Using <a href="https://developer.gnome.org/gtk4/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>
|
||||
change it will not be updated. Using <code class="function">gtk_widget_get_pango_context()</code>
|
||||
is more convenient if you want to keep a context around and track
|
||||
changes to the screen’s font rendering settings.</p>
|
||||
<div class="refsect3">
|
||||
@ -414,12 +414,12 @@ gdk_pango_context_get_for_screen (<em class="parameter"><code><a class="link" hr
|
||||
<p>Creates a <a href="/usr/share/gtk-doc/html/pango/pango-Text-Processing.html#PangoContext-struct"><span class="type">PangoContext</span></a> for <em class="parameter"><code>screen</code></em>
|
||||
.</p>
|
||||
<p>The context must be freed when you’re finished with it.</p>
|
||||
<p>When using GTK+, normally you should use <a href="https://developer.gnome.org/gtk4/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>
|
||||
<p>When using GTK+, normally you should use <code class="function">gtk_widget_get_pango_context()</code>
|
||||
instead of this function, to get the appropriate context for
|
||||
the widget you intend to render text onto.</p>
|
||||
<p>The newly created context will have the default font options
|
||||
(see <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html#cairo-font-options-t"><span class="type">cairo_font_options_t</span></a>) for the screen; if these options
|
||||
change it will not be updated. Using <a href="https://developer.gnome.org/gtk4/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>
|
||||
change it will not be updated. Using <code class="function">gtk_widget_get_pango_context()</code>
|
||||
is more convenient if you want to keep a context around and track
|
||||
changes to the screen’s font rendering settings.</p>
|
||||
<div class="refsect3">
|
||||
@ -453,12 +453,12 @@ gdk_pango_context_get_for_display (<em class="parameter"><code><a class="link" h
|
||||
<p>Creates a <a href="/usr/share/gtk-doc/html/pango/pango-Text-Processing.html#PangoContext-struct"><span class="type">PangoContext</span></a> for <em class="parameter"><code>display</code></em>
|
||||
.</p>
|
||||
<p>The context must be freed when you’re finished with it.</p>
|
||||
<p>When using GTK+, normally you should use <a href="https://developer.gnome.org/gtk4/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>
|
||||
<p>When using GTK+, normally you should use <code class="function">gtk_widget_get_pango_context()</code>
|
||||
instead of this function, to get the appropriate context for
|
||||
the widget you intend to render text onto.</p>
|
||||
<p>The newly created context will have the default font options
|
||||
(see <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html#cairo-font-options-t"><span class="type">cairo_font_options_t</span></a>) for the display; if these options
|
||||
change it will not be updated. Using <a href="https://developer.gnome.org/gtk4/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>
|
||||
change it will not be updated. Using <code class="function">gtk_widget_get_pango_context()</code>
|
||||
is more convenient if you want to keep a context around and track
|
||||
changes to the font rendering settings.</p>
|
||||
<div class="refsect3">
|
||||
|
@ -76,10 +76,10 @@ and manipulate pixbufs, see the <a href="http://library.gnome.org/devel/gdk-pixb
|
||||
<a name="gdk-pixbuf-get-from-window"></a><h3>gdk_pixbuf_get_from_window ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
||||
gdk_pixbuf_get_from_window (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<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>,
|
||||
<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>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gint</span> src_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> src_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> height</code></em>);</pre>
|
||||
<p>Transfers image data from a <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> and converts it to an RGB(A)
|
||||
representation inside a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>. In other words, copies
|
||||
image data from a server-side drawable to a client-side RGB(A) buffer.
|
||||
@ -99,11 +99,11 @@ portions of the pixbuf corresponding to the offscreen region are undefined.</p>
|
||||
other windows, then the contents of the pixbuf areas corresponding
|
||||
to the obscured regions are undefined.</p>
|
||||
<p>If the window is not mapped (typically because it’s iconified/minimized
|
||||
or not on the current workspace), then <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned.</p>
|
||||
<p>If memory can’t be allocated for the return value, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned
|
||||
or not on the current workspace), then <code class="literal">NULL</code> will be returned.</p>
|
||||
<p>If memory can’t be allocated for the return value, <code class="literal">NULL</code> will be returned
|
||||
instead.</p>
|
||||
<p>(In short, there are several ways this function can fail, and if it fails
|
||||
it returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>; so check the return value.)</p>
|
||||
it returns <code class="literal">NULL</code>; so check the return value.)</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-pixbuf-get-from-window.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -146,7 +146,7 @@ instead.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-pixbuf-get-from-window.returns"></a><h4>Returns</h4>
|
||||
<p>A newly-created pixbuf with a
|
||||
reference count of 1, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p>
|
||||
reference count of 1, or <code class="literal">NULL</code> on error. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
@ -155,10 +155,10 @@ reference count of 1, or <a href="https://developer.gnome.org/glib/unstable/glib
|
||||
<a name="gdk-pixbuf-get-from-surface"></a><h3>gdk_pixbuf_get_from_surface ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
||||
gdk_pixbuf_get_from_surface (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
|
||||
<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>,
|
||||
<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>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gint</span> src_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> src_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> height</code></em>);</pre>
|
||||
<p>Transfers image data from a <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> and converts it to an RGB(A)
|
||||
representation inside a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>. This allows you to efficiently read
|
||||
individual pixels from cairo surfaces. For <a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a>, use
|
||||
@ -208,7 +208,7 @@ The pixbuf will contain an alpha channel if the <em class="parameter"><code>surf
|
||||
<div class="refsect3">
|
||||
<a name="gdk-pixbuf-get-from-surface.returns"></a><h4>Returns</h4>
|
||||
<p>A newly-created pixbuf with a
|
||||
reference count of 1, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p>
|
||||
reference count of 1, or <code class="literal">NULL</code> on error. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -41,7 +41,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Points-Rectangles-and-Regions.html#gdk-rectangle-intersect" title="gdk_rectangle_intersect ()">gdk_rectangle_intersect</a> <span class="c_punctuation">()</span>
|
||||
@ -57,7 +57,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Points-Rectangles-and-Regions.html#gdk-rectangle-equal" title="gdk_rectangle_equal ()">gdk_rectangle_equal</a> <span class="c_punctuation">()</span>
|
||||
@ -106,7 +106,7 @@ The intersection of two rectangles can be computed with
|
||||
<a name="gdk3-Points-Rectangles-and-Regions.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-rectangle-intersect"></a><h3>gdk_rectangle_intersect ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_rectangle_intersect (<em class="parameter"><code>const <a class="link" href="gdk3-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *src1</code></em>,
|
||||
<em class="parameter"><code>const <a class="link" href="gdk3-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *src2</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *dest</code></em>);</pre>
|
||||
@ -119,7 +119,7 @@ do not intersect, <em class="parameter"><code>dest</code></em>
|
||||
’s width and height is set to 0 and its x
|
||||
and y values are undefined. If you are only interested in whether
|
||||
the rectangles intersect, but not in the intersecting area itself,
|
||||
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>dest</code></em>
|
||||
pass <code class="literal">NULL</code> for <em class="parameter"><code>dest</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-rectangle-intersect.parameters"></a><h4>Parameters</h4>
|
||||
@ -145,7 +145,7 @@ pass <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.htm
|
||||
<td class="parameter_description"><p>return location for the
|
||||
intersection of <em class="parameter"><code>src1</code></em>
|
||||
and <em class="parameter"><code>src2</code></em>
|
||||
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -153,7 +153,7 @@ and <em class="parameter"><code>src2</code></em>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-rectangle-intersect.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the rectangles intersect.</p>
|
||||
<p> <code class="literal">TRUE</code> if the rectangles intersect.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -209,7 +209,7 @@ and <em class="parameter"><code>src2</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-rectangle-equal"></a><h3>gdk_rectangle_equal ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_rectangle_equal (<em class="parameter"><code>const <a class="link" href="gdk3-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rect1</code></em>,
|
||||
<em class="parameter"><code>const <a class="link" href="gdk3-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rect2</code></em>);</pre>
|
||||
<p>Checks if the two given rectangles are equal.</p>
|
||||
@ -237,7 +237,7 @@ gdk_rectangle_equal (<em class="parameter"><code>const <a class="link" href="gdk
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-rectangle-equal.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the rectangles are equal.</p>
|
||||
<p> <code class="literal">TRUE</code> if the rectangles are equal.</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
||||
</div>
|
||||
@ -262,12 +262,12 @@ gdk_rectangle_equal (<em class="parameter"><code>const <a class="link" href="gdk
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<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="GdkPoint.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkPoint.x"></a>x</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the x coordinate of the point.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkPoint.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkPoint.y"></a>y</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>the y coordinate of the point.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
|
@ -53,7 +53,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Properties-and-Atoms.html#gdk-text-property-to-utf8-list-for-display" title="gdk_text_property_to_utf8_list_for_display ()">gdk_text_property_to_utf8_list_for_display</a> <span class="c_punctuation">()</span>
|
||||
@ -61,7 +61,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Properties-and-Atoms.html#gdk-utf8-to-string-target" title="gdk_utf8_to_string_target ()">gdk_utf8_to_string_target</a> <span class="c_punctuation">()</span>
|
||||
@ -85,7 +85,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Properties-and-Atoms.html#gdk-atom-name" title="gdk_atom_name ()">gdk_atom_name</a> <span class="c_punctuation">()</span>
|
||||
@ -93,7 +93,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Properties-and-Atoms.html#gdk-property-get" title="gdk_property_get ()">gdk_property_get</a> <span class="c_punctuation">()</span>
|
||||
@ -223,14 +223,14 @@ stored in the pointer with <a class="link" href="gdk3-Properties-and-Atoms.html#
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-text-property-to-utf8-list-for-display"></a><h3>gdk_text_property_to_utf8_list_for_display ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_text_property_to_utf8_list_for_display
|
||||
(<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> encoding</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> format</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *text</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> ***list</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> format</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">guchar</span> *text</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> length</code></em>,
|
||||
<em class="parameter"><code><span class="type">gchar</span> ***list</code></em>);</pre>
|
||||
<p>Converts a text property in the given encoding to
|
||||
a list of UTF-8 strings.</p>
|
||||
<div class="refsect3">
|
||||
@ -271,8 +271,8 @@ a list of UTF-8 strings.</p>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>list</p></td>
|
||||
<td class="parameter_description"><p>location to store the list
|
||||
of strings or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The list should be freed with
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a>. </p></td>
|
||||
of strings or <code class="literal">NULL</code>. The list should be freed with
|
||||
<code class="function">g_strfreev()</code>. </p></td>
|
||||
<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="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -287,8 +287,8 @@ of strings or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-M
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-utf8-to-string-target"></a><h3>gdk_utf8_to_string_target ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gdk_utf8_to_string_target (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gdk_utf8_to_string_target (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);</pre>
|
||||
<p>Converts an UTF-8 string into the best possible representation
|
||||
as a STRING. The representation of characters not in STRING
|
||||
is not specified; it may be as pseudo-escape sequences
|
||||
@ -310,7 +310,7 @@ is not specified; it may be as pseudo-escape sequences
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-utf8-to-string-target.returns"></a><h4>Returns</h4>
|
||||
<p>the newly-allocated string, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the
|
||||
<p>the newly-allocated string, or <code class="literal">NULL</code> if the
|
||||
conversion failed. (It should not fail for any properly
|
||||
formed UTF-8 string unless system limits like memory or
|
||||
file descriptors are exceeded.). </p>
|
||||
@ -321,8 +321,8 @@ file descriptors are exceeded.). </p>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-atom-intern"></a><h3>gdk_atom_intern ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="returnvalue">GdkAtom</span></a>
|
||||
gdk_atom_intern (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *atom_name</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> only_if_exists</code></em>);</pre>
|
||||
gdk_atom_intern (<em class="parameter"><code>const <span class="type">gchar</span> *atom_name</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> only_if_exists</code></em>);</pre>
|
||||
<p>Finds or creates an atom corresponding to a given string.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-atom-intern.parameters"></a><h4>Parameters</h4>
|
||||
@ -340,7 +340,7 @@ gdk_atom_intern (<em class="parameter"><code>const <a href="https://developer.gn
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>only_if_exists</p></td>
|
||||
<td class="parameter_description"><p>if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, GDK is allowed to not create a new atom, but
|
||||
<td class="parameter_description"><p>if <code class="literal">TRUE</code>, GDK is allowed to not create a new atom, but
|
||||
just return <a class="link" href="gdk3-Properties-and-Atoms.html#GDK-NONE:CAPS" title="GDK_NONE"><code class="literal">GDK_NONE</code></a> if the requested atom doesn’t already
|
||||
exists. Currently, the flag is ignored, since checking the
|
||||
existance of an atom is as expensive as creating it.</p></td>
|
||||
@ -360,7 +360,7 @@ existance of an atom is as expensive as creating it.</p></td>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-atom-intern-static-string"></a><h3>gdk_atom_intern_static_string ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="returnvalue">GdkAtom</span></a>
|
||||
gdk_atom_intern_static_string (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *atom_name</code></em>);</pre>
|
||||
gdk_atom_intern_static_string (<em class="parameter"><code>const <span class="type">gchar</span> *atom_name</code></em>);</pre>
|
||||
<p>Finds or creates an atom corresponding to a given string.</p>
|
||||
<p>Note that this function is identical to <a class="link" href="gdk3-Properties-and-Atoms.html#gdk-atom-intern" title="gdk_atom_intern ()"><code class="function">gdk_atom_intern()</code></a> except
|
||||
that if a new <a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> is created the string itself is used rather
|
||||
@ -396,7 +396,7 @@ GTK+ theme engines).</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-atom-name"></a><h3>gdk_atom_name ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gdk_atom_name (<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> atom</code></em>);</pre>
|
||||
<p>Determines the string corresponding to an atom.</p>
|
||||
<div class="refsect3">
|
||||
@ -419,25 +419,25 @@ gdk_atom_name (<em class="parameter"><code><a class="link" href="gdk3-Properties
|
||||
<p> a newly-allocated string containing the string
|
||||
corresponding to <em class="parameter"><code>atom</code></em>
|
||||
. When you are done with the
|
||||
return value, you should free it using <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
||||
return value, you should free it using <code class="function">g_free()</code>.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-property-get"></a><h3>gdk_property_get ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_property_get (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> property</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> type</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> offset</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> length</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pdelete</code></em>,
|
||||
<em class="parameter"><code><span class="type">gulong</span> offset</code></em>,
|
||||
<em class="parameter"><code><span class="type">gulong</span> length</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> pdelete</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> *actual_property_type</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *actual_format</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *actual_length</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> **data</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> *actual_format</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *actual_length</code></em>,
|
||||
<em class="parameter"><code><span class="type">guchar</span> **data</code></em>);</pre>
|
||||
<p>Retrieves a portion of the contents of a property. If the
|
||||
property does not exist, then the function returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>,
|
||||
property does not exist, then the function returns <code class="literal">FALSE</code>,
|
||||
and <a class="link" href="gdk3-Properties-and-Atoms.html#GDK-NONE:CAPS" title="GDK_NONE"><code class="literal">GDK_NONE</code></a> will be stored in <em class="parameter"><code>actual_property_type</code></em>
|
||||
.</p>
|
||||
<p>The <code class="function">XGetWindowProperty()</code> function that <a class="link" href="gdk3-Properties-and-Atoms.html#gdk-property-get" title="gdk_property_get ()"><code class="function">gdk_property_get()</code></a>
|
||||
@ -495,7 +495,7 @@ when rounded up).</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pdelete</p></td>
|
||||
<td class="parameter_description"><p>if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, delete the property after retrieving the
|
||||
<td class="parameter_description"><p>if <code class="literal">TRUE</code>, delete the property after retrieving the
|
||||
data.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
@ -526,7 +526,7 @@ elements should be be calculated via
|
||||
<td class="parameter_name"><p>data</p></td>
|
||||
<td class="parameter_description"><p>location
|
||||
to store a pointer to the data. The retrieved data should be
|
||||
freed with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when you are finished using it. </p></td>
|
||||
freed with <code class="function">g_free()</code> when you are finished using it. </p></td>
|
||||
<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="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=actual_length][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -534,9 +534,9 @@ freed with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Alloca
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-property-get.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if data was successfully received and stored
|
||||
<p> <code class="literal">TRUE</code> if data was successfully received and stored
|
||||
in <em class="parameter"><code>data</code></em>
|
||||
, otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
||||
, otherwise <code class="literal">FALSE</code>.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -546,10 +546,10 @@ in <em class="parameter"><code>data</code></em>
|
||||
gdk_property_change (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> property</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> type</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> format</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> format</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkPropMode" title="enum GdkPropMode"><span class="type">GdkPropMode</span></a> mode</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *data</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> nelements</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">guchar</span> *data</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> nelements</code></em>);</pre>
|
||||
<p>Changes the contents of a property on a window.</p>
|
||||
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
||||
<div class="refsect3">
|
||||
|
@ -57,7 +57,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-RGBA-Colors.html#gdk-rgba-parse" title="gdk_rgba_parse ()">gdk_rgba_parse</a> <span class="c_punctuation">()</span>
|
||||
@ -65,7 +65,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-RGBA-Colors.html#gdk-rgba-equal" title="gdk_rgba_equal ()">gdk_rgba_equal</a> <span class="c_punctuation">()</span>
|
||||
@ -73,7 +73,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-RGBA-Colors.html#gdk-rgba-hash" title="gdk_rgba_hash ()">gdk_rgba_hash</a> <span class="c_punctuation">()</span>
|
||||
@ -81,7 +81,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-RGBA-Colors.html#gdk-rgba-to-string" title="gdk_rgba_to_string ()">gdk_rgba_to_string</a> <span class="c_punctuation">()</span>
|
||||
@ -173,9 +173,9 @@ gdk_rgba_free (<em class="parameter"><code><a class="link" href="gdk3-RGBA-Color
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-rgba-parse"></a><h3>gdk_rgba_parse ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_rgba_parse (<em class="parameter"><code><a class="link" href="gdk3-RGBA-Colors.html#GdkRGBA" title="GdkRGBA"><span class="type">GdkRGBA</span></a> *rgba</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *spec</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *spec</code></em>);</pre>
|
||||
<p>Parses a textual representation of a color, filling in
|
||||
the <em class="parameter"><code>red</code></em>
|
||||
, <em class="parameter"><code>green</code></em>
|
||||
@ -220,16 +220,16 @@ a is a floating point value in the range 0 to 1.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-rgba-parse.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the parsing succeeded</p>
|
||||
<p> <code class="literal">TRUE</code> if the parsing succeeded</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-rgba-equal"></a><h3>gdk_rgba_equal ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gdk_rgba_equal (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> p1</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> p2</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_rgba_equal (<em class="parameter"><code><span class="type">gconstpointer</span> p1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gconstpointer</span> p2</code></em>);</pre>
|
||||
<p>Compares two RGBA colors.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-rgba-equal.parameters"></a><h4>Parameters</h4>
|
||||
@ -255,15 +255,15 @@ gdk_rgba_equal (<em class="parameter"><code><a href="https://developer.gnome.org
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-rgba-equal.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the two colors compare equal</p>
|
||||
<p> <code class="literal">TRUE</code> if the two colors compare equal</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-rgba-hash"></a><h3>gdk_rgba_hash ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gdk_rgba_hash (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> p</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gdk_rgba_hash (<em class="parameter"><code><span class="type">gconstpointer</span> p</code></em>);</pre>
|
||||
<p>A hash function suitable for using for a hash
|
||||
table that stores <a href="gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBAs</span></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -291,7 +291,7 @@ table that stores <a href="gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">Gdk
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-rgba-to-string"></a><h3>gdk_rgba_to_string ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gdk_rgba_to_string (<em class="parameter"><code>const <a class="link" href="gdk3-RGBA-Colors.html#GdkRGBA" title="GdkRGBA"><span class="type">GdkRGBA</span></a> *rgba</code></em>);</pre>
|
||||
<p>Returns a textual specification of <em class="parameter"><code>rgba</code></em>
|
||||
in the form
|
||||
@ -352,22 +352,22 @@ color, in a way that is compatible with cairo’s notion of color.</p>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<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="GdkRGBA.red"></a>red</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkRGBA.red"></a>red</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The intensity of the red channel from 0.0 to 1.0 inclusive</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkRGBA.green"></a>green</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkRGBA.green"></a>green</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The intensity of the green channel from 0.0 to 1.0 inclusive</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkRGBA.blue"></a>blue</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkRGBA.blue"></a>blue</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The intensity of the blue channel from 0.0 to 1.0 inclusive</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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="GdkRGBA.alpha"></a>alpha</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkRGBA.alpha"></a>alpha</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The opacity of the color from 0.0 for completely translucent to
|
||||
1.0 for opaque</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
|
@ -41,7 +41,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Selections.html#gdk-selection-owner-set" title="gdk_selection_owner_set ()">gdk_selection_owner_set</a> <span class="c_punctuation">()</span>
|
||||
@ -49,7 +49,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Selections.html#gdk-selection-owner-set-for-display" title="gdk_selection_owner_set_for_display ()">gdk_selection_owner_set_for_display</a> <span class="c_punctuation">()</span>
|
||||
@ -81,7 +81,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Selections.html#gdk-selection-property-get" title="gdk_selection_property_get ()">gdk_selection_property_get</a> <span class="c_punctuation">()</span>
|
||||
@ -217,11 +217,11 @@ it will work on other GDK backends too.</p>
|
||||
<a name="gdk3-Selections.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-selection-owner-set"></a><h3>gdk_selection_owner_set ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_selection_owner_set (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *owner</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> selection</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> send_event</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> send_event</code></em>);</pre>
|
||||
<p>Sets the owner of the given selection.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-selection-owner-set.parameters"></a><h4>Parameters</h4>
|
||||
@ -234,7 +234,7 @@ gdk_selection_owner_set (<em class="parameter"><code><a class="link" href="gdk3-
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>owner</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="gdk3-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 indicate that the
|
||||
<td class="parameter_description"><p>a <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or <code class="literal">NULL</code> to indicate that the
|
||||
the owner for the given should be unset. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
@ -253,7 +253,7 @@ request will be ignored.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>send_event</p></td>
|
||||
<td class="parameter_description"><p>if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, and the new owner is different
|
||||
<td class="parameter_description"><p>if <code class="literal">TRUE</code>, and the new owner is different
|
||||
from the current owner, the current owner
|
||||
will be sent a SelectionClear event.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
@ -263,20 +263,20 @@ will be sent a SelectionClear event.</p></td>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-selection-owner-set.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the selection owner was successfully
|
||||
<p> <code class="literal">TRUE</code> if the selection owner was successfully
|
||||
changed to <em class="parameter"><code>owner</code></em>
|
||||
, otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
||||
, otherwise <code class="literal">FALSE</code>.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-selection-owner-set-for-display"></a><h3>gdk_selection_owner_set_for_display ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_selection_owner_set_for_display (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *owner</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> selection</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> send_event</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> send_event</code></em>);</pre>
|
||||
<p>Sets the <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> <em class="parameter"><code>owner</code></em>
|
||||
as the current owner of the selection <em class="parameter"><code>selection</code></em>
|
||||
.</p>
|
||||
@ -296,7 +296,7 @@ gdk_selection_owner_set_for_display (<em class="parameter"><code><a class="link"
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>owner</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="gdk3-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 indicate that the owner for
|
||||
<td class="parameter_description"><p>a <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or <code class="literal">NULL</code> to indicate that the owner for
|
||||
the given should be unset. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
@ -314,7 +314,7 @@ set for the given selection, the request will be ignored</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>send_event</p></td>
|
||||
<td class="parameter_description"><p>if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, and the new owner is different from the current
|
||||
<td class="parameter_description"><p>if <code class="literal">TRUE</code>, and the new owner is different from the current
|
||||
owner, the current owner will be sent a SelectionClear event</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
@ -323,8 +323,8 @@ owner, the current owner will be sent a SelectionClear event</p></td>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-selection-owner-set-for-display.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the selection owner was successfully changed to owner,
|
||||
otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
||||
<p> <code class="literal">TRUE</code> if the selection owner was successfully changed to owner,
|
||||
otherwise <code class="literal">FALSE</code>.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.2</p>
|
||||
</div>
|
||||
@ -353,7 +353,7 @@ gdk_selection_owner_get (<em class="parameter"><code><a class="link" href="gdk3-
|
||||
<a name="gdk-selection-owner-get.returns"></a><h4>Returns</h4>
|
||||
<p>if there is a selection owner
|
||||
for this window, and it is a window known to the current process,
|
||||
the <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> that owns the selection, otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. Note
|
||||
the <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> that owns the selection, otherwise <code class="literal">NULL</code>. Note
|
||||
that the return value may be owned by a different process if a
|
||||
foreign window was previously created for that window, but a new
|
||||
foreign window will never be created by this call. </p>
|
||||
@ -397,7 +397,7 @@ window, but a new foreign window will never be created by this call.</p>
|
||||
<p>if there is a selection owner
|
||||
for this window, and it is a window known to the current
|
||||
process, the <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> that owns the selection, otherwise
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.2</p>
|
||||
@ -409,7 +409,7 @@ process, the <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="typ
|
||||
gdk_selection_convert (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *requestor</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> selection</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> target</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<p>Retrieves the contents of a selection in a given
|
||||
form.</p>
|
||||
<div class="refsect3">
|
||||
@ -452,14 +452,14 @@ the time indicated by the timestamp.</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-selection-property-get"></a><h3>gdk_selection_property_get ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_selection_property_get (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *requestor</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> **data</code></em>,
|
||||
<em class="parameter"><code><span class="type">guchar</span> **data</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> *prop_type</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *prop_format</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> *prop_format</code></em>);</pre>
|
||||
<p>Retrieves selection data that was stored by the selection
|
||||
data in response to a call to <a class="link" href="gdk3-Selections.html#gdk-selection-convert" title="gdk_selection_convert ()"><code class="function">gdk_selection_convert()</code></a>. This function
|
||||
will not be used by applications, who should use the <a href="https://developer.gnome.org/gtk3/gtk3-Clipboards.html#GtkClipboard-struct"><span class="type">GtkClipboard</span></a>
|
||||
will not be used by applications, who should use the <span class="type">GtkClipboard</span>
|
||||
API instead.</p>
|
||||
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
||||
<div class="refsect3">
|
||||
@ -479,8 +479,8 @@ API instead.</p>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>data</p></td>
|
||||
<td class="parameter_description"><p>location to store a pointer to the retrieved data.
|
||||
If the retrieval failed, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> we be stored here, otherwise, it
|
||||
will be non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and the returned data should be freed with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>
|
||||
If the retrieval failed, <code class="literal">NULL</code> we be stored here, otherwise, it
|
||||
will be non-<code class="literal">NULL</code> and the returned data should be freed with <code class="function">g_free()</code>
|
||||
when you are finished using it. The length of the
|
||||
allocated memory is one more than the length
|
||||
of the returned data, and the final byte will always
|
||||
@ -513,7 +513,7 @@ gdk_selection_send_notify (<em class="parameter"><code><a class="link" href="gdk
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> selection</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> target</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> property</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<p>Sends a response to SelectionRequest event.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-selection-send-notify.parameters"></a><h4>Parameters</h4>
|
||||
@ -564,7 +564,7 @@ gdk_selection_send_notify_for_display (<em class="parameter"><code><a class="lin
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> selection</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> target</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> property</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
||||
<p>Send a response to SelectionRequest event.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-selection-send-notify-for-display.parameters"></a><h4>Parameters</h4>
|
||||
|
@ -49,7 +49,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Testing.html#gdk-test-simulate-button" title="gdk_test_simulate_button ()">gdk_test_simulate_button</a> <span class="c_punctuation">()</span>
|
||||
@ -57,7 +57,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Testing.html#gdk-test-simulate-key" title="gdk_test_simulate_key ()">gdk_test_simulate_key</a> <span class="c_punctuation">()</span>
|
||||
@ -107,11 +107,11 @@ pipelines, to benchmark windowing system rendering operations.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-test-simulate-button"></a><h3>gdk_test_simulate_button ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_test_simulate_button (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<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>,
|
||||
<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>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> button</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> button</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> button_pressrelease</code></em>);</pre>
|
||||
<p>This function is intended to be used in GTK+ test programs.
|
||||
@ -125,7 +125,7 @@ location, use of this function outside of test programs that
|
||||
run in their own virtual windowing system (e.g. Xvfb) is not
|
||||
recommended.</p>
|
||||
<p>Also, <a class="link" href="gdk3-Testing.html#gdk-test-simulate-button" title="gdk_test_simulate_button ()"><code class="function">gdk_test_simulate_button()</code></a> is a fairly low level function,
|
||||
for most testing purposes, <a href="https://developer.gnome.org/gtk3/gtk3-Testing.html#gtk-test-widget-click"><code class="function">gtk_test_widget_click()</code></a> is the right
|
||||
for most testing purposes, <code class="function">gtk_test_widget_click()</code> is the right
|
||||
function to call which will generate a button press event followed
|
||||
by its accompanying button release event.</p>
|
||||
<div class="refsect3">
|
||||
@ -182,11 +182,11 @@ were carried out successfully</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-test-simulate-key"></a><h3>gdk_test_simulate_key ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_test_simulate_key (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<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>,
|
||||
<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>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> keyval</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> key_pressrelease</code></em>);</pre>
|
||||
<p>This function is intended to be used in GTK+ test programs.
|
||||
@ -208,7 +208,7 @@ be warped and <em class="parameter"><code>window</code></em>
|
||||
origin will be used as mouse pointer
|
||||
location for the event.</p>
|
||||
<p>Also, <a class="link" href="gdk3-Testing.html#gdk-test-simulate-key" title="gdk_test_simulate_key ()"><code class="function">gdk_test_simulate_key()</code></a> is a fairly low level function,
|
||||
for most testing purposes, <a href="https://developer.gnome.org/gtk3/gtk3-Testing.html#gtk-test-widget-send-key"><code class="function">gtk_test_widget_send_key()</code></a> is the
|
||||
for most testing purposes, <code class="function">gtk_test_widget_send_key()</code> is the
|
||||
right function to call which will generate a key press event
|
||||
followed by its accompanying key release event.</p>
|
||||
<div class="refsect3">
|
||||
|
@ -81,7 +81,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Threads.html#gdk-threads-add-idle" title="gdk_threads_add_idle ()">gdk_threads_add_idle</a> <span class="c_punctuation">()</span>
|
||||
@ -89,7 +89,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Threads.html#gdk-threads-add-idle-full" title="gdk_threads_add_idle_full ()">gdk_threads_add_idle_full</a> <span class="c_punctuation">()</span>
|
||||
@ -97,7 +97,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Threads.html#gdk-threads-add-timeout" title="gdk_threads_add_timeout ()">gdk_threads_add_timeout</a> <span class="c_punctuation">()</span>
|
||||
@ -105,7 +105,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Threads.html#gdk-threads-add-timeout-full" title="gdk_threads_add_timeout_full ()">gdk_threads_add_timeout_full</a> <span class="c_punctuation">()</span>
|
||||
@ -113,7 +113,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Threads.html#gdk-threads-add-timeout-seconds" title="gdk_threads_add_timeout_seconds ()">gdk_threads_add_timeout_seconds</a> <span class="c_punctuation">()</span>
|
||||
@ -121,7 +121,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Threads.html#gdk-threads-add-timeout-seconds-full" title="gdk_threads_add_timeout_seconds_full ()">gdk_threads_add_timeout_seconds_full</a> <span class="c_punctuation">()</span>
|
||||
@ -142,9 +142,9 @@ and on the thread-safe GLib main loop.</p>
|
||||
<p>GLib is completely thread safe (all global data is automatically
|
||||
locked), but individual data structure instances are not automatically
|
||||
locked for performance reasons. So e.g. you must coordinate
|
||||
accesses to the same <a href="https://developer.gnome.org/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> from multiple threads.</p>
|
||||
accesses to the same <span class="type">GHashTable</span> from multiple threads.</p>
|
||||
<p>GTK+, however, is not thread safe. You should only use GTK+ and GDK
|
||||
from the thread <a href="https://developer.gnome.org/gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a> and <a href="https://developer.gnome.org/gtk4/gtk4-General.html#gtk-main"><code class="function">gtk_main()</code></a> were called on.
|
||||
from the thread <code class="function">gtk_init()</code> and <code class="function">gtk_main()</code> were called on.
|
||||
This is usually referred to as the “main thread”.</p>
|
||||
<p>Signals on GTK+ and GDK types, as well as non-signal callbacks, are
|
||||
emitted in the main thread.</p>
|
||||
@ -181,16 +181,16 @@ by using <a class="link" href="gdk3-Threads.html#gdk-threads-add-idle" title="gd
|
||||
<span class="normal"> </span><span class="function"><a href="gdk3-Threads.html#gdk-threads-add-idle">gdk_threads_add_idle</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">got_value</span><span class="symbol">,</span><span class="normal"> expensive_data</span><span class="symbol">);</span>
|
||||
<span class="cbracket">}</span>
|
||||
|
||||
<span class="keyword">static</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a></span>
|
||||
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
||||
<span class="function">got_value</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
||||
<span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="usertype">ExpensiveData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">expensive_data </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
|
||||
|
||||
<span class="normal"> my_app</span><span class="symbol">-></span><span class="normal">expensive_data </span><span class="symbol">=</span><span class="normal"> expensive_data</span><span class="symbol">;</span>
|
||||
<span class="normal"> </span><span class="function">gtk_button_set_sensitive</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">my_app</span><span class="symbol">-></span><span class="normal">button</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>
|
||||
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gtk4/GtkButton.html#gtk-button-set-label">gtk_button_set_label</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">my_app</span><span class="symbol">-></span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> expensive_data</span><span class="symbol">-></span><span class="normal">result_label</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function">gtk_button_set_sensitive</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">my_app</span><span class="symbol">-></span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function">gtk_button_set_label</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">my_app</span><span class="symbol">-></span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> expensive_data</span><span class="symbol">-></span><span class="normal">result_label</span><span class="symbol">);</span>
|
||||
|
||||
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-SOURCE-REMOVE:CAPS">G_SOURCE_REMOVE</a></span><span class="symbol">;</span>
|
||||
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> G_SOURCE_REMOVE</span><span class="symbol">;</span>
|
||||
<span class="cbracket">}</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -199,11 +199,11 @@ by using <a class="link" href="gdk3-Threads.html#gdk-threads-add-idle" title="gd
|
||||
|
||||
<p></p>
|
||||
<p>You should use <a class="link" href="gdk3-Threads.html#gdk-threads-add-idle" title="gdk_threads_add_idle ()"><code class="function">gdk_threads_add_idle()</code></a> and <a class="link" href="gdk3-Threads.html#gdk-threads-add-timeout" title="gdk_threads_add_timeout ()"><code class="function">gdk_threads_add_timeout()</code></a>
|
||||
instead of <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#g-idle-add"><code class="function">g_idle_add()</code></a> and <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add"><code class="function">g_timeout_add()</code></a> since libraries not under
|
||||
instead of <code class="function">g_idle_add()</code> and <code class="function">g_timeout_add()</code> since libraries not under
|
||||
your control might be using the deprecated GDK locking mechanism.
|
||||
If you are sure that none of the code in your application and libraries
|
||||
use the deprecated <a class="link" href="gdk3-Threads.html#gdk-threads-enter" title="gdk_threads_enter ()"><code class="function">gdk_threads_enter()</code></a> or <a class="link" href="gdk3-Threads.html#gdk-threads-leave" title="gdk_threads_leave ()"><code class="function">gdk_threads_leave()</code></a> methods,
|
||||
then you can safely use <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#g-idle-add"><code class="function">g_idle_add()</code></a> and <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add"><code class="function">g_timeout_add()</code></a>.</p>
|
||||
then you can safely use <code class="function">g_idle_add()</code> and <code class="function">g_timeout_add()</code>.</p>
|
||||
<p>For more information on this "worker thread" pattern, you should
|
||||
also look at <span class="type">GTask</span>, which gives you high-level tools to perform
|
||||
expensive tasks from worker threads, and will handle thread
|
||||
@ -217,7 +217,7 @@ management for you.</p>
|
||||
</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GDK_THREADS_ENTER</code> has been deprecated since version 3.6 and should not be used in newly-written code.</p>
|
||||
<p>Use <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-invoke"><code class="function">g_main_context_invoke()</code></a>, <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#g-idle-add"><code class="function">g_idle_add()</code></a> and related
|
||||
<p>Use <code class="function">g_main_context_invoke()</code>, <code class="function">g_idle_add()</code> and related
|
||||
functions if you need to schedule GTK+ calls from other threads.</p>
|
||||
</div>
|
||||
<p>This macro marks the beginning of a critical section in which GDK and
|
||||
@ -252,7 +252,7 @@ gdk_threads_init (<em class="parameter"><code><span class="type">void</span></co
|
||||
<p>Initializes GDK so that it can be used from multiple threads
|
||||
in conjunction with <a class="link" href="gdk3-Threads.html#gdk-threads-enter" title="gdk_threads_enter ()"><code class="function">gdk_threads_enter()</code></a> and <a class="link" href="gdk3-Threads.html#gdk-threads-leave" title="gdk_threads_leave ()"><code class="function">gdk_threads_leave()</code></a>.</p>
|
||||
<p>This call must be made before any use of the main loop from
|
||||
GTK+; to be safe, call it before <a href="https://developer.gnome.org/gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a>.</p>
|
||||
GTK+; to be safe, call it before <code class="function">gtk_init()</code>.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
@ -285,8 +285,8 @@ gdk_threads_leave (<em class="parameter"><code><span class="type">void</span></c
|
||||
<div class="refsect2">
|
||||
<a name="gdk-threads-set-lock-functions"></a><h3>gdk_threads_set_lock_functions ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_threads_set_lock_functions (<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#GCallback"><span class="type">GCallback</span></a> enter_fn</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#GCallback"><span class="type">GCallback</span></a> leave_fn</code></em>);</pre>
|
||||
gdk_threads_set_lock_functions (<em class="parameter"><code><span class="type">GCallback</span> enter_fn</code></em>,
|
||||
<em class="parameter"><code><span class="type">GCallback</span> leave_fn</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_threads_set_lock_functions</code> has been deprecated since version 3.6 and should not be used in newly-written code.</p>
|
||||
<p>All GDK and GTK+ calls should be made from the main
|
||||
@ -294,7 +294,7 @@ gdk_threads_set_lock_functions (<em class="parameter"><code><a href="https://dev
|
||||
</div>
|
||||
<p>Allows the application to replace the standard method that
|
||||
GDK uses to protect its data structures. Normally, GDK
|
||||
creates a single <a href="https://developer.gnome.org/glib/unstable/glib-Threads.html#GMutex"><span class="type">GMutex</span></a> that is locked by <a class="link" href="gdk3-Threads.html#gdk-threads-enter" title="gdk_threads_enter ()"><code class="function">gdk_threads_enter()</code></a>,
|
||||
creates a single <span class="type">GMutex</span> that is locked by <a class="link" href="gdk3-Threads.html#gdk-threads-enter" title="gdk_threads_enter ()"><code class="function">gdk_threads_enter()</code></a>,
|
||||
and released by <a class="link" href="gdk3-Threads.html#gdk-threads-leave" title="gdk_threads_leave ()"><code class="function">gdk_threads_leave()</code></a>; using this function an
|
||||
application provides, instead, a function <em class="parameter"><code>enter_fn</code></em>
|
||||
that is
|
||||
@ -339,11 +339,11 @@ be called multiple times.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-threads-add-idle"></a><h3>gdk_threads_add_idle ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gdk_threads_add_idle (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="type">GSourceFunc</span></a> function</code></em>,
|
||||
<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>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gdk_threads_add_idle (<em class="parameter"><code><span class="type">GSourceFunc</span> function</code></em>,
|
||||
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
||||
<p>A wrapper for the common usage of <a class="link" href="gdk3-Threads.html#gdk-threads-add-idle-full" title="gdk_threads_add_idle_full ()"><code class="function">gdk_threads_add_idle_full()</code></a>
|
||||
assigning the default priority, <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT-IDLE:CAPS"><span class="type">G_PRIORITY_DEFAULT_IDLE</span></a>.</p>
|
||||
assigning the default priority, <span class="type">G_PRIORITY_DEFAULT_IDLE</span>.</p>
|
||||
<p>See <a class="link" href="gdk3-Threads.html#gdk-threads-add-idle-full" title="gdk_threads_add_idle_full ()"><code class="function">gdk_threads_add_idle_full()</code></a>.</p>
|
||||
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
||||
<div class="refsect3">
|
||||
@ -378,15 +378,15 @@ assigning the default priority, <a href="https://developer.gnome.org/glib/unstab
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-threads-add-idle-full"></a><h3>gdk_threads_add_idle_full ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gdk_threads_add_idle_full (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="type">GSourceFunc</span></a> function</code></em>,
|
||||
<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>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gdk_threads_add_idle_full (<em class="parameter"><code><span class="type">gint</span> priority</code></em>,
|
||||
<em class="parameter"><code><span class="type">GSourceFunc</span> function</code></em>,
|
||||
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
||||
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
|
||||
<p>Adds a function to be called whenever there are no higher priority
|
||||
events pending. If the function returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> it is automatically
|
||||
events pending. If the function returns <code class="literal">FALSE</code> it is automatically
|
||||
removed from the list of event sources and will not be called again.</p>
|
||||
<p>This variant of <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#g-idle-add-full"><code class="function">g_idle_add_full()</code></a> calls <em class="parameter"><code>function</code></em>
|
||||
<p>This variant of <code class="function">g_idle_add_full()</code> calls <em class="parameter"><code>function</code></em>
|
||||
with the GDK lock
|
||||
held. It can be thought of a MT-safe version for GTK+ widgets for the
|
||||
following use case, where you have to worry about <code class="function">idle_callback()</code>
|
||||
@ -426,7 +426,7 @@ in thread B:</p>
|
||||
27
|
||||
28
|
||||
29</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean">gboolean</a></span>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> gboolean</span>
|
||||
<span class="function">idle_callback</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
||||
<span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="comment">// gdk_threads_enter(); would be needed for g_idle_add()</span>
|
||||
@ -437,7 +437,7 @@ in thread B:</p>
|
||||
<span class="normal"> self</span><span class="symbol">-></span><span class="normal">idle_id </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
||||
|
||||
<span class="normal"> </span><span class="comment">// gdk_threads_leave(); would be needed for g_idle_add()</span>
|
||||
<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>
|
||||
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> FALSE</span><span class="symbol">;</span>
|
||||
<span class="cbracket">}</span>
|
||||
|
||||
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
||||
@ -452,8 +452,8 @@ in thread B:</p>
|
||||
<span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="usertype">SomeWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self </span><span class="symbol">=</span><span class="normal"> </span><span class="function">SOME_WIDGET</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">idle_id</span><span class="symbol">)</span>
|
||||
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#g-source-remove">g_source_remove</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">idle_id</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS">G_OBJECT_CLASS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent_class</span><span class="symbol">)-></span><span class="function">finalize</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function">g_source_remove</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">idle_id</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function">G_OBJECT_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent_class</span><span class="symbol">)-></span><span class="function">finalize</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
|
||||
<span class="cbracket">}</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -474,7 +474,7 @@ in thread B:</p>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>priority</p></td>
|
||||
<td class="parameter_description"><p>the priority of the idle source. Typically this will be in the
|
||||
range between <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT-IDLE:CAPS"><span class="type">G_PRIORITY_DEFAULT_IDLE</span></a> and <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS"><span class="type">G_PRIORITY_HIGH_IDLE</span></a></p></td>
|
||||
range between <span class="type">G_PRIORITY_DEFAULT_IDLE</span> and <span class="type">G_PRIORITY_HIGH_IDLE</span></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -490,7 +490,7 @@ range between <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-E
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>notify</p></td>
|
||||
<td class="parameter_description"><p>function to call when the idle is removed, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>function to call when the idle is removed, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -505,12 +505,12 @@ range between <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-E
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-threads-add-timeout"></a><h3>gdk_threads_add_timeout ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gdk_threads_add_timeout (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> interval</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="type">GSourceFunc</span></a> function</code></em>,
|
||||
<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>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gdk_threads_add_timeout (<em class="parameter"><code><span class="type">guint</span> interval</code></em>,
|
||||
<em class="parameter"><code><span class="type">GSourceFunc</span> function</code></em>,
|
||||
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
||||
<p>A wrapper for the common usage of <a class="link" href="gdk3-Threads.html#gdk-threads-add-timeout-full" title="gdk_threads_add_timeout_full ()"><code class="function">gdk_threads_add_timeout_full()</code></a>
|
||||
assigning the default priority, <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><span class="type">G_PRIORITY_DEFAULT</span></a>.</p>
|
||||
assigning the default priority, <span class="type">G_PRIORITY_DEFAULT</span>.</p>
|
||||
<p>See <a class="link" href="gdk3-Threads.html#gdk-threads-add-timeout-full" title="gdk_threads_add_timeout_full ()"><code class="function">gdk_threads_add_timeout_full()</code></a>.</p>
|
||||
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
||||
<div class="refsect3">
|
||||
@ -551,15 +551,15 @@ assigning the default priority, <a href="https://developer.gnome.org/glib/unstab
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-threads-add-timeout-full"></a><h3>gdk_threads_add_timeout_full ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gdk_threads_add_timeout_full (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> interval</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="type">GSourceFunc</span></a> function</code></em>,
|
||||
<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>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gdk_threads_add_timeout_full (<em class="parameter"><code><span class="type">gint</span> priority</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> interval</code></em>,
|
||||
<em class="parameter"><code><span class="type">GSourceFunc</span> function</code></em>,
|
||||
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
||||
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
|
||||
<p>Sets a function to be called at regular intervals holding the GDK lock,
|
||||
with the given priority. The function is called repeatedly until it
|
||||
returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, at which point the timeout is automatically destroyed
|
||||
returns <code class="literal">FALSE</code>, at which point the timeout is automatically destroyed
|
||||
and the function will not be called again. The <em class="parameter"><code>notify</code></em>
|
||||
function is
|
||||
called when the timeout is destroyed. The first call to the
|
||||
@ -570,7 +570,7 @@ event sources. Thus they should not be relied on for precise timing.
|
||||
After each call to the timeout function, the time of the next
|
||||
timeout is recalculated based on the current time and the given interval
|
||||
(it does not try to “catch up” time lost in delays).</p>
|
||||
<p>This variant of <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add-full"><code class="function">g_timeout_add_full()</code></a> can be thought of a MT-safe version
|
||||
<p>This variant of <code class="function">g_timeout_add_full()</code> can be thought of a MT-safe version
|
||||
for GTK+ widgets for the following use case:</p>
|
||||
<div class="informalexample">
|
||||
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
||||
@ -609,12 +609,12 @@ for GTK+ widgets for the following use case:</p>
|
||||
<span class="normal"> </span>
|
||||
<span class="normal"> self</span><span class="symbol">-></span><span class="normal">timeout_id </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
||||
<span class="normal"> </span>
|
||||
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-SOURCE-REMOVE:CAPS">G_SOURCE_REMOVE</a></span><span class="symbol">;</span>
|
||||
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> G_SOURCE_REMOVE</span><span class="symbol">;</span>
|
||||
<span class="cbracket">}</span>
|
||||
<span class="normal"> </span>
|
||||
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span><span class="normal"> </span><span class="function">some_widget_do_stuff_later</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">SomeWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">)</span>
|
||||
<span class="cbracket">{</span>
|
||||
<span class="normal"> self</span><span class="symbol">-></span><span class="normal">timeout_id </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add">g_timeout_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">timeout_callback</span><span class="symbol">,</span><span class="normal"> self</span><span class="symbol">)</span>
|
||||
<span class="normal"> self</span><span class="symbol">-></span><span class="normal">timeout_id </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_timeout_add</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">timeout_callback</span><span class="symbol">,</span><span class="normal"> self</span><span class="symbol">)</span>
|
||||
<span class="cbracket">}</span>
|
||||
<span class="normal"> </span>
|
||||
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span><span class="normal"> </span><span class="function">some_widget_finalize</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GObject</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">object</span><span class="symbol">)</span>
|
||||
@ -622,9 +622,9 @@ for GTK+ widgets for the following use case:</p>
|
||||
<span class="normal"> </span><span class="usertype">SomeWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self </span><span class="symbol">=</span><span class="normal"> </span><span class="function">SOME_WIDGET</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span>
|
||||
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">timeout_id</span><span class="symbol">)</span>
|
||||
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#g-source-remove">g_source_remove</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">timeout_id</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function">g_source_remove</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">timeout_id</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span>
|
||||
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS">G_OBJECT_CLASS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent_class</span><span class="symbol">)-></span><span class="function">finalize</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function">G_OBJECT_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent_class</span><span class="symbol">)-></span><span class="function">finalize</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
|
||||
<span class="cbracket">}</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -645,7 +645,7 @@ for GTK+ widgets for the following use case:</p>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>priority</p></td>
|
||||
<td class="parameter_description"><p>the priority of the timeout source. Typically this will be in the
|
||||
range between <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT-IDLE:CAPS"><span class="type">G_PRIORITY_DEFAULT_IDLE</span></a> and <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS"><span class="type">G_PRIORITY_HIGH_IDLE</span></a>.</p></td>
|
||||
range between <span class="type">G_PRIORITY_DEFAULT_IDLE</span> and <span class="type">G_PRIORITY_HIGH_IDLE</span>.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -667,7 +667,7 @@ range between <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-E
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>notify</p></td>
|
||||
<td class="parameter_description"><p>function to call when the timeout is removed, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>function to call when the timeout is removed, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -682,12 +682,12 @@ range between <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-E
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-threads-add-timeout-seconds"></a><h3>gdk_threads_add_timeout_seconds ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gdk_threads_add_timeout_seconds (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> interval</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="type">GSourceFunc</span></a> function</code></em>,
|
||||
<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>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gdk_threads_add_timeout_seconds (<em class="parameter"><code><span class="type">guint</span> interval</code></em>,
|
||||
<em class="parameter"><code><span class="type">GSourceFunc</span> function</code></em>,
|
||||
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
||||
<p>A wrapper for the common usage of <a class="link" href="gdk3-Threads.html#gdk-threads-add-timeout-seconds-full" title="gdk_threads_add_timeout_seconds_full ()"><code class="function">gdk_threads_add_timeout_seconds_full()</code></a>
|
||||
assigning the default priority, <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><span class="type">G_PRIORITY_DEFAULT</span></a>.</p>
|
||||
assigning the default priority, <span class="type">G_PRIORITY_DEFAULT</span>.</p>
|
||||
<p>For details, see <a class="link" href="gdk3-Threads.html#gdk-threads-add-timeout-full" title="gdk_threads_add_timeout_full ()"><code class="function">gdk_threads_add_timeout_full()</code></a>.</p>
|
||||
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
||||
<div class="refsect3">
|
||||
@ -727,14 +727,14 @@ assigning the default priority, <a href="https://developer.gnome.org/glib/unstab
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-threads-add-timeout-seconds-full"></a><h3>gdk_threads_add_timeout_seconds_full ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gdk_threads_add_timeout_seconds_full (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> interval</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="type">GSourceFunc</span></a> function</code></em>,
|
||||
<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>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gdk_threads_add_timeout_seconds_full (<em class="parameter"><code><span class="type">gint</span> priority</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> interval</code></em>,
|
||||
<em class="parameter"><code><span class="type">GSourceFunc</span> function</code></em>,
|
||||
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
||||
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
|
||||
<p>A variant of <a class="link" href="gdk3-Threads.html#gdk-threads-add-timeout-full" title="gdk_threads_add_timeout_full ()"><code class="function">gdk_threads_add_timeout_full()</code></a> with second-granularity.
|
||||
See <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add-seconds-full"><code class="function">g_timeout_add_seconds_full()</code></a> for a discussion of why it is
|
||||
See <code class="function">g_timeout_add_seconds_full()</code> for a discussion of why it is
|
||||
a good idea to use this function if you don’t need finer granularity.</p>
|
||||
<p><span class="annotation">[<acronym title="Rename the original symbol's name to SYMBOL."><span class="acronym">rename-to</span></acronym> gdk_threads_add_timeout_seconds]</span></p>
|
||||
<div class="refsect3">
|
||||
@ -749,7 +749,7 @@ a good idea to use this function if you don’t need finer granularity.</p>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>priority</p></td>
|
||||
<td class="parameter_description"><p>the priority of the timeout source. Typically this will be in the
|
||||
range between <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT-IDLE:CAPS"><span class="type">G_PRIORITY_DEFAULT_IDLE</span></a> and <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS"><span class="type">G_PRIORITY_HIGH_IDLE</span></a>.</p></td>
|
||||
range between <span class="type">G_PRIORITY_DEFAULT_IDLE</span> and <span class="type">G_PRIORITY_HIGH_IDLE</span>.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -770,7 +770,7 @@ range between <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-E
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>notify</p></td>
|
||||
<td class="parameter_description"><p>function to call when the timeout is removed, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>function to call when the timeout is removed, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -58,7 +58,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<span class="returnvalue">GList</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Visuals.html#gdk-list-visuals" title="gdk_list_visuals ()">gdk_list_visuals</a> <span class="c_punctuation">()</span>
|
||||
@ -66,7 +66,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-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>
|
||||
@ -90,7 +90,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Visuals.html#gdk-visual-get-colormap-size" title="gdk_visual_get_colormap_size ()">gdk_visual_get_colormap_size</a> <span class="c_punctuation">()</span>
|
||||
@ -98,7 +98,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Visuals.html#gdk-visual-get-depth" title="gdk_visual_get_depth ()">gdk_visual_get_depth</a> <span class="c_punctuation">()</span>
|
||||
@ -130,7 +130,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Visuals.html#gdk-visual-get-best-depth" title="gdk_visual_get_best_depth ()">gdk_visual_get_best_depth</a> <span class="c_punctuation">()</span>
|
||||
@ -220,7 +220,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="gdk3-Visuals.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GdkVisual
|
||||
</pre>
|
||||
</div>
|
||||
@ -257,8 +257,8 @@ types are ranked in the order of(highest to lowest)
|
||||
<div class="refsect2">
|
||||
<a name="gdk-query-depths"></a><h3>gdk_query_depths ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
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>,
|
||||
<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>
|
||||
gdk_query_depths (<em class="parameter"><code><span class="type">gint</span> **depths</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *count</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_query_depths</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
<p>Visual selection should be done using
|
||||
@ -298,7 +298,7 @@ location for available depths. </p></td>
|
||||
<a name="gdk-query-visual-types"></a><h3>gdk_query_visual_types ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_query_visual_types (<em class="parameter"><code><a class="link" href="gdk3-Visuals.html#GdkVisualType" title="enum GdkVisualType"><span class="type">GdkVisualType</span></a> **visual_types</code></em>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">gint</span> *count</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_query_visual_types</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
<p>Visual selection should be done using
|
||||
@ -336,7 +336,7 @@ location for the available visual types. </p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-list-visuals"></a><h3>gdk_list_visuals ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
||||
gdk_list_visuals (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_list_visuals</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -347,7 +347,7 @@ gdk_list_visuals (<em class="parameter"><code><span class="type">void</span></co
|
||||
A visual describes a hardware image data format.
|
||||
For example, a visual might support 24-bit color, or 8-bit color,
|
||||
and might expect pixels to be in a certain format.</p>
|
||||
<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>
|
||||
<p>Call <code class="function">g_list_free()</code> on the return value when you’re finished with it.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-list-visuals.returns"></a><h4>Returns</h4>
|
||||
<p>a list of visuals; the list must be freed, but not its contents. </p>
|
||||
@ -357,7 +357,7 @@ and might expect pixels to be in a certain format.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-visual-get-bits-per-rgb"></a><h3>gdk_visual_get_bits_per_rgb ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_visual_get_bits_per_rgb (<em class="parameter"><code><a class="link" href="gdk3-Visuals.html#GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_visual_get_bits_per_rgb</code> has been deprecated since version 3.22. and should not be used in newly-written code.</p>
|
||||
@ -393,9 +393,9 @@ gdk_visual_get_bits_per_rgb (<em class="parameter"><code><a class="link" href="g
|
||||
<a name="gdk-visual-get-blue-pixel-details"></a><h3>gdk_visual_get_blue_pixel_details ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_visual_get_blue_pixel_details (<em class="parameter"><code><a class="link" href="gdk3-Visuals.html#GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>,
|
||||
<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>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">guint32</span> *mask</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *shift</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *precision</code></em>);</pre>
|
||||
<p>Obtains values that are needed to calculate blue pixel values in TrueColor
|
||||
and DirectColor. The “mask” is the significant bits within the pixel.
|
||||
The “shift” is the number of bits left we must shift a primary for it
|
||||
@ -417,17 +417,17 @@ to how much precision the pixel value contains for a particular primary.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>mask</p></td>
|
||||
<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>
|
||||
<td class="parameter_description"><p>A pointer to a <span class="type">guint32</span> to be filled in, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>shift</p></td>
|
||||
<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>
|
||||
<td class="parameter_description"><p>A pointer to a <span class="type">gint</span> to be filled in, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>precision</p></td>
|
||||
<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>
|
||||
<td class="parameter_description"><p>A pointer to a <span class="type">gint</span> to be filled in, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -473,7 +473,7 @@ meaningful information for this.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-visual-get-colormap-size"></a><h3>gdk_visual_get_colormap_size ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_visual_get_colormap_size (<em class="parameter"><code><a class="link" href="gdk3-Visuals.html#GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_visual_get_colormap_size</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -507,7 +507,7 @@ gdk_visual_get_colormap_size (<em class="parameter"><code><a class="link" href="
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-visual-get-depth"></a><h3>gdk_visual_get_depth ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_visual_get_depth (<em class="parameter"><code><a class="link" href="gdk3-Visuals.html#GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>);</pre>
|
||||
<p>Returns the bit depth of this visual.</p>
|
||||
<div class="refsect3">
|
||||
@ -536,9 +536,9 @@ gdk_visual_get_depth (<em class="parameter"><code><a class="link" href="gdk3-Vis
|
||||
<a name="gdk-visual-get-green-pixel-details"></a><h3>gdk_visual_get_green_pixel_details ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_visual_get_green_pixel_details (<em class="parameter"><code><a class="link" href="gdk3-Visuals.html#GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>,
|
||||
<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>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">guint32</span> *mask</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *shift</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *precision</code></em>);</pre>
|
||||
<p>Obtains values that are needed to calculate green pixel values in TrueColor
|
||||
and DirectColor. The “mask” is the significant bits within the pixel.
|
||||
The “shift” is the number of bits left we must shift a primary for it
|
||||
@ -560,17 +560,17 @@ to how much precision the pixel value contains for a particular primary.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>mask</p></td>
|
||||
<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>
|
||||
<td class="parameter_description"><p>A pointer to a <span class="type">guint32</span> to be filled in, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>shift</p></td>
|
||||
<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>
|
||||
<td class="parameter_description"><p>A pointer to a <span class="type">gint</span> to be filled in, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>precision</p></td>
|
||||
<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>
|
||||
<td class="parameter_description"><p>A pointer to a <span class="type">gint</span> to be filled in, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -583,9 +583,9 @@ to how much precision the pixel value contains for a particular primary.</p>
|
||||
<a name="gdk-visual-get-red-pixel-details"></a><h3>gdk_visual_get_red_pixel_details ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_visual_get_red_pixel_details (<em class="parameter"><code><a class="link" href="gdk3-Visuals.html#GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>,
|
||||
<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>,
|
||||
<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>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">guint32</span> *mask</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *shift</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *precision</code></em>);</pre>
|
||||
<p>Obtains values that are needed to calculate red pixel values in TrueColor
|
||||
and DirectColor. The “mask” is the significant bits within the pixel.
|
||||
The “shift” is the number of bits left we must shift a primary for it
|
||||
@ -607,17 +607,17 @@ to how much precision the pixel value contains for a particular primary.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>mask</p></td>
|
||||
<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>
|
||||
<td class="parameter_description"><p>A pointer to a <span class="type">guint32</span> to be filled in, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>shift</p></td>
|
||||
<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>
|
||||
<td class="parameter_description"><p>A pointer to a <span class="type">gint</span> to be filled in, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>precision</p></td>
|
||||
<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>
|
||||
<td class="parameter_description"><p>A pointer to a <span class="type">gint</span> to be filled in, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -656,7 +656,7 @@ gdk_visual_get_visual_type (<em class="parameter"><code><a class="link" href="gd
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-visual-get-best-depth"></a><h3>gdk_visual_get_best_depth ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_visual_get_best_depth (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_visual_get_best_depth</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -727,7 +727,7 @@ GDK screen. The return value should not be freed.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-visual-get-best-with-depth"></a><h3>gdk_visual_get_best_with_depth ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gdk3-Visuals.html#GdkVisual"><span class="returnvalue">GdkVisual</span></a> *
|
||||
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>
|
||||
gdk_visual_get_best_with_depth (<em class="parameter"><code><span class="type">gint</span> depth</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_visual_get_best_with_depth</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
<p>Visual selection should be done using
|
||||
@ -737,7 +737,7 @@ gdk_visual_get_best_with_depth (<em class="parameter"><code><a href="https://dev
|
||||
for the default GDK screen.
|
||||
Color visuals and visuals with mutable colormaps are preferred
|
||||
over grayscale or fixed-colormap visuals. The return value 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 supports <em class="parameter"><code>depth</code></em>
|
||||
not be freed. <code class="literal">NULL</code> may be returned if no visual supports <em class="parameter"><code>depth</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-visual-get-best-with-depth.parameters"></a><h4>Parameters</h4>
|
||||
@ -773,7 +773,7 @@ gdk_visual_get_best_with_type (<em class="parameter"><code><a class="link" href=
|
||||
<p>Get the best visual of the given <em class="parameter"><code>visual_type</code></em>
|
||||
for the default GDK screen.
|
||||
Visuals with higher color depths are considered better. The return value
|
||||
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
|
||||
should not be freed. <code class="literal">NULL</code> may be returned if no visual has type
|
||||
<em class="parameter"><code>visual_type</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
@ -801,7 +801,7 @@ should not be freed. <a href="https://developer.gnome.org/glib/unstable/glib-Sta
|
||||
<div class="refsect2">
|
||||
<a name="gdk-visual-get-best-with-both"></a><h3>gdk_visual_get_best_with_both ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gdk3-Visuals.html#GdkVisual"><span class="returnvalue">GdkVisual</span></a> *
|
||||
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>,
|
||||
gdk_visual_get_best_with_both (<em class="parameter"><code><span class="type">gint</span> depth</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Visuals.html#GdkVisualType" title="enum GdkVisualType"><span class="type">GdkVisualType</span></a> visual_type</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gdk_visual_get_best_with_both</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
||||
@ -836,7 +836,7 @@ gdk_visual_get_best_with_both (<em class="parameter"><code><a href="https://deve
|
||||
<a name="gdk-visual-get-best-with-both.returns"></a><h4>Returns</h4>
|
||||
<p>best visual with both <em class="parameter"><code>depth</code></em>
|
||||
and <em class="parameter"><code>visual_type</code></em>
|
||||
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none. </p>
|
||||
, or <code class="literal">NULL</code> if none. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -79,7 +79,7 @@ using the <code class="function">GDK_IS_WAYLAND_DISPLAY()</code> macro).</p>
|
||||
<span class="normal"> </span><span class="cbracket">}</span>
|
||||
<span class="normal"> </span><span class="keyword">else</span>
|
||||
<span class="preproc">#endif</span>
|
||||
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Message-Logging.html#g-error">g_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Unsupported GDK backend"</span><span class="symbol">);</span></pre></td>
|
||||
<span class="normal"> </span><span class="function">g_error</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Unsupported GDK backend"</span><span class="symbol">);</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -107,7 +107,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
<span class="returnvalue">guint32</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-get-server-time" title="gdk_x11_get_server_time ()">gdk_x11_get_server_time</a> <span class="c_punctuation">()</span>
|
||||
@ -115,7 +115,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-device-get-id" title="gdk_x11_device_get_id ()">gdk_x11_device_get_id</a> <span class="c_punctuation">()</span>
|
||||
@ -131,7 +131,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
<span class="returnvalue">guint32</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-get-user-time" title="gdk_x11_display_get_user_time ()">gdk_x11_display_get_user_time</a> <span class="c_punctuation">()</span>
|
||||
@ -146,7 +146,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-get-startup-notification-id" title="gdk_x11_display_get_startup_notification_id ()">gdk_x11_display_get_startup_notification_id</a> <span class="c_punctuation">()</span>
|
||||
@ -194,7 +194,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-error-trap-pop" title="gdk_x11_display_error_trap_pop ()">gdk_x11_display_error_trap_pop</a> <span class="c_punctuation">()</span>
|
||||
@ -226,7 +226,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-get-glx-version" title="gdk_x11_display_get_glx_version ()">gdk_x11_display_get_glx_version</a> <span class="c_punctuation">()</span>
|
||||
@ -281,7 +281,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-screen-supports-net-wm-hint" title="gdk_x11_screen_supports_net_wm_hint ()">gdk_x11_screen_supports_net_wm_hint</a> <span class="c_punctuation">()</span>
|
||||
@ -289,7 +289,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
<span class="returnvalue">guint32</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-screen-get-number-of-desktops" title="gdk_x11_screen_get_number_of_desktops ()">gdk_x11_screen_get_number_of_desktops</a> <span class="c_punctuation">()</span>
|
||||
@ -297,7 +297,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
<span class="returnvalue">guint32</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-screen-get-current-desktop" title="gdk_x11_screen_get_current_desktop ()">gdk_x11_screen_get_current_desktop</a> <span class="c_punctuation">()</span>
|
||||
@ -369,7 +369,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
<span class="returnvalue">guint32</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-window-get-desktop" title="gdk_x11_window_get_desktop ()">gdk_x11_window_get_desktop</a> <span class="c_punctuation">()</span>
|
||||
@ -409,7 +409,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-get-default-screen" title="gdk_x11_get_default_screen ()">gdk_x11_get_default_screen</a> <span class="c_punctuation">()</span>
|
||||
@ -465,7 +465,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-keymap-get-group-for-state" title="gdk_x11_keymap_get_group_for_state ()">gdk_x11_keymap_get_group_for_state</a> <span class="c_punctuation">()</span>
|
||||
@ -473,7 +473,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-keymap-key-is-modifier" title="gdk_x11_keymap_key_is_modifier ()">gdk_x11_keymap_key_is_modifier</a> <span class="c_punctuation">()</span>
|
||||
@ -536,14 +536,14 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-get-xatom-name" title="gdk_x11_get_xatom_name ()">gdk_x11_get_xatom_name</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-get-xatom-name-for-display" title="gdk_x11_get_xatom_name_for_display ()">gdk_x11_get_xatom_name_for_display</a> <span class="c_punctuation">()</span>
|
||||
@ -559,7 +559,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-text-property-to-text-list" title="gdk_x11_display_text_property_to_text_list ()">gdk_x11_display_text_property_to_text_list</a> <span class="c_punctuation">()</span>
|
||||
@ -575,7 +575,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-string-to-compound-text" title="gdk_x11_display_string_to_compound_text ()">gdk_x11_display_string_to_compound_text</a> <span class="c_punctuation">()</span>
|
||||
@ -583,7 +583,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-utf8-to-compound-text" title="gdk_x11_display_utf8_to_compound_text ()">gdk_x11_display_utf8_to_compound_text</a> <span class="c_punctuation">()</span>
|
||||
@ -648,7 +648,7 @@ using the <code class="function">GDK_IS_X11_DISPLAY()</code> macro).</p>
|
||||
<span class="normal"> </span><span class="cbracket">}</span>
|
||||
<span class="normal"> </span><span class="keyword">else</span>
|
||||
<span class="preproc">#endif</span>
|
||||
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Message-Logging.html#g-error">g_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Unsupported GDK backend"</span><span class="symbol">);</span></pre></td>
|
||||
<span class="normal"> </span><span class="function">g_error</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Unsupported GDK backend"</span><span class="symbol">);</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -856,7 +856,7 @@ using <a class="link" href="gdk3-X-Window-System-Interaction.html#GDK-XID-TO-POI
|
||||
</pre>
|
||||
<p>Converts an XID into a <em class="parameter"><code>gpointer</code></em>
|
||||
. This is useful with data structures
|
||||
that use pointer arguments such as <a href="https://developer.gnome.org/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a>. Use <a class="link" href="gdk3-X-Window-System-Interaction.html#GDK-POINTER-TO-XID:CAPS" title="GDK_POINTER_TO_XID()"><code class="function">GDK_POINTER_TO_XID()</code></a>
|
||||
that use pointer arguments such as <span class="type">GHashTable</span>. Use <a class="link" href="gdk3-X-Window-System-Interaction.html#GDK-POINTER-TO-XID:CAPS" title="GDK_POINTER_TO_XID()"><code class="function">GDK_POINTER_TO_XID()</code></a>
|
||||
to convert the argument back to an XID.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GDK-XID-TO-POINTER.parameters"></a><h4>Parameters</h4>
|
||||
@ -898,7 +898,7 @@ gdk_x11_lookup_xdisplay (<em class="parameter"><code><span class="type">Display<
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-lookup-xdisplay.returns"></a><h4>Returns</h4>
|
||||
<p>the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>, if found, otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>, if found, otherwise <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkX11Display]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.2</p>
|
||||
@ -906,7 +906,7 @@ gdk_x11_lookup_xdisplay (<em class="parameter"><code><span class="type">Display<
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-get-server-time"></a><h3>gdk_x11_get_server_time ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">guint32</span>
|
||||
gdk_x11_get_server_time (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
||||
<p>Routine to get the current X server time stamp.</p>
|
||||
<div class="refsect3">
|
||||
@ -935,7 +935,7 @@ result. </p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-device-get-id"></a><h3>gdk_x11_device_get_id ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_x11_device_get_id (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>);</pre>
|
||||
<p>Returns the device ID as seen by XInput2.</p>
|
||||
<div class="blockquote"><blockquote class="blockquote"><p>If <a class="link" href="GdkDeviceManager.html#gdk-disable-multidevice" title="gdk_disable_multidevice ()"><code class="function">gdk_disable_multidevice()</code></a> has been called, this function
|
||||
@ -969,7 +969,7 @@ those managed via XInput 1.x), will return 0.</p></blockquote></div>
|
||||
<a name="gdk-x11-device-manager-lookup"></a><h3>gdk_x11_device_manager_lookup ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="returnvalue">GdkDevice</span></a> *
|
||||
gdk_x11_device_manager_lookup (<em class="parameter"><code><a class="link" href="GdkDeviceManager.html" title="GdkDeviceManager"><span class="type">GdkDeviceManager</span></a> *device_manager</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> device_id</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> device_id</code></em>);</pre>
|
||||
<p>Returns the <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> that wraps the given device ID.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-device-manager-lookup.parameters"></a><h4>Parameters</h4>
|
||||
@ -996,7 +996,7 @@ gdk_x11_device_manager_lookup (<em class="parameter"><code><a class="link" href=
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-device-manager-lookup.returns"></a><h4>Returns</h4>
|
||||
<p>The <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> wrapping the device ID,
|
||||
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the given ID doesn’t currently represent a device. </p>
|
||||
or <code class="literal">NULL</code> if the given ID doesn’t currently represent a device. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkX11DeviceCore]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
|
||||
@ -1004,7 +1004,7 @@ or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-display-get-user-time"></a><h3>gdk_x11_display_get_user_time ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">guint32</span>
|
||||
gdk_x11_display_get_user_time (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Returns the timestamp of the last user interaction on
|
||||
<em class="parameter"><code>display</code></em>
|
||||
@ -1072,7 +1072,7 @@ or "remove")</p></td>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>...</p></td>
|
||||
<td class="parameter_description"><p>a list of key/value pairs (as strings), terminated by a
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> key. (A <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> value for a key will cause that key to be
|
||||
<code class="literal">NULL</code> key. (A <code class="literal">NULL</code> value for a key will cause that key to be
|
||||
skipped in the output.)</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
@ -1084,7 +1084,7 @@ skipped in the output.)</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-display-get-startup-notification-id"></a><h3>gdk_x11_display_get_startup_notification_id ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gdk_x11_display_get_startup_notification_id
|
||||
(<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Gets the startup notification ID for a display.</p>
|
||||
@ -1116,7 +1116,7 @@ gdk_x11_display_get_startup_notification_id
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_display_set_startup_notification_id
|
||||
(<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<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>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *startup_id</code></em>);</pre>
|
||||
<p>Sets the startup notification ID for a display.</p>
|
||||
<p>This is usually taken from the value of the DESKTOP_STARTUP_ID
|
||||
environment variable, but in some cases (such as the application not
|
||||
@ -1263,7 +1263,7 @@ with this function.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-display-error-trap-pop"></a><h3>gdk_x11_display_error_trap_pop ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_x11_display_error_trap_pop (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Pops the error trap pushed by <a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-error-trap-push" title="gdk_x11_display_error_trap_push ()"><code class="function">gdk_x11_display_error_trap_push()</code></a>.
|
||||
Will <code class="function">XSync()</code> if necessary and will always block until
|
||||
@ -1328,8 +1328,8 @@ equivalent.</p>
|
||||
<a name="gdk-x11-display-set-cursor-theme"></a><h3>gdk_x11_display_set_cursor_theme ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_display_set_cursor_theme (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *theme</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *theme</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gint</span> size</code></em>);</pre>
|
||||
<p>Sets the cursor theme from which the images for cursor
|
||||
should be taken.</p>
|
||||
<p>If the windowing system supports it, existing cursors created
|
||||
@ -1356,7 +1356,7 @@ for the corresponding <span class="type">GtkSetting</span>).</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>theme</p></td>
|
||||
<td class="parameter_description"><p>the name of the cursor theme to use, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset
|
||||
<td class="parameter_description"><p>the name of the cursor theme to use, or <code class="literal">NULL</code> to unset
|
||||
a previously set value. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
@ -1375,7 +1375,7 @@ a previously set value. </p></td>
|
||||
<a name="gdk-x11-display-set-window-scale"></a><h3>gdk_x11_display_set_window_scale ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_display_set_window_scale (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> scale</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> scale</code></em>);</pre>
|
||||
<p>Forces a specific window scale for all windows on this display,
|
||||
instead of using the default or user configured scale. This
|
||||
is can be used to disable scaling support by setting <em class="parameter"><code>scale</code></em>
|
||||
@ -1410,10 +1410,10 @@ to later user configuration changes.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-display-get-glx-version"></a><h3>gdk_x11_display_get_glx_version ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_x11_display_get_glx_version (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *major</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *minor</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> *major</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *minor</code></em>);</pre>
|
||||
<p>Retrieves the version of the GLX implementation.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-display-get-glx-version.parameters"></a><h4>Parameters</h4>
|
||||
@ -1444,7 +1444,7 @@ gdk_x11_display_get_glx_version (<em class="parameter"><code><a class="link" hre
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-display-get-glx-version.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if GLX is available</p>
|
||||
<p> <code class="literal">TRUE</code> if GLX is available</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
</div>
|
||||
@ -1453,8 +1453,8 @@ gdk_x11_display_get_glx_version (<em class="parameter"><code><a class="link" hre
|
||||
<a name="gdk-x11-register-standard-event-type"></a><h3>gdk_x11_register_standard_event_type ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_register_standard_event_type (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> event_base</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_events</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> event_base</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> n_events</code></em>);</pre>
|
||||
<p>Registers interest in receiving extension events with type codes
|
||||
between <em class="parameter"><code>event_base</code></em>
|
||||
and <code class="literal">event_base + n_events - 1</code>.
|
||||
@ -1589,7 +1589,7 @@ and should not be freed.</p>
|
||||
<a name="gdk-x11-screen-get-monitor-output"></a><h3>gdk_x11_screen_get_monitor_output ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">XID</span>
|
||||
gdk_x11_screen_get_monitor_output (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> monitor_num</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> monitor_num</code></em>);</pre>
|
||||
<p>Gets the XID of the specified output/monitor.
|
||||
If the X server does not support version 1.2 of the RANDR
|
||||
extension, 0 is returned.</p>
|
||||
@ -1653,7 +1653,7 @@ gdk_x11_screen_lookup_visual (<em class="parameter"><code><a class="link" href="
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-screen-lookup-visual.returns"></a><h4>Returns</h4>
|
||||
<p>the <a class="link" href="gdk3-Visuals.html#GdkVisual"><span class="type">GdkVisual</span></a> (owned by the screen
|
||||
object), or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the visual ID wasn’t found. </p>
|
||||
object), or <code class="literal">NULL</code> if the visual ID wasn’t found. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkX11Visual]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.2</p>
|
||||
@ -1661,7 +1661,7 @@ object), or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Mac
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-screen-supports-net-wm-hint"></a><h3>gdk_x11_screen_supports_net_wm_hint ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_x11_screen_supports_net_wm_hint (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> property</code></em>);</pre>
|
||||
<p>This function is specific to the X11 backend of GDK, and indicates
|
||||
@ -1672,7 +1672,7 @@ can change over time; so you shouldn’t use this function in
|
||||
a way that impacts persistent application state. A common bug
|
||||
is that your application can start up before the window manager
|
||||
does when the user logs in, and before the window manager starts
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-screen-supports-net-wm-hint" title="gdk_x11_screen_supports_net_wm_hint ()"><code class="function">gdk_x11_screen_supports_net_wm_hint()</code></a> will return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for every property.
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-screen-supports-net-wm-hint" title="gdk_x11_screen_supports_net_wm_hint ()"><code class="function">gdk_x11_screen_supports_net_wm_hint()</code></a> will return <code class="literal">FALSE</code> for every property.
|
||||
You can monitor the window_manager_changed signal on <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> to detect
|
||||
a window manager change.</p>
|
||||
<div class="refsect3">
|
||||
@ -1699,7 +1699,7 @@ a window manager change.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-screen-supports-net-wm-hint.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the window manager supports <em class="parameter"><code>property</code></em>
|
||||
<p> <code class="literal">TRUE</code> if the window manager supports <em class="parameter"><code>property</code></em>
|
||||
</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.2</p>
|
||||
@ -1707,7 +1707,7 @@ a window manager change.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-screen-get-number-of-desktops"></a><h3>gdk_x11_screen_get_number_of_desktops ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">guint32</span>
|
||||
gdk_x11_screen_get_number_of_desktops (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<p>Returns the number of workspaces for <em class="parameter"><code>screen</code></em>
|
||||
when running under a
|
||||
@ -1738,7 +1738,7 @@ in the
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-screen-get-current-desktop"></a><h3>gdk_x11_screen_get_current_desktop ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">guint32</span>
|
||||
gdk_x11_screen_get_current_desktop (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<p>Returns the current workspace for <em class="parameter"><code>screen</code></em>
|
||||
when running under a
|
||||
@ -1804,7 +1804,7 @@ was already known to GDK, a new reference to the existing
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-window-foreign-new-for-display.returns"></a><h4>Returns</h4>
|
||||
<p>a <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> wrapper for the native
|
||||
window, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the window has been destroyed. The wrapper
|
||||
window, or <code class="literal">NULL</code> if the window has been destroyed. The wrapper
|
||||
will be newly created, if one doesn’t exist already. </p>
|
||||
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -1843,7 +1843,7 @@ window handle. </p></td>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-window-lookup-for-display.returns"></a><h4>Returns</h4>
|
||||
<p>the <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> wrapper for the native
|
||||
window, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is none. </p>
|
||||
window, or <code class="literal">NULL</code> if there is none. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkX11Window]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.24</p>
|
||||
@ -1881,7 +1881,7 @@ gdk_x11_window_get_xid (<em class="parameter"><code><a class="link" href="gdk3-W
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_window_set_hide_titlebar_when_maximized
|
||||
(<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> hide_titlebar_when_maximized</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> hide_titlebar_when_maximized</code></em>);</pre>
|
||||
<p>Set a hint for the window manager, requesting that the titlebar
|
||||
should be hidden when the window is maximized.</p>
|
||||
<p>Note that this property is automatically updated by GTK+, so this
|
||||
@ -1955,7 +1955,7 @@ to create toplevel windows.</p>
|
||||
<a name="gdk-x11-window-set-user-time"></a><h3>gdk_x11_window_set_user_time ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_window_set_user_time (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<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>
|
||||
<em class="parameter"><code><span class="type">guint32</span> timestamp</code></em>);</pre>
|
||||
<p>The application can use this call to update the _NET_WM_USER_TIME
|
||||
property on a toplevel window. This property stores an Xserver
|
||||
time which represents the time of the last user input event
|
||||
@ -2023,7 +2023,7 @@ Will not do anything if the window is already on all workspaces.</p>
|
||||
<a name="gdk-x11-window-move-to-desktop"></a><h3>gdk_x11_window_move_to_desktop ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_window_move_to_desktop (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> desktop</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint32</span> desktop</code></em>);</pre>
|
||||
<p>Moves the window to the given workspace when running unde a
|
||||
window manager that supports multiple workspaces, as described
|
||||
in the <a class="ulink" href="http://www.freedesktop.org/Standards/wm-spec" target="_top">Extended Window Manager Hints</a> specification.</p>
|
||||
@ -2054,7 +2054,7 @@ in the <a class="ulink" href="http://www.freedesktop.org/Standards/wm-spec" targ
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-window-get-desktop"></a><h3>gdk_x11_window_get_desktop ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">guint32</span>
|
||||
gdk_x11_window_get_desktop (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
||||
<p>Gets the number of the workspace <em class="parameter"><code>window</code></em>
|
||||
is on.</p>
|
||||
@ -2085,8 +2085,8 @@ gdk_x11_window_get_desktop (<em class="parameter"><code><a class="link" href="gd
|
||||
<a name="gdk-x11-window-set-utf8-property"></a><h3>gdk_x11_window_set_utf8_property ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_window_set_utf8_property (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<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>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
|
||||
<p>This function modifies or removes an arbitrary X11 window
|
||||
property of type UTF8_STRING. If the given <em class="parameter"><code>window</code></em>
|
||||
is
|
||||
@ -2112,7 +2112,7 @@ not a toplevel window, it is ignored.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>value</p></td>
|
||||
<td class="parameter_description"><p>Property value, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to delete. </p></td>
|
||||
<td class="parameter_description"><p>Property value, or <code class="literal">NULL</code> to delete. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -2179,7 +2179,7 @@ on GdkX11Window.</p>
|
||||
<a name="gdk-x11-window-set-frame-sync-enabled"></a><h3>gdk_x11_window_set_frame_sync_enabled ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_window_set_frame_sync_enabled (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> frame_sync_enabled</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> frame_sync_enabled</code></em>);</pre>
|
||||
<p>This function can be used to disable frame synchronization for a window.
|
||||
Normally frame synchronziation will be enabled or disabled based on whether
|
||||
the system has a compositor that supports frame synchronization, but if
|
||||
@ -2225,7 +2225,7 @@ gdk_x11_get_default_root_xwindow (<em class="parameter"><code><span class="type"
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-get-default-screen"></a><h3>gdk_x11_get_default_screen ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_x11_get_default_screen (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<p>Gets the default GTK+ screen number.</p>
|
||||
<div class="refsect3">
|
||||
@ -2336,9 +2336,9 @@ gdk_x11_cursor_get_xdisplay (<em class="parameter"><code><a class="link" href="g
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-keymap-get-group-for-state"></a><h3>gdk_x11_keymap_get_group_for_state ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_x11_keymap_get_group_for_state (<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> state</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> state</code></em>);</pre>
|
||||
<p>Extracts the group from the state field sent in an X Key event.
|
||||
This is only needed for code processing raw X events, since <a class="link" href="gdk3-Event-Structures.html#GdkEventKey" title="struct GdkEventKey"><span class="type">GdkEventKey</span></a>
|
||||
directly includes an is_modifier field.</p>
|
||||
@ -2373,9 +2373,9 @@ directly includes an is_modifier field.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-keymap-key-is-modifier"></a><h3>gdk_x11_keymap_key_is_modifier ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_x11_keymap_key_is_modifier (<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keycode</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> keycode</code></em>);</pre>
|
||||
<p>Determines whether a particular key code represents a key that
|
||||
is a modifier. That is, it’s a key that normally just affects
|
||||
the keyboard state and the behavior of other keys rather than
|
||||
@ -2406,7 +2406,7 @@ an is_modifier field.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-keymap-key-is-modifier.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the hardware keycode is a modifier key</p>
|
||||
<p> <code class="literal">TRUE</code> if the hardware keycode is a modifier key</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-6.html#api-index-3.6">3.6</a></p>
|
||||
</div>
|
||||
@ -2572,7 +2572,7 @@ gdk_x11_xatom_to_atom_for_display (<em class="parameter"><code><a class="link" h
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-get-xatom-by-name"></a><h3>gdk_x11_get_xatom_by_name ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">Atom</span>
|
||||
gdk_x11_get_xatom_by_name (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *atom_name</code></em>);</pre>
|
||||
gdk_x11_get_xatom_by_name (<em class="parameter"><code>const <span class="type">gchar</span> *atom_name</code></em>);</pre>
|
||||
<p>Returns the X atom for GDK’s default display corresponding to <em class="parameter"><code>atom_name</code></em>
|
||||
.
|
||||
This function caches the result, so if called repeatedly it is much
|
||||
@ -2602,7 +2602,7 @@ faster than <code class="function">XInternAtom()</code>, which is a round trip t
|
||||
<a name="gdk-x11-get-xatom-by-name-for-display"></a><h3>gdk_x11_get_xatom_by_name_for_display ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">Atom</span>
|
||||
gdk_x11_get_xatom_by_name_for_display (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *atom_name</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *atom_name</code></em>);</pre>
|
||||
<p>Returns the X atom for a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> corresponding to <em class="parameter"><code>atom_name</code></em>
|
||||
.
|
||||
This function caches the result, so if called repeatedly it is much
|
||||
@ -2638,12 +2638,12 @@ faster than <code class="function">XInternAtom()</code>, which is a round trip t
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-get-xatom-name"></a><h3>gdk_x11_get_xatom_name ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gdk_x11_get_xatom_name (<em class="parameter"><code><span class="type">Atom</span> xatom</code></em>);</pre>
|
||||
<p>Returns the name of an X atom for GDK’s default display. This
|
||||
function is meant mainly for debugging, so for convenience, unlike
|
||||
<code class="function">XAtomName()</code> and <a class="link" href="gdk3-Properties-and-Atoms.html#gdk-atom-name" title="gdk_atom_name ()"><code class="function">gdk_atom_name()</code></a>, the result
|
||||
doesn’t need to be freed. Also, this function will never return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
||||
doesn’t need to be freed. Also, this function will never return <code class="literal">NULL</code>,
|
||||
even if <em class="parameter"><code>xatom</code></em>
|
||||
is invalid.</p>
|
||||
<div class="refsect3">
|
||||
@ -2670,7 +2670,7 @@ so it shouldn’t be modifed or freed. </p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-get-xatom-name-for-display"></a><h3>gdk_x11_get_xatom_name_for_display ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gdk_x11_get_xatom_name_for_display (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><span class="type">Atom</span> xatom</code></em>);</pre>
|
||||
<p>Returns the name of an X atom for its display. This
|
||||
@ -2711,7 +2711,7 @@ so it shouldn’t be modifed or freed. </p>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-set-sm-client-id"></a><h3>gdk_x11_set_sm_client_id ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_set_sm_client_id (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sm_client_id</code></em>);</pre>
|
||||
gdk_x11_set_sm_client_id (<em class="parameter"><code>const <span class="type">gchar</span> *sm_client_id</code></em>);</pre>
|
||||
<p>Sets the <code class="literal">SM_CLIENT_ID</code> property on the application’s leader window so that
|
||||
the window manager can save the application’s state using the X11R6 ICCCM
|
||||
session management protocol.</p>
|
||||
@ -2728,7 +2728,7 @@ session management and the Inter-Client Communication Conventions Manual</p>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>sm_client_id</p></td>
|
||||
<td class="parameter_description"><p>the client id assigned by the session manager
|
||||
when the connection was opened, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to remove the property. </p></td>
|
||||
when the connection was opened, or <code class="literal">NULL</code> to remove the property. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -2738,14 +2738,14 @@ when the connection was opened, or <a href="https://developer.gnome.org/glib/uns
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-display-text-property-to-text-list"></a><h3>gdk_x11_display_text_property_to_text_list ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_x11_display_text_property_to_text_list
|
||||
(<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> encoding</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> format</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *text</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> ***list</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> format</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">guchar</span> *text</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> length</code></em>,
|
||||
<em class="parameter"><code><span class="type">gchar</span> ***list</code></em>);</pre>
|
||||
<p>Convert a text string from the encoding as it is stored
|
||||
in a property into an array of strings in the encoding of
|
||||
the current locale. (The elements of the array represent the
|
||||
@ -2807,7 +2807,7 @@ if the conversion failed</p>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-free-text-list"></a><h3>gdk_x11_free_text_list ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_free_text_list (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **list</code></em>);</pre>
|
||||
gdk_x11_free_text_list (<em class="parameter"><code><span class="type">gchar</span> **list</code></em>);</pre>
|
||||
<p>Frees the array of strings created by
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-text-property-to-text-list" title="gdk_x11_display_text_property_to_text_list ()"><code class="function">gdk_x11_display_text_property_to_text_list()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -2832,14 +2832,14 @@ a call to <a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-di
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-display-string-to-compound-text"></a><h3>gdk_x11_display_string_to_compound_text ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gdk_x11_display_string_to_compound_text
|
||||
(<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> *encoding</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *format</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> **ctext</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *length</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> *format</code></em>,
|
||||
<em class="parameter"><code><span class="type">guchar</span> **ctext</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *length</code></em>);</pre>
|
||||
<p>Convert a string from the encoding of the current
|
||||
locale into a form suitable for storing in a window property.</p>
|
||||
<div class="refsect3">
|
||||
@ -2896,13 +2896,13 @@ allocated data for the property. </p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-display-utf8-to-compound-text"></a><h3>gdk_x11_display_utf8_to_compound_text ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gdk_x11_display_utf8_to_compound_text (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> *encoding</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *format</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> **ctext</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *length</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> *format</code></em>,
|
||||
<em class="parameter"><code><span class="type">guchar</span> **ctext</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *length</code></em>);</pre>
|
||||
<p>Converts from UTF-8 to compound text.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-display-utf8-to-compound-text.parameters"></a><h4>Parameters</h4>
|
||||
@ -2950,8 +2950,8 @@ stored in <em class="parameter"><code>ctext</code></em>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-display-utf8-to-compound-text.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the conversion succeeded,
|
||||
otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
|
||||
<p> <code class="literal">TRUE</code> if the conversion succeeded,
|
||||
otherwise <code class="literal">FALSE</code></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.24</p>
|
||||
</div>
|
||||
@ -2959,7 +2959,7 @@ otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macro
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-free-compound-text"></a><h3>gdk_x11_free_compound_text ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_free_compound_text (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *ctext</code></em>);</pre>
|
||||
gdk_x11_free_compound_text (<em class="parameter"><code><span class="type">guchar</span> *ctext</code></em>);</pre>
|
||||
<p>Frees the data returned from <a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-string-to-compound-text" title="gdk_x11_display_string_to_compound_text ()"><code class="function">gdk_x11_display_string_to_compound_text()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-free-compound-text.parameters"></a><h4>Parameters</h4>
|
||||
|
@ -15,7 +15,7 @@
|
||||
<div>
|
||||
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GDK 3 Reference Manual</p></th></tr></table></div>
|
||||
<div><p class="releaseinfo">
|
||||
This document is for the GDK 3 library, version 3.24.7
|
||||
This document is for the GDK 3 library, version 3.24.8
|
||||
|
||||
The latest versions can be found online at
|
||||
<a class="ulink" href="https://developer.gnome.org/gdk3/" target="_top">https://developer.gnome.org/gdk3/</a>.
|
||||
|
@ -1 +1 @@
|
||||
3.24.7
|
||||
3.24.8
|
||||
|
@ -276,7 +276,7 @@ GTKDOC_LIBS = \
|
||||
|
||||
|
||||
# Extra options to supply to gtkdoc-mkdb
|
||||
MKDB_OPTIONS=--output-format=xml --name-space=gtk
|
||||
MKDB_OPTIONS=--output-format=xml --name-space=gtk --default-includes=gtk/gtk.h
|
||||
|
||||
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
|
||||
content_files = \
|
||||
|
@ -247,7 +247,6 @@ ENABLE_ON_X11 = @ENABLE_ON_X11@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||
FGREP = @FGREP@
|
||||
GAIL_INET_LIBS = @GAIL_INET_LIBS@
|
||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||
GDK_BACKENDS = @GDK_BACKENDS@
|
||||
@ -731,7 +730,7 @@ GTKDOC_LIBS = \
|
||||
|
||||
|
||||
# Extra options to supply to gtkdoc-mkdb
|
||||
MKDB_OPTIONS = --output-format=xml --name-space=gtk
|
||||
MKDB_OPTIONS = --output-format=xml --name-space=gtk --default-includes=gtk/gtk.h
|
||||
|
||||
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
|
||||
content_files = \
|
||||
|
@ -2,7 +2,7 @@
|
||||
.\" Title: broadwayd
|
||||
.\" Author: Alexander Larsson
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 03/12/2019
|
||||
.\" Date: 04/10/2019
|
||||
.\" Manual: User Commands
|
||||
.\" Source: GTK+
|
||||
.\" Language: English
|
||||
|
@ -2,7 +2,7 @@
|
||||
.\" Title: gtk-builder-tool
|
||||
.\" Author: Matthias Clasen
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 03/12/2019
|
||||
.\" Date: 04/10/2019
|
||||
.\" Manual: User Commands
|
||||
.\" Source: GTK+
|
||||
.\" Language: English
|
||||
|
@ -2,7 +2,7 @@
|
||||
.\" Title: gtk-encode-symbolic-svg
|
||||
.\" Author: Alexander Larsson
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 03/12/2019
|
||||
.\" Date: 04/10/2019
|
||||
.\" Manual: User Commands
|
||||
.\" Source: GTK+
|
||||
.\" Language: English
|
||||
|
@ -2,7 +2,7 @@
|
||||
.\" Title: gtk-launch
|
||||
.\" Author: Tomáš Bžatek <tbzatek@redhat.com>
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 03/12/2019
|
||||
.\" Date: 04/10/2019
|
||||
.\" Manual: User Commands
|
||||
.\" Source: GTK+
|
||||
.\" Language: English
|
||||
|
@ -2,7 +2,7 @@
|
||||
.\" Title: gtk-query-immodules-3.0
|
||||
.\" Author: Matthias Clasen
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 03/12/2019
|
||||
.\" Date: 04/10/2019
|
||||
.\" Manual: User Commands
|
||||
.\" Source: GTK+
|
||||
.\" Language: English
|
||||
|
@ -2,7 +2,7 @@
|
||||
.\" Title: gtk-query-settings
|
||||
.\" Author: Timm Bäder
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 03/12/2019
|
||||
.\" Date: 04/10/2019
|
||||
.\" Manual: User Commands
|
||||
.\" Source: GTK+
|
||||
.\" Language: English
|
||||
|
@ -2,7 +2,7 @@
|
||||
.\" Title: gtk-update-icon-cache
|
||||
.\" Author: Matthias Clasen
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 03/12/2019
|
||||
.\" Date: 04/10/2019
|
||||
.\" Manual: User Commands
|
||||
.\" Source: GTK+
|
||||
.\" Language: English
|
||||
|
@ -2,7 +2,7 @@
|
||||
.\" Title: gtk3-demo-application
|
||||
.\" Author: Matthias Clasen
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 03/12/2019
|
||||
.\" Date: 04/10/2019
|
||||
.\" Manual: User Commands
|
||||
.\" Source: GTK+
|
||||
.\" Language: English
|
||||
|
@ -2,7 +2,7 @@
|
||||
.\" Title: gtk3-demo
|
||||
.\" Author: Matthias Clasen
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 03/12/2019
|
||||
.\" Date: 04/10/2019
|
||||
.\" Manual: User Commands
|
||||
.\" Source: GTK+
|
||||
.\" Language: English
|
||||
|
@ -2,7 +2,7 @@
|
||||
.\" Title: gtk3-icon-browser
|
||||
.\" Author: Matthias Clasen
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 03/12/2019
|
||||
.\" Date: 04/10/2019
|
||||
.\" Manual: User Commands
|
||||
.\" Source: GTK+
|
||||
.\" Language: English
|
||||
|
@ -1,6 +1,3 @@
|
||||
|
||||
<INCLUDE>gtk/gtk.h</INCLUDE>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gtkaboutdialog</FILE>
|
||||
<TITLE>GtkAboutDialog</TITLE>
|
||||
@ -7089,7 +7086,6 @@ GtkPrintOperationPrivate
|
||||
|
||||
|
||||
<SECTION>
|
||||
<INCLUDE>gtk/gtkunixprint.h</INCLUDE>
|
||||
<FILE>gtkprintunixdialog</FILE>
|
||||
<TITLE>GtkPrintUnixDialog</TITLE>
|
||||
GtkPrintUnixDialog
|
||||
@ -7436,7 +7432,6 @@ gtk_print_context_get_type
|
||||
|
||||
|
||||
<SECTION>
|
||||
<INCLUDE>gtk/gtkunixprint.h</INCLUDE>
|
||||
<FILE>gtkprintjob</FILE>
|
||||
<TITLE>GtkPrintJob</TITLE>
|
||||
GtkPrintJob
|
||||
@ -7488,7 +7483,6 @@ gtk_print_job_get_type
|
||||
|
||||
|
||||
<SECTION>
|
||||
<INCLUDE>gtk/gtkunixprint.h</INCLUDE>
|
||||
<FILE>gtkpagesetupunixdialog</FILE>
|
||||
<TITLE>GtkPageSetupUnixDialog</TITLE>
|
||||
GtkPageSetupUnixDialog
|
||||
|
@ -2,7 +2,7 @@
|
||||
.\" Title: gtk3-widget-factory
|
||||
.\" Author: Matthias Clasen
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 03/12/2019
|
||||
.\" Date: 04/10/2019
|
||||
.\" Manual: User Commands
|
||||
.\" Source: GTK+
|
||||
.\" Language: English
|
||||
|
@ -52,7 +52,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAboutDialog.html#gtk-about-dialog-get-program-name" title="gtk_about_dialog_get_program_name ()">gtk_about_dialog_get_program_name</a> <span class="c_punctuation">()</span>
|
||||
@ -67,7 +67,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAboutDialog.html#gtk-about-dialog-get-version" title="gtk_about_dialog_get_version ()">gtk_about_dialog_get_version</a> <span class="c_punctuation">()</span>
|
||||
@ -82,7 +82,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAboutDialog.html#gtk-about-dialog-get-copyright" title="gtk_about_dialog_get_copyright ()">gtk_about_dialog_get_copyright</a> <span class="c_punctuation">()</span>
|
||||
@ -97,7 +97,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAboutDialog.html#gtk-about-dialog-get-comments" title="gtk_about_dialog_get_comments ()">gtk_about_dialog_get_comments</a> <span class="c_punctuation">()</span>
|
||||
@ -112,7 +112,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAboutDialog.html#gtk-about-dialog-get-license" title="gtk_about_dialog_get_license ()">gtk_about_dialog_get_license</a> <span class="c_punctuation">()</span>
|
||||
@ -128,7 +128,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAboutDialog.html#gtk-about-dialog-get-wrap-license" title="gtk_about_dialog_get_wrap_license ()">gtk_about_dialog_get_wrap_license</a> <span class="c_punctuation">()</span>
|
||||
@ -159,7 +159,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAboutDialog.html#gtk-about-dialog-get-website" title="gtk_about_dialog_get_website ()">gtk_about_dialog_get_website</a> <span class="c_punctuation">()</span>
|
||||
@ -174,7 +174,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAboutDialog.html#gtk-about-dialog-get-website-label" title="gtk_about_dialog_get_website_label ()">gtk_about_dialog_get_website_label</a> <span class="c_punctuation">()</span>
|
||||
@ -189,7 +189,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> * const *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAboutDialog.html#gtk-about-dialog-get-authors" title="gtk_about_dialog_get_authors ()">gtk_about_dialog_get_authors</a> <span class="c_punctuation">()</span>
|
||||
@ -204,7 +204,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> * const *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAboutDialog.html#gtk-about-dialog-get-artists" title="gtk_about_dialog_get_artists ()">gtk_about_dialog_get_artists</a> <span class="c_punctuation">()</span>
|
||||
@ -219,7 +219,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> * const *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAboutDialog.html#gtk-about-dialog-get-documenters" title="gtk_about_dialog_get_documenters ()">gtk_about_dialog_get_documenters</a> <span class="c_punctuation">()</span>
|
||||
@ -234,7 +234,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAboutDialog.html#gtk-about-dialog-get-translator-credits" title="gtk_about_dialog_get_translator_credits ()">gtk_about_dialog_get_translator_credits</a> <span class="c_punctuation">()</span>
|
||||
@ -265,7 +265,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAboutDialog.html#gtk-about-dialog-get-logo-icon-name" title="gtk_about_dialog_get_logo_icon_name ()">gtk_about_dialog_get_logo_icon_name</a> <span class="c_punctuation">()</span>
|
||||
@ -308,35 +308,35 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></td>
|
||||
<td class="property_type"><span class="type">GStrv</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkAboutDialog.html#GtkAboutDialog--artists" title="The “artists” property">artists</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></td>
|
||||
<td class="property_type"><span class="type">GStrv</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkAboutDialog.html#GtkAboutDialog--authors" title="The “authors” property">authors</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAboutDialog.html#GtkAboutDialog--comments" title="The “comments” property">comments</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAboutDialog.html#GtkAboutDialog--copyright" title="The “copyright” property">copyright</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></td>
|
||||
<td class="property_type"><span class="type">GStrv</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkAboutDialog.html#GtkAboutDialog--documenters" title="The “documenters” property">documenters</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAboutDialog.html#GtkAboutDialog--license" title="The “license” property">license</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -353,42 +353,42 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAboutDialog.html#GtkAboutDialog--logo-icon-name" title="The “logo-icon-name” property">logo-icon-name</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAboutDialog.html#GtkAboutDialog--program-name" title="The “program-name” property">program-name</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAboutDialog.html#GtkAboutDialog--translator-credits" title="The “translator-credits” property">translator-credits</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAboutDialog.html#GtkAboutDialog--version" title="The “version” property">version</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAboutDialog.html#GtkAboutDialog--website" title="The “website” property">website</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAboutDialog.html#GtkAboutDialog--website-label" title="The “website-label” property">website-label</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkAboutDialog.html#GtkAboutDialog--wrap-license" title="The “wrap-license” property">wrap-license</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -404,9 +404,9 @@
|
||||
<col width="200px" class="signals_flags">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="signal_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
|
||||
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkAboutDialog.html#GtkAboutDialog-activate-link" title="The “activate-link” signal">activate-link</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
@ -431,8 +431,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkAboutDialog.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">╰──</span> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GInitiallyUnowned
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
|
||||
@ -485,12 +485,12 @@ as shown in the following example:</p>
|
||||
4
|
||||
5
|
||||
6</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="usertype">GdkPixbuf</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">example_logo </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file">gdk_pixbuf_new_from_file</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"./logo.png"</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>
|
||||
<span class="function"><a href="GtkAboutDialog.html#gtk-show-about-dialog">gtk_show_about_dialog</a></span><span class="normal"> </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>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="usertype">GdkPixbuf</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">example_logo </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file">gdk_pixbuf_new_from_file</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"./logo.png"</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
||||
<span class="function"><a href="GtkAboutDialog.html#gtk-show-about-dialog">gtk_show_about_dialog</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">NULL</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="string">"program-name"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"ExampleCode"</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="string">"logo"</span><span class="symbol">,</span><span class="normal"> example_logo</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="string">"title"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">_</span><span class="symbol">(</span><span class="string">"About ExampleCode"</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></pre></td>
|
||||
<span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -517,7 +517,7 @@ gtk_about_dialog_new (<em class="parameter"><code><span class="type">void</span>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-about-dialog-get-program-name"></a><h3>gtk_about_dialog_get_program_name ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_about_dialog_get_program_name (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>);</pre>
|
||||
<p>Returns the program name displayed in the about dialog.</p>
|
||||
<div class="refsect3">
|
||||
@ -547,9 +547,9 @@ dialog and must not be modified.</p>
|
||||
<a name="gtk-about-dialog-set-program-name"></a><h3>gtk_about_dialog_set_program_name ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_about_dialog_set_program_name (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>,
|
||||
<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>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
|
||||
<p>Sets the name to display in the about dialog.
|
||||
If this is not set, it defaults to <a href="https://developer.gnome.org/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-get-application-name"><code class="function">g_get_application_name()</code></a>.</p>
|
||||
If this is not set, it defaults to <code class="function">g_get_application_name()</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-about-dialog-set-program-name.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -577,7 +577,7 @@ If this is not set, it defaults to <a href="https://developer.gnome.org/glib/uns
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-about-dialog-get-version"></a><h3>gtk_about_dialog_get_version ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_about_dialog_get_version (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>);</pre>
|
||||
<p>Returns the version string.</p>
|
||||
<div class="refsect3">
|
||||
@ -607,7 +607,7 @@ dialog and must not be modified.</p>
|
||||
<a name="gtk-about-dialog-set-version"></a><h3>gtk_about_dialog_set_version ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_about_dialog_set_version (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *version</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *version</code></em>);</pre>
|
||||
<p>Sets the version string to display in the about dialog.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-about-dialog-set-version.parameters"></a><h4>Parameters</h4>
|
||||
@ -636,7 +636,7 @@ gtk_about_dialog_set_version (<em class="parameter"><code><a class="link" href="
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-about-dialog-get-copyright"></a><h3>gtk_about_dialog_get_copyright ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_about_dialog_get_copyright (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>);</pre>
|
||||
<p>Returns the copyright string.</p>
|
||||
<div class="refsect3">
|
||||
@ -666,7 +666,7 @@ dialog and must not be modified.</p>
|
||||
<a name="gtk-about-dialog-set-copyright"></a><h3>gtk_about_dialog_set_copyright ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_about_dialog_set_copyright (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *copyright</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *copyright</code></em>);</pre>
|
||||
<p>Sets the copyright string to display in the about dialog.
|
||||
This should be a short string of one or two lines.</p>
|
||||
<div class="refsect3">
|
||||
@ -696,7 +696,7 @@ This should be a short string of one or two lines.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-about-dialog-get-comments"></a><h3>gtk_about_dialog_get_comments ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_about_dialog_get_comments (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>);</pre>
|
||||
<p>Returns the comments string.</p>
|
||||
<div class="refsect3">
|
||||
@ -726,7 +726,7 @@ dialog and must not be modified.</p>
|
||||
<a name="gtk-about-dialog-set-comments"></a><h3>gtk_about_dialog_set_comments ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_about_dialog_set_comments (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *comments</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *comments</code></em>);</pre>
|
||||
<p>Sets the comments string to display in the about dialog.
|
||||
This should be a short string of one or two lines.</p>
|
||||
<div class="refsect3">
|
||||
@ -756,7 +756,7 @@ This should be a short string of one or two lines.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-about-dialog-get-license"></a><h3>gtk_about_dialog_get_license ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_about_dialog_get_license (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>);</pre>
|
||||
<p>Returns the license information.</p>
|
||||
<div class="refsect3">
|
||||
@ -786,10 +786,10 @@ dialog and must not be modified.</p>
|
||||
<a name="gtk-about-dialog-set-license"></a><h3>gtk_about_dialog_set_license ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_about_dialog_set_license (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *license</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *license</code></em>);</pre>
|
||||
<p>Sets the license information to be displayed in the secondary
|
||||
license dialog. If <em class="parameter"><code>license</code></em>
|
||||
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the license button is
|
||||
is <code class="literal">NULL</code>, the license button is
|
||||
hidden.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-about-dialog-set-license.parameters"></a><h4>Parameters</h4>
|
||||
@ -807,7 +807,7 @@ hidden.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>license</p></td>
|
||||
<td class="parameter_description"><p>the license information or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>the license information or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -818,7 +818,7 @@ hidden.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-about-dialog-get-wrap-license"></a><h3>gtk_about_dialog_get_wrap_license ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_about_dialog_get_wrap_license (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>);</pre>
|
||||
<p>Returns whether the license text in <em class="parameter"><code>about</code></em>
|
||||
is
|
||||
@ -840,7 +840,7 @@ automatically wrapped.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-about-dialog-get-wrap-license.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the license text is wrapped</p>
|
||||
<p> <code class="literal">TRUE</code> if the license text is wrapped</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.8</p>
|
||||
</div>
|
||||
@ -849,7 +849,7 @@ automatically wrapped.</p>
|
||||
<a name="gtk-about-dialog-set-wrap-license"></a><h3>gtk_about_dialog_set_wrap_license ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_about_dialog_set_wrap_license (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> wrap_license</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> wrap_license</code></em>);</pre>
|
||||
<p>Sets whether the license text in <em class="parameter"><code>about</code></em>
|
||||
is
|
||||
automatically wrapped.</p>
|
||||
@ -942,7 +942,7 @@ list of known licenses.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-about-dialog-get-website"></a><h3>gtk_about_dialog_get_website ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_about_dialog_get_website (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>);</pre>
|
||||
<p>Returns the website URL.</p>
|
||||
<div class="refsect3">
|
||||
@ -972,7 +972,7 @@ dialog and must not be modified.</p>
|
||||
<a name="gtk-about-dialog-set-website"></a><h3>gtk_about_dialog_set_website ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_about_dialog_set_website (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *website</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *website</code></em>);</pre>
|
||||
<p>Sets the URL to use for the website link.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-about-dialog-set-website.parameters"></a><h4>Parameters</h4>
|
||||
@ -1001,7 +1001,7 @@ gtk_about_dialog_set_website (<em class="parameter"><code><a class="link" href="
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-about-dialog-get-website-label"></a><h3>gtk_about_dialog_get_website_label ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_about_dialog_get_website_label (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>);</pre>
|
||||
<p>Returns the label used for the website link.</p>
|
||||
<div class="refsect3">
|
||||
@ -1031,7 +1031,7 @@ owned by the about dialog and must not be modified.</p>
|
||||
<a name="gtk-about-dialog-set-website-label"></a><h3>gtk_about_dialog_set_website_label ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_about_dialog_set_website_label (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *website_label</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *website_label</code></em>);</pre>
|
||||
<p>Sets the label to be used for the website link.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-about-dialog-set-website-label.parameters"></a><h4>Parameters</h4>
|
||||
@ -1060,7 +1060,7 @@ gtk_about_dialog_set_website_label (<em class="parameter"><code><a class="link"
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-about-dialog-get-authors"></a><h3>gtk_about_dialog_get_authors ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> * const *
|
||||
gtk_about_dialog_get_authors (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>);</pre>
|
||||
<p>Returns the string which are displayed in the authors tab
|
||||
of the secondary credits dialog.</p>
|
||||
@ -1082,7 +1082,7 @@ of the secondary credits dialog.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-about-dialog-get-authors.returns"></a><h4>Returns</h4>
|
||||
<p>A
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated string array containing the authors. The array is
|
||||
<code class="literal">NULL</code>-terminated string array containing the authors. The array is
|
||||
owned by the about dialog and must not be modified. </p>
|
||||
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -1093,7 +1093,7 @@ owned by the about dialog and must not be modified. </p>
|
||||
<a name="gtk-about-dialog-set-authors"></a><h3>gtk_about_dialog_set_authors ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_about_dialog_set_authors (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **authors</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> **authors</code></em>);</pre>
|
||||
<p>Sets the strings which are displayed in the authors tab
|
||||
of the secondary credits dialog.</p>
|
||||
<div class="refsect3">
|
||||
@ -1112,7 +1112,7 @@ of the secondary credits dialog.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>authors</p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings. </p></td>
|
||||
<td class="parameter_description"><p>a <code class="literal">NULL</code>-terminated array of strings. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1123,7 +1123,7 @@ of the secondary credits dialog.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-about-dialog-get-artists"></a><h3>gtk_about_dialog_get_artists ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> * const *
|
||||
gtk_about_dialog_get_artists (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>);</pre>
|
||||
<p>Returns the string which are displayed in the artists tab
|
||||
of the secondary credits dialog.</p>
|
||||
@ -1145,7 +1145,7 @@ of the secondary credits dialog.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-about-dialog-get-artists.returns"></a><h4>Returns</h4>
|
||||
<p>A
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated string array containing the artists. The array is
|
||||
<code class="literal">NULL</code>-terminated string array containing the artists. The array is
|
||||
owned by the about dialog and must not be modified. </p>
|
||||
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -1156,7 +1156,7 @@ owned by the about dialog and must not be modified. </p>
|
||||
<a name="gtk-about-dialog-set-artists"></a><h3>gtk_about_dialog_set_artists ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_about_dialog_set_artists (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **artists</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> **artists</code></em>);</pre>
|
||||
<p>Sets the strings which are displayed in the artists tab
|
||||
of the secondary credits dialog.</p>
|
||||
<div class="refsect3">
|
||||
@ -1175,7 +1175,7 @@ of the secondary credits dialog.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>artists</p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings. </p></td>
|
||||
<td class="parameter_description"><p>a <code class="literal">NULL</code>-terminated array of strings. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1186,7 +1186,7 @@ of the secondary credits dialog.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-about-dialog-get-documenters"></a><h3>gtk_about_dialog_get_documenters ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> * const *
|
||||
gtk_about_dialog_get_documenters (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>);</pre>
|
||||
<p>Returns the string which are displayed in the documenters
|
||||
tab of the secondary credits dialog.</p>
|
||||
@ -1208,7 +1208,7 @@ tab of the secondary credits dialog.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-about-dialog-get-documenters.returns"></a><h4>Returns</h4>
|
||||
<p>A
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated string array containing the documenters. The
|
||||
<code class="literal">NULL</code>-terminated string array containing the documenters. The
|
||||
array is owned by the about dialog and must not be modified. </p>
|
||||
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -1219,7 +1219,7 @@ array is owned by the about dialog and must not be modified. </p>
|
||||
<a name="gtk-about-dialog-set-documenters"></a><h3>gtk_about_dialog_set_documenters ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_about_dialog_set_documenters (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **documenters</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> **documenters</code></em>);</pre>
|
||||
<p>Sets the strings which are displayed in the documenters tab
|
||||
of the secondary credits dialog.</p>
|
||||
<div class="refsect3">
|
||||
@ -1238,7 +1238,7 @@ of the secondary credits dialog.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>documenters</p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings. </p></td>
|
||||
<td class="parameter_description"><p>a <code class="literal">NULL</code>-terminated array of strings. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1249,7 +1249,7 @@ of the secondary credits dialog.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-about-dialog-get-translator-credits"></a><h3>gtk_about_dialog_get_translator_credits ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_about_dialog_get_translator_credits
|
||||
(<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>);</pre>
|
||||
<p>Returns the translator credits string which is displayed
|
||||
@ -1282,7 +1282,7 @@ owned by the about dialog and must not be modified.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_about_dialog_set_translator_credits
|
||||
(<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *translator_credits</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *translator_credits</code></em>);</pre>
|
||||
<p>Sets the translator credits string which is displayed in
|
||||
the translators tab of the secondary credits dialog.</p>
|
||||
<p>The intended use for this string is to display the translator
|
||||
@ -1358,7 +1358,7 @@ gtk_about_dialog_get_logo (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<a name="gtk-about-dialog-get-logo.returns"></a><h4>Returns</h4>
|
||||
<p>the pixbuf displayed as logo. The
|
||||
pixbuf is owned by the about dialog. If you want to keep a
|
||||
reference to it, you have to call <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> on it. </p>
|
||||
reference to it, you have to call <code class="function">g_object_ref()</code> on it. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.6</p>
|
||||
@ -1370,7 +1370,7 @@ reference to it, you have to call <a href="https://developer.gnome.org/gobject/u
|
||||
gtk_about_dialog_set_logo (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *logo</code></em>);</pre>
|
||||
<p>Sets the pixbuf to be displayed as logo in the about dialog.
|
||||
If it is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default window icon set with
|
||||
If it is <code class="literal">NULL</code>, the default window icon set with
|
||||
<a class="link" href="GtkWindow.html#gtk-window-set-default-icon" title="gtk_window_set_default_icon ()"><code class="function">gtk_window_set_default_icon()</code></a> will be used.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-about-dialog-set-logo.parameters"></a><h4>Parameters</h4>
|
||||
@ -1388,7 +1388,7 @@ If it is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>logo</p></td>
|
||||
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</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>
|
||||
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1399,7 +1399,7 @@ If it is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-about-dialog-get-logo-icon-name"></a><h3>gtk_about_dialog_get_logo_icon_name ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_about_dialog_get_logo_icon_name (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>);</pre>
|
||||
<p>Returns the icon name displayed as logo in the about dialog.</p>
|
||||
<div class="refsect3">
|
||||
@ -1421,7 +1421,7 @@ gtk_about_dialog_get_logo_icon_name (<em class="parameter"><code><a class="link"
|
||||
<a name="gtk-about-dialog-get-logo-icon-name.returns"></a><h4>Returns</h4>
|
||||
<p> the icon name displayed as logo. The string is
|
||||
owned by the dialog. If you want to keep a reference
|
||||
to it, you have to call <a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#g-strdup"><code class="function">g_strdup()</code></a> on it.</p>
|
||||
to it, you have to call <code class="function">g_strdup()</code> on it.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.6</p>
|
||||
</div>
|
||||
@ -1430,9 +1430,9 @@ to it, you have to call <a href="https://developer.gnome.org/glib/unstable/glib-
|
||||
<a name="gtk-about-dialog-set-logo-icon-name"></a><h3>gtk_about_dialog_set_logo_icon_name ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_about_dialog_set_logo_icon_name (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>);</pre>
|
||||
<p>Sets the pixbuf to be displayed as logo in the about dialog.
|
||||
If it is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default window icon set with
|
||||
If it is <code class="literal">NULL</code>, the default window icon set with
|
||||
<a class="link" href="GtkWindow.html#gtk-window-set-default-icon" title="gtk_window_set_default_icon ()"><code class="function">gtk_window_set_default_icon()</code></a> will be used.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-about-dialog-set-logo-icon-name.parameters"></a><h4>Parameters</h4>
|
||||
@ -1450,7 +1450,7 @@ If it is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>icon_name</p></td>
|
||||
<td class="parameter_description"><p>an icon name, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>an icon name, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1463,8 +1463,8 @@ If it is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros
|
||||
<a name="gtk-about-dialog-add-credit-section"></a><h3>gtk_about_dialog_add_credit_section ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_about_dialog_add_credit_section (<em class="parameter"><code><a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *about</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *section_name</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **people</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *section_name</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> **people</code></em>);</pre>
|
||||
<p>Creates a new section in the Credits page.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-about-dialog-add-credit-section.parameters"></a><h4>Parameters</h4>
|
||||
@ -1500,7 +1500,7 @@ gtk_about_dialog_add_credit_section (<em class="parameter"><code><a class="link"
|
||||
<a name="gtk-show-about-dialog"></a><h3>gtk_show_about_dialog ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_show_about_dialog (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>,
|
||||
<em class="parameter"><code>...</code></em>);</pre>
|
||||
<p>This is a convenience function for showing an application’s about box.
|
||||
The constructed dialog is associated with the parent window and
|
||||
@ -1516,7 +1516,7 @@ reused for future invocations of this function.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>parent</p></td>
|
||||
<td class="parameter_description"><p>transient parent, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for none. </p></td>
|
||||
<td class="parameter_description"><p>transient parent, or <code class="literal">NULL</code> for none. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1526,7 +1526,7 @@ reused for future invocations of this function.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>...</p></td>
|
||||
<td class="parameter_description"><p>value of first property, followed by more properties, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated</p></td>
|
||||
<td class="parameter_description"><p>value of first property, followed by more properties, <code class="literal">NULL</code>-terminated</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1673,8 +1673,8 @@ only private fields and should not be directly accessed.</p>
|
||||
<a name="GtkAboutDialog.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAboutDialog--artists"></a><h3>The <code class="literal">“artists”</code> property</h3>
|
||||
<pre class="programlisting"> “artists” <a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></pre>
|
||||
<p>The people who contributed artwork to the program, as a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated
|
||||
<pre class="programlisting"> “artists” <span class="type">GStrv</span></pre>
|
||||
<p>The people who contributed artwork to the program, as a <code class="literal">NULL</code>-terminated
|
||||
array of strings. Each string may contain email addresses and URLs, which
|
||||
will be displayed as links, see the introduction for more details.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -1683,8 +1683,8 @@ will be displayed as links, see the introduction for more details.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAboutDialog--authors"></a><h3>The <code class="literal">“authors”</code> property</h3>
|
||||
<pre class="programlisting"> “authors” <a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></pre>
|
||||
<p>The authors of the program, as a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings.
|
||||
<pre class="programlisting"> “authors” <span class="type">GStrv</span></pre>
|
||||
<p>The authors of the program, as a <code class="literal">NULL</code>-terminated array of strings.
|
||||
Each string may contain email addresses and URLs, which will be displayed
|
||||
as links, see the introduction for more details.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -1693,7 +1693,7 @@ as links, see the introduction for more details.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAboutDialog--comments"></a><h3>The <code class="literal">“comments”</code> property</h3>
|
||||
<pre class="programlisting"> “comments” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “comments” <span class="type">gchar</span> *</pre>
|
||||
<p>Comments about the program. This string is displayed in a label
|
||||
in the main dialog, thus it should be a short explanation of
|
||||
the main purpose of the program, not a detailed list of features.</p>
|
||||
@ -1704,7 +1704,7 @@ the main purpose of the program, not a detailed list of features.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAboutDialog--copyright"></a><h3>The <code class="literal">“copyright”</code> property</h3>
|
||||
<pre class="programlisting"> “copyright” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “copyright” <span class="type">gchar</span> *</pre>
|
||||
<p>Copyright information for the program.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -1713,8 +1713,8 @@ the main purpose of the program, not a detailed list of features.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAboutDialog--documenters"></a><h3>The <code class="literal">“documenters”</code> property</h3>
|
||||
<pre class="programlisting"> “documenters” <a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></pre>
|
||||
<p>The people documenting the program, as a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings.
|
||||
<pre class="programlisting"> “documenters” <span class="type">GStrv</span></pre>
|
||||
<p>The people documenting the program, as a <code class="literal">NULL</code>-terminated array of strings.
|
||||
Each string may contain email addresses and URLs, which will be displayed
|
||||
as links, see the introduction for more details.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -1723,13 +1723,13 @@ as links, see the introduction for more details.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAboutDialog--license"></a><h3>The <code class="literal">“license”</code> property</h3>
|
||||
<pre class="programlisting"> “license” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “license” <span class="type">gchar</span> *</pre>
|
||||
<p>The license of the program. This string is displayed in a
|
||||
text view in a secondary dialog, therefore it is fine to use
|
||||
a long multi-paragraph text. Note that the text is only wrapped
|
||||
in the text view if the "wrap-license" property is set to <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>;
|
||||
in the text view if the "wrap-license" property is set to <code class="literal">TRUE</code>;
|
||||
otherwise the text itself must contain the intended linebreaks.
|
||||
When setting this property to a non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> value, the
|
||||
When setting this property to a non-<code class="literal">NULL</code> value, the
|
||||
<a class="link" href="GtkAboutDialog.html#GtkAboutDialog--license-type" title="The “license-type” property"><span class="type">“license-type”</span></a> property is set to <a class="link" href="GtkAboutDialog.html#GTK-LICENSE-CUSTOM:CAPS"><code class="literal">GTK_LICENSE_CUSTOM</code></a>
|
||||
as a side effect.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -1759,7 +1759,7 @@ a side effect.</p>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAboutDialog--logo"></a><h3>The <code class="literal">“logo”</code> property</h3>
|
||||
<pre class="programlisting"> “logo” <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *</pre>
|
||||
<p>A logo for the about box. If it is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default window icon
|
||||
<p>A logo for the about box. If it is <code class="literal">NULL</code>, the default window icon
|
||||
set with <a class="link" href="GtkWindow.html#gtk-window-set-default-icon" title="gtk_window_set_default_icon ()"><code class="function">gtk_window_set_default_icon()</code></a> will be used.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p class="since">Since: 2.6</p>
|
||||
@ -1767,7 +1767,7 @@ set with <a class="link" href="GtkWindow.html#gtk-window-set-default-icon" title
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAboutDialog--logo-icon-name"></a><h3>The <code class="literal">“logo-icon-name”</code> property</h3>
|
||||
<pre class="programlisting"> “logo-icon-name” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “logo-icon-name” <span class="type">gchar</span> *</pre>
|
||||
<p>A named icon to use as the logo for the about box. This property
|
||||
overrides the <a class="link" href="GtkAboutDialog.html#GtkAboutDialog--logo" title="The “logo” property"><span class="type">“logo”</span></a> property.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -1777,9 +1777,9 @@ overrides the <a class="link" href="GtkAboutDialog.html#GtkAboutDialog--logo" ti
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAboutDialog--program-name"></a><h3>The <code class="literal">“program-name”</code> property</h3>
|
||||
<pre class="programlisting"> “program-name” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “program-name” <span class="type">gchar</span> *</pre>
|
||||
<p>The name of the program.
|
||||
If this is not set, it defaults to <a href="https://developer.gnome.org/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-get-application-name"><code class="function">g_get_application_name()</code></a>.</p>
|
||||
If this is not set, it defaults to <code class="function">g_get_application_name()</code>.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: NULL</p>
|
||||
<p class="since">Since: 2.12</p>
|
||||
@ -1787,7 +1787,7 @@ If this is not set, it defaults to <a href="https://developer.gnome.org/glib/uns
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAboutDialog--translator-credits"></a><h3>The <code class="literal">“translator-credits”</code> property</h3>
|
||||
<pre class="programlisting"> “translator-credits” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “translator-credits” <span class="type">gchar</span> *</pre>
|
||||
<p>Credits to the translators. This string should be marked as translatable.
|
||||
The string may contain email addresses and URLs, which will be displayed
|
||||
as links, see the introduction for more details.</p>
|
||||
@ -1798,7 +1798,7 @@ as links, see the introduction for more details.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAboutDialog--version"></a><h3>The <code class="literal">“version”</code> property</h3>
|
||||
<pre class="programlisting"> “version” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “version” <span class="type">gchar</span> *</pre>
|
||||
<p>The version of the program.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -1807,7 +1807,7 @@ as links, see the introduction for more details.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAboutDialog--website"></a><h3>The <code class="literal">“website”</code> property</h3>
|
||||
<pre class="programlisting"> “website” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “website” <span class="type">gchar</span> *</pre>
|
||||
<p>The URL for the link to the website of the program.
|
||||
This should be a string starting with "http://.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -1817,7 +1817,7 @@ This should be a string starting with "http://.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAboutDialog--website-label"></a><h3>The <code class="literal">“website-label”</code> property</h3>
|
||||
<pre class="programlisting"> “website-label” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “website-label” <span class="type">gchar</span> *</pre>
|
||||
<p>The label for the link to the website of the program.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -1826,7 +1826,7 @@ This should be a string starting with "http://.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAboutDialog--wrap-license"></a><h3>The <code class="literal">“wrap-license”</code> property</h3>
|
||||
<pre class="programlisting"> “wrap-license” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “wrap-license” <span class="type">gboolean</span></pre>
|
||||
<p>Whether to wrap the text in the license dialog.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
@ -1837,10 +1837,10 @@ This should be a string starting with "http://.</p>
|
||||
<a name="GtkAboutDialog.signal-details"></a><h2>Signal Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAboutDialog-activate-link"></a><h3>The <code class="literal">“activate-link”</code> signal</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
user_function (<a class="link" href="GtkAboutDialog.html" title="GtkAboutDialog"><span class="type">GtkAboutDialog</span></a> *label,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gchar</span> *uri,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The signal which gets emitted to activate a URI.
|
||||
Applications may connect to it to override the default behaviour,
|
||||
which is to call <a class="link" href="gtk3-Filesystem-utilities.html#gtk-show-uri-on-window" title="gtk_show_uri_on_window ()"><code class="function">gtk_show_uri_on_window()</code></a>.</p>
|
||||
@ -1873,9 +1873,9 @@ which is to call <a class="link" href="gtk3-Filesystem-utilities.html#gtk-show-u
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="GtkAboutDialog-activate-link.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the link has been activated</p>
|
||||
<p> <code class="literal">TRUE</code> if the link has been activated</p>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: 2.24</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -76,7 +76,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAccelLabel.html#gtk-accel-label-get-accel-width" title="gtk_accel_label_get_accel_width ()">gtk_accel_label_get_accel_width</a> <span class="c_punctuation">()</span>
|
||||
@ -100,7 +100,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAccelLabel.html#gtk-accel-label-refetch" title="gtk_accel_label_refetch ()">gtk_accel_label_refetch</a> <span class="c_punctuation">()</span>
|
||||
@ -120,7 +120,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#GClosure-struct"><span class="type">GClosure</span></a> *</td>
|
||||
<span class="type">GClosure</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAccelLabel.html#GtkAccelLabel--accel-closure" title="The “accel-closure” property">accel-closure</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -148,8 +148,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkAccelLabel.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">╰──</span> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GInitiallyUnowned
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkMisc.html" title="GtkMisc">GtkMisc</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkLabel.html" title="GtkLabel">GtkLabel</a>
|
||||
@ -236,7 +236,7 @@ though it is almost always used to display just one accelerator key.</p>
|
||||
<span class="comment">// GtkMenuItem accelerators. We just need to make sure we use</span>
|
||||
<span class="comment">// GTK_ACCEL_VISIBLE here.</span>
|
||||
<span class="function"><a href="GtkWidget.html#gtk-widget-add-accelerator">gtk_widget_add_accelerator</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">save_item</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"activate"</span><span class="symbol">,</span><span class="normal"> accel_group</span><span class="symbol">,</span>
|
||||
<span class="normal"> GDK_KEY_s</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/gdk4/GdkSurface.html#GDK-CONTROL-MASK:CAPS">GDK_CONTROL_MASK</a></span><span class="symbol">,</span><span class="normal"> <a href="gtk3-Keyboard-Accelerators.html#GTK-ACCEL-VISIBLE:CAPS">GTK_ACCEL_VISIBLE</a></span><span class="symbol">);</span></pre></td>
|
||||
<span class="normal"> GDK_KEY_s</span><span class="symbol">,</span><span class="normal"> GDK_CONTROL_MASK</span><span class="symbol">,</span><span class="normal"> <a href="gtk3-Keyboard-Accelerators.html#GTK-ACCEL-VISIBLE:CAPS">GTK_ACCEL_VISIBLE</a></span><span class="symbol">);</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -269,7 +269,7 @@ It adds a subnode with name accelerator.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-accel-label-new"></a><h3>gtk_accel_label_new ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||||
gtk_accel_label_new (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
||||
gtk_accel_label_new (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>);</pre>
|
||||
<p>Creates a new <a class="link" href="GtkAccelLabel.html" title="GtkAccelLabel"><span class="type">GtkAccelLabel</span></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-accel-label-new.parameters"></a><h4>Parameters</h4>
|
||||
@ -281,7 +281,7 @@ gtk_accel_label_new (<em class="parameter"><code>const <a href="https://develope
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>string</p></td>
|
||||
<td class="parameter_description"><p>the label string. Must be non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
||||
<td class="parameter_description"><p>the label string. Must be non-<code class="literal">NULL</code>.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -296,10 +296,10 @@ gtk_accel_label_new (<em class="parameter"><code>const <a href="https://develope
|
||||
<a name="gtk-accel-label-set-accel-closure"></a><h3>gtk_accel_label_set_accel_closure ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_accel_label_set_accel_closure (<em class="parameter"><code><a class="link" href="GtkAccelLabel.html" title="GtkAccelLabel"><span class="type">GtkAccelLabel</span></a> *accel_label</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#GClosure-struct"><span class="type">GClosure</span></a> *accel_closure</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GClosure</span> *accel_closure</code></em>);</pre>
|
||||
<p>Sets the closure to be monitored by this accelerator label. The closure
|
||||
must be connected to an accelerator group; see <a class="link" href="gtk3-Keyboard-Accelerators.html#gtk-accel-group-connect" title="gtk_accel_group_connect ()"><code class="function">gtk_accel_group_connect()</code></a>.
|
||||
Passing <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>accel_closure</code></em>
|
||||
Passing <code class="literal">NULL</code> for <em class="parameter"><code>accel_closure</code></em>
|
||||
will dissociate <em class="parameter"><code>accel_label</code></em>
|
||||
from its
|
||||
current closure, if any.</p>
|
||||
@ -320,7 +320,7 @@ current closure, if any.</p>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>accel_closure</p></td>
|
||||
<td class="parameter_description"><p>the closure to monitor for accelerator changes,
|
||||
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -351,7 +351,7 @@ gtk_accel_label_get_accel_widget (<em class="parameter"><code><a class="link" hr
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-accel-label-get-accel-widget.returns"></a><h4>Returns</h4>
|
||||
<p>the object monitored by the accelerator label, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>the object monitored by the accelerator label, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
@ -361,7 +361,7 @@ gtk_accel_label_get_accel_widget (<em class="parameter"><code><a class="link" hr
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_accel_label_set_accel_widget (<em class="parameter"><code><a class="link" href="GtkAccelLabel.html" title="GtkAccelLabel"><span class="type">GtkAccelLabel</span></a> *accel_label</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *accel_widget</code></em>);</pre>
|
||||
<p>Sets the widget to be monitored by this accelerator label. Passing <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for
|
||||
<p>Sets the widget to be monitored by this accelerator label. Passing <code class="literal">NULL</code> for
|
||||
<em class="parameter"><code>accel_widget</code></em>
|
||||
will dissociate <em class="parameter"><code>accel_label</code></em>
|
||||
from its current widget, if any.</p>
|
||||
@ -381,7 +381,7 @@ gtk_accel_label_set_accel_widget (<em class="parameter"><code><a class="link" hr
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>accel_widget</p></td>
|
||||
<td class="parameter_description"><p>the widget to be monitored, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>the widget to be monitored, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -391,7 +391,7 @@ gtk_accel_label_set_accel_widget (<em class="parameter"><code><a class="link" hr
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-accel-label-get-accel-width"></a><h3>gtk_accel_label_get_accel_width ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gtk_accel_label_get_accel_width (<em class="parameter"><code><a class="link" href="GtkAccelLabel.html" title="GtkAccelLabel"><span class="type">GtkAccelLabel</span></a> *accel_label</code></em>);</pre>
|
||||
<p>Returns the width needed to display the accelerator key(s).
|
||||
This is used by menus to align all of the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> widgets, and shouldn't
|
||||
@ -421,8 +421,8 @@ be needed by applications.</p>
|
||||
<a name="gtk-accel-label-set-accel"></a><h3>gtk_accel_label_set_accel ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_accel_label_set_accel (<em class="parameter"><code><a class="link" href="GtkAccelLabel.html" title="GtkAccelLabel"><span class="type">GtkAccelLabel</span></a> *accel_label</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> accelerator_key</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gdk4/GdkSurface.html#GdkModifierType"><span class="type">GdkModifierType</span></a> accelerator_mods</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> accelerator_key</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkModifierType</span> accelerator_mods</code></em>);</pre>
|
||||
<p>Manually sets a keyval and modifier mask as the accelerator rendered
|
||||
by <em class="parameter"><code>accel_label</code></em>
|
||||
.</p>
|
||||
@ -464,8 +464,8 @@ used regardless of any associated accel closure or widget.</p>
|
||||
<a name="gtk-accel-label-get-accel"></a><h3>gtk_accel_label_get_accel ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_accel_label_get_accel (<em class="parameter"><code><a class="link" href="GtkAccelLabel.html" title="GtkAccelLabel"><span class="type">GtkAccelLabel</span></a> *accel_label</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *accelerator_key</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gdk4/GdkSurface.html#GdkModifierType"><span class="type">GdkModifierType</span></a> *accelerator_mods</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> *accelerator_key</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkModifierType</span> *accelerator_mods</code></em>);</pre>
|
||||
<p>Gets the keyval and modifier mask set with
|
||||
<a class="link" href="GtkAccelLabel.html#gtk-accel-label-set-accel" title="gtk_accel_label_set_accel ()"><code class="function">gtk_accel_label_set_accel()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -500,7 +500,7 @@ gtk_accel_label_get_accel (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-accel-label-refetch"></a><h3>gtk_accel_label_refetch ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_accel_label_refetch (<em class="parameter"><code><a class="link" href="GtkAccelLabel.html" title="GtkAccelLabel"><span class="type">GtkAccelLabel</span></a> *accel_label</code></em>);</pre>
|
||||
<p>Recreates the string representing the accelerator keys.
|
||||
This should not be needed since the string is automatically updated whenever
|
||||
@ -522,7 +522,7 @@ accelerators are added or removed from the associated widget.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-accel-label-refetch.returns"></a><h4>Returns</h4>
|
||||
<p> always returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
||||
<p> always returns <code class="literal">FALSE</code>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -539,7 +539,7 @@ should be accessed using the functions below.</p>
|
||||
<a name="GtkAccelLabel.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAccelLabel--accel-closure"></a><h3>The <code class="literal">“accel-closure”</code> property</h3>
|
||||
<pre class="programlisting"> “accel-closure” <a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#GClosure-struct"><span class="type">GClosure</span></a> *</pre>
|
||||
<pre class="programlisting"> “accel-closure” <span class="type">GClosure</span> *</pre>
|
||||
<p>The closure to be monitored for accelerator changes.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
</div>
|
||||
|
@ -99,7 +99,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkAccessible.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/atk/AtkObject.html#AtkObject-struct">AtkObject</a>
|
||||
<span class="lineart">╰──</span> GtkAccessible
|
||||
</pre>
|
||||
@ -177,7 +177,7 @@ you do not need to unref it.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-accessible-get-widget.returns"></a><h4>Returns</h4>
|
||||
<p>pointer to the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>
|
||||
corresponding to the <a class="link" href="GtkAccessible.html" title="GtkAccessible"><span class="type">GtkAccessible</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
corresponding to the <a class="link" href="GtkAccessible.html" title="GtkAccessible"><span class="type">GtkAccessible</span></a>, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.22</p>
|
||||
@ -196,7 +196,7 @@ It is the caller’s responsibility to ensure that when <em class="parameter"><c
|
||||
|
||||
is destroyed, the widget is unset by calling this function
|
||||
again with <em class="parameter"><code>widget</code></em>
|
||||
set to <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
||||
set to <code class="literal">NULL</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-accessible-set-widget.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -213,7 +213,7 @@ again with <em class="parameter"><code>widget</code></em>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>widget</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> 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>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> or <code class="literal">NULL</code> to unset. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -52,7 +52,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-get-name" title="gtk_action_get_name ()">gtk_action_get_name</a> <span class="c_punctuation">()</span>
|
||||
@ -60,7 +60,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-is-sensitive" title="gtk_action_is_sensitive ()">gtk_action_is_sensitive</a> <span class="c_punctuation">()</span>
|
||||
@ -68,7 +68,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-get-sensitive" title="gtk_action_get_sensitive ()">gtk_action_get_sensitive</a> <span class="c_punctuation">()</span>
|
||||
@ -84,7 +84,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-is-visible" title="gtk_action_is_visible ()">gtk_action_is_visible</a> <span class="c_punctuation">()</span>
|
||||
@ -92,7 +92,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-get-visible" title="gtk_action_get_visible ()">gtk_action_get_visible</a> <span class="c_punctuation">()</span>
|
||||
@ -148,7 +148,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
||||
<span class="returnvalue">GSList</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-get-proxies" title="gtk_action_get_proxies ()">gtk_action_get_proxies</a> <span class="c_punctuation">()</span>
|
||||
@ -188,7 +188,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-get-always-show-image" title="gtk_action_get_always_show_image ()">gtk_action_get_always_show_image</a> <span class="c_punctuation">()</span>
|
||||
@ -203,7 +203,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-get-accel-path" title="gtk_action_get_accel_path ()">gtk_action_get_accel_path</a> <span class="c_punctuation">()</span>
|
||||
@ -219,7 +219,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#GClosure-struct"><span class="returnvalue">GClosure</span></a> *
|
||||
<span class="returnvalue">GClosure</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-get-accel-closure" title="gtk_action_get_accel_closure ()">gtk_action_get_accel_closure</a> <span class="c_punctuation">()</span>
|
||||
@ -242,7 +242,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-get-label" title="gtk_action_get_label ()">gtk_action_get_label</a> <span class="c_punctuation">()</span>
|
||||
@ -257,7 +257,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-get-short-label" title="gtk_action_get_short_label ()">gtk_action_get_short_label</a> <span class="c_punctuation">()</span>
|
||||
@ -272,7 +272,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-get-tooltip" title="gtk_action_get_tooltip ()">gtk_action_get_tooltip</a> <span class="c_punctuation">()</span>
|
||||
@ -287,7 +287,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-get-stock-id" title="gtk_action_get_stock_id ()">gtk_action_get_stock_id</a> <span class="c_punctuation">()</span>
|
||||
@ -318,7 +318,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-get-icon-name" title="gtk_action_get_icon_name ()">gtk_action_get_icon_name</a> <span class="c_punctuation">()</span>
|
||||
@ -334,7 +334,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-get-visible-horizontal" title="gtk_action_get_visible_horizontal ()">gtk_action_get_visible_horizontal</a> <span class="c_punctuation">()</span>
|
||||
@ -350,7 +350,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-get-visible-vertical" title="gtk_action_get_visible_vertical ()">gtk_action_get_visible_vertical</a> <span class="c_punctuation">()</span>
|
||||
@ -366,7 +366,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAction.html#gtk-action-get-is-important" title="gtk_action_get_is_important ()">gtk_action_get_is_important</a> <span class="c_punctuation">()</span>
|
||||
@ -391,7 +391,7 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkAction.html#GtkAction--always-show-image" title="The “always-show-image” property">always-show-image</a></td>
|
||||
<td class="property_flags">Read / Write / Construct</td>
|
||||
</tr>
|
||||
@ -402,73 +402,73 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkAction.html#GtkAction--hide-if-empty" title="The “hide-if-empty” property">hide-if-empty</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAction.html#GtkAction--icon-name" title="The “icon-name” property">icon-name</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkAction.html#GtkAction--is-important" title="The “is-important” property">is-important</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAction.html#GtkAction--label" title="The “label” property">label</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAction.html#GtkAction--name" title="The “name” property">name</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkAction.html#GtkAction--sensitive" title="The “sensitive” property">sensitive</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAction.html#GtkAction--short-label" title="The “short-label” property">short-label</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAction.html#GtkAction--stock-id" title="The “stock-id” property">stock-id</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAction.html#GtkAction--tooltip" title="The “tooltip” property">tooltip</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkAction.html#GtkAction--visible" title="The “visible” property">visible</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkAction.html#GtkAction--visible-horizontal" title="The “visible-horizontal” property">visible-horizontal</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkAction.html#GtkAction--visible-overflown" title="The “visible-overflown” property">visible-overflown</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkAction.html#GtkAction--visible-vertical" title="The “visible-vertical” property">visible-vertical</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -486,7 +486,7 @@
|
||||
<tbody><tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkAction.html#GtkAction-activate" title="The “activate” signal">activate</a></td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-RECURSE:CAPS">No Recursion</a></td>
|
||||
<td class="signal_flags">No Recursion</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
@ -511,7 +511,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkAction.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GtkAction
|
||||
<span class="lineart">├──</span> <a class="link" href="GtkToggleAction.html" title="GtkToggleAction">GtkToggleAction</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkRecentAction.html" title="GtkRecentAction">GtkRecentAction</a>
|
||||
@ -564,7 +564,7 @@ that are always mirrored by proxies are <a class="link" href="GtkAction.html#Gtk
|
||||
<a class="link" href="GtkAction.html#GtkAction--visible" title="The “visible” property"><span class="type">“visible”</span></a>. <a class="link" href="GtkAction.html#GtkAction--gicon" title="The “gicon” property"><span class="type">“gicon”</span></a>, <a class="link" href="GtkAction.html#GtkAction--icon-name" title="The “icon-name” property"><span class="type">“icon-name”</span></a>, <a class="link" href="GtkAction.html#GtkAction--label" title="The “label” property"><span class="type">“label”</span></a>,
|
||||
<a class="link" href="GtkAction.html#GtkAction--short-label" title="The “short-label” property"><span class="type">“short-label”</span></a> and <a class="link" href="GtkAction.html#GtkAction--stock-id" title="The “stock-id” property"><span class="type">“stock-id”</span></a> properties are only mirorred
|
||||
if proxy widget has <a class="link" href="GtkActivatable.html#GtkActivatable--use-action-appearance" title="The “use-action-appearance” property"><span class="type">“use-action-appearance”</span></a> property set to
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
||||
<code class="literal">TRUE</code>.</p>
|
||||
<p>When the proxy is activated, it should activate its action.</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
@ -572,10 +572,10 @@ if proxy widget has <a class="link" href="GtkActivatable.html#GtkActivatable--us
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-new"></a><h3>gtk_action_new ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkAction.html" title="GtkAction"><span class="returnvalue">GtkAction</span></a> *
|
||||
gtk_action_new (<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>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tooltip</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);</pre>
|
||||
gtk_action_new (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *tooltip</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *stock_id</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_new</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use <span class="type">GAction</span> instead, associating it to a widget with
|
||||
@ -603,18 +603,18 @@ names.</p>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>label</p></td>
|
||||
<td class="parameter_description"><p>the label displayed in menu items and on buttons,
|
||||
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>tooltip</p></td>
|
||||
<td class="parameter_description"><p>a tooltip for the action, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>a tooltip for the action, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>stock_id</p></td>
|
||||
<td class="parameter_description"><p>the stock icon to display in widgets representing
|
||||
the action, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
the action, or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -629,7 +629,7 @@ the action, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-get-name"></a><h3>gtk_action_get_name ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_action_get_name (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_get_name</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -661,7 +661,7 @@ be freed.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-is-sensitive"></a><h3>gtk_action_is_sensitive ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_action_is_sensitive (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_is_sensitive</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -686,7 +686,7 @@ instead</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-action-is-sensitive.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the action and its associated action group
|
||||
<p> <code class="literal">TRUE</code> if the action and its associated action group
|
||||
are both sensitive.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.4</p>
|
||||
@ -694,7 +694,7 @@ are both sensitive.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-get-sensitive"></a><h3>gtk_action_get_sensitive ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_action_get_sensitive (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_get_sensitive</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -721,7 +721,7 @@ for that.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-action-get-sensitive.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the action itself is sensitive.</p>
|
||||
<p> <code class="literal">TRUE</code> if the action itself is sensitive.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.4</p>
|
||||
</div>
|
||||
@ -730,7 +730,7 @@ for that.</p>
|
||||
<a name="gtk-action-set-sensitive"></a><h3>gtk_action_set_sensitive ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_action_set_sensitive (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> sensitive</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> sensitive</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_set_sensitive</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use <code class="function">g_simple_action_set_enabled()</code> on a <span class="type">GSimpleAction</span>
|
||||
@ -757,7 +757,7 @@ for that.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>sensitive</p></td>
|
||||
<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 make the action sensitive</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> to make the action sensitive</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -768,7 +768,7 @@ for that.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-is-visible"></a><h3>gtk_action_is_visible ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_action_is_visible (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_is_visible</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -793,7 +793,7 @@ gtk_action_is_visible (<em class="parameter"><code><a class="link" href="GtkActi
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-action-is-visible.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the action and its associated action group
|
||||
<p> <code class="literal">TRUE</code> if the action and its associated action group
|
||||
are both visible.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.4</p>
|
||||
@ -801,7 +801,7 @@ are both visible.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-get-visible"></a><h3>gtk_action_get_visible ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_action_get_visible (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_get_visible</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -828,7 +828,7 @@ for that.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-action-get-visible.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the action itself is visible.</p>
|
||||
<p> <code class="literal">TRUE</code> if the action itself is visible.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.4</p>
|
||||
</div>
|
||||
@ -837,7 +837,7 @@ for that.</p>
|
||||
<a name="gtk-action-set-visible"></a><h3>gtk_action_set_visible ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_action_set_visible (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> visible</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_set_visible</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use <span class="type">GAction</span> instead, and control and monitor the state of
|
||||
@ -864,7 +864,7 @@ for that.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>visible</p></td>
|
||||
<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 make the action visible</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> to make the action visible</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1043,7 +1043,7 @@ instance of that menu.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-action-create-menu.returns"></a><h4>Returns</h4>
|
||||
<p>the menu item provided by the
|
||||
action, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
action, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.12</p>
|
||||
@ -1051,7 +1051,7 @@ action, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macr
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-get-proxies"></a><h3>gtk_action_get_proxies ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GSList</span> *
|
||||
gtk_action_get_proxies (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_action_get_proxies</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p></div>
|
||||
<p>Returns the proxy widgets for an action.
|
||||
@ -1073,7 +1073,7 @@ See also <a class="link" href="GtkActivatable.html#gtk-activatable-get-related-a
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-action-get-proxies.returns"></a><h4>Returns</h4>
|
||||
<p>a <a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> of proxy widgets. The list is owned by GTK+
|
||||
<p>a <span class="type">GSList</span> of proxy widgets. The list is owned by GTK+
|
||||
and must not be modified. </p>
|
||||
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkWidget][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -1207,7 +1207,7 @@ gtk_action_unblock_activate (<em class="parameter"><code><a class="link" href="G
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-get-always-show-image"></a><h3>gtk_action_get_always_show_image ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_action_get_always_show_image (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_get_always_show_image</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -1234,7 +1234,7 @@ show their image, if available.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-action-get-always-show-image.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the menu item proxies will always show their image</p>
|
||||
<p> <code class="literal">TRUE</code> if the menu item proxies will always show their image</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.20</p>
|
||||
</div>
|
||||
@ -1243,7 +1243,7 @@ show their image, if available.</p>
|
||||
<a name="gtk-action-set-always-show-image"></a><h3>gtk_action_set_always_show_image ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_action_set_always_show_image (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> always_show</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> always_show</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_set_always_show_image</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use <code class="function">g_menu_item_set_icon()</code> on a <span class="type">GMenuItem</span> instead, if the
|
||||
@ -1270,7 +1270,7 @@ without their image.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>always_show</p></td>
|
||||
<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 menuitem proxies should always show their image</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> if menuitem proxies should always show their image</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1281,7 +1281,7 @@ without their image.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-get-accel-path"></a><h3>gtk_action_get_accel_path ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_action_get_accel_path (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_get_accel_path</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -1306,7 +1306,7 @@ gtk_action_get_accel_path (<em class="parameter"><code><a class="link" href="Gtk
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-action-get-accel-path.returns"></a><h4>Returns</h4>
|
||||
<p> the accel path for this action, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
||||
<p> the accel path for this action, or <code class="literal">NULL</code>
|
||||
if none is set. The returned string is owned by GTK+
|
||||
and must not be freed or modified.</p>
|
||||
</div>
|
||||
@ -1317,7 +1317,7 @@ and must not be freed or modified.</p>
|
||||
<a name="gtk-action-set-accel-path"></a><h3>gtk_action_set_accel_path ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_action_set_accel_path (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *accel_path</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *accel_path</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_set_accel_path</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use <span class="type">GAction</span> and the accelerator path on an associated
|
||||
@ -1327,9 +1327,9 @@ gtk_action_set_accel_path (<em class="parameter"><code><a class="link" href="Gtk
|
||||
with the action will have this accel path, so that their
|
||||
accelerators are consistent.</p>
|
||||
<p>Note that <em class="parameter"><code>accel_path</code></em>
|
||||
string will be stored in a <a href="https://developer.gnome.org/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>. Therefore, if you
|
||||
string will be stored in a <span class="type">GQuark</span>. Therefore, if you
|
||||
pass a static string, you can save some memory by interning it first with
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Quarks.html#g-intern-static-string"><code class="function">g_intern_static_string()</code></a>.</p>
|
||||
<code class="function">g_intern_static_string()</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-action-set-accel-path.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1357,7 +1357,7 @@ pass a static string, you can save some memory by interning it first with
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-get-accel-closure"></a><h3>gtk_action_get_accel_closure ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#GClosure-struct"><span class="returnvalue">GClosure</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GClosure</span> *
|
||||
gtk_action_get_accel_closure (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_get_accel_closure</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -1418,7 +1418,7 @@ will be installed.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>accel_group</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="gtk3-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</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>
|
||||
<td class="parameter_description"><p>a <a class="link" href="gtk3-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> or <code class="literal">NULL</code>. </p></td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1431,7 +1431,7 @@ will be installed.</p>
|
||||
<a name="gtk-action-set-label"></a><h3>gtk_action_set_label ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_action_set_label (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_set_label</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use <span class="type">GAction</span> instead, and set a label on a menu item with
|
||||
@ -1467,7 +1467,7 @@ API to set a label</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-get-label"></a><h3>gtk_action_get_label ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_action_get_label (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_get_label</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -1503,7 +1503,7 @@ widget-specific API to get a label</p>
|
||||
<a name="gtk-action-set-short-label"></a><h3>gtk_action_set_short_label ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_action_set_short_label (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *short_label</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *short_label</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_set_short_label</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use <span class="type">GAction</span> instead, which has no equivalent of short
|
||||
@ -1538,7 +1538,7 @@ labels</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-get-short-label"></a><h3>gtk_action_get_short_label ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_action_get_short_label (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_get_short_label</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -1573,7 +1573,7 @@ labels</p>
|
||||
<a name="gtk-action-set-tooltip"></a><h3>gtk_action_set_tooltip ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_action_set_tooltip (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tooltip</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *tooltip</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_set_tooltip</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use <span class="type">GAction</span> instead, and set tooltips on associated
|
||||
@ -1608,7 +1608,7 @@ gtk_action_set_tooltip (<em class="parameter"><code><a class="link" href="GtkAct
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-get-tooltip"></a><h3>gtk_action_get_tooltip ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_action_get_tooltip (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_get_tooltip</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -1643,7 +1643,7 @@ gtk_action_get_tooltip (<em class="parameter"><code><a class="link" href="GtkAct
|
||||
<a name="gtk-action-set-stock-id"></a><h3>gtk_action_set_stock_id ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_action_set_stock_id (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *stock_id</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_set_stock_id</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use <span class="type">GAction</span> instead, which has no equivalent of stock
|
||||
@ -1678,7 +1678,7 @@ items</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-get-stock-id"></a><h3>gtk_action_get_stock_id ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_action_get_stock_id (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_get_stock_id</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -1786,7 +1786,7 @@ associated with a <span class="type">GAction</span></p>
|
||||
<a name="gtk-action-set-icon-name"></a><h3>gtk_action_set_icon_name ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_action_set_icon_name (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_set_icon_name</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use <span class="type">GAction</span> instead, and <code class="function">g_menu_item_set_icon()</code> to set an
|
||||
@ -1822,7 +1822,7 @@ add a <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">G
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-get-icon-name"></a><h3>gtk_action_get_icon_name ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_action_get_icon_name (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_get_icon_name</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -1858,7 +1858,7 @@ associated with a <span class="type">GAction</span></p>
|
||||
<a name="gtk-action-set-visible-horizontal"></a><h3>gtk_action_set_visible_horizontal ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_action_set_visible_horizontal (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible_horizontal</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> visible_horizontal</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_set_visible_horizontal</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use <span class="type">GAction</span> instead, and control and monitor the
|
||||
@ -1893,7 +1893,7 @@ visibility of associated widgets and menu items directly</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-get-visible-horizontal"></a><h3>gtk_action_get_visible_horizontal ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_action_get_visible_horizontal (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_get_visible_horizontal</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -1929,7 +1929,7 @@ is visible when horizontal</p>
|
||||
<a name="gtk-action-set-visible-vertical"></a><h3>gtk_action_set_visible_vertical ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_action_set_visible_vertical (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible_vertical</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> visible_vertical</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_set_visible_vertical</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use <span class="type">GAction</span> instead, and control and monitor the
|
||||
@ -1964,7 +1964,7 @@ visibility of associated widgets and menu items directly</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-get-visible-vertical"></a><h3>gtk_action_get_visible_vertical ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_action_get_visible_vertical (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_get_visible_vertical</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -2000,7 +2000,7 @@ is visible when horizontal</p>
|
||||
<a name="gtk-action-set-is-important"></a><h3>gtk_action_set_is_important ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_action_set_is_important (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_important</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> is_important</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_set_is_important</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use <span class="type">GAction</span> instead, and control and monitor whether
|
||||
@ -2025,7 +2025,7 @@ or not.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>is_important</p></td>
|
||||
<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 make the action important</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> to make the action important</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -2036,7 +2036,7 @@ or not.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-action-get-is-important"></a><h3>gtk_action_get_is_important ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_action_get_is_important (<em class="parameter"><code><a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_action_get_is_important</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -2119,8 +2119,8 @@ instead</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAction--always-show-image"></a><h3>The <code class="literal">“always-show-image”</code> property</h3>
|
||||
<pre class="programlisting"> “always-show-image” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the action's menu item proxies will ignore the <a class="link" href="GtkSettings.html#GtkSettings--gtk-menu-images" title="The “gtk-menu-images” property"><span class="type">“gtk-menu-images”</span></a>
|
||||
<pre class="programlisting"> “always-show-image” <span class="type">gboolean</span></pre>
|
||||
<p>If <code class="literal">TRUE</code>, the action's menu item proxies will ignore the <a class="link" href="GtkSettings.html#GtkSettings--gtk-menu-images" title="The “gtk-menu-images” property"><span class="type">“gtk-menu-images”</span></a>
|
||||
|
||||
setting and always show their image, if available.</p>
|
||||
<p>Use this property if the menu item would be useless or hard to use
|
||||
@ -2144,7 +2144,7 @@ without their image.</p>
|
||||
property holds the id of an existing stock icon.</p>
|
||||
<p>This is an appearance property and thus only applies if
|
||||
|
||||
<a class="link" href="GtkActivatable.html#GtkActivatable--use-action-appearance" title="The “use-action-appearance” property"><span class="type">“use-action-appearance”</span></a> is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
||||
<a class="link" href="GtkActivatable.html#GtkActivatable--use-action-appearance" title="The “use-action-appearance” property"><span class="type">“use-action-appearance”</span></a> is <code class="literal">TRUE</code>.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkAction:gicon</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use the "icon" attribute on a <span class="type">GMenuItem</span> instead</p>
|
||||
@ -2155,7 +2155,7 @@ property holds the id of an existing stock icon.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAction--hide-if-empty"></a><h3>The <code class="literal">“hide-if-empty”</code> property</h3>
|
||||
<pre class="programlisting"> “hide-if-empty” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “hide-if-empty” <span class="type">gboolean</span></pre>
|
||||
<p>When TRUE, empty menu proxies for this action are hidden.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkAction:hide-if-empty</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -2168,7 +2168,7 @@ property holds the id of an existing stock icon.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAction--icon-name"></a><h3>The <code class="literal">“icon-name”</code> property</h3>
|
||||
<pre class="programlisting"> “icon-name” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “icon-name” <span class="type">gchar</span> *</pre>
|
||||
<p>The name of the icon from the icon theme. </p>
|
||||
<p>Note that the stock icon is preferred, if the <a class="link" href="GtkAction.html#GtkAction--stock-id" title="The “stock-id” property"><span class="type">“stock-id”</span></a>
|
||||
|
||||
@ -2176,7 +2176,7 @@ property holds the id of an existing stock icon, and the <span class="type">GIco
|
||||
preferred if the <a class="link" href="GtkAction.html#GtkAction--gicon" title="The “gicon” property"><span class="type">“gicon”</span></a> property is set. </p>
|
||||
<p>This is an appearance property and thus only applies if
|
||||
|
||||
<a class="link" href="GtkActivatable.html#GtkActivatable--use-action-appearance" title="The “use-action-appearance” property"><span class="type">“use-action-appearance”</span></a> is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
||||
<a class="link" href="GtkActivatable.html#GtkActivatable--use-action-appearance" title="The “use-action-appearance” property"><span class="type">“use-action-appearance”</span></a> is <code class="literal">TRUE</code>.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkAction:icon-name</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use the "icon" attribute on a <span class="type">GMenuItem</span> instead</p>
|
||||
@ -2188,7 +2188,7 @@ preferred if the <a class="link" href="GtkAction.html#GtkAction--gicon" title="T
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAction--is-important"></a><h3>The <code class="literal">“is-important”</code> property</h3>
|
||||
<pre class="programlisting"> “is-important” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “is-important” <span class="type">gboolean</span></pre>
|
||||
<p>Whether the action is considered important. When TRUE, toolitem
|
||||
proxies for this action show text in GTK_TOOLBAR_BOTH_HORIZ mode.</p>
|
||||
<div class="warning">
|
||||
@ -2202,14 +2202,14 @@ proxies for this action show text in GTK_TOOLBAR_BOTH_HORIZ mode.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAction--label"></a><h3>The <code class="literal">“label”</code> property</h3>
|
||||
<pre class="programlisting"> “label” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “label” <span class="type">gchar</span> *</pre>
|
||||
<p>The label used for menu items and buttons that activate
|
||||
this action. If the label is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, GTK+ uses the stock
|
||||
this action. If the label is <code class="literal">NULL</code>, GTK+ uses the stock
|
||||
|
||||
label specified via the stock-id property.</p>
|
||||
<p>This is an appearance property and thus only applies if
|
||||
|
||||
<a class="link" href="GtkActivatable.html#GtkActivatable--use-action-appearance" title="The “use-action-appearance” property"><span class="type">“use-action-appearance”</span></a> is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
||||
<a class="link" href="GtkActivatable.html#GtkActivatable--use-action-appearance" title="The “use-action-appearance” property"><span class="type">“use-action-appearance”</span></a> is <code class="literal">TRUE</code>.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkAction:label</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use the "label" attribute on <span class="type">GMenuItem</span> instead</p>
|
||||
@ -2220,7 +2220,7 @@ label specified via the stock-id property.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAction--name"></a><h3>The <code class="literal">“name”</code> property</h3>
|
||||
<pre class="programlisting"> “name” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “name” <span class="type">gchar</span> *</pre>
|
||||
<p>A unique name for the action.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkAction:name</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -2232,7 +2232,7 @@ label specified via the stock-id property.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAction--sensitive"></a><h3>The <code class="literal">“sensitive”</code> property</h3>
|
||||
<pre class="programlisting"> “sensitive” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “sensitive” <span class="type">gboolean</span></pre>
|
||||
<p>Whether the action is enabled.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkAction:sensitive</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -2245,11 +2245,11 @@ instead</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAction--short-label"></a><h3>The <code class="literal">“short-label”</code> property</h3>
|
||||
<pre class="programlisting"> “short-label” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “short-label” <span class="type">gchar</span> *</pre>
|
||||
<p>A shorter label that may be used on toolbar buttons.</p>
|
||||
<p>This is an appearance property and thus only applies if
|
||||
|
||||
<a class="link" href="GtkActivatable.html#GtkActivatable--use-action-appearance" title="The “use-action-appearance” property"><span class="type">“use-action-appearance”</span></a> is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
||||
<a class="link" href="GtkActivatable.html#GtkActivatable--use-action-appearance" title="The “use-action-appearance” property"><span class="type">“use-action-appearance”</span></a> is <code class="literal">TRUE</code>.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkAction:short-label</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>There is no corresponding replacement when using
|
||||
@ -2261,11 +2261,11 @@ instead</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAction--stock-id"></a><h3>The <code class="literal">“stock-id”</code> property</h3>
|
||||
<pre class="programlisting"> “stock-id” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “stock-id” <span class="type">gchar</span> *</pre>
|
||||
<p>The stock icon displayed in widgets representing this action.</p>
|
||||
<p>This is an appearance property and thus only applies if
|
||||
|
||||
<a class="link" href="GtkActivatable.html#GtkActivatable--use-action-appearance" title="The “use-action-appearance” property"><span class="type">“use-action-appearance”</span></a> is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
||||
<a class="link" href="GtkActivatable.html#GtkActivatable--use-action-appearance" title="The “use-action-appearance” property"><span class="type">“use-action-appearance”</span></a> is <code class="literal">TRUE</code>.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkAction:stock-id</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>There is no corresponding replacement when using
|
||||
@ -2277,7 +2277,7 @@ instead</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAction--tooltip"></a><h3>The <code class="literal">“tooltip”</code> property</h3>
|
||||
<pre class="programlisting"> “tooltip” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “tooltip” <span class="type">gchar</span> *</pre>
|
||||
<p>A tooltip for this action.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkAction:tooltip</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -2289,7 +2289,7 @@ instead</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAction--visible"></a><h3>The <code class="literal">“visible”</code> property</h3>
|
||||
<pre class="programlisting"> “visible” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “visible” <span class="type">gboolean</span></pre>
|
||||
<p>Whether the action is visible.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkAction:visible</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -2302,7 +2302,7 @@ instead</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAction--visible-horizontal"></a><h3>The <code class="literal">“visible-horizontal”</code> property</h3>
|
||||
<pre class="programlisting"> “visible-horizontal” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “visible-horizontal” <span class="type">gboolean</span></pre>
|
||||
<p>Whether the toolbar item is visible when the toolbar is in a horizontal orientation.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkAction:visible-horizontal</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -2315,8 +2315,8 @@ instead</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAction--visible-overflown"></a><h3>The <code class="literal">“visible-overflown”</code> property</h3>
|
||||
<pre class="programlisting"> “visible-overflown” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>When <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, toolitem proxies for this action are represented in the
|
||||
<pre class="programlisting"> “visible-overflown” <span class="type">gboolean</span></pre>
|
||||
<p>When <code class="literal">TRUE</code>, toolitem proxies for this action are represented in the
|
||||
|
||||
toolbar overflow menu.</p>
|
||||
<div class="warning">
|
||||
@ -2331,7 +2331,7 @@ toolbar overflow menu.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAction--visible-vertical"></a><h3>The <code class="literal">“visible-vertical”</code> property</h3>
|
||||
<pre class="programlisting"> “visible-vertical” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “visible-vertical” <span class="type">gboolean</span></pre>
|
||||
<p>Whether the toolbar item is visible when the toolbar is in a vertical orientation.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkAction:visible-vertical</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -2348,7 +2348,7 @@ toolbar overflow menu.</p>
|
||||
<a name="GtkAction-activate"></a><h3>The <code class="literal">“activate”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkAction.html" title="GtkAction"><span class="type">GtkAction</span></a> *action,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The "activate" signal is emitted when the action is activated.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkAction::activate</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
@ -2376,7 +2376,7 @@ user_function (<a class="link" href="GtkAction.html" title="GtkAction"><span cla
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-RECURSE:CAPS">No Recursion</a></p>
|
||||
<p>Flags: No Recursion</p>
|
||||
<p class="since">Since: 2.4</p>
|
||||
</div>
|
||||
</div>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user