New upstream version 3.24.35
This commit is contained in:
commit
3d912405b7
6
INSTALL
6
INSTALL
@ -4,7 +4,7 @@ Prerequisites
|
|||||||
GTK+ requires the following packages:
|
GTK+ requires the following packages:
|
||||||
|
|
||||||
- The GLib, Pango, GdkPixbuf, ATK and cairo libraries, available at
|
- The GLib, Pango, GdkPixbuf, ATK and cairo libraries, available at
|
||||||
the same location as GTK+. GTK+ 3.24.34 requires at least
|
the same location as GTK+. GTK+ 3.24.35 requires at least
|
||||||
GLib 2.57.2, Pango 1.41.0,
|
GLib 2.57.2, Pango 1.41.0,
|
||||||
GdkPixbuf 2.30.0, ATK 2.32.0
|
GdkPixbuf 2.30.0, ATK 2.32.0
|
||||||
and cairo 1.14.0.
|
and cairo 1.14.0.
|
||||||
@ -22,8 +22,8 @@ GTK+ requires the following packages:
|
|||||||
Simple install procedure
|
Simple install procedure
|
||||||
========================
|
========================
|
||||||
|
|
||||||
% tar xf gtk+-3.24.34.tar.xz # unpack the sources
|
% tar xf gtk+-3.24.35.tar.xz # unpack the sources
|
||||||
% cd gtk+-3.24.34 # change to the toplevel directory
|
% cd gtk+-3.24.35 # change to the toplevel directory
|
||||||
% ./configure # run the `configure' script
|
% ./configure # run the `configure' script
|
||||||
% make # build GTK+
|
% make # build GTK+
|
||||||
[ Become root if necessary ]
|
[ Become root if necessary ]
|
||||||
|
@ -15,7 +15,7 @@ EXTRA_DIST += \
|
|||||||
INSTALL.in \
|
INSTALL.in \
|
||||||
NEWS.pre-1-0 \
|
NEWS.pre-1-0 \
|
||||||
README.commits \
|
README.commits \
|
||||||
README.win32 \
|
README.win32.md \
|
||||||
check-version.py \
|
check-version.py \
|
||||||
config.h.win32 \
|
config.h.win32 \
|
||||||
makefile.msc \
|
makefile.msc \
|
||||||
|
@ -324,6 +324,7 @@ ETAGS = @ETAGS@
|
|||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||||
GDK_BACKENDS = @GDK_BACKENDS@
|
GDK_BACKENDS = @GDK_BACKENDS@
|
||||||
@ -540,7 +541,7 @@ GTESTER_REPORT = gtester-report # in $PATH for non-GLIB packages
|
|||||||
|
|
||||||
# initialize variables for unconditional += appending
|
# initialize variables for unconditional += appending
|
||||||
EXTRA_DIST = autogen.sh HACKING README README.in INSTALL INSTALL.in \
|
EXTRA_DIST = autogen.sh HACKING README README.in INSTALL INSTALL.in \
|
||||||
NEWS.pre-1-0 README.commits README.win32 check-version.py \
|
NEWS.pre-1-0 README.commits README.win32.md check-version.py \
|
||||||
config.h.win32 makefile.msc gtk-zip.sh.in sanitize-la.sh \
|
config.h.win32 makefile.msc gtk-zip.sh.in sanitize-la.sh \
|
||||||
po/README.translators po/po2tbl.sed.in make-pot \
|
po/README.translators po/po2tbl.sed.in make-pot \
|
||||||
meson_options.txt meson.build po/meson.build \
|
meson_options.txt meson.build po/meson.build \
|
||||||
|
53
NEWS
53
NEWS
@ -1,3 +1,56 @@
|
|||||||
|
Overview of Changes in GTK+ 3.24.35, 11-22-2022
|
||||||
|
===============================================
|
||||||
|
|
||||||
|
* GtkFontChooserWidget:
|
||||||
|
- Fix a critical
|
||||||
|
|
||||||
|
* GtkAccelLabel:
|
||||||
|
- Differentiate keypad keysyms in accelerators
|
||||||
|
|
||||||
|
* Input:
|
||||||
|
- Recognize stylus devices as pens
|
||||||
|
- Fix problems with motion compression
|
||||||
|
|
||||||
|
* Windows:
|
||||||
|
- Build system improvements
|
||||||
|
|
||||||
|
* Wayland:
|
||||||
|
- Fix problems with unreliable DND
|
||||||
|
- Use GLES if required
|
||||||
|
- Add support for titlebar gestures
|
||||||
|
- Refactor handling of IM client updates
|
||||||
|
- Fix cursor hotspots with scaled surfaces
|
||||||
|
- Use the xdg-activation protocol
|
||||||
|
- Load cursors on demand
|
||||||
|
- Fix cursor size on hi-dpi displays
|
||||||
|
|
||||||
|
* MacOS:
|
||||||
|
- Use a CVDisplayLink based frame clock
|
||||||
|
|
||||||
|
- Translation updates:
|
||||||
|
Abkhazian
|
||||||
|
Bulgarian
|
||||||
|
Catalan
|
||||||
|
Chinese (Taiwan)
|
||||||
|
Croatian
|
||||||
|
Dutch
|
||||||
|
Friulian
|
||||||
|
Georgian
|
||||||
|
German
|
||||||
|
Hungarian
|
||||||
|
Indonesian
|
||||||
|
Occitan
|
||||||
|
Persian
|
||||||
|
Portuguese
|
||||||
|
Polish
|
||||||
|
Russian
|
||||||
|
Serbian
|
||||||
|
Slovenian
|
||||||
|
Swedish
|
||||||
|
Turkish
|
||||||
|
Ukrainian
|
||||||
|
|
||||||
|
|
||||||
Overview of Changes in GTK+ 3.24.34, 05-18-2022
|
Overview of Changes in GTK+ 3.24.34, 05-18-2022
|
||||||
===============================================
|
===============================================
|
||||||
|
|
||||||
|
2
README
2
README
@ -1,7 +1,7 @@
|
|||||||
General Information
|
General Information
|
||||||
===================
|
===================
|
||||||
|
|
||||||
This is GTK+ version 3.24.34. GTK+ is a multi-platform toolkit for
|
This is GTK+ version 3.24.35. GTK+ is a multi-platform toolkit for
|
||||||
creating graphical user interfaces. Offering a complete set of widgets,
|
creating graphical user interfaces. Offering a complete set of widgets,
|
||||||
GTK+ is suitable for projects ranging from small one-off projects to
|
GTK+ is suitable for projects ranging from small one-off projects to
|
||||||
complete application suites.
|
complete application suites.
|
||||||
|
375
README.win32
375
README.win32
@ -1,375 +0,0 @@
|
|||||||
The Win32 backend in GTK+ is not as stable or correct as the X11 one.
|
|
||||||
|
|
||||||
For prebuilt runtime and developer packages see
|
|
||||||
http://ftp.gnome.org/pub/gnome/binaries/win32/
|
|
||||||
|
|
||||||
Building GTK+ on Win32
|
|
||||||
======================
|
|
||||||
|
|
||||||
First you obviously need developer packages for the compile-time
|
|
||||||
dependencies: GDK-Pixbuf, Pango, atk, glib, gettext-runtime, libiconv at least.
|
|
||||||
See http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies .
|
|
||||||
|
|
||||||
For people compiling GTK+ with Visual C++ or later, it is recommended that
|
|
||||||
the same compiler is used for at least GDK-Pixbuf, Pango, atk and glib
|
|
||||||
so that crashes and errors caused by different CRTs can be avoided. Currently
|
|
||||||
building with Visual Studio 2008 or later is supported, either via Visual Studio
|
|
||||||
project files or via the Meson build system, as described in the below sections.
|
|
||||||
For Visual Studio 2008, 2010, a special setup making use of the Windows 8.0 SDK
|
|
||||||
is required, see at the bottom of this document for guidance.
|
|
||||||
Interchanging between Visual Studio 2015, 2017 and 2019 builds should be fine
|
|
||||||
as they use the same CRT (UCRT) DLLs.
|
|
||||||
|
|
||||||
After installing the dependencies, there are two ways to build GTK+
|
|
||||||
for win32.
|
|
||||||
|
|
||||||
1) GNU tools, ./configure && make install
|
|
||||||
-----------------------------------------
|
|
||||||
|
|
||||||
This requires you have mingw and MSYS.
|
|
||||||
|
|
||||||
Use the configure script, and the resulting Makefiles (which use
|
|
||||||
libtool and gcc to do the compilation). I use this myself, but it can
|
|
||||||
be hard to setup correctly.
|
|
||||||
|
|
||||||
The full script I run to build GTK+ 2.16 unpacked from a source
|
|
||||||
distribution is as below. This is from bulding GTK+ 2.16.5. I don't
|
|
||||||
use any script like this to build the development branch, as I don't
|
|
||||||
distribute any binaries from development branches.
|
|
||||||
|
|
||||||
# This is a shell script that calls functions and scripts from
|
|
||||||
# tml@iki.fi's personal work envíronment. It is not expected to be
|
|
||||||
# usable unmodified by others, and is included only for reference.
|
|
||||||
|
|
||||||
MOD=gtk+
|
|
||||||
VER=2.16.5
|
|
||||||
REV=1
|
|
||||||
ARCH=win32
|
|
||||||
|
|
||||||
THIS=${MOD}_${VER}-${REV}_${ARCH}
|
|
||||||
|
|
||||||
RUNZIP=${MOD}_${VER}-${REV}_${ARCH}.zip
|
|
||||||
DEVZIP=${MOD}-dev_${VER}-${REV}_${ARCH}.zip
|
|
||||||
|
|
||||||
HEX=`echo $THIS | md5sum | cut -d' ' -f1`
|
|
||||||
TARGET=c:/devel/target/$HEX
|
|
||||||
|
|
||||||
usedev
|
|
||||||
usemsvs6
|
|
||||||
|
|
||||||
(
|
|
||||||
|
|
||||||
set -x
|
|
||||||
|
|
||||||
DEPS=`latest --arch=${ARCH} glib atk cairo pango libpng zlib libtiff jpeg`
|
|
||||||
PROXY_LIBINTL=`latest --arch=${ARCH} proxy-libintl`
|
|
||||||
|
|
||||||
PKG_CONFIG_PATH=
|
|
||||||
for D in $DEPS; do
|
|
||||||
PATH=/devel/dist/${ARCH}/$D/bin:$PATH
|
|
||||||
[ -d /devel/dist/${ARCH}/$D/lib/pkgconfig ] && PKG_CONFIG_PATH=/devel/dist/${ARCH}/$D/lib/pkgconfig:$PKG_CONFIG_PATH
|
|
||||||
done
|
|
||||||
|
|
||||||
LIBPNG=`latest --arch=${ARCH} libpng`
|
|
||||||
ZLIB=`latest --arch=${ARCH} zlib`
|
|
||||||
LIBTIFF=`latest --arch=${ARCH} libtiff`
|
|
||||||
JPEG=`latest --arch=${ARCH} jpeg`
|
|
||||||
|
|
||||||
patch -p0 <<'EOF'
|
|
||||||
EOF
|
|
||||||
|
|
||||||
lt_cv_deplibs_check_method='pass_all' \
|
|
||||||
CC='gcc -mtune=pentium3 -mthreads' \
|
|
||||||
CPPFLAGS="-I/devel/dist/${ARCH}/${LIBPNG}/include \
|
|
||||||
-I/devel/dist/${ARCH}/${ZLIB}/include \
|
|
||||||
-I/devel/dist/${ARCH}/${LIBTIFF}/include \
|
|
||||||
-I/devel/dist/${ARCH}/${JPEG}/include \
|
|
||||||
-I/devel/dist/${ARCH}/${PROXY_LIBINTL}/include" \
|
|
||||||
LDFLAGS="-L/devel/dist/${ARCH}/${LIBPNG}/lib \
|
|
||||||
-L/devel/dist/${ARCH}/${ZLIB}/lib \
|
|
||||||
-L/devel/dist/${ARCH}/${LIBTIFF}/lib \
|
|
||||||
-L/devel/dist/${ARCH}/${JPEG}/lib \
|
|
||||||
-L/devel/dist/${ARCH}/${PROXY_LIBINTL}/lib -Wl,--exclude-libs=libintl.a \
|
|
||||||
-Wl,--enable-auto-image-base" \
|
|
||||||
LIBS=-lintl \
|
|
||||||
CFLAGS=-O2 \
|
|
||||||
./configure \
|
|
||||||
--enable-win32-backend \
|
|
||||||
--disable-gdiplus \
|
|
||||||
--with-included-immodules \
|
|
||||||
--without-libjasper \
|
|
||||||
--enable-debug=yes \
|
|
||||||
--enable-explicit-deps=no \
|
|
||||||
--disable-gtk-doc \
|
|
||||||
--disable-static \
|
|
||||||
--prefix=$TARGET &&
|
|
||||||
|
|
||||||
libtoolcacheize &&
|
|
||||||
rm gtk/gtk.def &&
|
|
||||||
(PATH="$PWD/gdk-pixbuf/.libs:/devel/target/$HEX/bin:$PATH" make -j3 install || (rm .libtool-cache* && PATH="/devel/target/$HEX/bin:$PATH" make -j3 install)) &&
|
|
||||||
|
|
||||||
PATH="/devel/target/$HEX/bin:$PATH" gdk-pixbuf-query-loaders >/devel/target/$HEX/etc/gtk-2.0/gdk-pixbuf.loaders &&
|
|
||||||
|
|
||||||
grep -v -E 'Automatically generated|Created by|LoaderDir =' <$TARGET/etc/gtk-2.0/gdk-pixbuf.loaders >$TARGET/etc/gtk-2.0/gdk-pixbuf.loaders.temp &&
|
|
||||||
mv $TARGET/etc/gtk-2.0/gdk-pixbuf.loaders.temp $TARGET/etc/gtk-2.0/gdk-pixbuf.loaders &&
|
|
||||||
grep -v -E 'Automatically generated|Created by|ModulesPath =' <$TARGET/etc/gtk-2.0/gtk.immodules >$TARGET/etc/gtk-2.0/gtk.immodules.temp &&
|
|
||||||
mv $TARGET/etc/gtk-2.0/gtk.immodules.temp $TARGET/etc/gtk-2.0/gtk.immodules &&
|
|
||||||
|
|
||||||
./gtk-zip.sh &&
|
|
||||||
|
|
||||||
mv /tmp/${MOD}-${VER}.zip /tmp/$RUNZIP &&
|
|
||||||
mv /tmp/${MOD}-dev-${VER}.zip /tmp/$DEVZIP
|
|
||||||
|
|
||||||
) 2>&1 | tee /devel/src/tml/packaging/$THIS.log
|
|
||||||
|
|
||||||
(cd /devel && zip /tmp/$DEVZIP src/tml/packaging/$THIS.{sh,log}) &&
|
|
||||||
manifestify /tmp/$RUNZIP /tmp/$DEVZIP
|
|
||||||
|
|
||||||
You should not just copy the above blindly. There are some things in
|
|
||||||
the script that are very specific to *my* build setup on *my* current
|
|
||||||
machine. For instance the "latest" command, the "usedev" and
|
|
||||||
"usemsvs6" shell functions, the /devel/dist folder. The above script
|
|
||||||
is really just meant for reference, to give an idea. You really need
|
|
||||||
to understand what things like PKG_CONFIG_PATH are and set them up
|
|
||||||
properly after installing the dependencies before building GTK+.
|
|
||||||
|
|
||||||
As you see above, after running configure, one can just say "make
|
|
||||||
install", like on Unix. A post-build fix is needed, running
|
|
||||||
gdk-pixbuf-query-loaders once more to get a correct gdk-pixbuf.loaders
|
|
||||||
file.
|
|
||||||
|
|
||||||
For a 64-bit build you need to remove the gtk/gtk.def file and let it
|
|
||||||
be regenerated by the makefilery. This is because the 64-bit GTK dll
|
|
||||||
has a slightly different list of exported function names. This is on
|
|
||||||
purpose and not a bug. The API is the same at the source level, and
|
|
||||||
the same #defines of some function names to actually have a _utf8
|
|
||||||
suffix is used (just to keep the header simpler). But the
|
|
||||||
corresponding non-suffixed function to maintain ABI stability are not
|
|
||||||
needed in the 64-bit case (because there are no older EXEs around that
|
|
||||||
would require such for ABI stability).
|
|
||||||
|
|
||||||
|
|
||||||
2) Microsoft's tools
|
|
||||||
--------------------
|
|
||||||
|
|
||||||
There are VS 2008~2019 solution and project files to build GTK+, which
|
|
||||||
are maintained by Chun-wei Fan. They should build GTK+ out of the box,
|
|
||||||
provided that the afore-mentioned dependencies are installed. They will
|
|
||||||
build GDK with the Win32 backend, GTK+ itself (with GAIL/a11y built in),
|
|
||||||
the GAIL-Util library and the gtk-demo program. Please also refer to the
|
|
||||||
README file(s) that reside in win32 on how to enable additional features
|
|
||||||
that are not enabled by default, such as EGL support via libANGLE, which
|
|
||||||
emulate the GL/EGL calls using Direct3D 9/11.
|
|
||||||
|
|
||||||
Please refer to the following GNOME Live! page for a more detailed ouline
|
|
||||||
on the process of building the GTK+ stack and its dependencies with Visual
|
|
||||||
C++:
|
|
||||||
|
|
||||||
https://wiki.gnome.org/Projects/GTK+/Win32/MSVCCompilationOfGTKStack
|
|
||||||
|
|
||||||
Alternative 1 also generates Microsoft import libraries (.lib), if you
|
|
||||||
have lib.exe available. It might also work for cross-compilation from
|
|
||||||
Unix.
|
|
||||||
|
|
||||||
I (Tor) use method 1 myself. Hans Breuer has been taking care of the MSVC
|
|
||||||
makefiles. At times, we disagree a bit about various issues, and for
|
|
||||||
instance the makefile.msc files might not produce identically named
|
|
||||||
DLLs and import libraries as the "autoconfiscated" makefiles and
|
|
||||||
libtool do. If this bothers you, you will have to fix the makefiles.
|
|
||||||
|
|
||||||
If desiring to build binaries for ARM64 (aarch64), one needs to use the
|
|
||||||
Visual Studio 2017 or 2019 solution files, or use Meson with a
|
|
||||||
cross-compilation file, with a Windows 10 SDK that supports ARM64
|
|
||||||
builds. At this point, building the introspection files is not supported
|
|
||||||
for ARM64 builds, and you will need a Python interpreter and
|
|
||||||
glib-compile-resources binaries that run on the build machine. For Visual Studio
|
|
||||||
2017 ARM64 builds, do also check the Directory.Build.props file in $(srcroot)/win32/vs15
|
|
||||||
indicates a Windows 10 SDK version that supports ARM64 builds exists on the build machine.
|
|
||||||
|
|
||||||
For building ARM64 binaries with the Visual Studio projects, prior to the build,
|
|
||||||
you may need to update gtk3-gen-srcs.props to pass in the variables GLIB_MKENUMS,
|
|
||||||
GLIB_GENMARSHAL, GDBUS_CODEGEN and/or GLIB_COMPILE_RESOURCES in the nmake command line
|
|
||||||
indicated by <GenerateRequiredSourcesBase> so that they point to the glib-mkenums,
|
|
||||||
glib-genmarshal, gdbus-codegen and glib-compile-resources that will run on the build
|
|
||||||
machine. You may also need to update gtk3-version-paths.props to update PythonDir to
|
|
||||||
the installation of the Python interpreter that will run on the build machine. To carry
|
|
||||||
out the actual build using the solution files, use the "Configuration Manager" to add the
|
|
||||||
ARM64 build configs by copying the settings from the x64 configs, and then build the solution.
|
|
||||||
The build instructions for such builds otherwise follow the standard Win32 (x86) and
|
|
||||||
x64 builds, but you need to ensure that you have ARM64 builds of the various dependencies.
|
|
||||||
|
|
||||||
3) Using Meson (for Visual Studio and MinGW builds)
|
|
||||||
---
|
|
||||||
|
|
||||||
Meson can now be used to build GTK+-3.x with either MinGW or Visual Studio.
|
|
||||||
You will need the following items in addition to all the dependencies
|
|
||||||
listed above:
|
|
||||||
|
|
||||||
- Python 3.5 or later
|
|
||||||
- Meson build system, 0.48.0 or later
|
|
||||||
- Ninja (if not using the Visual Studio project generator for
|
|
||||||
Visual Studio 2010, 2015, 2017, 2019)
|
|
||||||
- CMake (optional, used for dependency searching)
|
|
||||||
- pkg-config (optional, or some compatible tool, highly recommended)
|
|
||||||
|
|
||||||
For all Windows builds, note that unless -Dbuiltin_immodules=no is specified,
|
|
||||||
the input modules (immodules) are built directly into the GTK DLL.
|
|
||||||
|
|
||||||
For building with Meson using Visual Studio, do the following:
|
|
||||||
|
|
||||||
Create an empty build directory somewhere that is on the same drive
|
|
||||||
as the source tree, and launch the Visual Studio command prompt that
|
|
||||||
matches the build configuration (Visual Studio version and architecture),
|
|
||||||
and run the following:
|
|
||||||
|
|
||||||
- Ensure that both the installation directory of Python and its script
|
|
||||||
directory is in your PATH, as well as the Ninja, CMake and pkg-config
|
|
||||||
executables (if used). If a pkg-config compatible drop-in replacement
|
|
||||||
tool is being used, ensure that PKG_CONFIG is set to point to the
|
|
||||||
executable of that tool as well.
|
|
||||||
|
|
||||||
- For non-GNOME dependencies (such as Cairo and Harfbuzz), where pkg-config
|
|
||||||
files or CMake files could not be properly located, set INCLUDE and LIB
|
|
||||||
to ensure that their header files and .lib files can be found respectively.
|
|
||||||
The DLLs of those dependencies should also be in the PATH during the build
|
|
||||||
as well, especially if introspection files are to be built.
|
|
||||||
|
|
||||||
- For GNOME dependencies, the pkg-config files for those dependencies should
|
|
||||||
be searchable by pkg-config (or a compatible tool). Verify this by running
|
|
||||||
$(PKG_CONFIG) --modversion <dependency>.
|
|
||||||
|
|
||||||
- Run the following:
|
|
||||||
meson <path_to_directory_of_this_file> --buildtype=... --prefix=...,
|
|
||||||
where buildtype can be release, debugoptimized, debug or plain. Please
|
|
||||||
refer to the Meson documentation for more details. You may also wish to
|
|
||||||
pass in -Dbroadway_backend=true if building the Broadway GDK backend is
|
|
||||||
desired, and/or pass in -Dbuiltin_immodules=no to build the immodules as
|
|
||||||
standalone DLLs that can be loaded by GTK dynamically. For Visual Studio
|
|
||||||
2010, 2015, 2017 and 2019 builds, you may pass in --backend=vs to generate
|
|
||||||
Visual Studio project files to be used to carry out the builds.
|
|
||||||
|
|
||||||
If you are building with Visual Studio 2008, note the following items as well:
|
|
||||||
|
|
||||||
- For x64 builds, the compiler may hang when building the certain files, due
|
|
||||||
to optimization issues in the compiler. If this happens, use the Windows
|
|
||||||
Task Manager and terminate all cl.exe processes, and the build will fail
|
|
||||||
with the source files that did not finish compiling due to the hang.
|
|
||||||
Look for them in build.ninja in the build directory, and change their compiler
|
|
||||||
flag "/O2" to "/O1", and the compilation and linking should proceed normally.
|
|
||||||
At this time of writing, the following files are known to cause this hang:
|
|
||||||
|
|
||||||
gtk\gtkfilechoosernativewin32.c
|
|
||||||
gtk\gtkfilesystemmodel.c
|
|
||||||
gtk\gtktextsegment.c
|
|
||||||
gtk\gtktextbtree.c
|
|
||||||
gtk\gtkrbtree.c
|
|
||||||
testsuite\gtk\treemodel.c
|
|
||||||
testsuite\gtk\textbuffer.c
|
|
||||||
testsuite\gtk\rbtree.c
|
|
||||||
testsuite\gtk\icontheme.c
|
|
||||||
|
|
||||||
- Upon running install (via "ninja install"), it is likely that
|
|
||||||
gtk-query-immodules-3.0.exe will fail to run as it cannot find msvcr90.dll or
|
|
||||||
msvcr90D.dll. You can ignore this if you did not specify -Dbuiltin_immodules=no
|
|
||||||
when configuring via Meson. If -Dbuiltin_immodules=no is specified, you need to
|
|
||||||
run the following after embedding the manifests as outlined in the next point:
|
|
||||||
|
|
||||||
<gtk_install_prefix>\bin\gtk-query-immodules-3.0.exe > <gtk_install_prefix>\lib\gtk-3.0\3.0.0\immodules.cache
|
|
||||||
|
|
||||||
- You will need to run the following upon completing install, from the build
|
|
||||||
directory in the Visual Studio 2008/SDK 6.0 command prompt (third line is not
|
|
||||||
needed unless -Dbuiltin_immodules=no is specified) so that the built binaries
|
|
||||||
can run:
|
|
||||||
|
|
||||||
for /r %f in (*.dll.manifest) do if exist <gtk_install_prefix>\bin\%~nf mt /manifest %f /outputresource:<gtk_install_prefix>\bin\%~nf;2
|
|
||||||
for /r %f in (*.exe.manifest) do if exist <gtk_install_prefix>\bin\%~nf mt /manifest %f /outputresource:<gtk_install_prefix>\bin\%~nf;1
|
|
||||||
for /r %f in (*.dll.manifest) do if exist <gtk_install_prefix>\lib\gtk-3.0\3.0.0\immodules\%~nf mt /manifest %f /outputresource:<gtk_install_prefix>\lib\gtk-3.0\3.0.0\immodules\%~nf;2
|
|
||||||
|
|
||||||
- The more modern visual style for the print dialog is not applied for Visual
|
|
||||||
Studio 2008 builds. Any solutions to this is really appreciated.
|
|
||||||
|
|
||||||
Support for pre-2012 Visual Studio
|
|
||||||
==================================
|
|
||||||
|
|
||||||
This release of GTK+ requires at least the Windows 8.0 SDK in order to be built
|
|
||||||
successfully using Visual Studio, which means that building with Visual Studio
|
|
||||||
2008 or 2010 is possible only with a special setup and must be done in the
|
|
||||||
command line with Ninja. Please see
|
|
||||||
https://devblogs.microsoft.com/cppblog/using-the-windows-software-development-kit-sdk-for-windows-8-consumer-preview-with-visual-studio-2010/
|
|
||||||
for references; basically, assuming that your Windows 8.0 SDK is installed in
|
|
||||||
`C:\Program Files (x86)\Windows Kits\8.0` (`$(WIN8SDKDIR)` in short), you need
|
|
||||||
to ensure the following before invoking Meson to configure the build:
|
|
||||||
|
|
||||||
- Your `%INCLUDE%` must not include the Windows 7.0/7.1 SDK include directories,
|
|
||||||
and `$(WIN8SDKDIR)\include\um`, `$(WIN8SDKDIR)\include\um\share` and
|
|
||||||
`$(WIN8SDKDIR)\include\winrt` (in this order) must be before your stock
|
|
||||||
Visual Studio 2008/2010 header directories. If you have the DirectX SDK installed,
|
|
||||||
you should remove its include directory from your `%INCLUDE%` as well.
|
|
||||||
- You must replace the Windows 7.0/7.1 SDK library directory in `%LIB%` with the
|
|
||||||
Windows 8.0 SDK library directory, i.e. `$(WIN8SDKDIR)\lib\win8\um\[x86|x64]`.
|
|
||||||
If you have the DirectX SDK installed, you should remove its library directory
|
|
||||||
from your `%INCLUDE%` as well.
|
|
||||||
- You must replace the Windows 7.0/7.1 SDK tools directory from your `%PATH%` with
|
|
||||||
the Windows 8.0 SDK tools directory, i.e. `$(WIN8SDKDIR)\bin\[x86|x64]`.
|
|
||||||
If you have the DirectX SDK installed, you should remove its utility directory
|
|
||||||
from your `%PATH%` as well.
|
|
||||||
|
|
||||||
The Windows 8.0 SDK headers may contain an `roapi.h` that cannot be used under plain
|
|
||||||
C, so to remedy that, change the following lines (around lines 55-57):
|
|
||||||
|
|
||||||
// RegisterActivationFactory/RevokeActivationFactory registration cookie
|
|
||||||
typedef struct {} *RO_REGISTRATION_COOKIE;
|
|
||||||
// RegisterActivationFactory/DllGetActivationFactory callback
|
|
||||||
|
|
||||||
to
|
|
||||||
|
|
||||||
// RegisterActivationFactory/RevokeActivationFactory registration cookie
|
|
||||||
#ifdef __cplusplus
|
|
||||||
typedef struct {} *RO_REGISTRATION_COOKIE;
|
|
||||||
#else
|
|
||||||
typedef struct _RO_REGISTRATION_COOKIE *RO_REGISTRATION_COOKIE; /* make this header includable in C files */
|
|
||||||
#endif
|
|
||||||
// RegisterActivationFactory/DllGetActivationFactory callback
|
|
||||||
|
|
||||||
This follows what is done in the Windows 8.1 SDK, which contains an `roapi.h`
|
|
||||||
that is usable under plain C. Please note that you might need to copy that file
|
|
||||||
into a location that is in your `%INCLUDE%` which precedes the include path for the
|
|
||||||
Windows 8.0 SDK headers, if you do not have administrative privileges.
|
|
||||||
|
|
||||||
Visual Studio 2008 hacks
|
|
||||||
========================
|
|
||||||
|
|
||||||
- You need to run the following lines from your build directory, to embed the
|
|
||||||
manifests that are generated during the build, assuming the built binaries
|
|
||||||
are installed to `$(PREFIX)`, after a successful build/installation:
|
|
||||||
|
|
||||||
```cmd
|
|
||||||
> for /r %f in (*.dll.manifest) do if exist $(PREFIX)\bin\%~nf mt /manifest %f (PREFIX)\bin\%~nf;2
|
|
||||||
> for /r %f in (*.exe.manifest) do if exist $(PREFIX)\bin\%~nf mt /manifest %f (PREFIX)\bin\%~nf;1
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
- If building for amd64/x86_64/x64, sometimes the compilation of sources may seem to hang, which
|
|
||||||
is caused by an optimization issue in the 2008 x64 compiler. You need to use Task Manager to
|
|
||||||
remove all running instances of `cl.exe`, which will cause the build process to terminate. Update
|
|
||||||
the build flags of the sources that hang on compilation by changing its `"/O2"` flag to `"/O1"`
|
|
||||||
in `build.ninja`, and retry the build, where things should continue to build normally.
|
|
||||||
|
|
||||||
Using GTK+ on Win32
|
|
||||||
===================
|
|
||||||
|
|
||||||
To use GTK+ on Win32, you also need either one of the above mentioned
|
|
||||||
compilers. Other compilers might work, but don't count on it. Look for
|
|
||||||
prebuilt developer packages (DLLs, import libraries, headers) on the
|
|
||||||
above website.
|
|
||||||
|
|
||||||
Multi-threaded use of GTK+ on Win32
|
|
||||||
===================================
|
|
||||||
|
|
||||||
Multi-threaded GTK+ programs might work on Windows in special simple
|
|
||||||
cases, but not in general. Sorry. If you have all GTK+ and GDK calls
|
|
||||||
in the same thread, it might work. Otherwise, probably not at
|
|
||||||
all. Possible ways to fix this are being investigated.
|
|
||||||
|
|
||||||
--Tor Lillqvist <tml@iki.fi>, <tml@novell.com>
|
|
||||||
--Updated by Fan, Chun-wei <fanc999@yahoo.com.tw>
|
|
484
README.win32.md
Normal file
484
README.win32.md
Normal file
@ -0,0 +1,484 @@
|
|||||||
|
Notes on running GTK on Windows in general
|
||||||
|
===
|
||||||
|
The Win32 backend in GTK+ is not as stable or correct as the X11 one.
|
||||||
|
|
||||||
|
For prebuilt runtime and developer packages see
|
||||||
|
http://ftp.gnome.org/pub/gnome/binaries/win32/
|
||||||
|
|
||||||
|
Notes on using OpenGL (GtkGLArea/GdkGLArea) on Win32
|
||||||
|
===
|
||||||
|
Note that on Windows, if one is running Nahimic 3 on a system with
|
||||||
|
nVidia graphics, one needs to stop the "Nahimic service" or insert
|
||||||
|
the GTK application into the Nahimic blacklist, as noted in
|
||||||
|
https://www.nvidia.com/en-us/geforce/forums/game-ready-drivers/13/297952/nahimic-and-nvidia-drivers-conflict/2334568/
|
||||||
|
if using programs that utilise GtkGLArea and/or GdkGLArea, or use
|
||||||
|
GDK_GL=gles if you know that GLES support is enabled for the build.
|
||||||
|
|
||||||
|
This is a known issue, as the above link indicates, and affects quite
|
||||||
|
a number of applications--sadly, since this issue lies within the
|
||||||
|
nVidia graphics driver and/or the Nahimic 3 code, we are not able
|
||||||
|
to rememdy this on the GTK side; the best bet before trying the above
|
||||||
|
workarounds is to try to update your graphics drivers and Nahimic
|
||||||
|
installation.
|
||||||
|
|
||||||
|
Building GTK+ on Win32
|
||||||
|
===
|
||||||
|
|
||||||
|
First you obviously need developer packages for the compile-time
|
||||||
|
dependencies: GDK-Pixbuf, Pango, atk, glib, gettext-runtime, libiconv at least.
|
||||||
|
See http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies .
|
||||||
|
|
||||||
|
For people compiling GTK+ with Visual C++, it is recommended that
|
||||||
|
the same compiler is used for at least GDK-Pixbuf, Pango, atk and glib
|
||||||
|
so that crashes and errors caused by different CRTs can be avoided.
|
||||||
|
|
||||||
|
Currently building with Visual Studio 2008 or later is supported,
|
||||||
|
either via Visual Studio project files or via the Meson build system,
|
||||||
|
as described in the below sections.
|
||||||
|
|
||||||
|
For Visual Studio 2008 and 2010, a special setup making use of the Windows
|
||||||
|
8.0 SDK is required, see at the bottom of this document for guidance.
|
||||||
|
Interchanging between Visual Studio 2015, 2017, 2019 and 2022 builds
|
||||||
|
should be fine as they use the same CRT (UCRT) DLLs.
|
||||||
|
|
||||||
|
After installing the dependencies, there are two ways to build GTK+
|
||||||
|
for win32.
|
||||||
|
|
||||||
|
GNU tools, ./configure && make install (info here may be out of date,
|
||||||
|
consider using Meson instead)
|
||||||
|
---
|
||||||
|
|
||||||
|
This requires you have mingw and MSYS.
|
||||||
|
|
||||||
|
Use the configure script, and the resulting Makefiles (which use
|
||||||
|
libtool and gcc to do the compilation). I use this myself, but it can
|
||||||
|
be hard to setup correctly.
|
||||||
|
|
||||||
|
The full script I run to build GTK+ 2.16 unpacked from a source
|
||||||
|
distribution is as below. This is from bulding GTK+ 2.16.5. I don't
|
||||||
|
use any script like this to build the development branch, as I don't
|
||||||
|
distribute any binaries from development branches.
|
||||||
|
|
||||||
|
```
|
||||||
|
# This is a shell script that calls functions and scripts from
|
||||||
|
# tml@iki.fi's personal work envíronment. It is not expected to be
|
||||||
|
# usable unmodified by others, and is included only for reference.
|
||||||
|
|
||||||
|
MOD=gtk+
|
||||||
|
VER=2.16.5
|
||||||
|
REV=1
|
||||||
|
ARCH=win32
|
||||||
|
|
||||||
|
THIS=${MOD}_${VER}-${REV}_${ARCH}
|
||||||
|
|
||||||
|
RUNZIP=${MOD}_${VER}-${REV}_${ARCH}.zip
|
||||||
|
DEVZIP=${MOD}-dev_${VER}-${REV}_${ARCH}.zip
|
||||||
|
|
||||||
|
HEX=`echo $THIS | md5sum | cut -d' ' -f1`
|
||||||
|
TARGET=c:/devel/target/$HEX
|
||||||
|
|
||||||
|
usedev
|
||||||
|
usemsvs6
|
||||||
|
|
||||||
|
(
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
DEPS=`latest --arch=${ARCH} glib atk cairo pango libpng zlib libtiff jpeg`
|
||||||
|
PROXY_LIBINTL=`latest --arch=${ARCH} proxy-libintl`
|
||||||
|
|
||||||
|
PKG_CONFIG_PATH=
|
||||||
|
for D in $DEPS; do
|
||||||
|
PATH=/devel/dist/${ARCH}/$D/bin:$PATH
|
||||||
|
[ -d /devel/dist/${ARCH}/$D/lib/pkgconfig ] && PKG_CONFIG_PATH=/devel/dist/${ARCH}/$D/lib/pkgconfig:$PKG_CONFIG_PATH
|
||||||
|
done
|
||||||
|
|
||||||
|
LIBPNG=`latest --arch=${ARCH} libpng`
|
||||||
|
ZLIB=`latest --arch=${ARCH} zlib`
|
||||||
|
LIBTIFF=`latest --arch=${ARCH} libtiff`
|
||||||
|
JPEG=`latest --arch=${ARCH} jpeg`
|
||||||
|
|
||||||
|
patch -p0 <<'EOF'
|
||||||
|
EOF
|
||||||
|
|
||||||
|
lt_cv_deplibs_check_method='pass_all' \
|
||||||
|
CC='gcc -mtune=pentium3 -mthreads' \
|
||||||
|
CPPFLAGS="-I/devel/dist/${ARCH}/${LIBPNG}/include \
|
||||||
|
-I/devel/dist/${ARCH}/${ZLIB}/include \
|
||||||
|
-I/devel/dist/${ARCH}/${LIBTIFF}/include \
|
||||||
|
-I/devel/dist/${ARCH}/${JPEG}/include \
|
||||||
|
-I/devel/dist/${ARCH}/${PROXY_LIBINTL}/include" \
|
||||||
|
LDFLAGS="-L/devel/dist/${ARCH}/${LIBPNG}/lib \
|
||||||
|
-L/devel/dist/${ARCH}/${ZLIB}/lib \
|
||||||
|
-L/devel/dist/${ARCH}/${LIBTIFF}/lib \
|
||||||
|
-L/devel/dist/${ARCH}/${JPEG}/lib \
|
||||||
|
-L/devel/dist/${ARCH}/${PROXY_LIBINTL}/lib -Wl,--exclude-libs=libintl.a \
|
||||||
|
-Wl,--enable-auto-image-base" \
|
||||||
|
LIBS=-lintl \
|
||||||
|
CFLAGS=-O2 \
|
||||||
|
./configure \
|
||||||
|
--enable-win32-backend \
|
||||||
|
--disable-gdiplus \
|
||||||
|
--with-included-immodules \
|
||||||
|
--without-libjasper \
|
||||||
|
--enable-debug=yes \
|
||||||
|
--enable-explicit-deps=no \
|
||||||
|
--disable-gtk-doc \
|
||||||
|
--disable-static \
|
||||||
|
--prefix=$TARGET &&
|
||||||
|
|
||||||
|
libtoolcacheize &&
|
||||||
|
rm gtk/gtk.def &&
|
||||||
|
(PATH="$PWD/gdk-pixbuf/.libs:/devel/target/$HEX/bin:$PATH" make -j3 install || (rm .libtool-cache* && PATH="/devel/target/$HEX/bin:$PATH" make -j3 install)) &&
|
||||||
|
|
||||||
|
PATH="/devel/target/$HEX/bin:$PATH" gdk-pixbuf-query-loaders >/devel/target/$HEX/etc/gtk-2.0/gdk-pixbuf.loaders &&
|
||||||
|
|
||||||
|
grep -v -E 'Automatically generated|Created by|LoaderDir =' <$TARGET/etc/gtk-2.0/gdk-pixbuf.loaders >$TARGET/etc/gtk-2.0/gdk-pixbuf.loaders.temp &&
|
||||||
|
mv $TARGET/etc/gtk-2.0/gdk-pixbuf.loaders.temp $TARGET/etc/gtk-2.0/gdk-pixbuf.loaders &&
|
||||||
|
grep -v -E 'Automatically generated|Created by|ModulesPath =' <$TARGET/etc/gtk-2.0/gtk.immodules >$TARGET/etc/gtk-2.0/gtk.immodules.temp &&
|
||||||
|
mv $TARGET/etc/gtk-2.0/gtk.immodules.temp $TARGET/etc/gtk-2.0/gtk.immodules &&
|
||||||
|
|
||||||
|
./gtk-zip.sh &&
|
||||||
|
|
||||||
|
mv /tmp/${MOD}-${VER}.zip /tmp/$RUNZIP &&
|
||||||
|
mv /tmp/${MOD}-dev-${VER}.zip /tmp/$DEVZIP
|
||||||
|
|
||||||
|
) 2>&1 | tee /devel/src/tml/packaging/$THIS.log
|
||||||
|
|
||||||
|
(cd /devel && zip /tmp/$DEVZIP src/tml/packaging/$THIS.{sh,log}) &&
|
||||||
|
manifestify /tmp/$RUNZIP /tmp/$DEVZIP
|
||||||
|
```
|
||||||
|
|
||||||
|
You should not just copy the above blindly. There are some things in
|
||||||
|
the script that are very specific to *my* build setup on *my* current
|
||||||
|
machine. For instance the "latest" command, the "usedev" and
|
||||||
|
"usemsvs6" shell functions, the `/devel/dist` folder. The above script
|
||||||
|
is really just meant for reference, to give an idea. You really need
|
||||||
|
to understand what things like `PKG_CONFIG_PATH` are and set them up
|
||||||
|
properly after installing the dependencies before building GTK+.
|
||||||
|
|
||||||
|
As you see above, after running configure, one can just say "make
|
||||||
|
install", like on Unix. A post-build fix is needed, running
|
||||||
|
gdk-pixbuf-query-loaders once more to get a correct `gdk-pixbuf.loaders`
|
||||||
|
file.
|
||||||
|
|
||||||
|
For a 64-bit build you need to remove the `gtk/gtk.def` file and let it
|
||||||
|
be regenerated by the makefilery. This is because the 64-bit GTK dll
|
||||||
|
has a slightly different list of exported function names. This is on
|
||||||
|
purpose and not a bug. The API is the same at the source level, and
|
||||||
|
the same #defines of some function names to actually have a _utf8
|
||||||
|
suffix is used (just to keep the header simpler). But the
|
||||||
|
corresponding non-suffixed function to maintain ABI stability are not
|
||||||
|
needed in the 64-bit case (because there are no older EXEs around that
|
||||||
|
would require such for ABI stability).
|
||||||
|
|
||||||
|
|
||||||
|
Microsoft's tools
|
||||||
|
---
|
||||||
|
|
||||||
|
There are VS 2008~2022 solution and project files to build GTK+, which
|
||||||
|
are maintained by Chun-wei Fan. They should build GTK+ out of the box,
|
||||||
|
provided that the afore-mentioned dependencies are installed. They will
|
||||||
|
build GDK with the Win32 backend, GTK+ itself (with GAIL/a11y built in),
|
||||||
|
the GAIL-Util library and the gtk3-demo program. Please also refer to the
|
||||||
|
README_FEATURES_MSVC.md file that reside in win32 on how to enable
|
||||||
|
additional features that are not enabled by default, such as EGL support
|
||||||
|
via libANGLE, which emulate the GL/EGL calls using Direct3D 9/11.
|
||||||
|
|
||||||
|
Please refer to the following GNOME Live! page for a more detailed ouline
|
||||||
|
on the process of building the GTK+ stack and its dependencies with Visual
|
||||||
|
C++:
|
||||||
|
|
||||||
|
https://wiki.gnome.org/Projects/GTK+/Win32/MSVCCompilationOfGTKStack
|
||||||
|
|
||||||
|
Alternative 1 also generates Microsoft import libraries (.lib), if you
|
||||||
|
have lib.exe available. It might also work for cross-compilation from
|
||||||
|
Unix.
|
||||||
|
|
||||||
|
I (Tor) use method 1 myself. Hans Breuer has been taking care of the MSVC
|
||||||
|
makefiles. At times, we disagree a bit about various issues, and for
|
||||||
|
instance the makefile.msc files might not produce identically named
|
||||||
|
DLLs and import libraries as the "autoconfiscated" makefiles and
|
||||||
|
libtool do. If this bothers you, you will have to fix the makefiles.
|
||||||
|
|
||||||
|
You may need or wish to update `gtk3-build-defines.[vs]props` (under the
|
||||||
|
entry `GenerateRequiredSourcesBase` and/or `GtkIntrospectNMakeCmd` and/or
|
||||||
|
`InstallBuildsBase`) to pass in the variables if they are not in:
|
||||||
|
|
||||||
|
* `$(PREFIX)\bin` (used for generating code for the build):
|
||||||
|
* `GLIB_MKENUMS` (path to your glib-mkenums script)
|
||||||
|
* `GLIB_GENMARSHAL` (path to your glib-genmarshal script)
|
||||||
|
* `GDBUS_CODEGEN` (path to your gdbus-codegen script)
|
||||||
|
* `GLIB_COMPILE_RESOURCES` (path to your glib-compile-resources program)
|
||||||
|
|
||||||
|
* `%PATH%`:
|
||||||
|
* `PYTHON` (path to your Python interpreter, for generating code for
|
||||||
|
the build as well as for introspection; for introspection, this must
|
||||||
|
match the version series and architecture for the Python that is used
|
||||||
|
to build gobject-introspection)
|
||||||
|
* `PKG_CONFIG` (path to your pkg-config or compatible tool, for
|
||||||
|
building introspection files in the `gtk3-introspect` project)
|
||||||
|
* `MSGFMT` (path to your msgfmt program, if building translations
|
||||||
|
during install; append ` install-translations` to `InstallBuildsBase`
|
||||||
|
in `gtk3-build-defines.[vs]props])
|
||||||
|
|
||||||
|
`LIBDIR` and `INCLUDEDIR` can also be passed in if they are not under
|
||||||
|
`$(PREFIX)\lib` and `$(PREFIX)\include` respectively. Note that
|
||||||
|
`$(LIBDIR)` is architecture-dependent.
|
||||||
|
|
||||||
|
If desiring to build binaries for ARM64 (`aarch64`), one needs to use the
|
||||||
|
Visual Studio 2017 or 2019 or 2022 solution files, or use Meson with a
|
||||||
|
cross-compilation file, with a Windows 10 SDK that supports ARM64
|
||||||
|
builds. At this point, building the introspection files is not supported
|
||||||
|
for ARM64 builds, and you will need a Python 3.x interpreter and
|
||||||
|
glib-compile-resources binaries that run on the build machine.
|
||||||
|
|
||||||
|
For Visual Studio 2017 ARM64 builds, do also check the
|
||||||
|
`Directory.Build.props` file in `$(srcroot)/win32/vs15`
|
||||||
|
indicates a Windows 10 SDK version that supports ARM64 builds
|
||||||
|
exists on the build machine.
|
||||||
|
|
||||||
|
For building ARM64 binaries with the Visual Studio projects, prior to the
|
||||||
|
build, you may need to update `gtk3-build-defines.props` to pass in the variables as indicated earlier:
|
||||||
|
|
||||||
|
* GLIB_MKENUMS
|
||||||
|
* GLIB_GENMARSHAL
|
||||||
|
* GDBUS_CODEGEN
|
||||||
|
* GLIB_COMPILE_RESOURCES
|
||||||
|
* PYTHON
|
||||||
|
|
||||||
|
in the nmake command line indicated by `<GenerateRequiredSourcesBase>` so
|
||||||
|
that they point to the respective tools and scripts that will run on the
|
||||||
|
build machine. You may also need to update `gtk3-version-paths.props` to
|
||||||
|
update `<PythonDir>` to the installation of the Python 3.x interpreter
|
||||||
|
that will run on the build machine (or just update `PYTHON=...` in the
|
||||||
|
command line in `<GenerateRequiredSourcesBase>`). To carry out the actual
|
||||||
|
build using the solution files, use the "Configuration Manager" to add the
|
||||||
|
ARM64 build configs by copying the settings from the x64 configs, and then
|
||||||
|
build the solution.
|
||||||
|
The build instructions for such builds otherwise follow the standard Win32
|
||||||
|
(x86) and x64 builds, but you need to ensure that you have ARM64 builds of
|
||||||
|
the various dependencies.
|
||||||
|
|
||||||
|
It may still be possible to carry out the build and build the
|
||||||
|
introspection files with Python 2.7.x using older versions of GLib and
|
||||||
|
GObject-Introspection, but please note that this is not recommended
|
||||||
|
and one is on his/her own by doing so.
|
||||||
|
|
||||||
|
It is now supported to build with the Visual Studio projects directly
|
||||||
|
from a GIT checkout. Run in a Visual Studio command prompt, in
|
||||||
|
$(srcroot)/win32:
|
||||||
|
|
||||||
|
`nmake /f bootstrap-msvc.mak [PYTHON=...] [PERL=...] [FONT_FEATURES_DEMO=1] [FONT_FEATURES_USE_PANGOFT2=1] [USE_EGL=1]`
|
||||||
|
|
||||||
|
where `PYTHON` and `PERL` are the respective paths to the Python and PERL
|
||||||
|
interpreters, if they are not in your `%PATH%`-they are both required to
|
||||||
|
generate the full sets of project files, as well as the auxiliary build
|
||||||
|
files and headers that is not available in a GIT checkout and must be
|
||||||
|
generated prior to opening the project files.
|
||||||
|
|
||||||
|
For `FONT_FEATURES_DEMO`, `FONT_FEATURES_USE_PANGOFT2` and `USE_EGL`,
|
||||||
|
please refer to `win32\README_FEATURES_MSVC.md` for more details, to
|
||||||
|
enable features that is optional and not enabled by default (i.e. in the
|
||||||
|
release tarballs).
|
||||||
|
|
||||||
|
It is also possible to regenerate some or all of the visual studio
|
||||||
|
projects with the following, if necessary:
|
||||||
|
|
||||||
|
`nmake /f generate-msvc.mak [PYTHON=...] [FONT_FEATURES_DEMO=1] [FONT_FEATURES_USE_PANGOFT2=1] [USE_EGL=1] <target>`
|
||||||
|
|
||||||
|
Where target can be (they will update all related VS2008~2022 projects):
|
||||||
|
|
||||||
|
* `regenerate-demos-h-win32`: Regenerate the `gtk3-demo` projects along
|
||||||
|
with `demos.h.win32`, useful to enable or disable the Font Features
|
||||||
|
demo.
|
||||||
|
* `regenerate-gdk-vsproj`: Regenerate all the GDK projects with
|
||||||
|
`broadwayd`, useful to enable or disable EGL on Windows.
|
||||||
|
* `regenerate-gtk-vsproj`: Regenerate the `gtk-3` and `gailutil-3` library
|
||||||
|
projects.
|
||||||
|
* `regenerate-all-msvc-projs`: Re-generate all project files, and re-copy
|
||||||
|
all the Visual Studio 2010 project files for VS 2012~2022.
|
||||||
|
|
||||||
|
Using Meson (for Visual Studio and MinGW builds)
|
||||||
|
---
|
||||||
|
|
||||||
|
Meson can now be used to build GTK+-3.x with either MinGW or Visual Studio.
|
||||||
|
You will need the following items in addition to all the dependencies
|
||||||
|
listed above:
|
||||||
|
|
||||||
|
* Python 3.5 or later
|
||||||
|
* Meson build system, 0.48.0 or later
|
||||||
|
* Ninja (if not using the Visual Studio project generator for
|
||||||
|
Visual Studio 2010 or later)
|
||||||
|
* CMake (optional, used for dependency searching)
|
||||||
|
* pkg-config (optional, or some compatible tool, highly recommended)
|
||||||
|
|
||||||
|
For all Windows builds, note that unless `-Dbuiltin_immodules=no` is
|
||||||
|
specified, the input modules (immodules) are built directly into the GTK
|
||||||
|
DLL.
|
||||||
|
|
||||||
|
For building with Meson using Visual Studio, do the following:
|
||||||
|
|
||||||
|
* Create an empty build directory somewhere that is on the same drive
|
||||||
|
as the source tree, and launch the Visual Studio command prompt that
|
||||||
|
matches the build configuration (Visual Studio version and architecture),
|
||||||
|
and run the following:
|
||||||
|
|
||||||
|
* Ensure that both the installation directory of Python 3.5+ and its script
|
||||||
|
directory is in your `%PATH%`, as well as the Ninja, CMake and pkg-config
|
||||||
|
executables (if used). If a pkg-config compatible drop-in replacement
|
||||||
|
tool is being used, ensure that `PKG_CONFIG` is set to point to the
|
||||||
|
executable of that tool as well.
|
||||||
|
|
||||||
|
* For non-GNOME dependencies (such as Cairo and Harfbuzz), where pkg-config
|
||||||
|
files or CMake files could not be properly located, set `%INCLUDE%` and
|
||||||
|
`%LIB%` to ensure that their header files and .lib files can be found
|
||||||
|
respectively. The DLLs of those dependencies should also be in the
|
||||||
|
`%PATH%` during the build as well, especially if introspection files ar
|
||||||
|
to be built.
|
||||||
|
|
||||||
|
* For GNOME dependencies, the pkg-config files for those dependencies
|
||||||
|
should be searchable by `pkg-config` (or a compatible tool). Verify
|
||||||
|
this by running `$(PKG_CONFIG) --modversion <dependency>`.
|
||||||
|
|
||||||
|
* Run the following:
|
||||||
|
`meson <path_to_directory_of_this_file> --buildtype=... --prefix=...,
|
||||||
|
where `buildtype` can be:
|
||||||
|
|
||||||
|
* release
|
||||||
|
* debugoptimized
|
||||||
|
* debug
|
||||||
|
* plain.
|
||||||
|
|
||||||
|
Please refer to the Meson documentation for more details. You may also
|
||||||
|
wish to pass in `-Dbroadway_backend=true` if building the Broadway GDK
|
||||||
|
backend is desired, and/or pass in `-Dbuiltin_immodules=no` to build the
|
||||||
|
immodules as standalone DLLs that can be loaded by GTK dynamically. For
|
||||||
|
Visual Studio 2010 or later builds, you may pass in --backend=vs to
|
||||||
|
generate Visual Studio project files to be used to carry out the builds.
|
||||||
|
|
||||||
|
If you are building with Visual Studio 2008, note the following items as
|
||||||
|
well:
|
||||||
|
|
||||||
|
* For x64 builds, the compiler may hang when building the certain
|
||||||
|
files, due to optimization issues in the compiler. If this happens,
|
||||||
|
use the Windows Task Manager and terminate all `cl.exe` processes,
|
||||||
|
and the build will fail with the source files that did not finish
|
||||||
|
compiling due to the hang. Look for them in build.ninja in the build
|
||||||
|
directory, and change their compiler
|
||||||
|
flag `/O2` to `/O1`, and the compilation and linking should proceed
|
||||||
|
normally.
|
||||||
|
|
||||||
|
* At this time of writing, the following files are known to cause this
|
||||||
|
hang:
|
||||||
|
|
||||||
|
* gtk\gtkfilechoosernativewin32.c
|
||||||
|
* gtk\gtkfilesystemmodel.c
|
||||||
|
* gtk\gtktextsegment.c
|
||||||
|
* gtk\gtktextbtree.c
|
||||||
|
* gtk\gtkrbtree.c
|
||||||
|
* testsuite\gtk\treemodel.c
|
||||||
|
* testsuite\gtk\textbuffer.c
|
||||||
|
* testsuite\gtk\rbtree.c
|
||||||
|
* testsuite\gtk\icontheme.c
|
||||||
|
* Upon running install (via "ninja install"), it is likely that
|
||||||
|
`gtk-query-immodules-3.0.exe` will fail to run as it cannot find
|
||||||
|
`msvcr90.dll` or `msvcr90D.dll`. You can ignore this if you did not
|
||||||
|
specify `-Dbuiltin_immodules=no` when configuring via Meson.
|
||||||
|
If `-Dbuiltin_immodules=no` is specified, you need to run the
|
||||||
|
following after embedding the manifests as outlined in the next
|
||||||
|
point:
|
||||||
|
`$(gtk_install_prefix)\bin\gtk-query-immodules-3.0.exe > $(gtk_install_prefix)\lib\gtk-3.0\3.0.0\immodules.cache`
|
||||||
|
|
||||||
|
* You will need to run the following upon completing install, from the
|
||||||
|
build directory in the Visual Studio 2008/SDK 6.0 command prompt
|
||||||
|
(third line is not needed unless `-Dbuiltin_immodules=no` is
|
||||||
|
specified) so that the built binaries can run:
|
||||||
|
```
|
||||||
|
for /r %f in (*.dll.manifest) do if exist $(gtk_install_prefix)\bin\%~nf mt /manifest %f /outputresource:$(gtk_install_prefix)\bin\%~nf;2
|
||||||
|
for /r %f in (*.exe.manifest) do if exist $(gtk_install_prefix)\bin\%~nf mt /manifest %f /outputresource:$(gtk_install_prefix)\bin\%~nf;1
|
||||||
|
for /r %f in (*.dll.manifest) do if exist $(gtk_install_prefix)\lib\gtk-3.0\3.0.0\immodules\%~nf mt /manifest %f /outputresource:$(gtk_install_prefix)\lib\gtk-3.0\3.0.0\immodules\%~nf;2
|
||||||
|
```
|
||||||
|
|
||||||
|
* The more modern visual style for the print dialog is not applied for
|
||||||
|
Visual Studio 2008 builds. Any solutions to this is really
|
||||||
|
appreciated.
|
||||||
|
|
||||||
|
Support for all pre-2012 Visual Studio builds
|
||||||
|
---
|
||||||
|
|
||||||
|
This release of GTK+ requires at least the Windows 8.0 or later SDK in
|
||||||
|
order to be built successfully using Visual Studio, which means that
|
||||||
|
building with Visual Studio 2008 or 2010 is possible only with a special
|
||||||
|
setup and must be done in the command line with Ninja, if using Meson.
|
||||||
|
Please see
|
||||||
|
https://devblogs.microsoft.com/cppblog/using-the-windows-software-development-kit-sdk-for-windows-8-consumer-preview-with-visual-studio-2010/
|
||||||
|
for references; basically, assuming that your Windows 8.0 SDK is installed
|
||||||
|
in `C:\Program Files (x86)\Windows Kits\8.0` (`$(WIN8SDKDIR)` in short),
|
||||||
|
you need to ensure the following before invoking Meson to configure the build. Your project files or Visual Studio IDE must also be similarly
|
||||||
|
configured (using the Windows 8.1 SDK is also possible for Visual Studio
|
||||||
|
2008~2012, replacing `$(WIN8SDKDIR)` with `$(WIN81SDKDIR)`, which is in
|
||||||
|
`C:\Program Files (x86)\Windows Kits\8.1` unless otherwise indicated):
|
||||||
|
|
||||||
|
* Your `%INCLUDE%` (i.e. "Additional Include Directories" in the IDE)
|
||||||
|
must not include the Windows 7.0/7.1 SDK include directories,
|
||||||
|
and `$(WIN8SDKDIR)\include\um`, `$(WIN8SDKDIR)\include\um\share` and
|
||||||
|
`$(WIN8SDKDIR)\include\winrt` (in this order) must be before your stock
|
||||||
|
Visual Studio 2008/2010 header directories. If you have the DirectX
|
||||||
|
SDK (2010 June or earlier) installed, you should remove its include
|
||||||
|
directory from your `%INCLUDE%` as well.
|
||||||
|
* You must replace the Windows 7.0/7.1 SDK library directory in `%LIB%`
|
||||||
|
(i.e. "Additional Library Paths" in the IDE) with the Windows 8.0/8.1
|
||||||
|
SDK library directory, i.e. `$(WIN8SDKDIR)\lib\win8\um\[x86|x64]` or
|
||||||
|
`$(WIN81SDKDIR)\lib\winv6.3\um\[x86|x64]`.
|
||||||
|
If you have the DirectX SDK installed, you should remove its library
|
||||||
|
directory from your `%LIB%` as well.
|
||||||
|
* You must replace the Windows 7.0/7.1 SDK tools directory from your
|
||||||
|
`%PATH%` ("Executables Directories" in the IDE) with the Windows 8.0
|
||||||
|
SDK tools directory, i.e. `$(WIN8SDKDIR)\bin\[x86|x64]`. If you have
|
||||||
|
the DirectX SDK installed, you should remove its utility directory from
|
||||||
|
your `%PATH%` as well.
|
||||||
|
|
||||||
|
* The Windows 8.0 SDK headers may contain an `roapi.h` that cannot be
|
||||||
|
used under plain C, so to remedy that, change the following lines
|
||||||
|
(around lines 55-57) (this is not necessary for the Windows 8.1 or
|
||||||
|
later SDKs):
|
||||||
|
|
||||||
|
```
|
||||||
|
// RegisterActivationFactory/RevokeActivationFactory registration cookie
|
||||||
|
typedef struct {} *RO_REGISTRATION_COOKIE;
|
||||||
|
// RegisterActivationFactory/DllGetActivationFactory callback
|
||||||
|
```
|
||||||
|
|
||||||
|
to
|
||||||
|
|
||||||
|
```
|
||||||
|
// RegisterActivationFactory/RevokeActivationFactory registration cookie
|
||||||
|
#ifdef __cplusplus
|
||||||
|
typedef struct {} *RO_REGISTRATION_COOKIE;
|
||||||
|
#else
|
||||||
|
typedef struct _RO_REGISTRATION_COOKIE *RO_REGISTRATION_COOKIE; /* make this header includable in C files */
|
||||||
|
#endif
|
||||||
|
// RegisterActivationFactory/DllGetActivationFactory callback
|
||||||
|
```
|
||||||
|
|
||||||
|
This follows what is done in the Windows 8.1 SDK, which contains an
|
||||||
|
`roapi.h` that is usable under plain C. Please note that you might need
|
||||||
|
to copy that file into a location that is in your `%INCLUDE%` which
|
||||||
|
precedes the include path for the Windows 8.0 SDK headers, if you do not
|
||||||
|
have administrative privileges.
|
||||||
|
|
||||||
|
Visual Studio 2008 hacks
|
||||||
|
---
|
||||||
|
(Please see the section on Meson builds which touch on this topic)
|
||||||
|
|
||||||
|
Multi-threaded use of GTK+ on Win32
|
||||||
|
---
|
||||||
|
|
||||||
|
Multi-threaded GTK+ programs might work on Windows in special simple
|
||||||
|
cases, but not in general. Sorry. If you have all GTK+ and GDK calls
|
||||||
|
in the same thread, it might work. Otherwise, probably not at
|
||||||
|
all. Possible ways to fix this are being investigated.
|
||||||
|
|
||||||
|
* Tor Lillqvist <tml@iki.fi>, <tml@novell.com>
|
||||||
|
* Updated by Fan, Chun-wei <fanc999@yahoo.com.tw>
|
1594
build-aux/config.guess
vendored
1594
build-aux/config.guess
vendored
File diff suppressed because it is too large
Load Diff
2899
build-aux/config.sub
vendored
2899
build-aux/config.sub
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -204,6 +204,9 @@
|
|||||||
/* Have the XDAMAGE X extension */
|
/* Have the XDAMAGE X extension */
|
||||||
#undef HAVE_XDAMAGE
|
#undef HAVE_XDAMAGE
|
||||||
|
|
||||||
|
/* Define if xdg_activation's wl-protocols definition is available */
|
||||||
|
#undef HAVE_XDG_ACTIVATION
|
||||||
|
|
||||||
/* Have the XFIXES X extension */
|
/* Have the XFIXES X extension */
|
||||||
#undef HAVE_XFIXES
|
#undef HAVE_XFIXES
|
||||||
|
|
||||||
|
@ -230,6 +230,9 @@
|
|||||||
/* Define to the version of this package. */
|
/* Define to the version of this package. */
|
||||||
#mesondefine PACKAGE_VERSION
|
#mesondefine PACKAGE_VERSION
|
||||||
|
|
||||||
|
/* Define when building a shared library for Windows */
|
||||||
|
#mesondefine DLL_EXPORT
|
||||||
|
|
||||||
/* Use NSBundle functions to determine load paths for libraries, translations,
|
/* Use NSBundle functions to determine load paths for libraries, translations,
|
||||||
etc. */
|
etc. */
|
||||||
#mesondefine QUARTZ_RELOCATION
|
#mesondefine QUARTZ_RELOCATION
|
||||||
@ -290,3 +293,6 @@
|
|||||||
|
|
||||||
/* Define if tracker3 is available */
|
/* Define if tracker3 is available */
|
||||||
#mesondefine HAVE_TRACKER3
|
#mesondefine HAVE_TRACKER3
|
||||||
|
|
||||||
|
/* Define if xdg_activation's wl-protocols definition is available */
|
||||||
|
#mesondefine HAVE_XDG_ACTIVATION
|
@ -273,7 +273,7 @@
|
|||||||
#define PACKAGE_NAME "gtk+"
|
#define PACKAGE_NAME "gtk+"
|
||||||
|
|
||||||
/* Define to the full name and version of this package. */
|
/* Define to the full name and version of this package. */
|
||||||
#define PACKAGE_STRING "gtk+ 3.24.34"
|
#define PACKAGE_STRING "gtk+ 3.24.35"
|
||||||
|
|
||||||
/* Define to the one symbol short name of this package. */
|
/* Define to the one symbol short name of this package. */
|
||||||
#define PACKAGE_TARNAME "gtk+"
|
#define PACKAGE_TARNAME "gtk+"
|
||||||
@ -282,7 +282,7 @@
|
|||||||
#define PACKAGE_URL ""
|
#define PACKAGE_URL ""
|
||||||
|
|
||||||
/* Define to the version of this package. */
|
/* Define to the version of this package. */
|
||||||
#define PACKAGE_VERSION "3.24.34"
|
#define PACKAGE_VERSION "3.24.35"
|
||||||
|
|
||||||
/* Use NSBundle functions to determine load paths for libraries, translations,
|
/* Use NSBundle functions to determine load paths for libraries, translations,
|
||||||
etc. */
|
etc. */
|
||||||
@ -314,12 +314,17 @@
|
|||||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||||
/* #undef _FILE_OFFSET_BITS */
|
/* #undef _FILE_OFFSET_BITS */
|
||||||
|
|
||||||
|
/* Define when building a shared library for Windows */
|
||||||
|
#define DLL_EXPORT 1
|
||||||
|
|
||||||
/* defines how to decorate public symbols while building */
|
/* defines how to decorate public symbols while building */
|
||||||
|
#ifdef DLL_EXPORT
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# define _GDK_EXTERN __declspec (dllexport) extern
|
# define _GDK_EXTERN __declspec (dllexport) extern
|
||||||
# else
|
# else
|
||||||
# define _GDK_EXTERN __attribute__((visibility("default"))) __declspec (dllexport) extern
|
# define _GDK_EXTERN __attribute__((visibility("default"))) __declspec (dllexport) extern
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define for large files, on AIX-style hosts. */
|
/* Define for large files, on AIX-style hosts. */
|
||||||
/* #undef _LARGE_FILES */
|
/* #undef _LARGE_FILES */
|
||||||
|
@ -314,12 +314,17 @@
|
|||||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||||
/* #undef _FILE_OFFSET_BITS */
|
/* #undef _FILE_OFFSET_BITS */
|
||||||
|
|
||||||
|
/* Define when building a shared library for Windows */
|
||||||
|
#define DLL_EXPORT 1
|
||||||
|
|
||||||
/* defines how to decorate public symbols while building */
|
/* defines how to decorate public symbols while building */
|
||||||
|
#ifdef DLL_EXPORT
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# define _GDK_EXTERN __declspec (dllexport) extern
|
# define _GDK_EXTERN __declspec (dllexport) extern
|
||||||
# else
|
# else
|
||||||
# define _GDK_EXTERN __attribute__((visibility("default"))) __declspec (dllexport) extern
|
# define _GDK_EXTERN __attribute__((visibility("default"))) __declspec (dllexport) extern
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define for large files, on AIX-style hosts. */
|
/* Define for large files, on AIX-style hosts. */
|
||||||
/* #undef _LARGE_FILES */
|
/* #undef _LARGE_FILES */
|
||||||
|
20
configure.ac
20
configure.ac
@ -10,8 +10,8 @@
|
|||||||
|
|
||||||
m4_define([gtk_major_version], [3])
|
m4_define([gtk_major_version], [3])
|
||||||
m4_define([gtk_minor_version], [24])
|
m4_define([gtk_minor_version], [24])
|
||||||
m4_define([gtk_micro_version], [34])
|
m4_define([gtk_micro_version], [35])
|
||||||
m4_define([gtk_interface_age], [30])
|
m4_define([gtk_interface_age], [31])
|
||||||
m4_define([gtk_binary_age],
|
m4_define([gtk_binary_age],
|
||||||
[m4_eval(100 * gtk_minor_version + gtk_micro_version)])
|
[m4_eval(100 * gtk_minor_version + gtk_micro_version)])
|
||||||
m4_define([gtk_version],
|
m4_define([gtk_version],
|
||||||
@ -439,7 +439,7 @@ fi
|
|||||||
|
|
||||||
PKG_PROG_PKG_CONFIG
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
WAYLAND_RUNTIME_DEPENDENCIES="wayland-client >= wayland_required_version xkbcommon >= 0.2.0 wayland-cursor >= wayland_required_version wayland-egl"
|
WAYLAND_RUNTIME_DEPENDENCIES="wayland-client >= wayland_required_version xkbcommon >= 0.2.0 wayland-egl"
|
||||||
WAYLAND_DEPENDENCIES="wayland-protocols >= wayland_protocols_required_version $WAYLAND_RUNTIME_DEPENDENCIES"
|
WAYLAND_DEPENDENCIES="wayland-protocols >= wayland_protocols_required_version $WAYLAND_RUNTIME_DEPENDENCIES"
|
||||||
if test "$enable_wayland_backend" = "maybe" ; then
|
if test "$enable_wayland_backend" = "maybe" ; then
|
||||||
AC_PATH_PROG([WAYLAND_SCANNER],[wayland-scanner],[no])
|
AC_PATH_PROG([WAYLAND_SCANNER],[wayland-scanner],[no])
|
||||||
@ -467,9 +467,20 @@ if test "$enable_wayland_backend" = "yes"; then
|
|||||||
[AC_MSG_ERROR([Could not find wayland-scanner in your PATH, required for parsing wayland extension protocols])])
|
[AC_MSG_ERROR([Could not find wayland-scanner in your PATH, required for parsing wayland extension protocols])])
|
||||||
AC_SUBST([WAYLAND_SCANNER])
|
AC_SUBST([WAYLAND_SCANNER])
|
||||||
|
|
||||||
|
# For xdg-activation support
|
||||||
|
XDG_ACTIVATION_DEPENDENCIES="wayland-protocols >= 1.21"
|
||||||
|
PKG_CHECK_EXISTS($XDG_ACTIVATION_DEPENDENCIES, [have_xdg_activation_deps=yes], [have_xdg_activation_deps=no])
|
||||||
|
AC_MSG_CHECKING([for XDG_ACTIVATION_DEPENDENCIES])
|
||||||
|
AM_CONDITIONAL(USE_XDG_ACTIVATION, test "$have_xdg_activation_deps" = "yes")
|
||||||
|
if test "$have_xdg_activation_deps" = "yes" ; then
|
||||||
|
AC_DEFINE([HAVE_XDG_ACTIVATION], [1],
|
||||||
|
[Define if xdg_activation's wl-protocols definition is available])
|
||||||
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL(USE_WAYLAND, true)
|
AM_CONDITIONAL(USE_WAYLAND, true)
|
||||||
else
|
else
|
||||||
AM_CONDITIONAL(USE_WAYLAND, false)
|
AM_CONDITIONAL(USE_WAYLAND, false)
|
||||||
|
AM_CONDITIONAL(USE_XDG_ACTIVATION, false)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# strip leading space
|
# strip leading space
|
||||||
@ -1963,13 +1974,14 @@ win32/config-msvc.mak
|
|||||||
win32/vs9/Makefile
|
win32/vs9/Makefile
|
||||||
win32/vs9/gtk3-version-paths.vsprops
|
win32/vs9/gtk3-version-paths.vsprops
|
||||||
win32/vs10/Makefile
|
win32/vs10/Makefile
|
||||||
win32/vs10/gtk3-version-paths.props
|
|
||||||
win32/vs11/Makefile
|
win32/vs11/Makefile
|
||||||
win32/vs12/Makefile
|
win32/vs12/Makefile
|
||||||
win32/vs14/Makefile
|
win32/vs14/Makefile
|
||||||
win32/vs15/Makefile
|
win32/vs15/Makefile
|
||||||
win32/vs16/Makefile
|
win32/vs16/Makefile
|
||||||
win32/vs17/Makefile
|
win32/vs17/Makefile
|
||||||
|
win32/vs1x-props/Makefile
|
||||||
|
win32/vs1x-props/gtk3-version-paths.props
|
||||||
gdk/Makefile
|
gdk/Makefile
|
||||||
gdk/broadway/Makefile
|
gdk/broadway/Makefile
|
||||||
gdk/x11/Makefile
|
gdk/x11/Makefile
|
||||||
|
@ -254,6 +254,7 @@ ETAGS = @ETAGS@
|
|||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||||
GDK_BACKENDS = @GDK_BACKENDS@
|
GDK_BACKENDS = @GDK_BACKENDS@
|
||||||
|
@ -61,22 +61,21 @@ demos.h: $(demos) geninclude.pl
|
|||||||
demos.h.win32: $(demos_base) geninclude.pl
|
demos.h.win32: $(demos_base) geninclude.pl
|
||||||
$(AM_V_GEN) (here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos_base)) > demos.h.win32
|
$(AM_V_GEN) (here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos_base)) > demos.h.win32
|
||||||
|
|
||||||
nodist_gtk3_demo_SOURCES = demos.h
|
nodist_gtk3_demo_SOURCES = demos.h demo_resources.c
|
||||||
|
|
||||||
gtk3_demo_SOURCES = \
|
gtk3_demo_SOURCES = \
|
||||||
$(demos) \
|
$(demos) \
|
||||||
gtkfishbowl.c \
|
gtkfishbowl.c \
|
||||||
gtkfishbowl.h \
|
gtkfishbowl.h \
|
||||||
demo_resources.c \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
gtk3_demo_DEPENDENCIES = $(DEPS)
|
gtk3_demo_DEPENDENCIES = $(DEPS)
|
||||||
gtk3_demo_LDADD = $(LDADDS)
|
gtk3_demo_LDADD = $(LDADDS)
|
||||||
gtk3_demo_LDFLAGS = -export-dynamic
|
gtk3_demo_LDFLAGS = -export-dynamic
|
||||||
|
|
||||||
gtk3_demo_application_SOURCES = \
|
nodist_gtk3_demo_application_SOURCES = demo_resources.c
|
||||||
application.c \
|
|
||||||
demo_resources.c
|
gtk3_demo_application_SOURCES = application.c
|
||||||
|
|
||||||
gtk3_demo_application_LDADD = $(LDADDS)
|
gtk3_demo_application_LDADD = $(LDADDS)
|
||||||
|
|
||||||
@ -116,20 +115,16 @@ uninstall-update-icon-cache:
|
|||||||
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
||||||
|
|
||||||
# ------------------- MSVC Build Items ----------------
|
# ------------------- MSVC Build Items ----------------
|
||||||
MSVCPROJS = gtk3-demo gtk3-demo-application
|
MSVCPROJS = gtk3-demo
|
||||||
|
|
||||||
gtk3_demo_FILES = $(gtk3_demo_SOURCES)
|
gtk3_demo_FILES = $(gtk3_demo_SOURCES)
|
||||||
gtk3_demo_EXCLUDES = font_features.c|pagesetup.c
|
gtk3_demo_EXCLUDES = font_features.c|pagesetup.c
|
||||||
|
|
||||||
gtk3_demo_application_FILES = $(gtk3_demo_application_SOURCES)
|
|
||||||
gtk3_demo_application_EXCLUDES = dummy
|
|
||||||
|
|
||||||
include $(top_srcdir)/win32/Makefile.msvcproj
|
include $(top_srcdir)/win32/Makefile.msvcproj
|
||||||
|
|
||||||
dist-hook: \
|
dist-hook: \
|
||||||
$(top_builddir)/win32/vs9/gtk3-demo.vcproj \
|
$(top_builddir)/win32/vs9/gtk3-demo.vcproj
|
||||||
$(top_builddir)/win32/vs9/gtk3-demo-application.vcproj
|
|
||||||
|
|
||||||
DISTCLEANFILES = demos.h demos.h.win32
|
DISTCLEANFILES = demos.h demos.h.win32 demo_resources.c
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
@ -35,13 +35,9 @@
|
|||||||
# MSVCPROJS = YourProject (can be multiple projects in a single srcdir)
|
# MSVCPROJS = YourProject (can be multiple projects in a single srcdir)
|
||||||
# YourProject_FILES = $(libyourlib_1_0_SOURCES)
|
# YourProject_FILES = $(libyourlib_1_0_SOURCES)
|
||||||
# YourProject_EXCLUDES = ... # list of sources to exclude, separated by '|', wildcards allowed; use random unsed value if none
|
# YourProject_EXCLUDES = ... # list of sources to exclude, separated by '|', wildcards allowed; use random unsed value if none
|
||||||
# YourProject_HEADERS_DIR = $(libyourlibincludedir)
|
|
||||||
# YourProject_HEADERS_INST = $(libyourlib_1_0_HEADERS)
|
|
||||||
# YourProject_HEADERS_EXCLUDES = ... # <list of headers to exclude from installation, separated by '|', wildcards allowed; use random unsed value if none>
|
|
||||||
#
|
#
|
||||||
# dist-hook: \ # (or add to it if it is already there, note the vs9 items will also call the vs10 items in the process)
|
# dist-hook: \ # (or add to it if it is already there, note the vs9 items will also call the vs10 items in the process)
|
||||||
# $(top_builddir)/win32/vs9/YourProject.vcproj \
|
# $(top_builddir)/win32/vs9/YourProject.vcproj
|
||||||
# $(top_builddir)/win32/vs9/YourProject.headers
|
|
||||||
|
|
||||||
# Private functions
|
# Private functions
|
||||||
|
|
||||||
@ -168,7 +164,7 @@ am__gtk3_demo_SOURCES_DIST = application_demo.c assistant.c builder.c \
|
|||||||
spinner.c stack.c tabs.c textmask.c textview.c textscroll.c \
|
spinner.c stack.c tabs.c textmask.c textview.c textscroll.c \
|
||||||
theming_style_classes.c toolpalette.c transparent.c \
|
theming_style_classes.c toolpalette.c transparent.c \
|
||||||
tree_store.c font_features.c pagesetup.c gtkfishbowl.c \
|
tree_store.c font_features.c pagesetup.c gtkfishbowl.c \
|
||||||
gtkfishbowl.h demo_resources.c main.c
|
gtkfishbowl.h main.c
|
||||||
am__objects_1 = application_demo.$(OBJEXT) assistant.$(OBJEXT) \
|
am__objects_1 = application_demo.$(OBJEXT) assistant.$(OBJEXT) \
|
||||||
builder.$(OBJEXT) button_box.$(OBJEXT) changedisplay.$(OBJEXT) \
|
builder.$(OBJEXT) button_box.$(OBJEXT) changedisplay.$(OBJEXT) \
|
||||||
clipboard.$(OBJEXT) colorsel.$(OBJEXT) combobox.$(OBJEXT) \
|
clipboard.$(OBJEXT) colorsel.$(OBJEXT) combobox.$(OBJEXT) \
|
||||||
@ -203,8 +199,8 @@ am__objects_4 = pagesetup.$(OBJEXT)
|
|||||||
am__objects_6 = $(am__objects_3) $(am__objects_5)
|
am__objects_6 = $(am__objects_3) $(am__objects_5)
|
||||||
am__objects_7 = $(am__objects_1) $(am__objects_6)
|
am__objects_7 = $(am__objects_1) $(am__objects_6)
|
||||||
am_gtk3_demo_OBJECTS = $(am__objects_7) gtkfishbowl.$(OBJEXT) \
|
am_gtk3_demo_OBJECTS = $(am__objects_7) gtkfishbowl.$(OBJEXT) \
|
||||||
demo_resources.$(OBJEXT) main.$(OBJEXT)
|
main.$(OBJEXT)
|
||||||
nodist_gtk3_demo_OBJECTS =
|
nodist_gtk3_demo_OBJECTS = demo_resources.$(OBJEXT)
|
||||||
gtk3_demo_OBJECTS = $(am_gtk3_demo_OBJECTS) \
|
gtk3_demo_OBJECTS = $(am_gtk3_demo_OBJECTS) \
|
||||||
$(nodist_gtk3_demo_OBJECTS)
|
$(nodist_gtk3_demo_OBJECTS)
|
||||||
am__DEPENDENCIES_1 =
|
am__DEPENDENCIES_1 =
|
||||||
@ -218,9 +214,10 @@ am__v_lt_1 =
|
|||||||
gtk3_demo_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
gtk3_demo_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||||
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
$(gtk3_demo_LDFLAGS) $(LDFLAGS) -o $@
|
$(gtk3_demo_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
am_gtk3_demo_application_OBJECTS = application.$(OBJEXT) \
|
am_gtk3_demo_application_OBJECTS = application.$(OBJEXT)
|
||||||
demo_resources.$(OBJEXT)
|
nodist_gtk3_demo_application_OBJECTS = demo_resources.$(OBJEXT)
|
||||||
gtk3_demo_application_OBJECTS = $(am_gtk3_demo_application_OBJECTS)
|
gtk3_demo_application_OBJECTS = $(am_gtk3_demo_application_OBJECTS) \
|
||||||
|
$(nodist_gtk3_demo_application_OBJECTS)
|
||||||
gtk3_demo_application_DEPENDENCIES = $(am__DEPENDENCIES_2)
|
gtk3_demo_application_DEPENDENCIES = $(am__DEPENDENCIES_2)
|
||||||
AM_V_P = $(am__v_P_@AM_V@)
|
AM_V_P = $(am__v_P_@AM_V@)
|
||||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||||
@ -295,7 +292,8 @@ am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
|
|||||||
am__v_CCLD_0 = @echo " CCLD " $@;
|
am__v_CCLD_0 = @echo " CCLD " $@;
|
||||||
am__v_CCLD_1 =
|
am__v_CCLD_1 =
|
||||||
SOURCES = $(gtk3_demo_SOURCES) $(nodist_gtk3_demo_SOURCES) \
|
SOURCES = $(gtk3_demo_SOURCES) $(nodist_gtk3_demo_SOURCES) \
|
||||||
$(gtk3_demo_application_SOURCES)
|
$(gtk3_demo_application_SOURCES) \
|
||||||
|
$(nodist_gtk3_demo_application_SOURCES)
|
||||||
DIST_SOURCES = $(am__gtk3_demo_SOURCES_DIST) \
|
DIST_SOURCES = $(am__gtk3_demo_SOURCES_DIST) \
|
||||||
$(gtk3_demo_application_SOURCES)
|
$(gtk3_demo_application_SOURCES)
|
||||||
am__can_run_installinfo = \
|
am__can_run_installinfo = \
|
||||||
@ -421,6 +419,7 @@ ETAGS = @ETAGS@
|
|||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||||
GDK_BACKENDS = @GDK_BACKENDS@
|
GDK_BACKENDS = @GDK_BACKENDS@
|
||||||
@ -767,21 +766,18 @@ BUILT_SOURCES = demos.h demo_resources.c
|
|||||||
gsettings_SCHEMAS = \
|
gsettings_SCHEMAS = \
|
||||||
org.gtk.Demo.gschema.xml
|
org.gtk.Demo.gschema.xml
|
||||||
|
|
||||||
nodist_gtk3_demo_SOURCES = demos.h
|
nodist_gtk3_demo_SOURCES = demos.h demo_resources.c
|
||||||
gtk3_demo_SOURCES = \
|
gtk3_demo_SOURCES = \
|
||||||
$(demos) \
|
$(demos) \
|
||||||
gtkfishbowl.c \
|
gtkfishbowl.c \
|
||||||
gtkfishbowl.h \
|
gtkfishbowl.h \
|
||||||
demo_resources.c \
|
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
gtk3_demo_DEPENDENCIES = $(DEPS)
|
gtk3_demo_DEPENDENCIES = $(DEPS)
|
||||||
gtk3_demo_LDADD = $(LDADDS)
|
gtk3_demo_LDADD = $(LDADDS)
|
||||||
gtk3_demo_LDFLAGS = -export-dynamic
|
gtk3_demo_LDFLAGS = -export-dynamic
|
||||||
gtk3_demo_application_SOURCES = \
|
nodist_gtk3_demo_application_SOURCES = demo_resources.c
|
||||||
application.c \
|
gtk3_demo_application_SOURCES = application.c
|
||||||
demo_resources.c
|
|
||||||
|
|
||||||
gtk3_demo_application_LDADD = $(LDADDS)
|
gtk3_demo_application_LDADD = $(LDADDS)
|
||||||
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/demo.gresource.xml)
|
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/demo.gresource.xml)
|
||||||
iconthemedir = $(datadir)/icons/hicolor
|
iconthemedir = $(datadir)/icons/hicolor
|
||||||
@ -801,11 +797,9 @@ dist_appsicon256_DATA = data/256x256/gtk3-demo.png data/256x256/gtk3-demo-symbol
|
|||||||
update_icon_cache = $(top_builddir)/gtk/gtk-update-icon-cache$(EXEEXT) --ignore-theme-index --force
|
update_icon_cache = $(top_builddir)/gtk/gtk-update-icon-cache$(EXEEXT) --ignore-theme-index --force
|
||||||
|
|
||||||
# ------------------- MSVC Build Items ----------------
|
# ------------------- MSVC Build Items ----------------
|
||||||
MSVCPROJS = gtk3-demo gtk3-demo-application
|
MSVCPROJS = gtk3-demo
|
||||||
gtk3_demo_FILES = $(gtk3_demo_SOURCES)
|
gtk3_demo_FILES = $(gtk3_demo_SOURCES)
|
||||||
gtk3_demo_EXCLUDES = font_features.c|pagesetup.c
|
gtk3_demo_EXCLUDES = font_features.c|pagesetup.c
|
||||||
gtk3_demo_application_FILES = $(gtk3_demo_application_SOURCES)
|
|
||||||
gtk3_demo_application_EXCLUDES = dummy
|
|
||||||
_proj_name = $(subst /,_,$(subst -,_,$(subst .,_,$(1))))
|
_proj_name = $(subst /,_,$(subst -,_,$(subst .,_,$(1))))
|
||||||
_proj_path_raw := $(subst $(abs_top_srcdir),,$(abs_srcdir))
|
_proj_path_raw := $(subst $(abs_top_srcdir),,$(abs_srcdir))
|
||||||
_proj_path = $(subst /,\\,$(_proj_path_raw))
|
_proj_path = $(subst /,\\,$(_proj_path_raw))
|
||||||
@ -814,12 +808,7 @@ _proj_subdir = $(subst \\.\\,\\,$(_proj_subdir_int))
|
|||||||
_proj_files_raw = $(subst /,\\,$($(_proj_name)_FILES))
|
_proj_files_raw = $(subst /,\\,$($(_proj_name)_FILES))
|
||||||
_proj_files = $(subst $(srcdir)\\,,$(subst $(builddir)\\,,$(subst $(top_builddir)\\$(_proj_path)\\,\\,$(_proj_files_raw))))
|
_proj_files = $(subst $(srcdir)\\,,$(subst $(builddir)\\,,$(subst $(top_builddir)\\$(_proj_path)\\,\\,$(_proj_files_raw))))
|
||||||
_proj_filters = $($(_proj_name)_EXCLUDES)
|
_proj_filters = $($(_proj_name)_EXCLUDES)
|
||||||
_proj_headers_raw = $(subst /,\\,$($(_proj_name)_HEADERS_INST))
|
DISTCLEANFILES = demos.h demos.h.win32 demo_resources.c
|
||||||
_proj_headers = $(subst $(srcdir)\\,,$(subst $(builddir)\\,,$(subst $(top_builddir)\\$(_proj_path)\\,\\,$(_proj_headers_raw))))
|
|
||||||
_proj_headers_excludes = $($(_proj_name)_HEADERS_EXCLUDES)
|
|
||||||
_headers_dest_posix = $(subst $(includedir),,$($(_proj_name)_HEADERS_DIR))
|
|
||||||
_headers_destdir = $(subst /,\\,$(_headers_dest_posix))
|
|
||||||
DISTCLEANFILES = demos.h demos.h.win32
|
|
||||||
all: $(BUILT_SOURCES)
|
all: $(BUILT_SOURCES)
|
||||||
$(MAKE) $(AM_MAKEFLAGS) all-am
|
$(MAKE) $(AM_MAKEFLAGS) all-am
|
||||||
|
|
||||||
@ -1691,30 +1680,12 @@ $(top_builddir)/win32/vs9/$(1).vcproj: Makefile
|
|||||||
$(RM) $(1).vs10.sourcefiles
|
$(RM) $(1).vs10.sourcefiles
|
||||||
$(RM) $(1).vs10.sourcefiles.filters
|
$(RM) $(1).vs10.sourcefiles.filters
|
||||||
|
|
||||||
$(top_builddir)/win32/vs10/$(1).vs10.headers: $(top_builddir)/win32/vs9/$(1).headers
|
|
||||||
|
|
||||||
$(top_builddir)/win32/vs9/$(1).headers: Makefile
|
|
||||||
-$(RM) $(top_builddir)/win32/vs9/$(1).headers
|
|
||||||
-$(RM) $(top_builddir)/win32/vs10/$(1).vs10.headers
|
|
||||||
|
|
||||||
for F in $(_proj_headers); do \
|
|
||||||
case $$$$F in \
|
|
||||||
$(_proj_headers_excludes)) \
|
|
||||||
;; \
|
|
||||||
*.h|*.hpp|*.hh|*.hxx) \
|
|
||||||
echo 'copy ..\..'$(_proj_subdir)$$$$F' $$$$(CopyDir)\include'$(_headers_destdir)'\'$$$$F'
' >>$(top_builddir)/win32/vs9/$(1).headers && \
|
|
||||||
echo 'copy ..\..'$(_proj_subdir)$$$$F' $$$$(CopyDir)\include'$(_headers_destdir)'\'$$$$F >>$(top_builddir)/win32/vs10/$(1).vs10.headers \
|
|
||||||
;; \
|
|
||||||
esac; \
|
|
||||||
done
|
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(foreach proj,$(MSVCPROJS),$(eval $(call msvcproj-builder,$(proj))))
|
$(foreach proj,$(MSVCPROJS),$(eval $(call msvcproj-builder,$(proj))))
|
||||||
|
|
||||||
dist-hook: \
|
dist-hook: \
|
||||||
$(top_builddir)/win32/vs9/gtk3-demo.vcproj \
|
$(top_builddir)/win32/vs9/gtk3-demo.vcproj
|
||||||
$(top_builddir)/win32/vs9/gtk3-demo-application.vcproj
|
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -16,16 +16,19 @@ bin_PROGRAMS = gtk3-icon-browser
|
|||||||
desktopdir = $(datadir)/applications
|
desktopdir = $(datadir)/applications
|
||||||
dist_desktop_DATA = gtk3-icon-browser.desktop
|
dist_desktop_DATA = gtk3-icon-browser.desktop
|
||||||
|
|
||||||
|
nodist_gtk3_icon_browser_SOURCES = resources.c
|
||||||
|
|
||||||
gtk3_icon_browser_SOURCES = \
|
gtk3_icon_browser_SOURCES = \
|
||||||
main.c \
|
main.c \
|
||||||
iconbrowserapp.c iconbrowserapp.h \
|
iconbrowserapp.c iconbrowserapp.h \
|
||||||
iconbrowserwin.c iconbrowserwin.h \
|
iconbrowserwin.c iconbrowserwin.h \
|
||||||
iconstore.c iconstore.h \
|
iconstore.c iconstore.h
|
||||||
resources.c
|
|
||||||
|
|
||||||
BUILT_SOURCES = \
|
BUILT_SOURCES = \
|
||||||
resources.c
|
resources.c
|
||||||
|
|
||||||
|
DISTCLEANFILES = resources.c
|
||||||
|
|
||||||
resources.c: iconbrowser.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/iconbrowser.gresource.xml)
|
resources.c: iconbrowser.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/iconbrowser.gresource.xml)
|
||||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/iconbrowser.gresource.xml \
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/iconbrowser.gresource.xml \
|
||||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||||
@ -37,14 +40,4 @@ EXTRA_DIST = \
|
|||||||
icon.list \
|
icon.list \
|
||||||
meson.build
|
meson.build
|
||||||
|
|
||||||
# ------------------- MSVC Build Items ----------------
|
|
||||||
MSVCPROJS = gtk3-icon-browser
|
|
||||||
|
|
||||||
gtk3_icon_browser_FILES = $(gtk3_icon_browser_SOURCES)
|
|
||||||
gtk3_icon_browser_EXCLUDES = dummy
|
|
||||||
|
|
||||||
include $(top_srcdir)/win32/Makefile.msvcproj
|
|
||||||
|
|
||||||
dist-hook: $(top_builddir)/win32/vs9/gtk3-icon-browser.vcproj
|
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
@ -14,35 +14,6 @@
|
|||||||
|
|
||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
|
|
||||||
# Author: Fan, Chun-wei
|
|
||||||
# Common Autotools file used to generate Visual Studio 2008+
|
|
||||||
# Projects from their templates
|
|
||||||
|
|
||||||
# This autotools file, from GLib, can be used in other projects
|
|
||||||
# that have Visual Studio build support, and is copied into
|
|
||||||
# $(srcroot)/build/.
|
|
||||||
|
|
||||||
# * Input variables:
|
|
||||||
#
|
|
||||||
# MSVCPROJS - List of Projects that should be generated
|
|
||||||
#
|
|
||||||
# * Simple tutorial
|
|
||||||
#
|
|
||||||
# Add this to Makefile.am where your library/program is built:
|
|
||||||
# include $(top_srcdir)/build/Makefile.msvcproj
|
|
||||||
# MSVCPROJS = YourProject (can be multiple projects in a single srcdir)
|
|
||||||
# YourProject_FILES = $(libyourlib_1_0_SOURCES)
|
|
||||||
# YourProject_EXCLUDES = ... # list of sources to exclude, separated by '|', wildcards allowed; use random unsed value if none
|
|
||||||
# YourProject_HEADERS_DIR = $(libyourlibincludedir)
|
|
||||||
# YourProject_HEADERS_INST = $(libyourlib_1_0_HEADERS)
|
|
||||||
# YourProject_HEADERS_EXCLUDES = ... # <list of headers to exclude from installation, separated by '|', wildcards allowed; use random unsed value if none>
|
|
||||||
#
|
|
||||||
# dist-hook: \ # (or add to it if it is already there, note the vs9 items will also call the vs10 items in the process)
|
|
||||||
# $(top_builddir)/win32/vs9/YourProject.vcproj \
|
|
||||||
# $(top_builddir)/win32/vs9/YourProject.headers
|
|
||||||
|
|
||||||
# Private functions
|
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
am__is_gnu_make = { \
|
am__is_gnu_make = { \
|
||||||
@ -143,9 +114,10 @@ CONFIG_CLEAN_VPATH_FILES =
|
|||||||
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(desktopdir)"
|
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(desktopdir)"
|
||||||
PROGRAMS = $(bin_PROGRAMS)
|
PROGRAMS = $(bin_PROGRAMS)
|
||||||
am_gtk3_icon_browser_OBJECTS = main.$(OBJEXT) iconbrowserapp.$(OBJEXT) \
|
am_gtk3_icon_browser_OBJECTS = main.$(OBJEXT) iconbrowserapp.$(OBJEXT) \
|
||||||
iconbrowserwin.$(OBJEXT) iconstore.$(OBJEXT) \
|
iconbrowserwin.$(OBJEXT) iconstore.$(OBJEXT)
|
||||||
resources.$(OBJEXT)
|
nodist_gtk3_icon_browser_OBJECTS = resources.$(OBJEXT)
|
||||||
gtk3_icon_browser_OBJECTS = $(am_gtk3_icon_browser_OBJECTS)
|
gtk3_icon_browser_OBJECTS = $(am_gtk3_icon_browser_OBJECTS) \
|
||||||
|
$(nodist_gtk3_icon_browser_OBJECTS)
|
||||||
gtk3_icon_browser_LDADD = $(LDADD)
|
gtk3_icon_browser_LDADD = $(LDADD)
|
||||||
am__DEPENDENCIES_1 =
|
am__DEPENDENCIES_1 =
|
||||||
gtk3_icon_browser_DEPENDENCIES = $(top_builddir)/gtk/libgtk-3.la \
|
gtk3_icon_browser_DEPENDENCIES = $(top_builddir)/gtk/libgtk-3.la \
|
||||||
@ -191,7 +163,8 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@)
|
|||||||
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
|
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
|
||||||
am__v_CCLD_0 = @echo " CCLD " $@;
|
am__v_CCLD_0 = @echo " CCLD " $@;
|
||||||
am__v_CCLD_1 =
|
am__v_CCLD_1 =
|
||||||
SOURCES = $(gtk3_icon_browser_SOURCES)
|
SOURCES = $(gtk3_icon_browser_SOURCES) \
|
||||||
|
$(nodist_gtk3_icon_browser_SOURCES)
|
||||||
DIST_SOURCES = $(gtk3_icon_browser_SOURCES)
|
DIST_SOURCES = $(gtk3_icon_browser_SOURCES)
|
||||||
am__can_run_installinfo = \
|
am__can_run_installinfo = \
|
||||||
case $$AM_UPDATE_INFO_DIR in \
|
case $$AM_UPDATE_INFO_DIR in \
|
||||||
@ -244,8 +217,7 @@ am__define_uniq_tagged_files = \
|
|||||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
done | $(am__uniquify_input)`
|
done | $(am__uniquify_input)`
|
||||||
am__DIST_COMMON = $(srcdir)/Makefile.in \
|
am__DIST_COMMON = $(srcdir)/Makefile.in \
|
||||||
$(top_srcdir)/build-aux/depcomp \
|
$(top_srcdir)/build-aux/depcomp
|
||||||
$(top_srcdir)/win32/Makefile.msvcproj
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
@ -312,6 +284,7 @@ ETAGS = @ETAGS@
|
|||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||||
GDK_BACKENDS = @GDK_BACKENDS@
|
GDK_BACKENDS = @GDK_BACKENDS@
|
||||||
@ -537,16 +510,17 @@ LDADD = \
|
|||||||
|
|
||||||
desktopdir = $(datadir)/applications
|
desktopdir = $(datadir)/applications
|
||||||
dist_desktop_DATA = gtk3-icon-browser.desktop
|
dist_desktop_DATA = gtk3-icon-browser.desktop
|
||||||
|
nodist_gtk3_icon_browser_SOURCES = resources.c
|
||||||
gtk3_icon_browser_SOURCES = \
|
gtk3_icon_browser_SOURCES = \
|
||||||
main.c \
|
main.c \
|
||||||
iconbrowserapp.c iconbrowserapp.h \
|
iconbrowserapp.c iconbrowserapp.h \
|
||||||
iconbrowserwin.c iconbrowserwin.h \
|
iconbrowserwin.c iconbrowserwin.h \
|
||||||
iconstore.c iconstore.h \
|
iconstore.c iconstore.h
|
||||||
resources.c
|
|
||||||
|
|
||||||
BUILT_SOURCES = \
|
BUILT_SOURCES = \
|
||||||
resources.c
|
resources.c
|
||||||
|
|
||||||
|
DISTCLEANFILES = resources.c
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
menus.ui \
|
menus.ui \
|
||||||
iconbrowser.gresource.xml \
|
iconbrowser.gresource.xml \
|
||||||
@ -554,30 +528,12 @@ EXTRA_DIST = \
|
|||||||
icon.list \
|
icon.list \
|
||||||
meson.build
|
meson.build
|
||||||
|
|
||||||
|
|
||||||
# ------------------- MSVC Build Items ----------------
|
|
||||||
MSVCPROJS = gtk3-icon-browser
|
|
||||||
gtk3_icon_browser_FILES = $(gtk3_icon_browser_SOURCES)
|
|
||||||
gtk3_icon_browser_EXCLUDES = dummy
|
|
||||||
_proj_name = $(subst /,_,$(subst -,_,$(subst .,_,$(1))))
|
|
||||||
_proj_path_raw := $(subst $(abs_top_srcdir),,$(abs_srcdir))
|
|
||||||
_proj_path = $(subst /,\\,$(_proj_path_raw))
|
|
||||||
_proj_subdir_int = $(subst \\\\,\\,\\$(_proj_path)\\)
|
|
||||||
_proj_subdir = $(subst \\.\\,\\,$(_proj_subdir_int))
|
|
||||||
_proj_files_raw = $(subst /,\\,$($(_proj_name)_FILES))
|
|
||||||
_proj_files = $(subst $(srcdir)\\,,$(subst $(builddir)\\,,$(subst $(top_builddir)\\$(_proj_path)\\,\\,$(_proj_files_raw))))
|
|
||||||
_proj_filters = $($(_proj_name)_EXCLUDES)
|
|
||||||
_proj_headers_raw = $(subst /,\\,$($(_proj_name)_HEADERS_INST))
|
|
||||||
_proj_headers = $(subst $(srcdir)\\,,$(subst $(builddir)\\,,$(subst $(top_builddir)\\$(_proj_path)\\,\\,$(_proj_headers_raw))))
|
|
||||||
_proj_headers_excludes = $($(_proj_name)_HEADERS_EXCLUDES)
|
|
||||||
_headers_dest_posix = $(subst $(includedir),,$($(_proj_name)_HEADERS_DIR))
|
|
||||||
_headers_destdir = $(subst /,\\,$(_headers_dest_posix))
|
|
||||||
all: $(BUILT_SOURCES)
|
all: $(BUILT_SOURCES)
|
||||||
$(MAKE) $(AM_MAKEFLAGS) all-am
|
$(MAKE) $(AM_MAKEFLAGS) all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .c .lo .o .obj
|
.SUFFIXES: .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/win32/Makefile.msvcproj $(am__configure_deps)
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
||||||
@for dep in $?; do \
|
@for dep in $?; do \
|
||||||
case '$(am__configure_deps)' in \
|
case '$(am__configure_deps)' in \
|
||||||
*$$dep*) \
|
*$$dep*) \
|
||||||
@ -597,7 +553,6 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|||||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
|
||||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
|
||||||
esac;
|
esac;
|
||||||
$(top_srcdir)/win32/Makefile.msvcproj $(am__empty):
|
|
||||||
|
|
||||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
@ -814,9 +769,6 @@ distdir-am: $(DISTFILES)
|
|||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) \
|
|
||||||
top_distdir="$(top_distdir)" distdir="$(distdir)" \
|
|
||||||
dist-hook
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
check: $(BUILT_SOURCES)
|
check: $(BUILT_SOURCES)
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-am
|
$(MAKE) $(AM_MAKEFLAGS) check-am
|
||||||
@ -853,6 +805,7 @@ clean-generic:
|
|||||||
distclean-generic:
|
distclean-generic:
|
||||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||||
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
@echo "This command is intended for maintainers to use"
|
@echo "This command is intended for maintainers to use"
|
||||||
@ -940,19 +893,18 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dist_desktopDATA
|
|||||||
|
|
||||||
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
|
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
|
||||||
clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
|
clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
|
||||||
ctags ctags-am dist-hook distclean distclean-compile \
|
ctags ctags-am distclean distclean-compile distclean-generic \
|
||||||
distclean-generic distclean-libtool distclean-tags distdir dvi \
|
distclean-libtool distclean-tags distdir dvi dvi-am html \
|
||||||
dvi-am html html-am info info-am install install-am \
|
html-am info info-am install install-am install-binPROGRAMS \
|
||||||
install-binPROGRAMS install-data install-data-am \
|
install-data install-data-am install-dist_desktopDATA \
|
||||||
install-dist_desktopDATA install-dvi install-dvi-am \
|
install-dvi install-dvi-am install-exec install-exec-am \
|
||||||
install-exec install-exec-am install-html install-html-am \
|
install-html install-html-am install-info install-info-am \
|
||||||
install-info install-info-am install-man install-pdf \
|
install-man install-pdf install-pdf-am install-ps \
|
||||||
install-pdf-am install-ps install-ps-am install-strip \
|
install-ps-am install-strip installcheck installcheck-am \
|
||||||
installcheck installcheck-am installdirs maintainer-clean \
|
installdirs maintainer-clean maintainer-clean-generic \
|
||||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
mostlyclean mostlyclean-compile mostlyclean-generic \
|
||||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
|
||||||
tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
|
uninstall-am uninstall-binPROGRAMS uninstall-dist_desktopDATA
|
||||||
uninstall-dist_desktopDATA
|
|
||||||
|
|
||||||
.PRECIOUS: Makefile
|
.PRECIOUS: Makefile
|
||||||
|
|
||||||
@ -961,76 +913,6 @@ resources.c: iconbrowser.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourc
|
|||||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/iconbrowser.gresource.xml \
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/iconbrowser.gresource.xml \
|
||||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||||
|
|
||||||
#
|
|
||||||
# Creates Visual Studio 2008/2010 projects from items passed in from autotools files
|
|
||||||
# $(1) - Base Name of the MSVC project files (outputs)
|
|
||||||
#
|
|
||||||
|
|
||||||
define msvcproj-builder
|
|
||||||
|
|
||||||
$(top_builddir)/win32/vs10/$(1).vcxproj: $(top_builddir)/win32/vs9/$(1).vcproj
|
|
||||||
$(top_builddir)/win32/vs10/$(1).vcxproj.filters: $(top_builddir)/win32/vs9/$(1).vcproj
|
|
||||||
$(1).sourcefiles: $(top_builddir)/win32/vs9/$(1).vcproj
|
|
||||||
$(1).vs10.sourcefiles: $(top_builddir)/win32/vs9/$(1).vcproj
|
|
||||||
$(1).vs10.sourcefiles.filters: $(top_builddir)/win32/vs9/$(1).vcproj
|
|
||||||
|
|
||||||
$(top_builddir)/win32/vs9/$(1).vcproj: Makefile
|
|
||||||
-$(RM) $(top_builddir)/win32/vs9/$(1).vcproj
|
|
||||||
-$(RM) $(top_builddir)/win32/vs10/$(1).vcxproj
|
|
||||||
-$(RM) $(top_builddir)/win32/vs10/$(1).vcxproj.filters
|
|
||||||
-$(RM) $(top_builddir)/win32/vs11/$(1).vcxproj
|
|
||||||
-$(RM) $(top_builddir)/win32/vs11/$(1).vcxproj.filters
|
|
||||||
-$(RM) $(top_builddir)/win32/vs12/$(1).vcxproj
|
|
||||||
-$(RM) $(top_builddir)/win32/vs12/$(1).vcxproj.filters
|
|
||||||
-$(RM) $(top_builddir)/win32/vs14/$(1).vcxproj
|
|
||||||
-$(RM) $(top_builddir)/win32/vs14/$(1).vcxproj.filters
|
|
||||||
-$(RM) $(top_builddir)/win32/vs15/$(1).vcxproj
|
|
||||||
-$(RM) $(top_builddir)/win32/vs15/$(1).vcxproj.filters
|
|
||||||
-$(RM) $(top_builddir)/win32/vs16/$(1).vcxproj
|
|
||||||
-$(RM) $(top_builddir)/win32/vs16/$(1).vcxproj.filters
|
|
||||||
|
|
||||||
for F in $(_proj_files); do \
|
|
||||||
case $$$$F in \
|
|
||||||
$(_proj_filters)) \
|
|
||||||
;; \
|
|
||||||
*.c|*.cpp|*.cc|*.cxx) \
|
|
||||||
echo ' <File RelativePath="..\..'$(_proj_subdir)$$$$F'" />' >>$(1).sourcefiles && \
|
|
||||||
echo ' <ClCompile Include="..\..'$(_proj_subdir)$$$$F'" />' >>$(1).vs10.sourcefiles && \
|
|
||||||
echo ' <ClCompile Include="..\..'$(_proj_subdir)$$$$F'"><Filter>Source Files</Filter></ClCompile>' >>$(1).vs10.sourcefiles.filters \
|
|
||||||
;; \
|
|
||||||
esac; \
|
|
||||||
done
|
|
||||||
|
|
||||||
$(CPP) -P - <$(top_srcdir)/win32/vs9/$(1).vcprojin >$(top_builddir)/win32/vs9/$(1).vcproj
|
|
||||||
$(CPP) -P - <$(top_srcdir)/win32/vs10/$(1).vcxprojin >$(top_builddir)/win32/vs10/$(1).vcxproj
|
|
||||||
$(CPP) -P - <$(top_srcdir)/win32/vs10/$(1).vcxproj.filtersin >$(top_builddir)/win32/vs10/$(1).vcxproj.filters
|
|
||||||
$(RM) $(1).sourcefiles
|
|
||||||
$(RM) $(1).vs10.sourcefiles
|
|
||||||
$(RM) $(1).vs10.sourcefiles.filters
|
|
||||||
|
|
||||||
$(top_builddir)/win32/vs10/$(1).vs10.headers: $(top_builddir)/win32/vs9/$(1).headers
|
|
||||||
|
|
||||||
$(top_builddir)/win32/vs9/$(1).headers: Makefile
|
|
||||||
-$(RM) $(top_builddir)/win32/vs9/$(1).headers
|
|
||||||
-$(RM) $(top_builddir)/win32/vs10/$(1).vs10.headers
|
|
||||||
|
|
||||||
for F in $(_proj_headers); do \
|
|
||||||
case $$$$F in \
|
|
||||||
$(_proj_headers_excludes)) \
|
|
||||||
;; \
|
|
||||||
*.h|*.hpp|*.hh|*.hxx) \
|
|
||||||
echo 'copy ..\..'$(_proj_subdir)$$$$F' $$$$(CopyDir)\include'$(_headers_destdir)'\'$$$$F'
' >>$(top_builddir)/win32/vs9/$(1).headers && \
|
|
||||||
echo 'copy ..\..'$(_proj_subdir)$$$$F' $$$$(CopyDir)\include'$(_headers_destdir)'\'$$$$F >>$(top_builddir)/win32/vs10/$(1).vs10.headers \
|
|
||||||
;; \
|
|
||||||
esac; \
|
|
||||||
done
|
|
||||||
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(foreach proj,$(MSVCPROJS),$(eval $(call msvcproj-builder,$(proj))))
|
|
||||||
|
|
||||||
dist-hook: $(top_builddir)/win32/vs9/gtk3-icon-browser.vcproj
|
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -5,9 +5,9 @@ bin_PROGRAMS = gtk3-widget-factory
|
|||||||
desktopdir = $(datadir)/applications
|
desktopdir = $(datadir)/applications
|
||||||
dist_desktop_DATA = gtk3-widget-factory.desktop
|
dist_desktop_DATA = gtk3-widget-factory.desktop
|
||||||
|
|
||||||
gtk3_widget_factory_SOURCES = \
|
nodist_gtk3_widget_factory_SOURCES = widget_factory_resources.c
|
||||||
widget-factory.c \
|
|
||||||
widget_factory_resources.c
|
gtk3_widget_factory_SOURCES = widget-factory.c
|
||||||
|
|
||||||
BUILT_SOURCES = \
|
BUILT_SOURCES = \
|
||||||
widget_factory_resources.c
|
widget_factory_resources.c
|
||||||
@ -69,4 +69,6 @@ EXTRA_DIST += \
|
|||||||
data/symbolic-source.svg \
|
data/symbolic-source.svg \
|
||||||
meson.build
|
meson.build
|
||||||
|
|
||||||
|
DISTCLEANFILES = widget_factory_resources.c
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
@ -122,9 +122,11 @@ am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(appsicon16dir)" \
|
|||||||
"$(DESTDIR)$(appsicon48dir)" "$(DESTDIR)$(desktopdir)"
|
"$(DESTDIR)$(appsicon48dir)" "$(DESTDIR)$(desktopdir)"
|
||||||
PROGRAMS = $(bin_PROGRAMS)
|
PROGRAMS = $(bin_PROGRAMS)
|
||||||
am_gtk3_widget_factory_OBJECTS = \
|
am_gtk3_widget_factory_OBJECTS = \
|
||||||
gtk3_widget_factory-widget-factory.$(OBJEXT) \
|
gtk3_widget_factory-widget-factory.$(OBJEXT)
|
||||||
|
nodist_gtk3_widget_factory_OBJECTS = \
|
||||||
gtk3_widget_factory-widget_factory_resources.$(OBJEXT)
|
gtk3_widget_factory-widget_factory_resources.$(OBJEXT)
|
||||||
gtk3_widget_factory_OBJECTS = $(am_gtk3_widget_factory_OBJECTS)
|
gtk3_widget_factory_OBJECTS = $(am_gtk3_widget_factory_OBJECTS) \
|
||||||
|
$(nodist_gtk3_widget_factory_OBJECTS)
|
||||||
am__DEPENDENCIES_1 =
|
am__DEPENDENCIES_1 =
|
||||||
AM_V_lt = $(am__v_lt_@AM_V@)
|
AM_V_lt = $(am__v_lt_@AM_V@)
|
||||||
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
|
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
|
||||||
@ -167,7 +169,8 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@)
|
|||||||
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
|
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
|
||||||
am__v_CCLD_0 = @echo " CCLD " $@;
|
am__v_CCLD_0 = @echo " CCLD " $@;
|
||||||
am__v_CCLD_1 =
|
am__v_CCLD_1 =
|
||||||
SOURCES = $(gtk3_widget_factory_SOURCES)
|
SOURCES = $(gtk3_widget_factory_SOURCES) \
|
||||||
|
$(nodist_gtk3_widget_factory_SOURCES)
|
||||||
DIST_SOURCES = $(gtk3_widget_factory_SOURCES)
|
DIST_SOURCES = $(gtk3_widget_factory_SOURCES)
|
||||||
am__can_run_installinfo = \
|
am__can_run_installinfo = \
|
||||||
case $$AM_UPDATE_INFO_DIR in \
|
case $$AM_UPDATE_INFO_DIR in \
|
||||||
@ -290,6 +293,7 @@ ETAGS = @ETAGS@
|
|||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||||
GDK_BACKENDS = @GDK_BACKENDS@
|
GDK_BACKENDS = @GDK_BACKENDS@
|
||||||
@ -538,10 +542,8 @@ XVFB_START = \
|
|||||||
|
|
||||||
desktopdir = $(datadir)/applications
|
desktopdir = $(datadir)/applications
|
||||||
dist_desktop_DATA = gtk3-widget-factory.desktop
|
dist_desktop_DATA = gtk3-widget-factory.desktop
|
||||||
gtk3_widget_factory_SOURCES = \
|
nodist_gtk3_widget_factory_SOURCES = widget_factory_resources.c
|
||||||
widget-factory.c \
|
gtk3_widget_factory_SOURCES = widget-factory.c
|
||||||
widget_factory_resources.c
|
|
||||||
|
|
||||||
BUILT_SOURCES = \
|
BUILT_SOURCES = \
|
||||||
widget_factory_resources.c
|
widget_factory_resources.c
|
||||||
|
|
||||||
@ -574,6 +576,7 @@ dist_appsicon32_DATA = data/32x32/gtk3-widget-factory.png data/32x32/gtk3-widget
|
|||||||
dist_appsicon48_DATA = data/48x48/gtk3-widget-factory.png data/48x48/gtk3-widget-factory-symbolic.symbolic.png
|
dist_appsicon48_DATA = data/48x48/gtk3-widget-factory.png data/48x48/gtk3-widget-factory-symbolic.symbolic.png
|
||||||
dist_appsicon256_DATA = data/256x256/gtk3-widget-factory.png data/256x256/gtk3-widget-factory-symbolic.symbolic.png
|
dist_appsicon256_DATA = data/256x256/gtk3-widget-factory.png data/256x256/gtk3-widget-factory-symbolic.symbolic.png
|
||||||
update_icon_cache = $(top_builddir)/gtk/gtk-update-icon-cache$(EXEEXT) --ignore-theme-index --force
|
update_icon_cache = $(top_builddir)/gtk/gtk-update-icon-cache$(EXEEXT) --ignore-theme-index --force
|
||||||
|
DISTCLEANFILES = widget_factory_resources.c
|
||||||
all: $(BUILT_SOURCES)
|
all: $(BUILT_SOURCES)
|
||||||
$(MAKE) $(AM_MAKEFLAGS) all-am
|
$(MAKE) $(AM_MAKEFLAGS) all-am
|
||||||
|
|
||||||
@ -1004,6 +1007,7 @@ clean-generic:
|
|||||||
distclean-generic:
|
distclean-generic:
|
||||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||||
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
@echo "This command is intended for maintainers to use"
|
@echo "This command is intended for maintainers to use"
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -254,6 +254,7 @@ ETAGS = @ETAGS@
|
|||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||||
GDK_BACKENDS = @GDK_BACKENDS@
|
GDK_BACKENDS = @GDK_BACKENDS@
|
||||||
|
@ -254,6 +254,7 @@ ETAGS = @ETAGS@
|
|||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||||
GDK_BACKENDS = @GDK_BACKENDS@
|
GDK_BACKENDS = @GDK_BACKENDS@
|
||||||
|
@ -219,6 +219,7 @@ ETAGS = @ETAGS@
|
|||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||||
GDK_BACKENDS = @GDK_BACKENDS@
|
GDK_BACKENDS = @GDK_BACKENDS@
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<div>
|
<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><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">
|
<div><p class="releaseinfo">
|
||||||
This document is for the GDK 3 library, version 3.24.34
|
This document is for the GDK 3 library, version 3.24.35
|
||||||
|
|
||||||
The latest versions can be found online at
|
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>.
|
<a class="ulink" href="https://developer.gnome.org/gdk3/" target="_top">https://developer.gnome.org/gdk3/</a>.
|
||||||
|
@ -1 +1 @@
|
|||||||
3.24.34
|
3.24.35
|
||||||
|
@ -251,6 +251,7 @@ ETAGS = @ETAGS@
|
|||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
EXE_MANIFEST_ARCHITECTURE = @EXE_MANIFEST_ARCHITECTURE@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
GAIL_LT_CURRENT_MINUS_AGE = @GAIL_LT_CURRENT_MINUS_AGE@
|
||||||
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
GAIL_LT_VERSION_INFO = @GAIL_LT_VERSION_INFO@
|
||||||
GDK_BACKENDS = @GDK_BACKENDS@
|
GDK_BACKENDS = @GDK_BACKENDS@
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
.\" Title: broadwayd
|
.\" Title: broadwayd
|
||||||
.\" Author: Alexander Larsson
|
.\" Author: Alexander Larsson
|
||||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||||
.\" Date: 05/18/2022
|
.\" Date: 11/22/2022
|
||||||
.\" Manual: User Commands
|
.\" Manual: User Commands
|
||||||
.\" Source: GTK+
|
.\" Source: GTK+
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
.\" Title: gtk-builder-tool
|
.\" Title: gtk-builder-tool
|
||||||
.\" Author: Matthias Clasen
|
.\" Author: Matthias Clasen
|
||||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||||
.\" Date: 05/18/2022
|
.\" Date: 11/22/2022
|
||||||
.\" Manual: User Commands
|
.\" Manual: User Commands
|
||||||
.\" Source: GTK+
|
.\" Source: GTK+
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
.\" Title: gtk-encode-symbolic-svg
|
.\" Title: gtk-encode-symbolic-svg
|
||||||
.\" Author: Alexander Larsson
|
.\" Author: Alexander Larsson
|
||||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||||
.\" Date: 05/18/2022
|
.\" Date: 11/22/2022
|
||||||
.\" Manual: User Commands
|
.\" Manual: User Commands
|
||||||
.\" Source: GTK+
|
.\" Source: GTK+
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
.\" Title: gtk-launch
|
.\" Title: gtk-launch
|
||||||
.\" Author: Tomáš Bžatek <tbzatek@redhat.com>
|
.\" Author: Tomáš Bžatek <tbzatek@redhat.com>
|
||||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||||
.\" Date: 05/18/2022
|
.\" Date: 11/22/2022
|
||||||
.\" Manual: User Commands
|
.\" Manual: User Commands
|
||||||
.\" Source: GTK+
|
.\" Source: GTK+
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
.\" Title: gtk-query-immodules-3.0
|
.\" Title: gtk-query-immodules-3.0
|
||||||
.\" Author: Matthias Clasen
|
.\" Author: Matthias Clasen
|
||||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||||
.\" Date: 05/18/2022
|
.\" Date: 11/22/2022
|
||||||
.\" Manual: User Commands
|
.\" Manual: User Commands
|
||||||
.\" Source: GTK+
|
.\" Source: GTK+
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
.\" Title: gtk-query-settings
|
.\" Title: gtk-query-settings
|
||||||
.\" Author: Timm Bäder
|
.\" Author: Timm Bäder
|
||||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||||
.\" Date: 05/18/2022
|
.\" Date: 11/22/2022
|
||||||
.\" Manual: User Commands
|
.\" Manual: User Commands
|
||||||
.\" Source: GTK+
|
.\" Source: GTK+
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
.\" Title: gtk-update-icon-cache
|
.\" Title: gtk-update-icon-cache
|
||||||
.\" Author: Matthias Clasen
|
.\" Author: Matthias Clasen
|
||||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||||
.\" Date: 05/18/2022
|
.\" Date: 11/22/2022
|
||||||
.\" Manual: User Commands
|
.\" Manual: User Commands
|
||||||
.\" Source: GTK+
|
.\" Source: GTK+
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
.\" Title: gtk3-demo-application
|
.\" Title: gtk3-demo-application
|
||||||
.\" Author: Matthias Clasen
|
.\" Author: Matthias Clasen
|
||||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||||
.\" Date: 05/18/2022
|
.\" Date: 11/22/2022
|
||||||
.\" Manual: User Commands
|
.\" Manual: User Commands
|
||||||
.\" Source: GTK+
|
.\" Source: GTK+
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
.\" Title: gtk3-demo
|
.\" Title: gtk3-demo
|
||||||
.\" Author: Matthias Clasen
|
.\" Author: Matthias Clasen
|
||||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||||
.\" Date: 05/18/2022
|
.\" Date: 11/22/2022
|
||||||
.\" Manual: User Commands
|
.\" Manual: User Commands
|
||||||
.\" Source: GTK+
|
.\" Source: GTK+
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
.\" Title: gtk3-icon-browser
|
.\" Title: gtk3-icon-browser
|
||||||
.\" Author: Matthias Clasen
|
.\" Author: Matthias Clasen
|
||||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||||
.\" Date: 05/18/2022
|
.\" Date: 11/22/2022
|
||||||
.\" Manual: User Commands
|
.\" Manual: User Commands
|
||||||
.\" Source: GTK+
|
.\" Source: GTK+
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
.\" Title: gtk3-widget-factory
|
.\" Title: gtk3-widget-factory
|
||||||
.\" Author: Matthias Clasen
|
.\" Author: Matthias Clasen
|
||||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||||
.\" Date: 05/18/2022
|
.\" Date: 11/22/2022
|
||||||
.\" Manual: User Commands
|
.\" Manual: User Commands
|
||||||
.\" Source: GTK+
|
.\" Source: GTK+
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
@ -422,7 +422,7 @@ be needed by applications.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<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>,
|
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><span class="type">guint</span> accelerator_key</code></em>,
|
<em class="parameter"><code><span class="type">guint</span> accelerator_key</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> accelerator_mods</code></em>);</pre>
|
<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
|
<p>Manually sets a keyval and modifier mask as the accelerator rendered
|
||||||
by <em class="parameter"><code>accel_label</code></em>
|
by <em class="parameter"><code>accel_label</code></em>
|
||||||
.</p>
|
.</p>
|
||||||
@ -465,7 +465,7 @@ used regardless of any associated accel closure or widget.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<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>,
|
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><span class="type">guint</span> *accelerator_key</code></em>,
|
<em class="parameter"><code><span class="type">guint</span> *accelerator_key</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> *accelerator_mods</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkModifierType</span> *accelerator_mods</code></em>);</pre>
|
||||||
<p>Gets the keyval and modifier mask set with
|
<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>
|
<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">
|
<div class="refsect3">
|
||||||
|
@ -403,7 +403,7 @@ as <code class="literal">TRUE</code>, strings like “FALSE”, “f”, “no
|
|||||||
as <code class="literal">FALSE</code>), enumerations (can be specified by their name, nick or
|
as <code class="literal">FALSE</code>), enumerations (can be specified by their name, nick or
|
||||||
integer value), flags (can be specified by their name, nick, integer
|
integer value), flags (can be specified by their name, nick, integer
|
||||||
value, optionally combined with “|”, e.g. “GTK_VISIBLE|GTK_REALIZED”)
|
value, optionally combined with “|”, e.g. “GTK_VISIBLE|GTK_REALIZED”)
|
||||||
and colors (in a format understood by <a href="../html/gdk3-RGBA-Colors.html#gdk-rgba-parse"><code class="function">gdk_rgba_parse()</code></a>).</p>
|
and colors (in a format understood by <code class="function">gdk_rgba_parse()</code>).</p>
|
||||||
<p>GVariants can be specified in the format understood by <code class="function">g_variant_parse()</code>,
|
<p>GVariants can be specified in the format understood by <code class="function">g_variant_parse()</code>,
|
||||||
and pixbufs can be specified as a filename of an image file to load.</p>
|
and pixbufs can be specified as a filename of an image file to load.</p>
|
||||||
<p>Objects can be referred to by their name and by default refer to
|
<p>Objects can be referred to by their name and by default refer to
|
||||||
@ -1634,7 +1634,7 @@ calls <code class="function">g_value_init()</code> on the <em class="parameter">
|
|||||||
argument, so it need not be
|
argument, so it need not be
|
||||||
initialised beforehand.</p>
|
initialised beforehand.</p>
|
||||||
<p>This function can handle char, uchar, boolean, int, uint, long,
|
<p>This function can handle char, uchar, boolean, int, uint, long,
|
||||||
ulong, enum, flags, float, double, string, <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>, <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> and
|
ulong, enum, flags, float, double, string, <span class="type">GdkColor</span>, <span class="type">GdkRGBA</span> and
|
||||||
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> type values. Support for <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> type values is
|
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> type values. Support for <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> type values is
|
||||||
still to come.</p>
|
still to come.</p>
|
||||||
<p>Upon errors <code class="literal">FALSE</code> will be returned and <em class="parameter"><code>error</code></em>
|
<p>Upon errors <code class="literal">FALSE</code> will be returned and <em class="parameter"><code>error</code></em>
|
||||||
|
@ -269,7 +269,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<span class="returnvalue">GdkWindow</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkButton.html#gtk-button-get-event-window" title="gtk_button_get_event_window ()">gtk_button_get_event_window</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkButton.html#gtk-button-get-event-window" title="gtk_button_get_event_window ()">gtk_button_get_event_window</a> <span class="c_punctuation">()</span>
|
||||||
@ -1370,7 +1370,7 @@ setting and always show the image, if available.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-button-get-event-window"></a><h3>gtk_button_get_event_window ()</h3>
|
<a name="gtk-button-get-event-window"></a><h3>gtk_button_get_event_window ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
||||||
gtk_button_get_event_window (<em class="parameter"><code><a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a> *button</code></em>);</pre>
|
gtk_button_get_event_window (<em class="parameter"><code><a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a> *button</code></em>);</pre>
|
||||||
<p>Returns the button’s event window if it is realized, <code class="literal">NULL</code> otherwise.
|
<p>Returns the button’s event window if it is realized, <code class="literal">NULL</code> otherwise.
|
||||||
This function should be rarely needed.</p>
|
This function should be rarely needed.</p>
|
||||||
|
@ -1038,8 +1038,8 @@ the cell renderers of a <a class="link" href="GtkCellArea.html" title="GtkCellAr
|
|||||||
<a name="GtkCellAllocCallback"></a><h3>GtkCellAllocCallback ()</h3>
|
<a name="GtkCellAllocCallback"></a><h3>GtkCellAllocCallback ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
<span class="c_punctuation">(</span>*GtkCellAllocCallback<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *renderer</code></em>,
|
<span class="c_punctuation">(</span>*GtkCellAllocCallback<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *renderer</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_background</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_background</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
||||||
<p>The type of the callback functions used for iterating over the
|
<p>The type of the callback functions used for iterating over the
|
||||||
cell renderers and their allocated areas inside a <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a>,
|
cell renderers and their allocated areas inside a <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a>,
|
||||||
@ -1273,8 +1273,8 @@ gtk_cell_area_foreach (<em class="parameter"><code><a class="link" href="GtkCell
|
|||||||
gtk_cell_area_foreach_alloc (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>,
|
gtk_cell_area_foreach_alloc (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellAreaContext.html" title="GtkCellAreaContext"><span class="type">GtkCellAreaContext</span></a> *context</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkCellAreaContext.html" title="GtkCellAreaContext"><span class="type">GtkCellAreaContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *background_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *background_area</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellArea.html#GtkCellAllocCallback" title="GtkCellAllocCallback ()"><span class="type">GtkCellAllocCallback</span></a> callback</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkCellArea.html#GtkCellAllocCallback" title="GtkCellAllocCallback ()"><span class="type">GtkCellAllocCallback</span></a> callback</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gpointer</span> callback_data</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gpointer</span> callback_data</code></em>);</pre>
|
||||||
<p>Calls <em class="parameter"><code>callback</code></em>
|
<p>Calls <em class="parameter"><code>callback</code></em>
|
||||||
@ -1342,8 +1342,8 @@ relative coordinates of the background area</p></td>
|
|||||||
gtk_cell_area_event (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>,
|
gtk_cell_area_event (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellAreaContext.html" title="GtkCellAreaContext"><span class="type">GtkCellAreaContext</span></a> *context</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkCellAreaContext.html" title="GtkCellAreaContext"><span class="type">GtkCellAreaContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>);</pre>
|
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>);</pre>
|
||||||
<p>Delegates event handling to a <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a>.</p>
|
<p>Delegates event handling to a <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a>.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -1373,7 +1373,7 @@ is rendering to</p></td>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>event</p></td>
|
<td class="parameter_name"><p>event</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> to handle</p></td>
|
<td class="parameter_description"><p>the <span class="type">GdkEvent</span> to handle</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1407,8 +1407,8 @@ gtk_cell_area_render (<em class="parameter"><code><a class="link" href="GtkCellA
|
|||||||
<em class="parameter"><code><a class="link" href="GtkCellAreaContext.html" title="GtkCellAreaContext"><span class="type">GtkCellAreaContext</span></a> *context</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkCellAreaContext.html" title="GtkCellAreaContext"><span class="type">GtkCellAreaContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<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 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="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *background_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *background_area</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gboolean</span> paint_focus</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gboolean</span> paint_focus</code></em>);</pre>
|
||||||
<p>Renders <em class="parameter"><code>area</code></em>
|
<p>Renders <em class="parameter"><code>area</code></em>
|
||||||
@ -1485,8 +1485,8 @@ gtk_cell_area_get_cell_allocation (<em class="parameter"><code><a class="link" h
|
|||||||
<em class="parameter"><code><a class="link" href="GtkCellAreaContext.html" title="GtkCellAreaContext"><span class="type">GtkCellAreaContext</span></a> *context</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkCellAreaContext.html" title="GtkCellAreaContext"><span class="type">GtkCellAreaContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *renderer</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *renderer</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *allocation</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *allocation</code></em>);</pre>
|
||||||
<p>Derives the allocation of <em class="parameter"><code>renderer</code></em>
|
<p>Derives the allocation of <em class="parameter"><code>renderer</code></em>
|
||||||
inside <em class="parameter"><code>area</code></em>
|
inside <em class="parameter"><code>area</code></em>
|
||||||
if <em class="parameter"><code>area</code></em>
|
if <em class="parameter"><code>area</code></em>
|
||||||
@ -1549,10 +1549,10 @@ for this row</p></td>
|
|||||||
gtk_cell_area_get_cell_at_position (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>,
|
gtk_cell_area_get_cell_at_position (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellAreaContext.html" title="GtkCellAreaContext"><span class="type">GtkCellAreaContext</span></a> *context</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkCellAreaContext.html" title="GtkCellAreaContext"><span class="type">GtkCellAreaContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> x</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">gint</span> y</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *alloc_area</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *alloc_area</code></em>);</pre>
|
||||||
<p>Gets the <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> at <em class="parameter"><code>x</code></em>
|
<p>Gets the <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> at <em class="parameter"><code>x</code></em>
|
||||||
and <em class="parameter"><code>y</code></em>
|
and <em class="parameter"><code>y</code></em>
|
||||||
coordinates inside <em class="parameter"><code>area</code></em>
|
coordinates inside <em class="parameter"><code>area</code></em>
|
||||||
@ -2696,7 +2696,7 @@ can do anything when activated.</p>
|
|||||||
gtk_cell_area_activate (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>,
|
gtk_cell_area_activate (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellAreaContext.html" title="GtkCellAreaContext"><span class="type">GtkCellAreaContext</span></a> *context</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkCellAreaContext.html" title="GtkCellAreaContext"><span class="type">GtkCellAreaContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gboolean</span> edit_only</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gboolean</span> edit_only</code></em>);</pre>
|
||||||
<p>Activates <em class="parameter"><code>area</code></em>
|
<p>Activates <em class="parameter"><code>area</code></em>
|
||||||
@ -3150,8 +3150,8 @@ to edit the currently edited cell.</p>
|
|||||||
gtk_cell_area_activate_cell (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>,
|
gtk_cell_area_activate_cell (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *renderer</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *renderer</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>);</pre>
|
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>);</pre>
|
||||||
<p>This is used by <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> subclasses when handling events
|
<p>This is used by <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> subclasses when handling events
|
||||||
to activate cells, the base <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> class activates cells
|
to activate cells, the base <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> class activates cells
|
||||||
@ -3185,12 +3185,12 @@ to activate</p></td>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>event</p></td>
|
<td class="parameter_name"><p>event</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> for which cell activation should occur</p></td>
|
<td class="parameter_description"><p>the <span class="type">GdkEvent</span> for which cell activation should occur</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>cell_area</p></td>
|
<td class="parameter_name"><p>cell_area</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> in <em class="parameter"><code>widget</code></em>
|
<td class="parameter_description"><p>the <span class="type">GdkRectangle</span> in <em class="parameter"><code>widget</code></em>
|
||||||
relative coordinates
|
relative coordinates
|
||||||
of <em class="parameter"><code>renderer</code></em>
|
of <em class="parameter"><code>renderer</code></em>
|
||||||
for the current row.</p></td>
|
for the current row.</p></td>
|
||||||
@ -3254,8 +3254,8 @@ edit widget.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_cell_area_inner_cell_area (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>,
|
gtk_cell_area_inner_cell_area (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *inner_area</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *inner_area</code></em>);</pre>
|
||||||
<p>This is a convenience function for <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> implementations
|
<p>This is a convenience function for <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> implementations
|
||||||
to get the inner area where a given <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> will be
|
to get the inner area where a given <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> will be
|
||||||
rendered. It removes any padding previously added by <a class="link" href="GtkCellArea.html#gtk-cell-area-request-renderer" title="gtk_cell_area_request_renderer ()"><code class="function">gtk_cell_area_request_renderer()</code></a>.</p>
|
rendered. It removes any padding previously added by <a class="link" href="GtkCellArea.html#gtk-cell-area-request-renderer" title="gtk_cell_area_request_renderer ()"><code class="function">gtk_cell_area_request_renderer()</code></a>.</p>
|
||||||
@ -3665,7 +3665,7 @@ a result of a call <a class="link" href="GtkCellArea.html#gtk-cell-area-activate
|
|||||||
user_function (<a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area,
|
user_function (<a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area,
|
||||||
<a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *renderer,
|
<a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *renderer,
|
||||||
<a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> *editable,
|
<a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> *editable,
|
||||||
<a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area,
|
<span class="type">GdkRectangle</span> *cell_area,
|
||||||
<span class="type">char</span> *path,
|
<span class="type">char</span> *path,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>Indicates that editing has started on <em class="parameter"><code>renderer</code></em>
|
<p>Indicates that editing has started on <em class="parameter"><code>renderer</code></em>
|
||||||
@ -3699,7 +3699,7 @@ should be added to the owning cell-layouting widget at <em class="parameter"><co
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>cell_area</p></td>
|
<td class="parameter_name"><p>cell_area</p></td>
|
||||||
<td class="parameter_description"><p>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> relative <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> coordinates
|
<td class="parameter_description"><p>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> relative <span class="type">GdkRectangle</span> coordinates
|
||||||
where <em class="parameter"><code>editable</code></em>
|
where <em class="parameter"><code>editable</code></em>
|
||||||
should be added</p></td>
|
should be added</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
|
@ -162,7 +162,7 @@ temporary widgets should be configured for editing, get the new value, etc.</p>
|
|||||||
<a name="gtk-cell-editable-start-editing"></a><h3>gtk_cell_editable_start_editing ()</h3>
|
<a name="gtk-cell-editable-start-editing"></a><h3>gtk_cell_editable_start_editing ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_cell_editable_start_editing (<em class="parameter"><code><a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> *cell_editable</code></em>,
|
gtk_cell_editable_start_editing (<em class="parameter"><code><a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> *cell_editable</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>);</pre>
|
||||||
<p>Begins editing on a <em class="parameter"><code>cell_editable</code></em>
|
<p>Begins editing on a <em class="parameter"><code>cell_editable</code></em>
|
||||||
.</p>
|
.</p>
|
||||||
<p>The <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> for the cell creates and returns a <a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> from
|
<p>The <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> for the cell creates and returns a <a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> from
|
||||||
@ -189,7 +189,7 @@ lifetime is temporary and does not persist across other edits and/or cells.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>event</p></td>
|
<td class="parameter_name"><p>event</p></td>
|
||||||
<td class="parameter_description"><p>The <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> that began the editing process, or
|
<td class="parameter_description"><p>The <span class="type">GdkEvent</span> that began the editing process, or
|
||||||
<code class="literal">NULL</code> if editing was initiated programmatically. </p></td>
|
<code class="literal">NULL</code> if editing was initiated programmatically. </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>
|
<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>
|
||||||
|
@ -262,13 +262,13 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td>
|
<span class="type">GdkColor</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--cell-background-gdk" title="The “cell-background-gdk” property">cell-background-gdk</a></td>
|
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--cell-background-gdk" title="The “cell-background-gdk” property">cell-background-gdk</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td>
|
<span class="type">GdkRGBA</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--cell-background-rgba" title="The “cell-background-rgba” property">cell-background-rgba</a></td>
|
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--cell-background-rgba" title="The “cell-background-rgba” property">cell-background-rgba</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -486,8 +486,8 @@ The type must be a subtype of <span class="type">GtkRendererCellAccessible</span
|
|||||||
gtk_cell_renderer_get_aligned_area (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
gtk_cell_renderer_get_aligned_area (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *aligned_area</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *aligned_area</code></em>);</pre>
|
||||||
<p>Gets the aligned area used by <em class="parameter"><code>cell</code></em>
|
<p>Gets the aligned area used by <em class="parameter"><code>cell</code></em>
|
||||||
inside <em class="parameter"><code>cell_area</code></em>
|
inside <em class="parameter"><code>cell_area</code></em>
|
||||||
. Used for finding
|
. Used for finding
|
||||||
@ -538,7 +538,7 @@ that would acually be used to render. </p></td>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_cell_renderer_get_size (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
gtk_cell_renderer_get_size (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> *x_offset</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> *x_offset</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> *y_offset</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> *y_offset</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
||||||
@ -615,8 +615,8 @@ in <em class="parameter"><code>x_offset</code></em>
|
|||||||
gtk_cell_renderer_render (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
gtk_cell_renderer_render (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||||
<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 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="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *background_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *background_area</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>);</pre>
|
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>);</pre>
|
||||||
<p>Invokes the virtual render function of the <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>. The three
|
<p>Invokes the virtual render function of the <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>. The three
|
||||||
passed-in rectangles are areas in <em class="parameter"><code>cr</code></em>
|
passed-in rectangles are areas in <em class="parameter"><code>cr</code></em>
|
||||||
@ -681,11 +681,11 @@ padding on the sides)</p></td>
|
|||||||
<a name="gtk-cell-renderer-activate"></a><h3>gtk_cell_renderer_activate ()</h3>
|
<a name="gtk-cell-renderer-activate"></a><h3>gtk_cell_renderer_activate ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_cell_renderer_activate (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
gtk_cell_renderer_activate (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
|
<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *background_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *background_area</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>);</pre>
|
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>);</pre>
|
||||||
<p>Passes an activate event to the cell renderer for possible processing.
|
<p>Passes an activate event to the cell renderer for possible processing.
|
||||||
Some cell renderers may use events; for example, <a class="link" href="GtkCellRendererToggle.html" title="GtkCellRendererToggle"><span class="type">GtkCellRendererToggle</span></a>
|
Some cell renderers may use events; for example, <a class="link" href="GtkCellRendererToggle.html" title="GtkCellRendererToggle"><span class="type">GtkCellRendererToggle</span></a>
|
||||||
@ -706,7 +706,7 @@ toggles when it gets a mouse click.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>event</p></td>
|
<td class="parameter_name"><p>event</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkEvent</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -748,11 +748,11 @@ e.g. for <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class
|
|||||||
<a name="gtk-cell-renderer-start-editing"></a><h3>gtk_cell_renderer_start_editing ()</h3>
|
<a name="gtk-cell-renderer-start-editing"></a><h3>gtk_cell_renderer_start_editing ()</h3>
|
||||||
<pre class="programlisting"><a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="returnvalue">GtkCellEditable</span></a> *
|
<pre class="programlisting"><a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="returnvalue">GtkCellEditable</span></a> *
|
||||||
gtk_cell_renderer_start_editing (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
gtk_cell_renderer_start_editing (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
|
<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *background_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *background_area</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>);</pre>
|
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>);</pre>
|
||||||
<p>Starts editing the contents of this <em class="parameter"><code>cell</code></em>
|
<p>Starts editing the contents of this <em class="parameter"><code>cell</code></em>
|
||||||
, through a new <a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a>
|
, through a new <a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a>
|
||||||
@ -773,7 +773,7 @@ widget created by the <a class="link" href="GtkCellRenderer.html#GtkCellRenderer
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>event</p></td>
|
<td class="parameter_name"><p>event</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a>. </p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkEvent</span>. </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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1802,8 +1802,8 @@ inside <em class="parameter"><code>cell_area</code></em>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkCellRenderer--cell-background-gdk"></a><h3>The <code class="literal">“cell-background-gdk”</code> property</h3>
|
<a name="GtkCellRenderer--cell-background-gdk"></a><h3>The <code class="literal">“cell-background-gdk”</code> property</h3>
|
||||||
<pre class="programlisting"> “cell-background-gdk” <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre>
|
<pre class="programlisting"> “cell-background-gdk” <span class="type">GdkColor</span> *</pre>
|
||||||
<p>Cell background as a <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a></p>
|
<p>Cell background as a <span class="type">GdkColor</span></p>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">GtkCellRenderer:cell-background-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">GtkCellRenderer:cell-background-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkCellRenderer.html#GtkCellRenderer--cell-background-rgba" title="The “cell-background-rgba” property"><span class="type">“cell-background-rgba”</span></a> instead.</p>
|
<p>Use <a class="link" href="GtkCellRenderer.html#GtkCellRenderer--cell-background-rgba" title="The “cell-background-rgba” property"><span class="type">“cell-background-rgba”</span></a> instead.</p>
|
||||||
@ -1814,8 +1814,8 @@ inside <em class="parameter"><code>cell_area</code></em>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkCellRenderer--cell-background-rgba"></a><h3>The <code class="literal">“cell-background-rgba”</code> property</h3>
|
<a name="GtkCellRenderer--cell-background-rgba"></a><h3>The <code class="literal">“cell-background-rgba”</code> property</h3>
|
||||||
<pre class="programlisting"> “cell-background-rgba” <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre>
|
<pre class="programlisting"> “cell-background-rgba” <span class="type">GdkRGBA</span> *</pre>
|
||||||
<p>Cell background as a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a></p>
|
<p>Cell background as a <span class="type">GdkRGBA</span></p>
|
||||||
<p>Owner: GtkCellRenderer</p>
|
<p>Owner: GtkCellRenderer</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type"><a href="../html/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a></td>
|
<td class="property_type"><span class="type">GdkModifierType</span></td>
|
||||||
<td class="property_name"><a class="link" href="GtkCellRendererAccel.html#GtkCellRendererAccel--accel-mods" title="The “accel-mods” property">accel-mods</a></td>
|
<td class="property_name"><a class="link" href="GtkCellRendererAccel.html#GtkCellRendererAccel--accel-mods" title="The “accel-mods” property">accel-mods</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -228,7 +228,7 @@ in the same way as they are in menus.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkCellRendererAccel--accel-mods"></a><h3>The <code class="literal">“accel-mods”</code> property</h3>
|
<a name="GtkCellRendererAccel--accel-mods"></a><h3>The <code class="literal">“accel-mods”</code> property</h3>
|
||||||
<pre class="programlisting"> “accel-mods” <a href="../html/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a></pre>
|
<pre class="programlisting"> “accel-mods” <span class="type">GdkModifierType</span></pre>
|
||||||
<p>The modifier mask of the accelerator.</p>
|
<p>The modifier mask of the accelerator.</p>
|
||||||
<p>Owner: GtkCellRendererAccel</p>
|
<p>Owner: GtkCellRendererAccel</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
@ -294,7 +294,7 @@ user_function (<a class="link" href="GtkCellRendererAccel.html" title="GtkCellRe
|
|||||||
user_function (<a class="link" href="GtkCellRendererAccel.html" title="GtkCellRendererAccel"><span class="type">GtkCellRendererAccel</span></a> *accel,
|
user_function (<a class="link" href="GtkCellRendererAccel.html" title="GtkCellRendererAccel"><span class="type">GtkCellRendererAccel</span></a> *accel,
|
||||||
<span class="type">char</span> *path_string,
|
<span class="type">char</span> *path_string,
|
||||||
<span class="type">guint</span> accel_key,
|
<span class="type">guint</span> accel_key,
|
||||||
<a href="../html/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> accel_mods,
|
<span class="type">GdkModifierType</span> accel_mods,
|
||||||
<span class="type">guint</span> hardware_keycode,
|
<span class="type">guint</span> hardware_keycode,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>Gets emitted when the user has selected a new accelerator.</p>
|
<p>Gets emitted when the user has selected a new accelerator.</p>
|
||||||
|
@ -94,13 +94,13 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td>
|
<span class="type">GdkColor</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkCellRendererText.html#GtkCellRendererText--background-gdk" title="The “background-gdk” property">background-gdk</a></td>
|
<td class="property_name"><a class="link" href="GtkCellRendererText.html#GtkCellRendererText--background-gdk" title="The “background-gdk” property">background-gdk</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td>
|
<span class="type">GdkRGBA</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkCellRendererText.html#GtkCellRendererText--background-rgba" title="The “background-rgba” property">background-rgba</a></td>
|
<td class="property_name"><a class="link" href="GtkCellRendererText.html#GtkCellRendererText--background-rgba" title="The “background-rgba” property">background-rgba</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -160,13 +160,13 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td>
|
<span class="type">GdkColor</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkCellRendererText.html#GtkCellRendererText--foreground-gdk" title="The “foreground-gdk” property">foreground-gdk</a></td>
|
<td class="property_name"><a class="link" href="GtkCellRendererText.html#GtkCellRendererText--foreground-gdk" title="The “foreground-gdk” property">foreground-gdk</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td>
|
<span class="type">GdkRGBA</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkCellRendererText.html#GtkCellRendererText--foreground-rgba" title="The “foreground-rgba” property">foreground-rgba</a></td>
|
<td class="property_name"><a class="link" href="GtkCellRendererText.html#GtkCellRendererText--foreground-rgba" title="The “foreground-rgba” property">foreground-rgba</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -486,8 +486,8 @@ on the other hand, sets the horizontal alignment of the whole text.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkCellRendererText--background-gdk"></a><h3>The <code class="literal">“background-gdk”</code> property</h3>
|
<a name="GtkCellRendererText--background-gdk"></a><h3>The <code class="literal">“background-gdk”</code> property</h3>
|
||||||
<pre class="programlisting"> “background-gdk” <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre>
|
<pre class="programlisting"> “background-gdk” <span class="type">GdkColor</span> *</pre>
|
||||||
<p>Background color as a <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a></p>
|
<p>Background color as a <span class="type">GdkColor</span></p>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">GtkCellRendererText:background-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">GtkCellRendererText:background-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkCellRendererText.html#GtkCellRendererText--background-rgba" title="The “background-rgba” property"><span class="type">“background-rgba”</span></a> instead.</p>
|
<p>Use <a class="link" href="GtkCellRendererText.html#GtkCellRendererText--background-rgba" title="The “background-rgba” property"><span class="type">“background-rgba”</span></a> instead.</p>
|
||||||
@ -498,8 +498,8 @@ on the other hand, sets the horizontal alignment of the whole text.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkCellRendererText--background-rgba"></a><h3>The <code class="literal">“background-rgba”</code> property</h3>
|
<a name="GtkCellRendererText--background-rgba"></a><h3>The <code class="literal">“background-rgba”</code> property</h3>
|
||||||
<pre class="programlisting"> “background-rgba” <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre>
|
<pre class="programlisting"> “background-rgba” <span class="type">GdkRGBA</span> *</pre>
|
||||||
<p>Background color as a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a></p>
|
<p>Background color as a <span class="type">GdkRGBA</span></p>
|
||||||
<p>Owner: GtkCellRendererText</p>
|
<p>Owner: GtkCellRendererText</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||||
@ -600,8 +600,8 @@ for another way of making the text fit into a given width.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkCellRendererText--foreground-gdk"></a><h3>The <code class="literal">“foreground-gdk”</code> property</h3>
|
<a name="GtkCellRendererText--foreground-gdk"></a><h3>The <code class="literal">“foreground-gdk”</code> property</h3>
|
||||||
<pre class="programlisting"> “foreground-gdk” <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre>
|
<pre class="programlisting"> “foreground-gdk” <span class="type">GdkColor</span> *</pre>
|
||||||
<p>Foreground color as a <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a></p>
|
<p>Foreground color as a <span class="type">GdkColor</span></p>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">GtkCellRendererText:foreground-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">GtkCellRendererText:foreground-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkCellRendererText.html#GtkCellRendererText--foreground-rgba" title="The “foreground-rgba” property"><span class="type">“foreground-rgba”</span></a> instead.</p>
|
<p>Use <a class="link" href="GtkCellRendererText.html#GtkCellRendererText--foreground-rgba" title="The “foreground-rgba” property"><span class="type">“foreground-rgba”</span></a> instead.</p>
|
||||||
@ -612,8 +612,8 @@ for another way of making the text fit into a given width.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkCellRendererText--foreground-rgba"></a><h3>The <code class="literal">“foreground-rgba”</code> property</h3>
|
<a name="GtkCellRendererText--foreground-rgba"></a><h3>The <code class="literal">“foreground-rgba”</code> property</h3>
|
||||||
<pre class="programlisting"> “foreground-rgba” <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre>
|
<pre class="programlisting"> “foreground-rgba” <span class="type">GdkRGBA</span> *</pre>
|
||||||
<p>Foreground color as a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a></p>
|
<p>Foreground color as a <span class="type">GdkRGBA</span></p>
|
||||||
<p>Owner: GtkCellRendererText</p>
|
<p>Owner: GtkCellRendererText</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||||
|
@ -190,13 +190,13 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td>
|
<span class="type">GdkColor</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkCellView.html#GtkCellView--background-gdk" title="The “background-gdk” property">background-gdk</a></td>
|
<td class="property_name"><a class="link" href="GtkCellView.html#GtkCellView--background-gdk" title="The “background-gdk” property">background-gdk</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td>
|
<span class="type">GdkRGBA</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkCellView.html#GtkCellView--background-rgba" title="The “background-rgba” property">background-rgba</a></td>
|
<td class="property_name"><a class="link" href="GtkCellView.html#GtkCellView--background-rgba" title="The “background-rgba” property">background-rgba</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -623,7 +623,7 @@ the model row pointed to by <em class="parameter"><code>path</code></em>
|
|||||||
<a name="gtk-cell-view-set-background-color"></a><h3>gtk_cell_view_set_background_color ()</h3>
|
<a name="gtk-cell-view-set-background-color"></a><h3>gtk_cell_view_set_background_color ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_cell_view_set_background_color (<em class="parameter"><code><a class="link" href="GtkCellView.html" title="GtkCellView"><span class="type">GtkCellView</span></a> *cell_view</code></em>,
|
gtk_cell_view_set_background_color (<em class="parameter"><code><a class="link" href="GtkCellView.html" title="GtkCellView"><span class="type">GtkCellView</span></a> *cell_view</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkColor</span> *color</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_cell_view_set_background_color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_cell_view_set_background_color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkCellView.html#gtk-cell-view-set-background-rgba" title="gtk_cell_view_set_background_rgba ()"><code class="function">gtk_cell_view_set_background_rgba()</code></a> instead.</p>
|
<p>Use <a class="link" href="GtkCellView.html#gtk-cell-view-set-background-rgba" title="gtk_cell_view_set_background_rgba ()"><code class="function">gtk_cell_view_set_background_rgba()</code></a> instead.</p>
|
||||||
@ -659,7 +659,7 @@ gtk_cell_view_set_background_color (<em class="parameter"><code><a class="link"
|
|||||||
<a name="gtk-cell-view-set-background-rgba"></a><h3>gtk_cell_view_set_background_rgba ()</h3>
|
<a name="gtk-cell-view-set-background-rgba"></a><h3>gtk_cell_view_set_background_rgba ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_cell_view_set_background_rgba (<em class="parameter"><code><a class="link" href="GtkCellView.html" title="GtkCellView"><span class="type">GtkCellView</span></a> *cell_view</code></em>,
|
gtk_cell_view_set_background_rgba (<em class="parameter"><code><a class="link" href="GtkCellView.html" title="GtkCellView"><span class="type">GtkCellView</span></a> *cell_view</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *rgba</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *rgba</code></em>);</pre>
|
||||||
<p>Sets the background color of <em class="parameter"><code>cell_view</code></em>
|
<p>Sets the background color of <em class="parameter"><code>cell_view</code></em>
|
||||||
.</p>
|
.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -859,8 +859,8 @@ the entire <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span c
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkCellView--background-gdk"></a><h3>The <code class="literal">“background-gdk”</code> property</h3>
|
<a name="GtkCellView--background-gdk"></a><h3>The <code class="literal">“background-gdk”</code> property</h3>
|
||||||
<pre class="programlisting"> “background-gdk” <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre>
|
<pre class="programlisting"> “background-gdk” <span class="type">GdkColor</span> *</pre>
|
||||||
<p>The background color as a <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a></p>
|
<p>The background color as a <span class="type">GdkColor</span></p>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">GtkCellView:background-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">GtkCellView:background-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkCellView.html#GtkCellView--background-rgba" title="The “background-rgba” property"><span class="type">“background-rgba”</span></a> instead.</p>
|
<p>Use <a class="link" href="GtkCellView.html#GtkCellView--background-rgba" title="The “background-rgba” property"><span class="type">“background-rgba”</span></a> instead.</p>
|
||||||
@ -871,8 +871,8 @@ the entire <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span c
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkCellView--background-rgba"></a><h3>The <code class="literal">“background-rgba”</code> property</h3>
|
<a name="GtkCellView--background-rgba"></a><h3>The <code class="literal">“background-rgba”</code> property</h3>
|
||||||
<pre class="programlisting"> “background-rgba” <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre>
|
<pre class="programlisting"> “background-rgba” <span class="type">GdkRGBA</span> *</pre>
|
||||||
<p>The background color as a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a></p>
|
<p>The background color as a <span class="type">GdkRGBA</span></p>
|
||||||
<p>Owner: GtkCellView</p>
|
<p>Owner: GtkCellView</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||||
|
@ -165,13 +165,13 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td>
|
<span class="type">GdkColor</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkColorButton.html#GtkColorButton--color" title="The “color” property">color</a></td>
|
<td class="property_name"><a class="link" href="GtkColorButton.html#GtkColorButton--color" title="The “color” property">color</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td>
|
<span class="type">GdkRGBA</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkColorButton.html#GtkColorButton--rgba" title="The “rgba” property">rgba</a></td>
|
<td class="property_name"><a class="link" href="GtkColorButton.html#GtkColorButton--rgba" title="The “rgba” property">rgba</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -277,7 +277,7 @@ color when the user finishes.</p>
|
|||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-color-button-new-with-color"></a><h3>gtk_color_button_new_with_color ()</h3>
|
<a name="gtk-color-button-new-with-color"></a><h3>gtk_color_button_new_with_color ()</h3>
|
||||||
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||||||
gtk_color_button_new_with_color (<em class="parameter"><code>const <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
gtk_color_button_new_with_color (<em class="parameter"><code>const <span class="type">GdkColor</span> *color</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_color_button_new_with_color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_color_button_new_with_color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkColorButton.html#gtk-color-button-new-with-rgba" title="gtk_color_button_new_with_rgba ()"><code class="function">gtk_color_button_new_with_rgba()</code></a> instead.</p>
|
<p>Use <a class="link" href="GtkColorButton.html#gtk-color-button-new-with-rgba" title="gtk_color_button_new_with_rgba ()"><code class="function">gtk_color_button_new_with_rgba()</code></a> instead.</p>
|
||||||
@ -293,7 +293,7 @@ gtk_color_button_new_with_color (<em class="parameter"><code>const <a href="../h
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="parameter_name"><p>color</p></td>
|
<td class="parameter_name"><p>color</p></td>
|
||||||
<td class="parameter_description"><p>A <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to set the current color with</p></td>
|
<td class="parameter_description"><p>A <span class="type">GdkColor</span> to set the current color with</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr></tbody>
|
</tr></tbody>
|
||||||
</table></div>
|
</table></div>
|
||||||
@ -308,7 +308,7 @@ gtk_color_button_new_with_color (<em class="parameter"><code>const <a href="../h
|
|||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-color-button-new-with-rgba"></a><h3>gtk_color_button_new_with_rgba ()</h3>
|
<a name="gtk-color-button-new-with-rgba"></a><h3>gtk_color_button_new_with_rgba ()</h3>
|
||||||
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||||||
gtk_color_button_new_with_rgba (<em class="parameter"><code>const <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *rgba</code></em>);</pre>
|
gtk_color_button_new_with_rgba (<em class="parameter"><code>const <span class="type">GdkRGBA</span> *rgba</code></em>);</pre>
|
||||||
<p>Creates a new color button.</p>
|
<p>Creates a new color button.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-color-button-new-with-rgba.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-color-button-new-with-rgba.parameters"></a><h4>Parameters</h4>
|
||||||
@ -320,7 +320,7 @@ gtk_color_button_new_with_rgba (<em class="parameter"><code>const <a href="../ht
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="parameter_name"><p>rgba</p></td>
|
<td class="parameter_name"><p>rgba</p></td>
|
||||||
<td class="parameter_description"><p>A <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> to set the current color with</p></td>
|
<td class="parameter_description"><p>A <span class="type">GdkRGBA</span> to set the current color with</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr></tbody>
|
</tr></tbody>
|
||||||
</table></div>
|
</table></div>
|
||||||
@ -336,7 +336,7 @@ gtk_color_button_new_with_rgba (<em class="parameter"><code>const <a href="../ht
|
|||||||
<a name="gtk-color-button-set-color"></a><h3>gtk_color_button_set_color ()</h3>
|
<a name="gtk-color-button-set-color"></a><h3>gtk_color_button_set_color ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_color_button_set_color (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *button</code></em>,
|
gtk_color_button_set_color (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *button</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkColor</span> *color</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_color_button_set_color</code> is deprecated and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_color_button_set_color</code> is deprecated and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkColorChooser.html#gtk-color-chooser-set-rgba" title="gtk_color_chooser_set_rgba ()"><code class="function">gtk_color_chooser_set_rgba()</code></a> instead.</p>
|
<p>Use <a class="link" href="GtkColorChooser.html#gtk-color-chooser-set-rgba" title="gtk_color_chooser_set_rgba ()"><code class="function">gtk_color_chooser_set_rgba()</code></a> instead.</p>
|
||||||
@ -359,7 +359,7 @@ gtk_color_button_set_color (<em class="parameter"><code><a class="link" href="Gt
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>color</p></td>
|
<td class="parameter_name"><p>color</p></td>
|
||||||
<td class="parameter_description"><p>A <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to set the current color with</p></td>
|
<td class="parameter_description"><p>A <span class="type">GdkColor</span> to set the current color with</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -372,7 +372,7 @@ gtk_color_button_set_color (<em class="parameter"><code><a class="link" href="Gt
|
|||||||
<a name="gtk-color-button-get-color"></a><h3>gtk_color_button_get_color ()</h3>
|
<a name="gtk-color-button-get-color"></a><h3>gtk_color_button_get_color ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_color_button_get_color (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *button</code></em>,
|
gtk_color_button_get_color (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *button</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkColor</span> *color</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_color_button_get_color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_color_button_get_color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkColorChooser.html#gtk-color-chooser-get-rgba" title="gtk_color_chooser_get_rgba ()"><code class="function">gtk_color_chooser_get_rgba()</code></a> instead.</p>
|
<p>Use <a class="link" href="GtkColorChooser.html#gtk-color-chooser-get-rgba" title="gtk_color_chooser_get_rgba ()"><code class="function">gtk_color_chooser_get_rgba()</code></a> instead.</p>
|
||||||
@ -395,7 +395,7 @@ gtk_color_button_get_color (<em class="parameter"><code><a class="link" href="Gt
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>color</p></td>
|
<td class="parameter_name"><p>color</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to fill in with the current color. </p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkColor</span> to fill in with the current color. </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>]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -475,7 +475,7 @@ gtk_color_button_get_alpha (<em class="parameter"><code><a class="link" href="Gt
|
|||||||
<a name="gtk-color-button-set-rgba"></a><h3>gtk_color_button_set_rgba ()</h3>
|
<a name="gtk-color-button-set-rgba"></a><h3>gtk_color_button_set_rgba ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_color_button_set_rgba (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *button</code></em>,
|
gtk_color_button_set_rgba (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *button</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *rgba</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *rgba</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_color_button_set_rgba</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_color_button_set_rgba</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkColorChooser.html#gtk-color-chooser-set-rgba" title="gtk_color_chooser_set_rgba ()"><code class="function">gtk_color_chooser_set_rgba()</code></a> instead.</p>
|
<p>Use <a class="link" href="GtkColorChooser.html#gtk-color-chooser-set-rgba" title="gtk_color_chooser_set_rgba ()"><code class="function">gtk_color_chooser_set_rgba()</code></a> instead.</p>
|
||||||
@ -499,7 +499,7 @@ gtk_color_button_set_rgba (<em class="parameter"><code><a class="link" href="Gtk
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>rgba</p></td>
|
<td class="parameter_name"><p>rgba</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> to set the current color with</p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> to set the current color with</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -512,7 +512,7 @@ gtk_color_button_set_rgba (<em class="parameter"><code><a class="link" href="Gtk
|
|||||||
<a name="gtk-color-button-get-rgba"></a><h3>gtk_color_button_get_rgba ()</h3>
|
<a name="gtk-color-button-get-rgba"></a><h3>gtk_color_button_get_rgba ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_color_button_get_rgba (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *button</code></em>,
|
gtk_color_button_get_rgba (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *button</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *rgba</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRGBA</span> *rgba</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_color_button_get_rgba</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_color_button_get_rgba</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkColorChooser.html#gtk-color-chooser-get-rgba" title="gtk_color_chooser_get_rgba ()"><code class="function">gtk_color_chooser_get_rgba()</code></a> instead.</p>
|
<p>Use <a class="link" href="GtkColorChooser.html#gtk-color-chooser-get-rgba" title="gtk_color_chooser_get_rgba ()"><code class="function">gtk_color_chooser_get_rgba()</code></a> instead.</p>
|
||||||
@ -536,7 +536,7 @@ gtk_color_button_get_rgba (<em class="parameter"><code><a class="link" href="Gtk
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>rgba</p></td>
|
<td class="parameter_name"><p>rgba</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> to fill in with the current color. </p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> to fill in with the current color. </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>]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -691,7 +691,7 @@ gtk_color_button_get_title (<em class="parameter"><code><a class="link" href="Gt
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkColorButton--color"></a><h3>The <code class="literal">“color”</code> property</h3>
|
<a name="GtkColorButton--color"></a><h3>The <code class="literal">“color”</code> property</h3>
|
||||||
<pre class="programlisting"> “color” <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre>
|
<pre class="programlisting"> “color” <span class="type">GdkColor</span> *</pre>
|
||||||
<p>The selected color.</p>
|
<p>The selected color.</p>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">GtkColorButton:color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">GtkColorButton:color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
@ -704,7 +704,7 @@ gtk_color_button_get_title (<em class="parameter"><code><a class="link" href="Gt
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkColorButton--rgba"></a><h3>The <code class="literal">“rgba”</code> property</h3>
|
<a name="GtkColorButton--rgba"></a><h3>The <code class="literal">“rgba”</code> property</h3>
|
||||||
<pre class="programlisting"> “rgba” <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre>
|
<pre class="programlisting"> “rgba” <span class="type">GdkRGBA</span> *</pre>
|
||||||
<p>The RGBA color.</p>
|
<p>The RGBA color.</p>
|
||||||
<p>Owner: GtkColorButton</p>
|
<p>Owner: GtkColorButton</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
|
@ -98,7 +98,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td>
|
<span class="type">GdkRGBA</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkColorChooser.html#GtkColorChooser--rgba" title="The “rgba” property">rgba</a></td>
|
<td class="property_name"><a class="link" href="GtkColorChooser.html#GtkColorChooser--rgba" title="The “rgba” property">rgba</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -175,7 +175,7 @@ allowed to have alpha (translucency).</p>
|
|||||||
<a name="gtk-color-chooser-get-rgba"></a><h3>gtk_color_chooser_get_rgba ()</h3>
|
<a name="gtk-color-chooser-get-rgba"></a><h3>gtk_color_chooser_get_rgba ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_color_chooser_get_rgba (<em class="parameter"><code><a class="link" href="GtkColorChooser.html" title="GtkColorChooser"><span class="type">GtkColorChooser</span></a> *chooser</code></em>,
|
gtk_color_chooser_get_rgba (<em class="parameter"><code><a class="link" href="GtkColorChooser.html" title="GtkColorChooser"><span class="type">GtkColorChooser</span></a> *chooser</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
||||||
<p>Gets the currently-selected color.</p>
|
<p>Gets the currently-selected color.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-color-chooser-get-rgba.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-color-chooser-get-rgba.parameters"></a><h4>Parameters</h4>
|
||||||
@ -193,7 +193,7 @@ gtk_color_chooser_get_rgba (<em class="parameter"><code><a class="link" href="Gt
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>color</p></td>
|
<td class="parameter_name"><p>color</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> to fill in with the current color. </p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> to fill in with the current color. </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>]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -206,7 +206,7 @@ gtk_color_chooser_get_rgba (<em class="parameter"><code><a class="link" href="Gt
|
|||||||
<a name="gtk-color-chooser-set-rgba"></a><h3>gtk_color_chooser_set_rgba ()</h3>
|
<a name="gtk-color-chooser-set-rgba"></a><h3>gtk_color_chooser_set_rgba ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_color_chooser_set_rgba (<em class="parameter"><code><a class="link" href="GtkColorChooser.html" title="GtkColorChooser"><span class="type">GtkColorChooser</span></a> *chooser</code></em>,
|
gtk_color_chooser_set_rgba (<em class="parameter"><code><a class="link" href="GtkColorChooser.html" title="GtkColorChooser"><span class="type">GtkColorChooser</span></a> *chooser</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
||||||
<p>Sets the color.</p>
|
<p>Sets the color.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-color-chooser-set-rgba.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-color-chooser-set-rgba.parameters"></a><h4>Parameters</h4>
|
||||||
@ -299,7 +299,7 @@ gtk_color_chooser_add_palette (<em class="parameter"><code><a class="link" href=
|
|||||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>,
|
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> colors_per_line</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> colors_per_line</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> n_colors</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> n_colors</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *colors</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRGBA</span> *colors</code></em>);</pre>
|
||||||
<p>Adds a palette to the color chooser. If <em class="parameter"><code>orientation</code></em>
|
<p>Adds a palette to the color chooser. If <em class="parameter"><code>orientation</code></em>
|
||||||
is horizontal,
|
is horizontal,
|
||||||
the colors are grouped in rows, with <em class="parameter"><code>colors_per_line</code></em>
|
the colors are grouped in rows, with <em class="parameter"><code>colors_per_line</code></em>
|
||||||
@ -370,9 +370,9 @@ be displayed in rows, <a class="link" href="gtk3-Standard-Enumerations.html#GTK-
|
|||||||
<a name="GtkColorChooser.property-details"></a><h2>Property Details</h2>
|
<a name="GtkColorChooser.property-details"></a><h2>Property Details</h2>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkColorChooser--rgba"></a><h3>The <code class="literal">“rgba”</code> property</h3>
|
<a name="GtkColorChooser--rgba"></a><h3>The <code class="literal">“rgba”</code> property</h3>
|
||||||
<pre class="programlisting"> “rgba” <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre>
|
<pre class="programlisting"> “rgba” <span class="type">GdkRGBA</span> *</pre>
|
||||||
<p>The ::rgba property contains the currently selected color,
|
<p>The ::rgba property contains the currently selected color,
|
||||||
as a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> struct. The property can be set to change
|
as a <span class="type">GdkRGBA</span> struct. The property can be set to change
|
||||||
the current selection programmatically.</p>
|
the current selection programmatically.</p>
|
||||||
<p>Owner: GtkColorChooser</p>
|
<p>Owner: GtkColorChooser</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
@ -383,7 +383,7 @@ the current selection programmatically.</p>
|
|||||||
<a name="GtkColorChooser--use-alpha"></a><h3>The <code class="literal">“use-alpha”</code> property</h3>
|
<a name="GtkColorChooser--use-alpha"></a><h3>The <code class="literal">“use-alpha”</code> property</h3>
|
||||||
<pre class="programlisting"> “use-alpha” <span class="type">gboolean</span></pre>
|
<pre class="programlisting"> “use-alpha” <span class="type">gboolean</span></pre>
|
||||||
<p>When ::use-alpha is <code class="literal">TRUE</code>, colors may have alpha (translucency)
|
<p>When ::use-alpha is <code class="literal">TRUE</code>, colors may have alpha (translucency)
|
||||||
information. When it is <code class="literal">FALSE</code>, the <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> struct obtained
|
information. When it is <code class="literal">FALSE</code>, the <span class="type">GdkRGBA</span> struct obtained
|
||||||
via the <a class="link" href="GtkColorChooser.html#GtkColorChooser--rgba" title="The “rgba” property"><span class="type">“rgba”</span></a> property will be forced to have
|
via the <a class="link" href="GtkColorChooser.html#GtkColorChooser--rgba" title="The “rgba” property"><span class="type">“rgba”</span></a> property will be forced to have
|
||||||
alpha == 1.</p>
|
alpha == 1.</p>
|
||||||
<p>Implementations are expected to show alpha by rendering the color
|
<p>Implementations are expected to show alpha by rendering the color
|
||||||
@ -400,7 +400,7 @@ over a non-uniform background (like a checkerboard pattern).</p>
|
|||||||
<a name="GtkColorChooser-color-activated"></a><h3>The <code class="literal">“color-activated”</code> signal</h3>
|
<a name="GtkColorChooser-color-activated"></a><h3>The <code class="literal">“color-activated”</code> signal</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
user_function (<a class="link" href="GtkColorChooser.html" title="GtkColorChooser"><span class="type">GtkColorChooser</span></a> *chooser,
|
user_function (<a class="link" href="GtkColorChooser.html" title="GtkColorChooser"><span class="type">GtkColorChooser</span></a> *chooser,
|
||||||
<a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color,
|
<span class="type">GdkRGBA</span> *color,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>Emitted when a color is activated from the color chooser.
|
<p>Emitted when a color is activated from the color chooser.
|
||||||
This usually happens when the user clicks a color swatch,
|
This usually happens when the user clicks a color swatch,
|
||||||
|
@ -246,13 +246,13 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td>
|
<span class="type">GdkColor</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkColorSelection.html#GtkColorSelection--current-color" title="The “current-color” property">current-color</a></td>
|
<td class="property_name"><a class="link" href="GtkColorSelection.html#GtkColorSelection--current-color" title="The “current-color” property">current-color</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td>
|
<span class="type">GdkRGBA</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkColorSelection.html#GtkColorSelection--current-rgba" title="The “current-rgba” property">current-rgba</a></td>
|
<td class="property_name"><a class="link" href="GtkColorSelection.html#GtkColorSelection--current-rgba" title="The “current-rgba” property">current-rgba</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -535,7 +535,7 @@ the original opacity to be <em class="parameter"><code>alpha</code></em>
|
|||||||
<a name="gtk-color-selection-get-current-color"></a><h3>gtk_color_selection_get_current_color ()</h3>
|
<a name="gtk-color-selection-get-current-color"></a><h3>gtk_color_selection_get_current_color ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_color_selection_get_current_color (<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
gtk_color_selection_get_current_color (<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkColor</span> *color</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_color_selection_get_current_color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_color_selection_get_current_color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkColorSelection.html#gtk-color-selection-get-current-rgba" title="gtk_color_selection_get_current_rgba ()"><code class="function">gtk_color_selection_get_current_rgba()</code></a> instead.</p>
|
<p>Use <a class="link" href="GtkColorSelection.html#gtk-color-selection-get-current-rgba" title="gtk_color_selection_get_current_rgba ()"><code class="function">gtk_color_selection_get_current_rgba()</code></a> instead.</p>
|
||||||
@ -558,7 +558,7 @@ gtk_color_selection_get_current_color (<em class="parameter"><code><a class="lin
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>color</p></td>
|
<td class="parameter_name"><p>color</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to fill in with the current color. </p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkColor</span> to fill in with the current color. </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>]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -570,7 +570,7 @@ gtk_color_selection_get_current_color (<em class="parameter"><code><a class="lin
|
|||||||
<a name="gtk-color-selection-set-current-color"></a><h3>gtk_color_selection_set_current_color ()</h3>
|
<a name="gtk-color-selection-set-current-color"></a><h3>gtk_color_selection_set_current_color ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_color_selection_set_current_color (<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
gtk_color_selection_set_current_color (<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkColor</span> *color</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_color_selection_set_current_color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_color_selection_set_current_color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkColorSelection.html#gtk-color-selection-set-current-rgba" title="gtk_color_selection_set_current_rgba ()"><code class="function">gtk_color_selection_set_current_rgba()</code></a> instead.</p>
|
<p>Use <a class="link" href="GtkColorSelection.html#gtk-color-selection-set-current-rgba" title="gtk_color_selection_set_current_rgba ()"><code class="function">gtk_color_selection_set_current_rgba()</code></a> instead.</p>
|
||||||
@ -596,7 +596,7 @@ the original color to be <em class="parameter"><code>color</code></em>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>color</p></td>
|
<td class="parameter_name"><p>color</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to set the current color with</p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkColor</span> to set the current color with</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -672,7 +672,7 @@ as it might seem confusing to have that alpha change.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_color_selection_get_previous_color
|
gtk_color_selection_get_previous_color
|
||||||
(<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkColor</span> *color</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_color_selection_get_previous_color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_color_selection_get_previous_color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkColorSelection.html#gtk-color-selection-get-previous-rgba" title="gtk_color_selection_get_previous_rgba ()"><code class="function">gtk_color_selection_get_previous_rgba()</code></a> instead.</p>
|
<p>Use <a class="link" href="GtkColorSelection.html#gtk-color-selection-get-previous-rgba" title="gtk_color_selection_get_previous_rgba ()"><code class="function">gtk_color_selection_get_previous_rgba()</code></a> instead.</p>
|
||||||
@ -695,7 +695,7 @@ gtk_color_selection_get_previous_color
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>color</p></td>
|
<td class="parameter_name"><p>color</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to fill in with the original color value. </p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkColor</span> to fill in with the original color value. </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>]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -708,7 +708,7 @@ gtk_color_selection_get_previous_color
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_color_selection_set_previous_color
|
gtk_color_selection_set_previous_color
|
||||||
(<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkColor</span> *color</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_color_selection_set_previous_color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_color_selection_set_previous_color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkColorSelection.html#gtk-color-selection-set-previous-rgba" title="gtk_color_selection_set_previous_rgba ()"><code class="function">gtk_color_selection_set_previous_rgba()</code></a> instead.</p>
|
<p>Use <a class="link" href="GtkColorSelection.html#gtk-color-selection-set-previous-rgba" title="gtk_color_selection_set_previous_rgba ()"><code class="function">gtk_color_selection_set_previous_rgba()</code></a> instead.</p>
|
||||||
@ -735,7 +735,7 @@ set this color the first time it is called.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>color</p></td>
|
<td class="parameter_name"><p>color</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to set the previous color with</p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkColor</span> to set the previous color with</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -747,7 +747,7 @@ set this color the first time it is called.</p>
|
|||||||
<a name="gtk-color-selection-get-current-rgba"></a><h3>gtk_color_selection_get_current_rgba ()</h3>
|
<a name="gtk-color-selection-get-current-rgba"></a><h3>gtk_color_selection_get_current_rgba ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_color_selection_get_current_rgba (<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
gtk_color_selection_get_current_rgba (<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *rgba</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRGBA</span> *rgba</code></em>);</pre>
|
||||||
<div class="warning"><p><code class="literal">gtk_color_selection_get_current_rgba</code> is deprecated and should not be used in newly-written code.</p></div>
|
<div class="warning"><p><code class="literal">gtk_color_selection_get_current_rgba</code> is deprecated and should not be used in newly-written code.</p></div>
|
||||||
<p>Sets <em class="parameter"><code>rgba</code></em>
|
<p>Sets <em class="parameter"><code>rgba</code></em>
|
||||||
to be the current color in the GtkColorSelection widget.</p>
|
to be the current color in the GtkColorSelection widget.</p>
|
||||||
@ -767,7 +767,7 @@ gtk_color_selection_get_current_rgba (<em class="parameter"><code><a class="link
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>rgba</p></td>
|
<td class="parameter_name"><p>rgba</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> to fill in with the current color. </p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> to fill in with the current color. </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>]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -780,7 +780,7 @@ gtk_color_selection_get_current_rgba (<em class="parameter"><code><a class="link
|
|||||||
<a name="gtk-color-selection-set-current-rgba"></a><h3>gtk_color_selection_set_current_rgba ()</h3>
|
<a name="gtk-color-selection-set-current-rgba"></a><h3>gtk_color_selection_set_current_rgba ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_color_selection_set_current_rgba (<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
gtk_color_selection_set_current_rgba (<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *rgba</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *rgba</code></em>);</pre>
|
||||||
<div class="warning"><p><code class="literal">gtk_color_selection_set_current_rgba</code> is deprecated and should not be used in newly-written code.</p></div>
|
<div class="warning"><p><code class="literal">gtk_color_selection_set_current_rgba</code> is deprecated and should not be used in newly-written code.</p></div>
|
||||||
<p>Sets the current color to be <em class="parameter"><code>rgba</code></em>
|
<p>Sets the current color to be <em class="parameter"><code>rgba</code></em>
|
||||||
.</p>
|
.</p>
|
||||||
@ -803,7 +803,7 @@ the original color to be <em class="parameter"><code>rgba</code></em>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>rgba</p></td>
|
<td class="parameter_name"><p>rgba</p></td>
|
||||||
<td class="parameter_description"><p>A <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> to set the current color with</p></td>
|
<td class="parameter_description"><p>A <span class="type">GdkRGBA</span> to set the current color with</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -816,7 +816,7 @@ the original color to be <em class="parameter"><code>rgba</code></em>
|
|||||||
<a name="gtk-color-selection-get-previous-rgba"></a><h3>gtk_color_selection_get_previous_rgba ()</h3>
|
<a name="gtk-color-selection-get-previous-rgba"></a><h3>gtk_color_selection_get_previous_rgba ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_color_selection_get_previous_rgba (<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
gtk_color_selection_get_previous_rgba (<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *rgba</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRGBA</span> *rgba</code></em>);</pre>
|
||||||
<div class="warning"><p><code class="literal">gtk_color_selection_get_previous_rgba</code> is deprecated and should not be used in newly-written code.</p></div>
|
<div class="warning"><p><code class="literal">gtk_color_selection_get_previous_rgba</code> is deprecated and should not be used in newly-written code.</p></div>
|
||||||
<p>Fills <em class="parameter"><code>rgba</code></em>
|
<p>Fills <em class="parameter"><code>rgba</code></em>
|
||||||
in with the original color value.</p>
|
in with the original color value.</p>
|
||||||
@ -836,7 +836,7 @@ gtk_color_selection_get_previous_rgba (<em class="parameter"><code><a class="lin
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>rgba</p></td>
|
<td class="parameter_name"><p>rgba</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> to fill in with the original color value. </p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> to fill in with the original color value. </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>]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -849,7 +849,7 @@ gtk_color_selection_get_previous_rgba (<em class="parameter"><code><a class="lin
|
|||||||
<a name="gtk-color-selection-set-previous-rgba"></a><h3>gtk_color_selection_set_previous_rgba ()</h3>
|
<a name="gtk-color-selection-set-previous-rgba"></a><h3>gtk_color_selection_set_previous_rgba ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_color_selection_set_previous_rgba (<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
gtk_color_selection_set_previous_rgba (<em class="parameter"><code><a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> *colorsel</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *rgba</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *rgba</code></em>);</pre>
|
||||||
<div class="warning"><p><code class="literal">gtk_color_selection_set_previous_rgba</code> is deprecated and should not be used in newly-written code.</p></div>
|
<div class="warning"><p><code class="literal">gtk_color_selection_set_previous_rgba</code> is deprecated and should not be used in newly-written code.</p></div>
|
||||||
<p>Sets the “previous” color to be <em class="parameter"><code>rgba</code></em>
|
<p>Sets the “previous” color to be <em class="parameter"><code>rgba</code></em>
|
||||||
.</p>
|
.</p>
|
||||||
@ -873,7 +873,7 @@ set this color the first time it is called.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>rgba</p></td>
|
<td class="parameter_name"><p>rgba</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> to set the previous color with</p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> to set the previous color with</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -916,11 +916,11 @@ a color around, and <code class="literal">FALSE</code> if the selection has stop
|
|||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_color_selection_palette_from_string
|
gtk_color_selection_palette_from_string
|
||||||
(<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>,
|
(<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> **colors</code></em>,
|
<em class="parameter"><code><span class="type">GdkColor</span> **colors</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> *n_colors</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gint</span> *n_colors</code></em>);</pre>
|
||||||
<div class="warning"><p><code class="literal">gtk_color_selection_palette_from_string</code> is deprecated and should not be used in newly-written code.</p></div>
|
<div class="warning"><p><code class="literal">gtk_color_selection_palette_from_string</code> is deprecated and should not be used in newly-written code.</p></div>
|
||||||
<p>Parses a color palette string; the string is a colon-separated
|
<p>Parses a color palette string; the string is a colon-separated
|
||||||
list of color names readable by <a href="../html/gdk3-Colors.html#gdk-color-parse"><code class="function">gdk_color_parse()</code></a>.</p>
|
list of color names readable by <code class="function">gdk_color_parse()</code>.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-color-selection-palette-from-string.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-color-selection-palette-from-string.parameters"></a><h4>Parameters</h4>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
@ -938,7 +938,7 @@ list of color names readable by <a href="../html/gdk3-Colors.html#gdk-color-pars
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>colors</p></td>
|
<td class="parameter_name"><p>colors</p></td>
|
||||||
<td class="parameter_description"><p>return location for
|
<td class="parameter_description"><p>return location for
|
||||||
allocated array of <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>. </p></td>
|
allocated array of <span class="type">GdkColor</span>. </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_colors]</span></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_colors]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -958,7 +958,7 @@ allocated array of <a href="../html/gdk3-Colors.html#GdkColor"><span class="type
|
|||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-color-selection-palette-to-string"></a><h3>gtk_color_selection_palette_to_string ()</h3>
|
<a name="gtk-color-selection-palette-to-string"></a><h3>gtk_color_selection_palette_to_string ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||||
gtk_color_selection_palette_to_string (<em class="parameter"><code>const <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *colors</code></em>,
|
gtk_color_selection_palette_to_string (<em class="parameter"><code>const <span class="type">GdkColor</span> *colors</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> n_colors</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gint</span> n_colors</code></em>);</pre>
|
||||||
<div class="warning"><p><code class="literal">gtk_color_selection_palette_to_string</code> is deprecated and should not be used in newly-written code.</p></div>
|
<div class="warning"><p><code class="literal">gtk_color_selection_palette_to_string</code> is deprecated and should not be used in newly-written code.</p></div>
|
||||||
<p>Encodes a palette as a string, useful for persistent storage.</p>
|
<p>Encodes a palette as a string, useful for persistent storage.</p>
|
||||||
@ -993,7 +993,7 @@ gtk_color_selection_palette_to_string (<em class="parameter"><code>const <a href
|
|||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkColorSelectionChangePaletteFunc"></a><h3>GtkColorSelectionChangePaletteFunc ()</h3>
|
<a name="GtkColorSelectionChangePaletteFunc"></a><h3>GtkColorSelectionChangePaletteFunc ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
<span class="c_punctuation">(</span>*GtkColorSelectionChangePaletteFunc<span class="c_punctuation">)</span> (<em class="parameter"><code>const <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *colors</code></em>,
|
<span class="c_punctuation">(</span>*GtkColorSelectionChangePaletteFunc<span class="c_punctuation">)</span> (<em class="parameter"><code>const <span class="type">GdkColor</span> *colors</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> n_colors</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gint</span> n_colors</code></em>);</pre>
|
||||||
<div class="warning"><p><code class="literal">GtkColorSelectionChangePaletteFunc</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p></div>
|
<div class="warning"><p><code class="literal">GtkColorSelectionChangePaletteFunc</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p></div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -1058,8 +1058,8 @@ GtkColorSelection widgets will be modified.</p>
|
|||||||
<a name="GtkColorSelectionChangePaletteWithScreenFunc"></a><h3>GtkColorSelectionChangePaletteWithScreenFunc ()</h3>
|
<a name="GtkColorSelectionChangePaletteWithScreenFunc"></a><h3>GtkColorSelectionChangePaletteWithScreenFunc ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
<span class="c_punctuation">(</span>*GtkColorSelectionChangePaletteWithScreenFunc<span class="c_punctuation">)</span>
|
<span class="c_punctuation">(</span>*GtkColorSelectionChangePaletteWithScreenFunc<span class="c_punctuation">)</span>
|
||||||
(<em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
(<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *colors</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkColor</span> *colors</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> n_colors</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gint</span> n_colors</code></em>);</pre>
|
||||||
<div class="warning"><p><code class="literal">GtkColorSelectionChangePaletteWithScreenFunc</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p></div>
|
<div class="warning"><p><code class="literal">GtkColorSelectionChangePaletteWithScreenFunc</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p></div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -1133,7 +1133,7 @@ GtkColorSelection widgets will be modified.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkColorSelection--current-color"></a><h3>The <code class="literal">“current-color”</code> property</h3>
|
<a name="GtkColorSelection--current-color"></a><h3>The <code class="literal">“current-color”</code> property</h3>
|
||||||
<pre class="programlisting"> “current-color” <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre>
|
<pre class="programlisting"> “current-color” <span class="type">GdkColor</span> *</pre>
|
||||||
<p>The current GdkColor color.</p>
|
<p>The current GdkColor color.</p>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">GtkColorSelection:current-color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">GtkColorSelection:current-color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
@ -1145,7 +1145,7 @@ GtkColorSelection widgets will be modified.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkColorSelection--current-rgba"></a><h3>The <code class="literal">“current-rgba”</code> property</h3>
|
<a name="GtkColorSelection--current-rgba"></a><h3>The <code class="literal">“current-rgba”</code> property</h3>
|
||||||
<pre class="programlisting"> “current-rgba” <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre>
|
<pre class="programlisting"> “current-rgba” <span class="type">GdkRGBA</span> *</pre>
|
||||||
<p>The current RGBA color.</p>
|
<p>The current RGBA color.</p>
|
||||||
<p>Owner: GtkColorSelection</p>
|
<p>Owner: GtkColorSelection</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
|
@ -1353,7 +1353,7 @@ cell renderers for the new model.</p>
|
|||||||
<a name="gtk-combo-box-popup-for-device"></a><h3>gtk_combo_box_popup_for_device ()</h3>
|
<a name="gtk-combo-box-popup-for-device"></a><h3>gtk_combo_box_popup_for_device ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_combo_box_popup_for_device (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
|
gtk_combo_box_popup_for_device (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a> *device</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkDevice</span> *device</code></em>);</pre>
|
||||||
<p>Pops up the menu or dropdown list of <em class="parameter"><code>combo_box</code></em>
|
<p>Pops up the menu or dropdown list of <em class="parameter"><code>combo_box</code></em>
|
||||||
, the popup window
|
, the popup window
|
||||||
will be grabbed so only <em class="parameter"><code>device</code></em>
|
will be grabbed so only <em class="parameter"><code>device</code></em>
|
||||||
@ -1375,7 +1375,7 @@ are the only <span class="type">GdkDevices</span> able to send events to it.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>device</p></td>
|
<td class="parameter_name"><p>device</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkDevice</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -1902,7 +1902,7 @@ gtk_container_propagate_draw (<em class="parameter"><code><a class="link" href="
|
|||||||
<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>);</pre>
|
<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>);</pre>
|
||||||
<p>When a container receives a call to the draw function, it must send
|
<p>When a container receives a call to the draw function, it must send
|
||||||
synthetic <a class="link" href="GtkWidget.html#GtkWidget-draw" title="The “draw” signal"><span class="type">“draw”</span></a> calls to all children that don’t have their
|
synthetic <a class="link" href="GtkWidget.html#GtkWidget-draw" title="The “draw” signal"><span class="type">“draw”</span></a> calls to all children that don’t have their
|
||||||
own <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a>. This function provides a convenient way of doing this.
|
own <span class="type">GdkWindows</span>. This function provides a convenient way of doing this.
|
||||||
A container, when it receives a call to its <a class="link" href="GtkWidget.html#GtkWidget-draw" title="The “draw” signal"><span class="type">“draw”</span></a> function,
|
A container, when it receives a call to its <a class="link" href="GtkWidget.html#GtkWidget-draw" title="The “draw” signal"><span class="type">“draw”</span></a> function,
|
||||||
calls <a class="link" href="GtkContainer.html#gtk-container-propagate-draw" title="gtk_container_propagate_draw ()"><code class="function">gtk_container_propagate_draw()</code></a> once for each child, passing in
|
calls <a class="link" href="GtkContainer.html#gtk-container-propagate-draw" title="gtk_container_propagate_draw ()"><code class="function">gtk_container_propagate_draw()</code></a> once for each child, passing in
|
||||||
the <em class="parameter"><code>cr</code></em>
|
the <em class="parameter"><code>cr</code></em>
|
||||||
|
@ -1105,7 +1105,7 @@ headerbar is only used by the dialog if the
|
|||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-alternative-dialog-button-order"></a><h3>gtk_alternative_dialog_button_order ()</h3>
|
<a name="gtk-alternative-dialog-button-order"></a><h3>gtk_alternative_dialog_button_order ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_alternative_dialog_button_order (<em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
gtk_alternative_dialog_button_order (<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_alternative_dialog_button_order</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_alternative_dialog_button_order</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||||
<p>Deprecated</p>
|
<p>Deprecated</p>
|
||||||
@ -1130,7 +1130,7 @@ notified if the button order setting changes.</p>
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="parameter_name"><p>screen</p></td>
|
<td class="parameter_name"><p>screen</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>, or <code class="literal">NULL</code> to use the default screen. </p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkScreen</span>, or <code class="literal">NULL</code> to use the default screen. </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>
|
<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>
|
</tr></tbody>
|
||||||
</table></div>
|
</table></div>
|
||||||
|
@ -188,7 +188,7 @@ to call <a class="link" href="GtkStyleContext.html#gtk-render-background" title=
|
|||||||
onscreen, or when it’s covered by another window and then uncovered.
|
onscreen, or when it’s covered by another window and then uncovered.
|
||||||
You can also force an expose event by adding to the “damage region”
|
You can also force an expose event by adding to the “damage region”
|
||||||
of the drawing area’s window; <a class="link" href="GtkWidget.html#gtk-widget-queue-draw-area" title="gtk_widget_queue_draw_area ()"><code class="function">gtk_widget_queue_draw_area()</code></a> and
|
of the drawing area’s window; <a class="link" href="GtkWidget.html#gtk-widget-queue-draw-area" title="gtk_widget_queue_draw_area ()"><code class="function">gtk_widget_queue_draw_area()</code></a> and
|
||||||
<a href="../html/gdk3-Windows.html#gdk-window-invalidate-rect"><code class="function">gdk_window_invalidate_rect()</code></a> are equally good ways to do this.
|
<code class="function">gdk_window_invalidate_rect()</code> are equally good ways to do this.
|
||||||
You’ll then get a draw signal for the invalid region.</p>
|
You’ll then get a draw signal for the invalid region.</p>
|
||||||
<p>The available routines for drawing are documented on the
|
<p>The available routines for drawing are documented on the
|
||||||
GDK Drawing Primitives page
|
GDK Drawing Primitives page
|
||||||
|
@ -1388,7 +1388,7 @@ in <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkE
|
|||||||
<a name="gtk-entry-get-text-area"></a><h3>gtk_entry_get_text_area ()</h3>
|
<a name="gtk-entry-get-text-area"></a><h3>gtk_entry_get_text_area ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_entry_get_text_area (<em class="parameter"><code><a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry</code></em>,
|
gtk_entry_get_text_area (<em class="parameter"><code><a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *text_area</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *text_area</code></em>);</pre>
|
||||||
<p>Gets the area where the entry’s text is drawn. This function is
|
<p>Gets the area where the entry’s text is drawn. This function is
|
||||||
useful when drawing something to the entry in a draw callback.</p>
|
useful when drawing something to the entry in a draw callback.</p>
|
||||||
<p>If the entry is not realized, <em class="parameter"><code>text_area</code></em>
|
<p>If the entry is not realized, <em class="parameter"><code>text_area</code></em>
|
||||||
@ -2668,7 +2668,7 @@ where a block bounces back and forth. Each call to
|
|||||||
<a name="gtk-entry-im-context-filter-keypress"></a><h3>gtk_entry_im_context_filter_keypress ()</h3>
|
<a name="gtk-entry-im-context-filter-keypress"></a><h3>gtk_entry_im_context_filter_keypress ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_entry_im_context_filter_keypress (<em class="parameter"><code><a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry</code></em>,
|
gtk_entry_im_context_filter_keypress (<em class="parameter"><code><a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkEventKey</span> *event</code></em>);</pre>
|
||||||
<p>Allow the <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> input method to internally handle key press
|
<p>Allow the <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> input method to internally handle key press
|
||||||
and release events. If this function returns <code class="literal">TRUE</code>, then no further
|
and release events. If this function returns <code class="literal">TRUE</code>, then no further
|
||||||
processing should be done for this key event. See
|
processing should be done for this key event. See
|
||||||
@ -3527,7 +3527,7 @@ string with <code class="function">g_free()</code> when done. </p>
|
|||||||
gtk_entry_set_icon_drag_source (<em class="parameter"><code><a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry</code></em>,
|
gtk_entry_set_icon_drag_source (<em class="parameter"><code><a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkEntry.html#GtkEntryIconPosition" title="enum GtkEntryIconPosition"><span class="type">GtkEntryIconPosition</span></a> icon_pos</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkEntry.html#GtkEntryIconPosition" title="enum GtkEntryIconPosition"><span class="type">GtkEntryIconPosition</span></a> icon_pos</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="gtk3-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *target_list</code></em>,
|
<em class="parameter"><code><a class="link" href="gtk3-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *target_list</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>);</pre>
|
||||||
<p>Sets up the icon at the given position so that GTK+ will start a drag
|
<p>Sets up the icon at the given position so that GTK+ will start a drag
|
||||||
operation when the user clicks and drags the icon.</p>
|
operation when the user clicks and drags the icon.</p>
|
||||||
<p>To handle the drag operation, you need to connect to the usual
|
<p>To handle the drag operation, you need to connect to the usual
|
||||||
@ -3611,7 +3611,7 @@ DND operation, or -1.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_entry_get_icon_area (<em class="parameter"><code><a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry</code></em>,
|
gtk_entry_get_icon_area (<em class="parameter"><code><a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkEntry.html#GtkEntryIconPosition" title="enum GtkEntryIconPosition"><span class="type">GtkEntryIconPosition</span></a> icon_pos</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkEntry.html#GtkEntryIconPosition" title="enum GtkEntryIconPosition"><span class="type">GtkEntryIconPosition</span></a> icon_pos</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *icon_area</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *icon_area</code></em>);</pre>
|
||||||
<p>Gets the area where entry’s icon at <em class="parameter"><code>icon_pos</code></em>
|
<p>Gets the area where entry’s icon at <em class="parameter"><code>icon_pos</code></em>
|
||||||
is drawn.
|
is drawn.
|
||||||
This function is useful when drawing something to the
|
This function is useful when drawing something to the
|
||||||
@ -5043,7 +5043,7 @@ units to delete</p></td>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
user_function (<a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry,
|
user_function (<a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry,
|
||||||
<a class="link" href="GtkEntry.html#GtkEntryIconPosition" title="enum GtkEntryIconPosition"><span class="type">GtkEntryIconPosition</span></a> icon_pos,
|
<a class="link" href="GtkEntry.html#GtkEntryIconPosition" title="enum GtkEntryIconPosition"><span class="type">GtkEntryIconPosition</span></a> icon_pos,
|
||||||
<a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event,
|
<span class="type">GdkEvent</span> *event,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>The ::icon-press signal is emitted when an activatable icon
|
<p>The ::icon-press signal is emitted when an activatable icon
|
||||||
is clicked.</p>
|
is clicked.</p>
|
||||||
@ -5088,7 +5088,7 @@ is clicked.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
user_function (<a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry,
|
user_function (<a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry,
|
||||||
<a class="link" href="GtkEntry.html#GtkEntryIconPosition" title="enum GtkEntryIconPosition"><span class="type">GtkEntryIconPosition</span></a> icon_pos,
|
<a class="link" href="GtkEntry.html#GtkEntryIconPosition" title="enum GtkEntryIconPosition"><span class="type">GtkEntryIconPosition</span></a> icon_pos,
|
||||||
<a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event,
|
<span class="type">GdkEvent</span> *event,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>The ::icon-release signal is emitted on the button release from a
|
<p>The ::icon-release signal is emitted on the button release from a
|
||||||
mouse click over an activatable icon.</p>
|
mouse click over an activatable icon.</p>
|
||||||
|
@ -241,10 +241,10 @@ gtk_event_box_set_visible_window (<em class="parameter"><code><a class="link" hr
|
|||||||
<p>Set whether the event box uses a visible or invisible child
|
<p>Set whether the event box uses a visible or invisible child
|
||||||
window. The default is to use visible windows.</p>
|
window. The default is to use visible windows.</p>
|
||||||
<p>In an invisible window event box, the window that the
|
<p>In an invisible window event box, the window that the
|
||||||
event box creates is a <a href="../html/gdk3-Windows.html#GDK-INPUT-ONLY:CAPS"><code class="literal">GDK_INPUT_ONLY</code></a> window, which
|
event box creates is a <code class="literal">GDK_INPUT_ONLY</code> window, which
|
||||||
means that it is invisible and only serves to receive
|
means that it is invisible and only serves to receive
|
||||||
events.</p>
|
events.</p>
|
||||||
<p>A visible window event box creates a visible (<a href="../html/gdk3-Windows.html#GDK-INPUT-OUTPUT:CAPS"><code class="literal">GDK_INPUT_OUTPUT</code></a>)
|
<p>A visible window event box creates a visible (<code class="literal">GDK_INPUT_OUTPUT</code>)
|
||||||
window that acts as the parent window for all the widgets
|
window that acts as the parent window for all the widgets
|
||||||
contained in the event box.</p>
|
contained in the event box.</p>
|
||||||
<p>You should generally make your event box invisible if
|
<p>You should generally make your event box invisible if
|
||||||
|
@ -145,7 +145,7 @@
|
|||||||
<div class="refsect1">
|
<div class="refsect1">
|
||||||
<a name="GtkEventController.description"></a><h2>Description</h2>
|
<a name="GtkEventController.description"></a><h2>Description</h2>
|
||||||
<p><a class="link" href="GtkEventController.html" title="GtkEventController"><span class="type">GtkEventController</span></a> is a base, low-level implementation for event
|
<p><a class="link" href="GtkEventController.html" title="GtkEventController"><span class="type">GtkEventController</span></a> is a base, low-level implementation for event
|
||||||
controllers. Those react to a series of <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvents</span></a>, and possibly trigger
|
controllers. Those react to a series of <span class="type">GdkEvents</span>, and possibly trigger
|
||||||
actions as a consequence of those.</p>
|
actions as a consequence of those.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="refsect1">
|
<div class="refsect1">
|
||||||
@ -219,7 +219,7 @@ the events can be managed by calling <a class="link" href="GtkEventController.ht
|
|||||||
<a name="gtk-event-controller-handle-event"></a><h3>gtk_event_controller_handle_event ()</h3>
|
<a name="gtk-event-controller-handle-event"></a><h3>gtk_event_controller_handle_event ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_event_controller_handle_event (<em class="parameter"><code><a class="link" href="GtkEventController.html" title="GtkEventController"><span class="type">GtkEventController</span></a> *controller</code></em>,
|
gtk_event_controller_handle_event (<em class="parameter"><code><a class="link" href="GtkEventController.html" title="GtkEventController"><span class="type">GtkEventController</span></a> *controller</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkEvent</span> *event</code></em>);</pre>
|
||||||
<p>Feeds an events into <em class="parameter"><code>controller</code></em>
|
<p>Feeds an events into <em class="parameter"><code>controller</code></em>
|
||||||
, so it can be interpreted
|
, so it can be interpreted
|
||||||
and the controller actions triggered.</p>
|
and the controller actions triggered.</p>
|
||||||
@ -239,7 +239,7 @@ and the controller actions triggered.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>event</p></td>
|
<td class="parameter_name"><p>event</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkEvent</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -385,7 +385,7 @@ grab broken handlers for controllers in this phase to be run.</p>
|
|||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkEventController--widget"></a><h3>The <code class="literal">“widget”</code> property</h3>
|
<a name="GtkEventController--widget"></a><h3>The <code class="literal">“widget”</code> property</h3>
|
||||||
<pre class="programlisting"> “widget” <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</pre>
|
<pre class="programlisting"> “widget” <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</pre>
|
||||||
<p>The widget receiving the <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvents</span></a> that the controller will handle.</p>
|
<p>The widget receiving the <span class="type">GdkEvents</span> that the controller will handle.</p>
|
||||||
<p>Owner: GtkEventController</p>
|
<p>Owner: GtkEventController</p>
|
||||||
<p>Flags: Read / Write / Construct Only</p>
|
<p>Flags: Read / Write / Construct Only</p>
|
||||||
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
||||||
|
@ -170,7 +170,7 @@ user_function (<a class="link" href="GtkEventControllerKey.html" title="GtkEvent
|
|||||||
user_function (<a class="link" href="GtkEventControllerKey.html" title="GtkEventControllerKey"><span class="type">GtkEventControllerKey</span></a> *controller,
|
user_function (<a class="link" href="GtkEventControllerKey.html" title="GtkEventControllerKey"><span class="type">GtkEventControllerKey</span></a> *controller,
|
||||||
<span class="type">guint</span> keyval,
|
<span class="type">guint</span> keyval,
|
||||||
<span class="type">guint</span> keycode,
|
<span class="type">guint</span> keycode,
|
||||||
<a href="../html/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> state,
|
<span class="type">GdkModifierType</span> state,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>This signal is emitted whenever a key is pressed.</p>
|
<p>This signal is emitted whenever a key is pressed.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -199,7 +199,7 @@ user_function (<a class="link" href="GtkEventControllerKey.html" title="GtkEvent
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>state</p></td>
|
<td class="parameter_name"><p>state</p></td>
|
||||||
<td class="parameter_description"><p>the bitmask, representing the state of modifier keys and pointer buttons. See <a href="../html/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a>.</p></td>
|
<td class="parameter_description"><p>the bitmask, representing the state of modifier keys and pointer buttons. See <span class="type">GdkModifierType</span>.</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -224,7 +224,7 @@ user_function (<a class="link" href="GtkEventControllerKey.html" title="GtkEvent
|
|||||||
user_function (<a class="link" href="GtkEventControllerKey.html" title="GtkEventControllerKey"><span class="type">GtkEventControllerKey</span></a> *controller,
|
user_function (<a class="link" href="GtkEventControllerKey.html" title="GtkEventControllerKey"><span class="type">GtkEventControllerKey</span></a> *controller,
|
||||||
<span class="type">guint</span> keyval,
|
<span class="type">guint</span> keyval,
|
||||||
<span class="type">guint</span> keycode,
|
<span class="type">guint</span> keycode,
|
||||||
<a href="../html/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> state,
|
<span class="type">GdkModifierType</span> state,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>This signal is emitted whenever a key is released.</p>
|
<p>This signal is emitted whenever a key is released.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -253,7 +253,7 @@ user_function (<a class="link" href="GtkEventControllerKey.html" title="GtkEvent
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>state</p></td>
|
<td class="parameter_name"><p>state</p></td>
|
||||||
<td class="parameter_description"><p>the bitmask, representing the state of modifier keys and pointer buttons. See <a href="../html/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a>.</p></td>
|
<td class="parameter_description"><p>the bitmask, representing the state of modifier keys and pointer buttons. See <span class="type">GdkModifierType</span>.</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -272,7 +272,7 @@ user_function (<a class="link" href="GtkEventControllerKey.html" title="GtkEvent
|
|||||||
<a name="GtkEventControllerKey-modifiers"></a><h3>The <code class="literal">“modifiers”</code> signal</h3>
|
<a name="GtkEventControllerKey-modifiers"></a><h3>The <code class="literal">“modifiers”</code> signal</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
user_function (<a class="link" href="GtkEventControllerKey.html" title="GtkEventControllerKey"><span class="type">GtkEventControllerKey</span></a> *eventcontrollerkey,
|
user_function (<a class="link" href="GtkEventControllerKey.html" title="GtkEventControllerKey"><span class="type">GtkEventControllerKey</span></a> *eventcontrollerkey,
|
||||||
<a href="../html/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> arg1,
|
<span class="type">GdkModifierType</span> arg1,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>Flags: Run Last</p>
|
<p>Flags: Run Last</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="returnvalue">GdkGLContext</span></a> *
|
<span class="returnvalue">GdkGLContext</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkGLArea.html#gtk-gl-area-get-context" title="gtk_gl_area_get_context ()">gtk_gl_area_get_context</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkGLArea.html#gtk-gl-area-get-context" title="gtk_gl_area_get_context ()">gtk_gl_area_get_context</a> <span class="c_punctuation">()</span>
|
||||||
@ -214,7 +214,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a> *</td>
|
<span class="type">GdkGLContext</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkGLArea.html#GtkGLArea--context" title="The “context” property">context</a></td>
|
<td class="property_name"><a class="link" href="GtkGLArea.html#GtkGLArea--context" title="The “context” property">context</a></td>
|
||||||
<td class="property_flags">Read</td>
|
<td class="property_flags">Read</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -252,7 +252,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="signal_type">
|
<td class="signal_type">
|
||||||
<a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="returnvalue">GdkGLContext</span></a>*</td>
|
<span class="returnvalue">GdkGLContext</span>*</td>
|
||||||
<td class="signal_name"><a class="link" href="GtkGLArea.html#GtkGLArea-create-context" title="The “create-context” signal">create-context</a></td>
|
<td class="signal_name"><a class="link" href="GtkGLArea.html#GtkGLArea-create-context" title="The “create-context” signal">create-context</a></td>
|
||||||
<td class="signal_flags">Run Last</td>
|
<td class="signal_flags">Run Last</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -310,7 +310,7 @@ GtkGLArea implements
|
|||||||
<div class="refsect1">
|
<div class="refsect1">
|
||||||
<a name="GtkGLArea.description"></a><h2>Description</h2>
|
<a name="GtkGLArea.description"></a><h2>Description</h2>
|
||||||
<p><a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> is a widget that allows drawing with OpenGL.</p>
|
<p><a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> is a widget that allows drawing with OpenGL.</p>
|
||||||
<p><a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> sets up its own <a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a> for the window it creates, and
|
<p><a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> sets up its own <span class="type">GdkGLContext</span> for the window it creates, and
|
||||||
creates a custom GL framebuffer that the widget will do GL rendering onto.
|
creates a custom GL framebuffer that the widget will do GL rendering onto.
|
||||||
It also ensures that this framebuffer is the default GL rendering target
|
It also ensures that this framebuffer is the default GL rendering target
|
||||||
when rendering.</p>
|
when rendering.</p>
|
||||||
@ -318,7 +318,7 @@ when rendering.</p>
|
|||||||
or subclass <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> and override the <em class="parameter"><code>GtkGLAreaClass.render()</code></em>
|
or subclass <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> and override the <em class="parameter"><code>GtkGLAreaClass.render()</code></em>
|
||||||
virtual
|
virtual
|
||||||
function.</p>
|
function.</p>
|
||||||
<p>The <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> widget ensures that the <a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a> is associated with
|
<p>The <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> widget ensures that the <span class="type">GdkGLContext</span> is associated with
|
||||||
the widget's drawing area, and it is kept updated when the size and
|
the widget's drawing area, and it is kept updated when the size and
|
||||||
position of the drawing area changes.</p>
|
position of the drawing area changes.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -400,7 +400,7 @@ for you to draw its content:</p>
|
|||||||
<p>If you need to initialize OpenGL state, e.g. buffer objects or
|
<p>If you need to initialize OpenGL state, e.g. buffer objects or
|
||||||
shaders, you should use the <a class="link" href="GtkWidget.html#GtkWidget-realize" title="The “realize” signal"><span class="type">“realize”</span></a> signal; you
|
shaders, you should use the <a class="link" href="GtkWidget.html#GtkWidget-realize" title="The “realize” signal"><span class="type">“realize”</span></a> signal; you
|
||||||
can use the <a class="link" href="GtkWidget.html#GtkWidget-unrealize" title="The “unrealize” signal"><span class="type">“unrealize”</span></a> signal to clean up. Since the
|
can use the <a class="link" href="GtkWidget.html#GtkWidget-unrealize" title="The “unrealize” signal"><span class="type">“unrealize”</span></a> signal to clean up. Since the
|
||||||
<a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a> creation and initialization may fail, you will
|
<span class="type">GdkGLContext</span> creation and initialization may fail, you will
|
||||||
need to check for errors, using <a class="link" href="GtkGLArea.html#gtk-gl-area-get-error" title="gtk_gl_area_get_error ()"><code class="function">gtk_gl_area_get_error()</code></a>. An example
|
need to check for errors, using <a class="link" href="GtkGLArea.html#gtk-gl-area-get-error" title="gtk_gl_area_get_error ()"><code class="function">gtk_gl_area_get_error()</code></a>. An example
|
||||||
of how to safely initialize the GL state is:</p>
|
of how to safely initialize the GL state is:</p>
|
||||||
<div class="informalexample">
|
<div class="informalexample">
|
||||||
@ -479,7 +479,7 @@ of how to safely initialize the GL state is:</p>
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p></p>
|
<p></p>
|
||||||
<p>If you need to change the options for creating the <a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a>
|
<p>If you need to change the options for creating the <span class="type">GdkGLContext</span>
|
||||||
you should use the <a class="link" href="GtkGLArea.html#GtkGLArea-create-context" title="The “create-context” signal"><span class="type">“create-context”</span></a> signal.</p>
|
you should use the <a class="link" href="GtkGLArea.html#GtkGLArea-create-context" title="The “create-context” signal"><span class="type">“create-context”</span></a> signal.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -499,9 +499,9 @@ gtk_gl_area_new (<em class="parameter"><code><span class="type">void</span></cod
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-gl-area-get-context"></a><h3>gtk_gl_area_get_context ()</h3>
|
<a name="gtk-gl-area-get-context"></a><h3>gtk_gl_area_get_context ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="returnvalue">GdkGLContext</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkGLContext</span> *
|
||||||
gtk_gl_area_get_context (<em class="parameter"><code><a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> *area</code></em>);</pre>
|
gtk_gl_area_get_context (<em class="parameter"><code><a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> *area</code></em>);</pre>
|
||||||
<p>Retrieves the <a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a> used by <em class="parameter"><code>area</code></em>
|
<p>Retrieves the <span class="type">GdkGLContext</span> used by <em class="parameter"><code>area</code></em>
|
||||||
.</p>
|
.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-gl-area-get-context.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-gl-area-get-context.parameters"></a><h4>Parameters</h4>
|
||||||
@ -520,7 +520,7 @@ gtk_gl_area_get_context (<em class="parameter"><code><a class="link" href="GtkGL
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-gl-area-get-context.returns"></a><h4>Returns</h4>
|
<a name="gtk-gl-area-get-context.returns"></a><h4>Returns</h4>
|
||||||
<p>the <a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a>. </p>
|
<p>the <span class="type">GdkGLContext</span>. </p>
|
||||||
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||||
@ -530,7 +530,7 @@ gtk_gl_area_get_context (<em class="parameter"><code><a class="link" href="GtkGL
|
|||||||
<a name="gtk-gl-area-make-current"></a><h3>gtk_gl_area_make_current ()</h3>
|
<a name="gtk-gl-area-make-current"></a><h3>gtk_gl_area_make_current ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_gl_area_make_current (<em class="parameter"><code><a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> *area</code></em>);</pre>
|
gtk_gl_area_make_current (<em class="parameter"><code><a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> *area</code></em>);</pre>
|
||||||
<p>Ensures that the <a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a> used by <em class="parameter"><code>area</code></em>
|
<p>Ensures that the <span class="type">GdkGLContext</span> used by <em class="parameter"><code>area</code></em>
|
||||||
is associated with
|
is associated with
|
||||||
the <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a>.</p>
|
the <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a>.</p>
|
||||||
<p>This function is automatically called before emitting the
|
<p>This function is automatically called before emitting the
|
||||||
@ -1015,7 +1015,7 @@ gtk_gl_area_set_use_es (<em class="parameter"><code><a class="link" href="GtkGLA
|
|||||||
<em class="parameter"><code><span class="type">gboolean</span> use_es</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gboolean</span> use_es</code></em>);</pre>
|
||||||
<p>Sets whether the <em class="parameter"><code>area</code></em>
|
<p>Sets whether the <em class="parameter"><code>area</code></em>
|
||||||
should create an OpenGL or an OpenGL ES context.</p>
|
should create an OpenGL or an OpenGL ES context.</p>
|
||||||
<p>You should check the capabilities of the <a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a> before drawing
|
<p>You should check the capabilities of the <span class="type">GdkGLContext</span> before drawing
|
||||||
with either API.</p>
|
with either API.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-gl-area-set-use-es.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-gl-area-set-use-es.parameters"></a><h4>Parameters</h4>
|
||||||
@ -1142,9 +1142,9 @@ to redraw.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkGLArea--context"></a><h3>The <code class="literal">“context”</code> property</h3>
|
<a name="GtkGLArea--context"></a><h3>The <code class="literal">“context”</code> property</h3>
|
||||||
<pre class="programlisting"> “context” <a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a> *</pre>
|
<pre class="programlisting"> “context” <span class="type">GdkGLContext</span> *</pre>
|
||||||
<p>The <a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a> used by the <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> widget.</p>
|
<p>The <span class="type">GdkGLContext</span> used by the <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> widget.</p>
|
||||||
<p>The <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> widget is responsible for creating the <a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a>
|
<p>The <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> widget is responsible for creating the <span class="type">GdkGLContext</span>
|
||||||
instance. If you need to render with other kinds of buffers (stencil,
|
instance. If you need to render with other kinds of buffers (stencil,
|
||||||
depth, etc), use render buffers.</p>
|
depth, etc), use render buffers.</p>
|
||||||
<p>Owner: GtkGLArea</p>
|
<p>Owner: GtkGLArea</p>
|
||||||
@ -1191,9 +1191,9 @@ target framebuffer.</p>
|
|||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkGLArea--use-es"></a><h3>The <code class="literal">“use-es”</code> property</h3>
|
<a name="GtkGLArea--use-es"></a><h3>The <code class="literal">“use-es”</code> property</h3>
|
||||||
<pre class="programlisting"> “use-es” <span class="type">gboolean</span></pre>
|
<pre class="programlisting"> “use-es” <span class="type">gboolean</span></pre>
|
||||||
<p>If set to <code class="literal">TRUE</code> the widget will try to create a <a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a> using
|
<p>If set to <code class="literal">TRUE</code> the widget will try to create a <span class="type">GdkGLContext</span> using
|
||||||
OpenGL ES instead of OpenGL.</p>
|
OpenGL ES instead of OpenGL.</p>
|
||||||
<p>See also: <a href="../html/GdkGLContext.html#gdk-gl-context-set-use-es"><code class="function">gdk_gl_context_set_use_es()</code></a></p>
|
<p>See also: <code class="function">gdk_gl_context_set_use_es()</code></p>
|
||||||
<p>Owner: GtkGLArea</p>
|
<p>Owner: GtkGLArea</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
<p>Default value: FALSE</p>
|
<p>Default value: FALSE</p>
|
||||||
@ -1204,7 +1204,7 @@ OpenGL ES instead of OpenGL.</p>
|
|||||||
<a name="GtkGLArea.signal-details"></a><h2>Signal Details</h2>
|
<a name="GtkGLArea.signal-details"></a><h2>Signal Details</h2>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkGLArea-create-context"></a><h3>The <code class="literal">“create-context”</code> signal</h3>
|
<a name="GtkGLArea-create-context"></a><h3>The <code class="literal">“create-context”</code> signal</h3>
|
||||||
<pre class="programlisting"><a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="returnvalue">GdkGLContext</span></a>*
|
<pre class="programlisting"><span class="returnvalue">GdkGLContext</span>*
|
||||||
user_function (<a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> *area,
|
user_function (<a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> *area,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>The ::create-context signal is emitted when the widget is being
|
<p>The ::create-context signal is emitted when the widget is being
|
||||||
@ -1244,7 +1244,7 @@ of how the construction failed.</p>
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="GtkGLArea-create-context.returns"></a><h4>Returns</h4>
|
<a name="GtkGLArea-create-context.returns"></a><h4>Returns</h4>
|
||||||
<p>a newly created <a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a>;
|
<p>a newly created <span class="type">GdkGLContext</span>;
|
||||||
the <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> widget will take ownership of the returned value. </p>
|
the <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> widget will take ownership of the returned value. </p>
|
||||||
<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p>
|
<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
@ -1256,7 +1256,7 @@ the <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">G
|
|||||||
<a name="GtkGLArea-render"></a><h3>The <code class="literal">“render”</code> signal</h3>
|
<a name="GtkGLArea-render"></a><h3>The <code class="literal">“render”</code> signal</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
user_function (<a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> *area,
|
user_function (<a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> *area,
|
||||||
<a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a> *context,
|
<span class="type">GdkGLContext</span> *context,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>The ::render signal is emitted every time the contents
|
<p>The ::render signal is emitted every time the contents
|
||||||
of the <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> should be redrawn.</p>
|
of the <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> should be redrawn.</p>
|
||||||
@ -1280,7 +1280,7 @@ and the buffers are painted to the window once the emission terminates.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>context</p></td>
|
<td class="parameter_name"><p>context</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/GdkGLContext.html#GdkGLContext-struct"><span class="type">GdkGLContext</span></a> used by <em class="parameter"><code>area</code></em>
|
<td class="parameter_description"><p>the <span class="type">GdkGLContext</span> used by <em class="parameter"><code>area</code></em>
|
||||||
</p></td>
|
</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/GdkDevice.html#GdkDevice-struct"><span class="returnvalue">GdkDevice</span></a> *
|
<span class="returnvalue">GdkDevice</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkGesture.html#gtk-gesture-get-device" title="gtk_gesture_get_device ()">gtk_gesture_get_device</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkGesture.html#gtk-gesture-get-device" title="gtk_gesture_get_device ()">gtk_gesture_get_device</a> <span class="c_punctuation">()</span>
|
||||||
@ -52,7 +52,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<span class="returnvalue">GdkWindow</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkGesture.html#gtk-gesture-get-window" title="gtk_gesture_get_window ()">gtk_gesture_get_window</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkGesture.html#gtk-gesture-get-window" title="gtk_gesture_get_window ()">gtk_gesture_get_window</a> <span class="c_punctuation">()</span>
|
||||||
@ -124,14 +124,14 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Events.html#GdkEventSequence"><span class="returnvalue">GdkEventSequence</span></a> *
|
<span class="returnvalue">GdkEventSequence</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkGesture.html#gtk-gesture-get-last-updated-sequence" title="gtk_gesture_get_last_updated_sequence ()">gtk_gesture_get_last_updated_sequence</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkGesture.html#gtk-gesture-get-last-updated-sequence" title="gtk_gesture_get_last_updated_sequence ()">gtk_gesture_get_last_updated_sequence</a> <span class="c_punctuation">()</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">const <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="returnvalue">GdkEvent</span></a> *
|
<td class="function_type">const <span class="returnvalue">GdkEvent</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkGesture.html#gtk-gesture-get-last-event" title="gtk_gesture_get_last_event ()">gtk_gesture_get_last_event</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkGesture.html#gtk-gesture-get-last-event" title="gtk_gesture_get_last_event ()">gtk_gesture_get_last_event</a> <span class="c_punctuation">()</span>
|
||||||
@ -212,7 +212,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *</td>
|
<span class="type">GdkWindow</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkGesture.html#GtkGesture--window" title="The “window” property">window</a></td>
|
<td class="property_name"><a class="link" href="GtkGesture.html#GtkGesture--window" title="The “window” property">window</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -295,7 +295,7 @@
|
|||||||
<p><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> is the base object for gesture recognition, although this
|
<p><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> is the base object for gesture recognition, although this
|
||||||
object is quite generalized to serve as a base for multi-touch gestures,
|
object is quite generalized to serve as a base for multi-touch gestures,
|
||||||
it is suitable to implement single-touch and pointer-based gestures (using
|
it is suitable to implement single-touch and pointer-based gestures (using
|
||||||
the special <code class="literal">NULL</code> <a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> value for these).</p>
|
the special <code class="literal">NULL</code> <span class="type">GdkEventSequence</span> value for these).</p>
|
||||||
<p>The number of touches that a <a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> need to be recognized is controlled
|
<p>The number of touches that a <a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> need to be recognized is controlled
|
||||||
by the <a class="link" href="GtkGesture.html#GtkGesture--n-points" title="The “n-points” property"><span class="type">“n-points”</span></a> property, if a gesture is keeping track of less
|
by the <a class="link" href="GtkGesture.html#GtkGesture--n-points" title="The “n-points” property"><span class="type">“n-points”</span></a> property, if a gesture is keeping track of less
|
||||||
or more than that number of sequences, it won't check wether the gesture
|
or more than that number of sequences, it won't check wether the gesture
|
||||||
@ -356,13 +356,13 @@ propagation chain.</p></li>
|
|||||||
<li class="listitem"><p>Stopping event propagation after the gesture group handles the event.</p></li>
|
<li class="listitem"><p>Stopping event propagation after the gesture group handles the event.</p></li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
<p>Note: if a sequence is set early to <a class="link" href="GtkGesture.html#GTK-EVENT-SEQUENCE-CLAIMED:CAPS"><span class="type">GTK_EVENT_SEQUENCE_CLAIMED</span></a> on
|
<p>Note: if a sequence is set early to <a class="link" href="GtkGesture.html#GTK-EVENT-SEQUENCE-CLAIMED:CAPS"><span class="type">GTK_EVENT_SEQUENCE_CLAIMED</span></a> on
|
||||||
<a href="../html/gdk3-Events.html#GDK-TOUCH-BEGIN:CAPS"><span class="type">GDK_TOUCH_BEGIN</span></a>/<a href="../html/gdk3-Events.html#GDK-BUTTON-PRESS:CAPS"><span class="type">GDK_BUTTON_PRESS</span></a> (so those events are captured before
|
<span class="type">GDK_TOUCH_BEGIN</span>/<span class="type">GDK_BUTTON_PRESS</span> (so those events are captured before
|
||||||
reaching the event widget, this implies <a class="link" href="GtkEventController.html#GTK-PHASE-CAPTURE:CAPS"><span class="type">GTK_PHASE_CAPTURE</span></a>), one similar
|
reaching the event widget, this implies <a class="link" href="GtkEventController.html#GTK-PHASE-CAPTURE:CAPS"><span class="type">GTK_PHASE_CAPTURE</span></a>), one similar
|
||||||
event will emulated if the sequence changes to <a class="link" href="GtkGesture.html#GTK-EVENT-SEQUENCE-DENIED:CAPS"><span class="type">GTK_EVENT_SEQUENCE_DENIED</span></a>.
|
event will emulated if the sequence changes to <a class="link" href="GtkGesture.html#GTK-EVENT-SEQUENCE-DENIED:CAPS"><span class="type">GTK_EVENT_SEQUENCE_DENIED</span></a>.
|
||||||
This way event coherence is preserved before event propagation is unstopped
|
This way event coherence is preserved before event propagation is unstopped
|
||||||
again.</p>
|
again.</p>
|
||||||
<p>Sequence states can't be changed freely, see <a class="link" href="GtkGesture.html#gtk-gesture-set-sequence-state" title="gtk_gesture_set_sequence_state ()"><code class="function">gtk_gesture_set_sequence_state()</code></a>
|
<p>Sequence states can't be changed freely, see <a class="link" href="GtkGesture.html#gtk-gesture-set-sequence-state" title="gtk_gesture_set_sequence_state ()"><code class="function">gtk_gesture_set_sequence_state()</code></a>
|
||||||
to know about the possible lifetimes of a <a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a>.</p>
|
to know about the possible lifetimes of a <span class="type">GdkEventSequence</span>.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="id-1.3.24.6.9.9"></a><h4>Touchpad gestures</h4>
|
<a name="id-1.3.24.6.9.9"></a><h4>Touchpad gestures</h4>
|
||||||
@ -370,9 +370,9 @@ to know about the possible lifetimes of a <a href="../html/gdk3-Events.html#GdkE
|
|||||||
touchpad gesture events. The only precautions users of <a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> should do
|
touchpad gesture events. The only precautions users of <a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> should do
|
||||||
to enable this support are:</p>
|
to enable this support are:</p>
|
||||||
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
||||||
<li class="listitem"><p>Enabling <a href="../html/gdk3-Events.html#GDK-TOUCHPAD-GESTURE-MASK:CAPS"><code class="literal">GDK_TOUCHPAD_GESTURE_MASK</code></a> on their <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a></p></li>
|
<li class="listitem"><p>Enabling <code class="literal">GDK_TOUCHPAD_GESTURE_MASK</code> on their <span class="type">GdkWindows</span></p></li>
|
||||||
<li class="listitem"><p>If the gesture has <a class="link" href="GtkEventController.html#GTK-PHASE-NONE:CAPS"><code class="literal">GTK_PHASE_NONE</code></a>, ensuring events of type
|
<li class="listitem"><p>If the gesture has <a class="link" href="GtkEventController.html#GTK-PHASE-NONE:CAPS"><code class="literal">GTK_PHASE_NONE</code></a>, ensuring events of type
|
||||||
<a href="../html/gdk3-Events.html#GDK-TOUCHPAD-SWIPE:CAPS"><code class="literal">GDK_TOUCHPAD_SWIPE</code></a> and <a href="../html/gdk3-Events.html#GDK-TOUCHPAD-PINCH:CAPS"><code class="literal">GDK_TOUCHPAD_PINCH</code></a> are handled by the <a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a></p></li>
|
<code class="literal">GDK_TOUCHPAD_SWIPE</code> and <code class="literal">GDK_TOUCHPAD_PINCH</code> are handled by the <a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a></p></li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -380,9 +380,9 @@ to enable this support are:</p>
|
|||||||
<a name="GtkGesture.functions_details"></a><h2>Functions</h2>
|
<a name="GtkGesture.functions_details"></a><h2>Functions</h2>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-gesture-get-device"></a><h3>gtk_gesture_get_device ()</h3>
|
<a name="gtk-gesture-get-device"></a><h3>gtk_gesture_get_device ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/GdkDevice.html#GdkDevice-struct"><span class="returnvalue">GdkDevice</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkDevice</span> *
|
||||||
gtk_gesture_get_device (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>);</pre>
|
gtk_gesture_get_device (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>);</pre>
|
||||||
<p>Returns the master <a href="../html/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a> that is currently operating
|
<p>Returns the master <span class="type">GdkDevice</span> that is currently operating
|
||||||
on <em class="parameter"><code>gesture</code></em>
|
on <em class="parameter"><code>gesture</code></em>
|
||||||
, or <code class="literal">NULL</code> if the gesture is not being interacted.</p>
|
, or <code class="literal">NULL</code> if the gesture is not being interacted.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -402,7 +402,7 @@ on <em class="parameter"><code>gesture</code></em>
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-gesture-get-device.returns"></a><h4>Returns</h4>
|
<a name="gtk-gesture-get-device.returns"></a><h4>Returns</h4>
|
||||||
<p>a <a href="../html/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a>, or <code class="literal">NULL</code>. </p>
|
<p>a <span class="type">GdkDevice</span>, 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="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></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="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
||||||
@ -410,7 +410,7 @@ on <em class="parameter"><code>gesture</code></em>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-gesture-get-window"></a><h3>gtk_gesture_get_window ()</h3>
|
<a name="gtk-gesture-get-window"></a><h3>gtk_gesture_get_window ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
||||||
gtk_gesture_get_window (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>);</pre>
|
gtk_gesture_get_window (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>);</pre>
|
||||||
<p>Returns the user-defined window that receives the events
|
<p>Returns the user-defined window that receives the events
|
||||||
handled by <em class="parameter"><code>gesture</code></em>
|
handled by <em class="parameter"><code>gesture</code></em>
|
||||||
@ -443,7 +443,7 @@ information.</p>
|
|||||||
<a name="gtk-gesture-set-window"></a><h3>gtk_gesture_set_window ()</h3>
|
<a name="gtk-gesture-set-window"></a><h3>gtk_gesture_set_window ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_gesture_set_window (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
gtk_gesture_set_window (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>);</pre>
|
||||||
<p>Sets a specific window to receive events about, so <em class="parameter"><code>gesture</code></em>
|
<p>Sets a specific window to receive events about, so <em class="parameter"><code>gesture</code></em>
|
||||||
|
|
||||||
will effectively handle only events targeting <em class="parameter"><code>window</code></em>
|
will effectively handle only events targeting <em class="parameter"><code>window</code></em>
|
||||||
@ -466,7 +466,7 @@ a child of it. <em class="parameter"><code>window</code></em>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>window</p></td>
|
<td class="parameter_name"><p>window</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a>, or <code class="literal">NULL</code>. </p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkWindow</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>
|
<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>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -539,7 +539,7 @@ returned <code class="literal">TRUE</code> for the sequences being currently int
|
|||||||
<a name="gtk-gesture-get-sequence-state"></a><h3>gtk_gesture_get_sequence_state ()</h3>
|
<a name="gtk-gesture-get-sequence-state"></a><h3>gtk_gesture_get_sequence_state ()</h3>
|
||||||
<pre class="programlisting"><a class="link" href="GtkGesture.html#GtkEventSequenceState" title="enum GtkEventSequenceState"><span class="returnvalue">GtkEventSequenceState</span></a>
|
<pre class="programlisting"><a class="link" href="GtkGesture.html#GtkEventSequenceState" title="enum GtkEventSequenceState"><span class="returnvalue">GtkEventSequenceState</span></a>
|
||||||
gtk_gesture_get_sequence_state (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
gtk_gesture_get_sequence_state (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> *sequence</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkEventSequence</span> *sequence</code></em>);</pre>
|
||||||
<p>Returns the <em class="parameter"><code>sequence</code></em>
|
<p>Returns the <em class="parameter"><code>sequence</code></em>
|
||||||
state, as seen by <em class="parameter"><code>gesture</code></em>
|
state, as seen by <em class="parameter"><code>gesture</code></em>
|
||||||
.</p>
|
.</p>
|
||||||
@ -559,7 +559,7 @@ gtk_gesture_get_sequence_state (<em class="parameter"><code><a class="link" href
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>sequence</p></td>
|
<td class="parameter_name"><p>sequence</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkEventSequence</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -577,7 +577,7 @@ gtk_gesture_get_sequence_state (<em class="parameter"><code><a class="link" href
|
|||||||
<a name="gtk-gesture-set-sequence-state"></a><h3>gtk_gesture_set_sequence_state ()</h3>
|
<a name="gtk-gesture-set-sequence-state"></a><h3>gtk_gesture_set_sequence_state ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_gesture_set_sequence_state (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
gtk_gesture_set_sequence_state (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> *sequence</code></em>,
|
<em class="parameter"><code><span class="type">GdkEventSequence</span> *sequence</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkGesture.html#GtkEventSequenceState" title="enum GtkEventSequenceState"><span class="type">GtkEventSequenceState</span></a> state</code></em>);</pre>
|
<em class="parameter"><code><a class="link" href="GtkGesture.html#GtkEventSequenceState" title="enum GtkEventSequenceState"><span class="type">GtkEventSequenceState</span></a> state</code></em>);</pre>
|
||||||
<p>Sets the state of <em class="parameter"><code>sequence</code></em>
|
<p>Sets the state of <em class="parameter"><code>sequence</code></em>
|
||||||
in <em class="parameter"><code>gesture</code></em>
|
in <em class="parameter"><code>gesture</code></em>
|
||||||
@ -662,7 +662,7 @@ gesture processes the event.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>sequence</p></td>
|
<td class="parameter_name"><p>sequence</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkEventSequence</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -759,7 +759,7 @@ through <code class="function">g_list_free()</code>. </p>
|
|||||||
<a name="gtk-gesture-handles-sequence"></a><h3>gtk_gesture_handles_sequence ()</h3>
|
<a name="gtk-gesture-handles-sequence"></a><h3>gtk_gesture_handles_sequence ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_gesture_handles_sequence (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
gtk_gesture_handles_sequence (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> *sequence</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkEventSequence</span> *sequence</code></em>);</pre>
|
||||||
<p>Returns <code class="literal">TRUE</code> if <em class="parameter"><code>gesture</code></em>
|
<p>Returns <code class="literal">TRUE</code> if <em class="parameter"><code>gesture</code></em>
|
||||||
is currently handling events corresponding to
|
is currently handling events corresponding to
|
||||||
<em class="parameter"><code>sequence</code></em>
|
<em class="parameter"><code>sequence</code></em>
|
||||||
@ -780,7 +780,7 @@ gtk_gesture_handles_sequence (<em class="parameter"><code><a class="link" href="
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>sequence</p></td>
|
<td class="parameter_name"><p>sequence</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> or <code class="literal">NULL</code>. </p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkEventSequence</span> 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>
|
<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>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -797,9 +797,9 @@ is handling <em class="parameter"><code>sequence</code></em>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-gesture-get-last-updated-sequence"></a><h3>gtk_gesture_get_last_updated_sequence ()</h3>
|
<a name="gtk-gesture-get-last-updated-sequence"></a><h3>gtk_gesture_get_last_updated_sequence ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Events.html#GdkEventSequence"><span class="returnvalue">GdkEventSequence</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkEventSequence</span> *
|
||||||
gtk_gesture_get_last_updated_sequence (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>);</pre>
|
gtk_gesture_get_last_updated_sequence (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>);</pre>
|
||||||
<p>Returns the <a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> that was last updated on <em class="parameter"><code>gesture</code></em>
|
<p>Returns the <span class="type">GdkEventSequence</span> that was last updated on <em class="parameter"><code>gesture</code></em>
|
||||||
.</p>
|
.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-gesture-get-last-updated-sequence.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-gesture-get-last-updated-sequence.parameters"></a><h4>Parameters</h4>
|
||||||
@ -826,9 +826,9 @@ gtk_gesture_get_last_updated_sequence (<em class="parameter"><code><a class="lin
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-gesture-get-last-event"></a><h3>gtk_gesture_get_last_event ()</h3>
|
<a name="gtk-gesture-get-last-event"></a><h3>gtk_gesture_get_last_event ()</h3>
|
||||||
<pre class="programlisting">const <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="returnvalue">GdkEvent</span></a> *
|
<pre class="programlisting">const <span class="returnvalue">GdkEvent</span> *
|
||||||
gtk_gesture_get_last_event (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
gtk_gesture_get_last_event (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> *sequence</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkEventSequence</span> *sequence</code></em>);</pre>
|
||||||
<p>Returns the last event that was processed for <em class="parameter"><code>sequence</code></em>
|
<p>Returns the last event that was processed for <em class="parameter"><code>sequence</code></em>
|
||||||
.</p>
|
.</p>
|
||||||
<p>Note that the returned pointer is only valid as long as the <em class="parameter"><code>sequence</code></em>
|
<p>Note that the returned pointer is only valid as long as the <em class="parameter"><code>sequence</code></em>
|
||||||
@ -852,7 +852,7 @@ a copy of the event.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>sequence</p></td>
|
<td class="parameter_name"><p>sequence</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a>. </p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkEventSequence</span>. </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>
|
<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>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -870,7 +870,7 @@ a copy of the event.</p>
|
|||||||
<a name="gtk-gesture-get-point"></a><h3>gtk_gesture_get_point ()</h3>
|
<a name="gtk-gesture-get-point"></a><h3>gtk_gesture_get_point ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_gesture_get_point (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
gtk_gesture_get_point (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> *sequence</code></em>,
|
<em class="parameter"><code><span class="type">GdkEventSequence</span> *sequence</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gdouble</span> *x</code></em>,
|
<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>
|
<em class="parameter"><code><span class="type">gdouble</span> *y</code></em>);</pre>
|
||||||
<p>If <em class="parameter"><code>sequence</code></em>
|
<p>If <em class="parameter"><code>sequence</code></em>
|
||||||
@ -897,7 +897,7 @@ widget allocation.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>sequence</p></td>
|
<td class="parameter_name"><p>sequence</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a>, or <code class="literal">NULL</code> for pointer events. </p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkEventSequence</span>, or <code class="literal">NULL</code> for pointer events. </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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
@ -925,7 +925,7 @@ is currently interpreted</p>
|
|||||||
<a name="gtk-gesture-get-bounding-box"></a><h3>gtk_gesture_get_bounding_box ()</h3>
|
<a name="gtk-gesture-get-bounding-box"></a><h3>gtk_gesture_get_bounding_box ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_gesture_get_bounding_box (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
gtk_gesture_get_bounding_box (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *rect</code></em>);</pre>
|
||||||
<p>If there are touch sequences being currently handled by <em class="parameter"><code>gesture</code></em>
|
<p>If there are touch sequences being currently handled by <em class="parameter"><code>gesture</code></em>
|
||||||
,
|
,
|
||||||
this function returns <code class="literal">TRUE</code> and fills in <em class="parameter"><code>rect</code></em>
|
this function returns <code class="literal">TRUE</code> and fills in <em class="parameter"><code>rect</code></em>
|
||||||
@ -1027,7 +1027,7 @@ are by default isolated in their own groups.</p>
|
|||||||
is kept in sync for all of those, so calling <a class="link" href="GtkGesture.html#gtk-gesture-set-sequence-state" title="gtk_gesture_set_sequence_state ()"><code class="function">gtk_gesture_set_sequence_state()</code></a>,
|
is kept in sync for all of those, so calling <a class="link" href="GtkGesture.html#gtk-gesture-set-sequence-state" title="gtk_gesture_set_sequence_state ()"><code class="function">gtk_gesture_set_sequence_state()</code></a>,
|
||||||
on one will transfer the same value to the others.</p>
|
on one will transfer the same value to the others.</p>
|
||||||
<p>Groups also perform an "implicit grabbing" of sequences, if a
|
<p>Groups also perform an "implicit grabbing" of sequences, if a
|
||||||
<a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> state is set to <a class="link" href="GtkGesture.html#GTK-EVENT-SEQUENCE-CLAIMED:CAPS"><span class="type">GTK_EVENT_SEQUENCE_CLAIMED</span></a> on one group,
|
<span class="type">GdkEventSequence</span> state is set to <a class="link" href="GtkGesture.html#GTK-EVENT-SEQUENCE-CLAIMED:CAPS"><span class="type">GTK_EVENT_SEQUENCE_CLAIMED</span></a> on one group,
|
||||||
every other gesture group attached to the same <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> will switch the
|
every other gesture group attached to the same <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> will switch the
|
||||||
state for that sequence to <a class="link" href="GtkGesture.html#GTK-EVENT-SEQUENCE-DENIED:CAPS"><span class="type">GTK_EVENT_SEQUENCE_DENIED</span></a>.</p>
|
state for that sequence to <a class="link" href="GtkGesture.html#GTK-EVENT-SEQUENCE-DENIED:CAPS"><span class="type">GTK_EVENT_SEQUENCE_DENIED</span></a>.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -1154,7 +1154,7 @@ gtk_gesture_is_grouped_with (<em class="parameter"><code><a class="link" href="G
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkEventSequenceState"></a><h3>enum GtkEventSequenceState</h3>
|
<a name="GtkEventSequenceState"></a><h3>enum GtkEventSequenceState</h3>
|
||||||
<p>Describes the state of a <a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> in a <a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a>.</p>
|
<p>Describes the state of a <span class="type">GdkEventSequence</span> in a <a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a>.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="GtkEventSequenceState.members"></a><h4>Members</h4>
|
<a name="GtkEventSequenceState.members"></a><h4>Members</h4>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
@ -1206,9 +1206,9 @@ gtk_gesture_is_grouped_with (<em class="parameter"><code><a class="link" href="G
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkGesture--window"></a><h3>The <code class="literal">“window”</code> property</h3>
|
<a name="GtkGesture--window"></a><h3>The <code class="literal">“window”</code> property</h3>
|
||||||
<pre class="programlisting"> “window” <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *</pre>
|
<pre class="programlisting"> “window” <span class="type">GdkWindow</span> *</pre>
|
||||||
<p>If non-<code class="literal">NULL</code>, the gesture will only listen for events that happen on
|
<p>If non-<code class="literal">NULL</code>, the gesture will only listen for events that happen on
|
||||||
this <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a>, or a child of it.</p>
|
this <span class="type">GdkWindow</span>, or a child of it.</p>
|
||||||
<p>Owner: GtkGesture</p>
|
<p>Owner: GtkGesture</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
||||||
@ -1220,7 +1220,7 @@ this <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">Gdk
|
|||||||
<a name="GtkGesture-begin"></a><h3>The <code class="literal">“begin”</code> signal</h3>
|
<a name="GtkGesture-begin"></a><h3>The <code class="literal">“begin”</code> signal</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
user_function (<a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture,
|
user_function (<a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture,
|
||||||
<a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> *sequence,
|
<span class="type">GdkEventSequence</span> *sequence,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>This signal is emitted when the gesture is recognized. This means the
|
<p>This signal is emitted when the gesture is recognized. This means the
|
||||||
number of touch sequences matches <a class="link" href="GtkGesture.html#GtkGesture--n-points" title="The “n-points” property"><span class="type">“n-points”</span></a>, and the <span class="type">“check”</span>
|
number of touch sequences matches <a class="link" href="GtkGesture.html#GtkGesture--n-points" title="The “n-points” property"><span class="type">“n-points”</span></a>, and the <span class="type">“check”</span>
|
||||||
@ -1245,7 +1245,7 @@ to the current set of active touches, so don't rely on this being true.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>sequence</p></td>
|
<td class="parameter_name"><p>sequence</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> that made the gesture to be recognized. </p></td>
|
<td class="parameter_description"><p>the <span class="type">GdkEventSequence</span> that made the gesture to be recognized. </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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1264,7 +1264,7 @@ to the current set of active touches, so don't rely on this being true.</p>
|
|||||||
<a name="GtkGesture-cancel"></a><h3>The <code class="literal">“cancel”</code> signal</h3>
|
<a name="GtkGesture-cancel"></a><h3>The <code class="literal">“cancel”</code> signal</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
user_function (<a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture,
|
user_function (<a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture,
|
||||||
<a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> *sequence,
|
<span class="type">GdkEventSequence</span> *sequence,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>This signal is emitted whenever a sequence is cancelled. This usually
|
<p>This signal is emitted whenever a sequence is cancelled. This usually
|
||||||
happens on active touches when <a class="link" href="GtkEventController.html#gtk-event-controller-reset" title="gtk_event_controller_reset ()"><code class="function">gtk_event_controller_reset()</code></a> is called
|
happens on active touches when <a class="link" href="GtkEventController.html#gtk-event-controller-reset" title="gtk_event_controller_reset ()"><code class="function">gtk_event_controller_reset()</code></a> is called
|
||||||
@ -1291,7 +1291,7 @@ was claimed by parent widgets' controllers (see <a class="link" href="GtkGesture
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>sequence</p></td>
|
<td class="parameter_name"><p>sequence</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> that was cancelled. </p></td>
|
<td class="parameter_description"><p>the <span class="type">GdkEventSequence</span> that was cancelled. </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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1310,7 +1310,7 @@ was claimed by parent widgets' controllers (see <a class="link" href="GtkGesture
|
|||||||
<a name="GtkGesture-end"></a><h3>The <code class="literal">“end”</code> signal</h3>
|
<a name="GtkGesture-end"></a><h3>The <code class="literal">“end”</code> signal</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
user_function (<a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture,
|
user_function (<a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture,
|
||||||
<a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> *sequence,
|
<span class="type">GdkEventSequence</span> *sequence,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>This signal is emitted when <em class="parameter"><code>gesture</code></em>
|
<p>This signal is emitted when <em class="parameter"><code>gesture</code></em>
|
||||||
either stopped recognizing the event
|
either stopped recognizing the event
|
||||||
@ -1339,7 +1339,7 @@ by checking through <a class="link" href="GtkGesture.html#gtk-gesture-handles-se
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>sequence</p></td>
|
<td class="parameter_name"><p>sequence</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> that made gesture recognition to finish. </p></td>
|
<td class="parameter_description"><p>the <span class="type">GdkEventSequence</span> that made gesture recognition to finish. </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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1358,7 +1358,7 @@ by checking through <a class="link" href="GtkGesture.html#gtk-gesture-handles-se
|
|||||||
<a name="GtkGesture-sequence-state-changed"></a><h3>The <code class="literal">“sequence-state-changed”</code> signal</h3>
|
<a name="GtkGesture-sequence-state-changed"></a><h3>The <code class="literal">“sequence-state-changed”</code> signal</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
user_function (<a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture,
|
user_function (<a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture,
|
||||||
<a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> *sequence,
|
<span class="type">GdkEventSequence</span> *sequence,
|
||||||
<a class="link" href="GtkGesture.html#GtkEventSequenceState" title="enum GtkEventSequenceState"><span class="type">GtkEventSequenceState</span></a> state,
|
<a class="link" href="GtkGesture.html#GtkEventSequenceState" title="enum GtkEventSequenceState"><span class="type">GtkEventSequenceState</span></a> state,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>This signal is emitted whenever a sequence state changes. See
|
<p>This signal is emitted whenever a sequence state changes. See
|
||||||
@ -1380,7 +1380,7 @@ sequence lifetimes.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>sequence</p></td>
|
<td class="parameter_name"><p>sequence</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> that was cancelled. </p></td>
|
<td class="parameter_description"><p>the <span class="type">GdkEventSequence</span> that was cancelled. </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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1404,7 +1404,7 @@ sequence lifetimes.</p>
|
|||||||
<a name="GtkGesture-update"></a><h3>The <code class="literal">“update”</code> signal</h3>
|
<a name="GtkGesture-update"></a><h3>The <code class="literal">“update”</code> signal</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
user_function (<a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture,
|
user_function (<a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture,
|
||||||
<a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> *sequence,
|
<span class="type">GdkEventSequence</span> *sequence,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>This signal is emitted whenever an event is handled while the gesture is
|
<p>This signal is emitted whenever an event is handled while the gesture is
|
||||||
recognized. <em class="parameter"><code>sequence</code></em>
|
recognized. <em class="parameter"><code>sequence</code></em>
|
||||||
@ -1425,7 +1425,7 @@ recognized. <em class="parameter"><code>sequence</code></em>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>sequence</p></td>
|
<td class="parameter_name"><p>sequence</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Events.html#GdkEventSequence"><span class="type">GdkEventSequence</span></a> that was updated. </p></td>
|
<td class="parameter_description"><p>the <span class="type">GdkEventSequence</span> that was updated. </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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -168,7 +168,7 @@ presses.</p>
|
|||||||
<a name="gtk-gesture-multi-press-set-area"></a><h3>gtk_gesture_multi_press_set_area ()</h3>
|
<a name="gtk-gesture-multi-press-set-area"></a><h3>gtk_gesture_multi_press_set_area ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_gesture_multi_press_set_area (<em class="parameter"><code><a class="link" href="GtkGestureMultiPress.html" title="GtkGestureMultiPress"><span class="type">GtkGestureMultiPress</span></a> *gesture</code></em>,
|
gtk_gesture_multi_press_set_area (<em class="parameter"><code><a class="link" href="GtkGestureMultiPress.html" title="GtkGestureMultiPress"><span class="type">GtkGestureMultiPress</span></a> *gesture</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *rect</code></em>);</pre>
|
||||||
<p>If <em class="parameter"><code>rect</code></em>
|
<p>If <em class="parameter"><code>rect</code></em>
|
||||||
is non-<code class="literal">NULL</code>, the press area will be checked to be
|
is non-<code class="literal">NULL</code>, the press area will be checked to be
|
||||||
confined within the rectangle, otherwise the button count
|
confined within the rectangle, otherwise the button count
|
||||||
@ -208,7 +208,7 @@ akin to an input shape.</p>
|
|||||||
<a name="gtk-gesture-multi-press-get-area"></a><h3>gtk_gesture_multi_press_get_area ()</h3>
|
<a name="gtk-gesture-multi-press-get-area"></a><h3>gtk_gesture_multi_press_get_area ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_gesture_multi_press_get_area (<em class="parameter"><code><a class="link" href="GtkGestureMultiPress.html" title="GtkGestureMultiPress"><span class="type">GtkGestureMultiPress</span></a> *gesture</code></em>,
|
gtk_gesture_multi_press_get_area (<em class="parameter"><code><a class="link" href="GtkGestureMultiPress.html" title="GtkGestureMultiPress"><span class="type">GtkGestureMultiPress</span></a> *gesture</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *rect</code></em>);</pre>
|
||||||
<p>If an area was set through <a class="link" href="GtkGestureMultiPress.html#gtk-gesture-multi-press-set-area" title="gtk_gesture_multi_press_set_area ()"><code class="function">gtk_gesture_multi_press_set_area()</code></a>,
|
<p>If an area was set through <a class="link" href="GtkGestureMultiPress.html#gtk-gesture-multi-press-set-area" title="gtk_gesture_multi_press_set_area ()"><code class="function">gtk_gesture_multi_press_set_area()</code></a>,
|
||||||
this function will return <code class="literal">TRUE</code> and fill in <em class="parameter"><code>rect</code></em>
|
this function will return <code class="literal">TRUE</code> and fill in <em class="parameter"><code>rect</code></em>
|
||||||
with the
|
with the
|
||||||
|
@ -99,7 +99,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Events.html#GdkEventSequence"><span class="returnvalue">GdkEventSequence</span></a> *
|
<span class="returnvalue">GdkEventSequence</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkGestureSingle.html#gtk-gesture-single-get-current-sequence" title="gtk_gesture_single_get_current_sequence ()">gtk_gesture_single_get_current_sequence</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkGestureSingle.html#gtk-gesture-single-get-current-sequence" title="gtk_gesture_single_get_current_sequence ()">gtk_gesture_single_get_current_sequence</a> <span class="c_punctuation">()</span>
|
||||||
@ -173,7 +173,7 @@ not restricted) for dealing with mouse and single-touch gestures. Under
|
|||||||
interaction, these gestures stick to the first interacting sequence, which
|
interaction, these gestures stick to the first interacting sequence, which
|
||||||
is accessible through <a class="link" href="GtkGestureSingle.html#gtk-gesture-single-get-current-sequence" title="gtk_gesture_single_get_current_sequence ()"><code class="function">gtk_gesture_single_get_current_sequence()</code></a> while the
|
is accessible through <a class="link" href="GtkGestureSingle.html#gtk-gesture-single-get-current-sequence" title="gtk_gesture_single_get_current_sequence ()"><code class="function">gtk_gesture_single_get_current_sequence()</code></a> while the
|
||||||
gesture is being interacted with.</p>
|
gesture is being interacted with.</p>
|
||||||
<p>By default gestures react to both <a href="../html/gdk3-Events.html#GDK-BUTTON-PRIMARY:CAPS"><code class="literal">GDK_BUTTON_PRIMARY</code></a> and touch
|
<p>By default gestures react to both <code class="literal">GDK_BUTTON_PRIMARY</code> and touch
|
||||||
events, <a class="link" href="GtkGestureSingle.html#gtk-gesture-single-set-touch-only" title="gtk_gesture_single_set_touch_only ()"><code class="function">gtk_gesture_single_set_touch_only()</code></a> can be used to change the
|
events, <a class="link" href="GtkGestureSingle.html#gtk-gesture-single-set-touch-only" title="gtk_gesture_single_set_touch_only ()"><code class="function">gtk_gesture_single_set_touch_only()</code></a> can be used to change the
|
||||||
touch behavior. Callers may also specify a different mouse button number
|
touch behavior. Callers may also specify a different mouse button number
|
||||||
to interact with through <a class="link" href="GtkGestureSingle.html#gtk-gesture-single-set-button" title="gtk_gesture_single_set_button ()"><code class="function">gtk_gesture_single_set_button()</code></a>, or react to any
|
to interact with through <a class="link" href="GtkGestureSingle.html#gtk-gesture-single-set-button" title="gtk_gesture_single_set_button ()"><code class="function">gtk_gesture_single_set_button()</code></a>, or react to any
|
||||||
@ -281,7 +281,7 @@ gtk_gesture_single_set_touch_only (<em class="parameter"><code><a class="link" h
|
|||||||
<p>If <em class="parameter"><code>touch_only</code></em>
|
<p>If <em class="parameter"><code>touch_only</code></em>
|
||||||
is <code class="literal">TRUE</code>, <em class="parameter"><code>gesture</code></em>
|
is <code class="literal">TRUE</code>, <em class="parameter"><code>gesture</code></em>
|
||||||
will only handle events of type
|
will only handle events of type
|
||||||
<a href="../html/gdk3-Events.html#GDK-TOUCH-BEGIN:CAPS"><span class="type">GDK_TOUCH_BEGIN</span></a>, <a href="../html/gdk3-Events.html#GDK-TOUCH-UPDATE:CAPS"><span class="type">GDK_TOUCH_UPDATE</span></a> or <a href="../html/gdk3-Events.html#GDK-TOUCH-END:CAPS"><span class="type">GDK_TOUCH_END</span></a>. If <code class="literal">FALSE</code>,
|
<span class="type">GDK_TOUCH_BEGIN</span>, <span class="type">GDK_TOUCH_UPDATE</span> or <span class="type">GDK_TOUCH_END</span>. If <code class="literal">FALSE</code>,
|
||||||
mouse events will be handled too.</p>
|
mouse events will be handled too.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-gesture-single-set-touch-only.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-gesture-single-set-touch-only.parameters"></a><h4>Parameters</h4>
|
||||||
@ -404,7 +404,7 @@ is none.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-gesture-single-get-current-sequence"></a><h3>gtk_gesture_single_get_current_sequence ()</h3>
|
<a name="gtk-gesture-single-get-current-sequence"></a><h3>gtk_gesture_single_get_current_sequence ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Events.html#GdkEventSequence"><span class="returnvalue">GdkEventSequence</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkEventSequence</span> *
|
||||||
gtk_gesture_single_get_current_sequence
|
gtk_gesture_single_get_current_sequence
|
||||||
(<em class="parameter"><code><a class="link" href="GtkGestureSingle.html" title="GtkGestureSingle"><span class="type">GtkGestureSingle</span></a> *gesture</code></em>);</pre>
|
(<em class="parameter"><code><a class="link" href="GtkGestureSingle.html" title="GtkGestureSingle"><span class="type">GtkGestureSingle</span></a> *gesture</code></em>);</pre>
|
||||||
<p>Returns the event sequence currently interacting with <em class="parameter"><code>gesture</code></em>
|
<p>Returns the event sequence currently interacting with <em class="parameter"><code>gesture</code></em>
|
||||||
|
@ -173,7 +173,7 @@ gtk_gesture_stylus_new (<em class="parameter"><code><a class="link" href="GtkWid
|
|||||||
<a name="gtk-gesture-stylus-get-axis"></a><h3>gtk_gesture_stylus_get_axis ()</h3>
|
<a name="gtk-gesture-stylus-get-axis"></a><h3>gtk_gesture_stylus_get_axis ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_gesture_stylus_get_axis (<em class="parameter"><code><a class="link" href="GtkGestureStylus.html" title="GtkGestureStylus"><span class="type">GtkGestureStylus</span></a> *gesture</code></em>,
|
gtk_gesture_stylus_get_axis (<em class="parameter"><code><a class="link" href="GtkGestureStylus.html" title="GtkGestureStylus"><span class="type">GtkGestureStylus</span></a> *gesture</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/GdkDevice.html#GdkAxisUse"><span class="type">GdkAxisUse</span></a> axis</code></em>,
|
<em class="parameter"><code><span class="type">GdkAxisUse</span> axis</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre>
|
||||||
<p>Returns the current value for the requested <em class="parameter"><code>axis</code></em>
|
<p>Returns the current value for the requested <em class="parameter"><code>axis</code></em>
|
||||||
. This function
|
. This function
|
||||||
@ -218,7 +218,7 @@ signals.</p>
|
|||||||
<a name="gtk-gesture-stylus-get-axes"></a><h3>gtk_gesture_stylus_get_axes ()</h3>
|
<a name="gtk-gesture-stylus-get-axes"></a><h3>gtk_gesture_stylus_get_axes ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_gesture_stylus_get_axes (<em class="parameter"><code><a class="link" href="GtkGestureStylus.html" title="GtkGestureStylus"><span class="type">GtkGestureStylus</span></a> *gesture</code></em>,
|
gtk_gesture_stylus_get_axes (<em class="parameter"><code><a class="link" href="GtkGestureStylus.html" title="GtkGestureStylus"><span class="type">GtkGestureStylus</span></a> *gesture</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/GdkDevice.html#GdkAxisUse"><span class="type">GdkAxisUse</span></a> axes[]</code></em>,
|
<em class="parameter"><code><span class="type">GdkAxisUse</span> axes[]</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gdouble</span> **values</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gdouble</span> **values</code></em>);</pre>
|
||||||
<p>Returns the current values for the requested <em class="parameter"><code>axes</code></em>
|
<p>Returns the current values for the requested <em class="parameter"><code>axes</code></em>
|
||||||
. This function
|
. This function
|
||||||
@ -241,7 +241,7 @@ signals.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>axes</p></td>
|
<td class="parameter_name"><p>axes</p></td>
|
||||||
<td class="parameter_description"><p>array of requested axes, terminated with <a href="../html/GdkDevice.html#GDK-AXIS-IGNORE:CAPS"><span class="type">GDK_AXIS_IGNORE</span></a>. </p></td>
|
<td class="parameter_description"><p>array of requested axes, terminated with <span class="type">GDK_AXIS_IGNORE</span>. </p></td>
|
||||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -341,9 +341,9 @@ in order for the new input method to become available to GTK+ applications.</p>
|
|||||||
<a name="gtk-im-context-set-client-window"></a><h3>gtk_im_context_set_client_window ()</h3>
|
<a name="gtk-im-context-set-client-window"></a><h3>gtk_im_context_set_client_window ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_im_context_set_client_window (<em class="parameter"><code><a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context</code></em>,
|
gtk_im_context_set_client_window (<em class="parameter"><code><a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>);</pre>
|
||||||
<p>Set the client window for the input context; this is the
|
<p>Set the client window for the input context; this is the
|
||||||
<a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> in which the input appears. This window is
|
<span class="type">GdkWindow</span> in which the input appears. This window is
|
||||||
used in order to correctly position status windows, and may
|
used in order to correctly position status windows, and may
|
||||||
also be used for purposes internal to the input method.</p>
|
also be used for purposes internal to the input method.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -424,7 +424,7 @@ within the preedit string. </p></td>
|
|||||||
<a name="gtk-im-context-filter-keypress"></a><h3>gtk_im_context_filter_keypress ()</h3>
|
<a name="gtk-im-context-filter-keypress"></a><h3>gtk_im_context_filter_keypress ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_im_context_filter_keypress (<em class="parameter"><code><a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context</code></em>,
|
gtk_im_context_filter_keypress (<em class="parameter"><code><a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkEventKey</span> *event</code></em>);</pre>
|
||||||
<p>Allow an input method to internally handle key press and release
|
<p>Allow an input method to internally handle key press and release
|
||||||
events. If this function returns <code class="literal">TRUE</code>, then no further processing
|
events. If this function returns <code class="literal">TRUE</code>, then no further processing
|
||||||
should be done for this key event.</p>
|
should be done for this key event.</p>
|
||||||
@ -534,7 +534,7 @@ method to clear the preedit state.</p>
|
|||||||
<a name="gtk-im-context-set-cursor-location"></a><h3>gtk_im_context_set_cursor_location ()</h3>
|
<a name="gtk-im-context-set-cursor-location"></a><h3>gtk_im_context_set_cursor_location ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_im_context_set_cursor_location (<em class="parameter"><code><a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context</code></em>,
|
gtk_im_context_set_cursor_location (<em class="parameter"><code><a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *area</code></em>);</pre>
|
||||||
<p>Notify the input method that a change in cursor
|
<p>Notify the input method that a change in cursor
|
||||||
position has been made. The location is relative to the client
|
position has been made. The location is relative to the client
|
||||||
window.</p>
|
window.</p>
|
||||||
|
@ -536,7 +536,7 @@ or stock items, rather than directly, but looking up icons
|
|||||||
directly is also simple. The <a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> object acts
|
directly is also simple. The <a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> object acts
|
||||||
as a database of all the icons in the current theme. You
|
as a database of all the icons in the current theme. You
|
||||||
can create new <a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> objects, but it’s much more
|
can create new <a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> objects, but it’s much more
|
||||||
efficient to use the standard icon theme for the <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>
|
efficient to use the standard icon theme for the <span class="type">GdkScreen</span>
|
||||||
so that the icon information is shared with other people
|
so that the icon information is shared with other people
|
||||||
looking up icons.</p>
|
looking up icons.</p>
|
||||||
<div class="informalexample">
|
<div class="informalexample">
|
||||||
@ -628,7 +628,7 @@ is open. Do not ref or unref it. </p>
|
|||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-icon-theme-get-for-screen"></a><h3>gtk_icon_theme_get_for_screen ()</h3>
|
<a name="gtk-icon-theme-get-for-screen"></a><h3>gtk_icon_theme_get_for_screen ()</h3>
|
||||||
<pre class="programlisting"><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="returnvalue">GtkIconTheme</span></a> *
|
<pre class="programlisting"><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="returnvalue">GtkIconTheme</span></a> *
|
||||||
gtk_icon_theme_get_for_screen (<em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
gtk_icon_theme_get_for_screen (<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
||||||
<p>Gets the icon theme object associated with <em class="parameter"><code>screen</code></em>
|
<p>Gets the icon theme object associated with <em class="parameter"><code>screen</code></em>
|
||||||
; if this
|
; if this
|
||||||
function has not previously been called for the given
|
function has not previously been called for the given
|
||||||
@ -648,7 +648,7 @@ a single icon theme object will be shared between users.</p>
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="parameter_name"><p>screen</p></td>
|
<td class="parameter_name"><p>screen</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkScreen</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr></tbody>
|
</tr></tbody>
|
||||||
</table></div>
|
</table></div>
|
||||||
@ -668,7 +668,7 @@ is open. Do not ref or unref it. </p>
|
|||||||
<a name="gtk-icon-theme-set-screen"></a><h3>gtk_icon_theme_set_screen ()</h3>
|
<a name="gtk-icon-theme-set-screen"></a><h3>gtk_icon_theme_set_screen ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_icon_theme_set_screen (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
|
gtk_icon_theme_set_screen (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
||||||
<p>Sets the screen for an icon theme; the screen is used
|
<p>Sets the screen for an icon theme; the screen is used
|
||||||
to track the user’s currently configured icon theme,
|
to track the user’s currently configured icon theme,
|
||||||
which might be different for different screens.</p>
|
which might be different for different screens.</p>
|
||||||
@ -688,7 +688,7 @@ which might be different for different screens.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>screen</p></td>
|
<td class="parameter_name"><p>screen</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkScreen</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -981,7 +981,7 @@ combines these two steps if all you need is the pixbuf.)</p>
|
|||||||
<p>When rendering on displays with high pixel densities you should not
|
<p>When rendering on displays with high pixel densities you should not
|
||||||
use a <em class="parameter"><code>size</code></em>
|
use a <em class="parameter"><code>size</code></em>
|
||||||
multiplied by the scaling factor returned by functions
|
multiplied by the scaling factor returned by functions
|
||||||
like <a href="../html/gdk3-Windows.html#gdk-window-get-scale-factor"><code class="function">gdk_window_get_scale_factor()</code></a>. Instead, you should use
|
like <code class="function">gdk_window_get_scale_factor()</code>. Instead, you should use
|
||||||
<a class="link" href="GtkIconTheme.html#gtk-icon-theme-lookup-icon-for-scale" title="gtk_icon_theme_lookup_icon_for_scale ()"><code class="function">gtk_icon_theme_lookup_icon_for_scale()</code></a>, as the assets loaded
|
<a class="link" href="GtkIconTheme.html#gtk-icon-theme-lookup-icon-for-scale" title="gtk_icon_theme_lookup_icon_for_scale ()"><code class="function">gtk_icon_theme_lookup_icon_for_scale()</code></a>, as the assets loaded
|
||||||
for a given scaling factor may be different.</p>
|
for a given scaling factor may be different.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -1223,7 +1223,7 @@ into a pixbuf using <a class="link" href="GtkIconTheme.html#gtk-icon-info-load-i
|
|||||||
<p>When rendering on displays with high pixel densities you should not
|
<p>When rendering on displays with high pixel densities you should not
|
||||||
use a <em class="parameter"><code>size</code></em>
|
use a <em class="parameter"><code>size</code></em>
|
||||||
multiplied by the scaling factor returned by functions
|
multiplied by the scaling factor returned by functions
|
||||||
like <a href="../html/gdk3-Windows.html#gdk-window-get-scale-factor"><code class="function">gdk_window_get_scale_factor()</code></a>. Instead, you should use
|
like <code class="function">gdk_window_get_scale_factor()</code>. Instead, you should use
|
||||||
<a class="link" href="GtkIconTheme.html#gtk-icon-theme-lookup-by-gicon-for-scale" title="gtk_icon_theme_lookup_by_gicon_for_scale ()"><code class="function">gtk_icon_theme_lookup_by_gicon_for_scale()</code></a>, as the assets loaded
|
<a class="link" href="GtkIconTheme.html#gtk-icon-theme-lookup-by-gicon-for-scale" title="gtk_icon_theme_lookup_by_gicon_for_scale ()"><code class="function">gtk_icon_theme_lookup_by_gicon_for_scale()</code></a>, as the assets loaded
|
||||||
for a given scaling factor may be different.</p>
|
for a given scaling factor may be different.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -1479,7 +1479,7 @@ gtk_icon_theme_load_surface (<em class="parameter"><code><a class="link" href="G
|
|||||||
<em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>,
|
<em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> size</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> size</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> scale</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> scale</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *for_window</code></em>,
|
<em class="parameter"><code><span class="type">GdkWindow</span> *for_window</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconLookupFlags" title="enum GtkIconLookupFlags"><span class="type">GtkIconLookupFlags</span></a> flags</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconLookupFlags" title="enum GtkIconLookupFlags"><span class="type">GtkIconLookupFlags</span></a> flags</code></em>,
|
||||||
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||||
<p>Looks up an icon in an icon theme for a particular window scale,
|
<p>Looks up an icon in an icon theme for a particular window scale,
|
||||||
@ -1522,7 +1522,7 @@ exactly this size; see <a class="link" href="GtkIconTheme.html#gtk-icon-info-loa
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>for_window</p></td>
|
<td class="parameter_name"><p>for_window</p></td>
|
||||||
<td class="parameter_description"><p><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> to optimize drawing for, or <code class="literal">NULL</code>. </p></td>
|
<td class="parameter_description"><p><span class="type">GdkWindow</span> to optimize drawing for, 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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
@ -2081,7 +2081,7 @@ to the icon. </p>
|
|||||||
<a name="gtk-icon-info-load-surface"></a><h3>gtk_icon_info_load_surface ()</h3>
|
<a name="gtk-icon-info-load-surface"></a><h3>gtk_icon_info_load_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> *
|
<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> *
|
||||||
gtk_icon_info_load_surface (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
|
gtk_icon_info_load_surface (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *for_window</code></em>,
|
<em class="parameter"><code><span class="type">GdkWindow</span> *for_window</code></em>,
|
||||||
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||||
<p>Renders an icon previously looked up in an icon theme using
|
<p>Renders an icon previously looked up in an icon theme using
|
||||||
<a class="link" href="GtkIconTheme.html#gtk-icon-theme-lookup-icon" title="gtk_icon_theme_lookup_icon ()"><code class="function">gtk_icon_theme_lookup_icon()</code></a>; the size will be based on the size
|
<a class="link" href="GtkIconTheme.html#gtk-icon-theme-lookup-icon" title="gtk_icon_theme_lookup_icon ()"><code class="function">gtk_icon_theme_lookup_icon()</code></a>; the size will be based on the size
|
||||||
@ -2110,7 +2110,7 @@ returned by this function will be scaled to the exact size.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>for_window</p></td>
|
<td class="parameter_name"><p>for_window</p></td>
|
||||||
<td class="parameter_description"><p><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> to optimize drawing for, or <code class="literal">NULL</code>. </p></td>
|
<td class="parameter_description"><p><span class="type">GdkWindow</span> to optimize drawing for, 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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
@ -2229,10 +2229,10 @@ to the icon. </p>
|
|||||||
<a name="gtk-icon-info-load-symbolic"></a><h3>gtk_icon_info_load_symbolic ()</h3>
|
<a name="gtk-icon-info-load-symbolic"></a><h3>gtk_icon_info_load_symbolic ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *
|
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *
|
||||||
gtk_icon_info_load_symbolic (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
|
gtk_icon_info_load_symbolic (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *fg</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *fg</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *success_color</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *success_color</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *warning_color</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *warning_color</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *error_color</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *error_color</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gboolean</span> *was_symbolic</code></em>,
|
<em class="parameter"><code><span class="type">gboolean</span> *was_symbolic</code></em>,
|
||||||
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||||
<p>Loads an icon, modifying it to match the system colours for the foreground,
|
<p>Loads an icon, modifying it to match the system colours for the foreground,
|
||||||
@ -2263,24 +2263,24 @@ for more information about symbolic icons.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>fg</p></td>
|
<td class="parameter_name"><p>fg</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> representing the foreground color of the icon</p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the foreground color of the icon</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>success_color</p></td>
|
<td class="parameter_name"><p>success_color</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> representing the warning color
|
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the warning color
|
||||||
of the icon or <code class="literal">NULL</code> to use the default color. </p></td>
|
of the icon or <code class="literal">NULL</code> to use the default color. </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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>warning_color</p></td>
|
<td class="parameter_name"><p>warning_color</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> representing the warning color
|
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the warning color
|
||||||
of the icon or <code class="literal">NULL</code> to use the default color. </p></td>
|
of the icon or <code class="literal">NULL</code> to use the default color. </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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>error_color</p></td>
|
<td class="parameter_name"><p>error_color</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> representing the error color
|
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the error color
|
||||||
of the icon or <code class="literal">NULL</code> to use the default color (allow-none). </p></td>
|
of the icon or <code class="literal">NULL</code> to use the default color (allow-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>
|
<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>
|
||||||
@ -2313,10 +2313,10 @@ or <code class="literal">NULL</code>. </p></td>
|
|||||||
<a name="gtk-icon-info-load-symbolic-async"></a><h3>gtk_icon_info_load_symbolic_async ()</h3>
|
<a name="gtk-icon-info-load-symbolic-async"></a><h3>gtk_icon_info_load_symbolic_async ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_icon_info_load_symbolic_async (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
|
gtk_icon_info_load_symbolic_async (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *fg</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *fg</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *success_color</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *success_color</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *warning_color</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *warning_color</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *error_color</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *error_color</code></em>,
|
||||||
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
||||||
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
|
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
||||||
@ -2340,24 +2340,24 @@ version of this call.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>fg</p></td>
|
<td class="parameter_name"><p>fg</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> representing the foreground color of the icon</p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the foreground color of the icon</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>success_color</p></td>
|
<td class="parameter_name"><p>success_color</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> representing the warning color
|
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the warning color
|
||||||
of the icon or <code class="literal">NULL</code> to use the default color. </p></td>
|
of the icon or <code class="literal">NULL</code> to use the default color. </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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>warning_color</p></td>
|
<td class="parameter_name"><p>warning_color</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> representing the warning color
|
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the warning color
|
||||||
of the icon or <code class="literal">NULL</code> to use the default color. </p></td>
|
of the icon or <code class="literal">NULL</code> to use the default color. </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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>error_color</p></td>
|
<td class="parameter_name"><p>error_color</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> representing the error color
|
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the error color
|
||||||
of the icon or <code class="literal">NULL</code> to use the default color (allow-none). </p></td>
|
of the icon or <code class="literal">NULL</code> to use the default color (allow-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>
|
<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>
|
||||||
@ -2728,7 +2728,7 @@ and attached points should be returned in their original
|
|||||||
<a name="gtk-icon-info-get-embedded-rect"></a><h3>gtk_icon_info_get_embedded_rect ()</h3>
|
<a name="gtk-icon-info-get-embedded-rect"></a><h3>gtk_icon_info_get_embedded_rect ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_icon_info_get_embedded_rect (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
|
gtk_icon_info_get_embedded_rect (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *rectangle</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_icon_info_get_embedded_rect</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_icon_info_get_embedded_rect</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
||||||
<p>Embedded rectangles are deprecated</p>
|
<p>Embedded rectangles are deprecated</p>
|
||||||
@ -2750,7 +2750,7 @@ gtk_icon_info_get_embedded_rect (<em class="parameter"><code><a class="link" hre
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>rectangle</p></td>
|
<td class="parameter_name"><p>rectangle</p></td>
|
||||||
<td class="parameter_description"><p><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> in which to store embedded
|
<td class="parameter_description"><p><span class="type">GdkRectangle</span> in which to store embedded
|
||||||
rectangle coordinates; coordinates are only stored
|
rectangle coordinates; coordinates are only stored
|
||||||
when this function returns <code class="literal">TRUE</code>. </p></td>
|
when this function returns <code class="literal">TRUE</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>]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||||
@ -2769,7 +2769,7 @@ when this function returns <code class="literal">TRUE</code>. </p></td>
|
|||||||
<a name="gtk-icon-info-get-attach-points"></a><h3>gtk_icon_info_get_attach_points ()</h3>
|
<a name="gtk-icon-info-get-attach-points"></a><h3>gtk_icon_info_get_attach_points ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_icon_info_get_attach_points (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
|
gtk_icon_info_get_attach_points (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkPoint"><span class="type">GdkPoint</span></a> **points</code></em>,
|
<em class="parameter"><code><span class="type">GdkPoint</span> **points</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> *n_points</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gint</span> *n_points</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_icon_info_get_attach_points</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_icon_info_get_attach_points</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
||||||
|
@ -682,7 +682,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td>
|
<span class="type">GdkColor</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkIconView.html#GtkIconView--s-selection-box-color" title="The “selection-box-color” style property">selection-box-color</a></td>
|
<td class="property_name"><a class="link" href="GtkIconView.html#GtkIconView--s-selection-box-color" title="The “selection-box-color” style property">selection-box-color</a></td>
|
||||||
<td class="property_flags">Read</td>
|
<td class="property_flags">Read</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -2085,7 +2085,7 @@ gtk_icon_view_get_activate_on_single_click
|
|||||||
gtk_icon_view_get_cell_rect (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
|
gtk_icon_view_get_cell_rect (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *rect</code></em>);</pre>
|
||||||
<p>Fills the bounding rectangle in widget coordinates for the cell specified by
|
<p>Fills the bounding rectangle in widget coordinates for the cell specified by
|
||||||
<em class="parameter"><code>path</code></em>
|
<em class="parameter"><code>path</code></em>
|
||||||
and <em class="parameter"><code>cell</code></em>
|
and <em class="parameter"><code>cell</code></em>
|
||||||
@ -2803,10 +2803,10 @@ displayed. Column numbers start at 0.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_icon_view_enable_model_drag_source
|
gtk_icon_view_enable_model_drag_source
|
||||||
(<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> start_button_mask</code></em>,
|
<em class="parameter"><code><span class="type">GdkModifierType</span> start_button_mask</code></em>,
|
||||||
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>);</pre>
|
||||||
<p>Turns <em class="parameter"><code>icon_view</code></em>
|
<p>Turns <em class="parameter"><code>icon_view</code></em>
|
||||||
into a drag source for automatic DND. Calling this
|
into a drag source for automatic DND. Calling this
|
||||||
method sets <a class="link" href="GtkIconView.html#GtkIconView--reorderable" title="The “reorderable” property"><span class="type">“reorderable”</span></a> to <code class="literal">FALSE</code>.</p>
|
method sets <a class="link" href="GtkIconView.html#GtkIconView--reorderable" title="The “reorderable” property"><span class="type">“reorderable”</span></a> to <code class="literal">FALSE</code>.</p>
|
||||||
@ -2859,7 +2859,7 @@ widget</p></td>
|
|||||||
gtk_icon_view_enable_model_drag_dest (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
|
gtk_icon_view_enable_model_drag_dest (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
|
||||||
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>);</pre>
|
||||||
<p>Turns <em class="parameter"><code>icon_view</code></em>
|
<p>Turns <em class="parameter"><code>icon_view</code></em>
|
||||||
into a drop destination for automatic DND. Calling this
|
into a drop destination for automatic DND. Calling this
|
||||||
method sets <a class="link" href="GtkIconView.html#GtkIconView--reorderable" title="The “reorderable” property"><span class="type">“reorderable”</span></a> to <code class="literal">FALSE</code>.</p>
|
method sets <a class="link" href="GtkIconView.html#GtkIconView--reorderable" title="The “reorderable” property"><span class="type">“reorderable”</span></a> to <code class="literal">FALSE</code>.</p>
|
||||||
@ -3485,7 +3485,7 @@ property are both set to -1, no texts are displayed.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkIconView--s-selection-box-color"></a><h3>The <code class="literal">“selection-box-color”</code> style property</h3>
|
<a name="GtkIconView--s-selection-box-color"></a><h3>The <code class="literal">“selection-box-color”</code> style property</h3>
|
||||||
<pre class="programlisting"> “selection-box-color” <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre>
|
<pre class="programlisting"> “selection-box-color” <span class="type">GdkColor</span> *</pre>
|
||||||
<p>The color of the selection box.</p>
|
<p>The color of the selection box.</p>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">GtkIconView:selection-box-color</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
<p><code class="literal">GtkIconView:selection-box-color</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||||
|
@ -434,7 +434,7 @@ display an animation (<span class="type">GdkPixbufAnimation</span>) instead of a
|
|||||||
<p><a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> is a subclass of <a class="link" href="GtkMisc.html" title="GtkMisc"><span class="type">GtkMisc</span></a>, which implies that you can
|
<p><a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> is a subclass of <a class="link" href="GtkMisc.html" title="GtkMisc"><span class="type">GtkMisc</span></a>, which implies that you can
|
||||||
align it (center, left, right) and add padding to it, using
|
align it (center, left, right) and add padding to it, using
|
||||||
<a class="link" href="GtkMisc.html" title="GtkMisc"><span class="type">GtkMisc</span></a> methods.</p>
|
<a class="link" href="GtkMisc.html" title="GtkMisc"><span class="type">GtkMisc</span></a> methods.</p>
|
||||||
<p><a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> is a “no window” widget (has no <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> of its own),
|
<p><a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> is a “no window” widget (has no <span class="type">GdkWindow</span> of its own),
|
||||||
so by default does not receive events. If you want to receive events
|
so by default does not receive events. If you want to receive events
|
||||||
on the image, such as button clicks, place the image inside a
|
on the image, such as button clicks, place the image inside a
|
||||||
<a class="link" href="GtkEventBox.html" title="GtkEventBox"><span class="type">GtkEventBox</span></a>, then connect to the event signals on the event box.</p>
|
<a class="link" href="GtkEventBox.html" title="GtkEventBox"><span class="type">GtkEventBox</span></a>, then connect to the event signals on the event box.</p>
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
|
<span class="returnvalue">GdkScreen</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkInvisible.html#gtk-invisible-get-screen" title="gtk_invisible_get_screen ()">gtk_invisible_get_screen</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkInvisible.html#gtk-invisible-get-screen" title="gtk_invisible_get_screen ()">gtk_invisible_get_screen</a> <span class="c_punctuation">()</span>
|
||||||
@ -87,7 +87,7 @@
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *</td>
|
<span class="type">GdkScreen</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkInvisible.html#GtkInvisible--screen" title="The “screen” property">screen</a></td>
|
<td class="property_name"><a class="link" href="GtkInvisible.html#GtkInvisible--screen" title="The “screen” property">screen</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr></tbody>
|
</tr></tbody>
|
||||||
@ -148,7 +148,7 @@ gtk_invisible_new (<em class="parameter"><code><span class="type">void</span></c
|
|||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-invisible-new-for-screen"></a><h3>gtk_invisible_new_for_screen ()</h3>
|
<a name="gtk-invisible-new-for-screen"></a><h3>gtk_invisible_new_for_screen ()</h3>
|
||||||
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||||||
gtk_invisible_new_for_screen (<em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
gtk_invisible_new_for_screen (<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
||||||
<p>Creates a new <a class="link" href="GtkInvisible.html" title="GtkInvisible"><span class="type">GtkInvisible</span></a> object for a specified screen</p>
|
<p>Creates a new <a class="link" href="GtkInvisible.html" title="GtkInvisible"><span class="type">GtkInvisible</span></a> object for a specified screen</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-invisible-new-for-screen.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-invisible-new-for-screen.parameters"></a><h4>Parameters</h4>
|
||||||
@ -160,7 +160,7 @@ gtk_invisible_new_for_screen (<em class="parameter"><code><a href="../html/GdkSc
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="parameter_name"><p>screen</p></td>
|
<td class="parameter_name"><p>screen</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> which identifies on which
|
<td class="parameter_description"><p>a <span class="type">GdkScreen</span> which identifies on which
|
||||||
the new <a class="link" href="GtkInvisible.html" title="GtkInvisible"><span class="type">GtkInvisible</span></a> will be created.</p></td>
|
the new <a class="link" href="GtkInvisible.html" title="GtkInvisible"><span class="type">GtkInvisible</span></a> will be created.</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr></tbody>
|
</tr></tbody>
|
||||||
@ -177,8 +177,8 @@ the new <a class="link" href="GtkInvisible.html" title="GtkInvisible"><span clas
|
|||||||
<a name="gtk-invisible-set-screen"></a><h3>gtk_invisible_set_screen ()</h3>
|
<a name="gtk-invisible-set-screen"></a><h3>gtk_invisible_set_screen ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_invisible_set_screen (<em class="parameter"><code><a class="link" href="GtkInvisible.html" title="GtkInvisible"><span class="type">GtkInvisible</span></a> *invisible</code></em>,
|
gtk_invisible_set_screen (<em class="parameter"><code><a class="link" href="GtkInvisible.html" title="GtkInvisible"><span class="type">GtkInvisible</span></a> *invisible</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
||||||
<p>Sets the <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> where the <a class="link" href="GtkInvisible.html" title="GtkInvisible"><span class="type">GtkInvisible</span></a> object will be displayed.</p>
|
<p>Sets the <span class="type">GdkScreen</span> where the <a class="link" href="GtkInvisible.html" title="GtkInvisible"><span class="type">GtkInvisible</span></a> object will be displayed.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-invisible-set-screen.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-invisible-set-screen.parameters"></a><h4>Parameters</h4>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
@ -195,7 +195,7 @@ gtk_invisible_set_screen (<em class="parameter"><code><a class="link" href="GtkI
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>screen</p></td>
|
<td class="parameter_name"><p>screen</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>.</p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkScreen</span>.</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -206,9 +206,9 @@ gtk_invisible_set_screen (<em class="parameter"><code><a class="link" href="GtkI
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-invisible-get-screen"></a><h3>gtk_invisible_get_screen ()</h3>
|
<a name="gtk-invisible-get-screen"></a><h3>gtk_invisible_get_screen ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkScreen</span> *
|
||||||
gtk_invisible_get_screen (<em class="parameter"><code><a class="link" href="GtkInvisible.html" title="GtkInvisible"><span class="type">GtkInvisible</span></a> *invisible</code></em>);</pre>
|
gtk_invisible_get_screen (<em class="parameter"><code><a class="link" href="GtkInvisible.html" title="GtkInvisible"><span class="type">GtkInvisible</span></a> *invisible</code></em>);</pre>
|
||||||
<p>Returns the <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> object associated with <em class="parameter"><code>invisible</code></em>
|
<p>Returns the <span class="type">GdkScreen</span> object associated with <em class="parameter"><code>invisible</code></em>
|
||||||
</p>
|
</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-invisible-get-screen.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-invisible-get-screen.parameters"></a><h4>Parameters</h4>
|
||||||
@ -227,7 +227,7 @@ gtk_invisible_get_screen (<em class="parameter"><code><a class="link" href="GtkI
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-invisible-get-screen.returns"></a><h4>Returns</h4>
|
<a name="gtk-invisible-get-screen.returns"></a><h4>Returns</h4>
|
||||||
<p>the associated <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>. </p>
|
<p>the associated <span class="type">GdkScreen</span>. </p>
|
||||||
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
<p class="since">Since: 2.2</p>
|
<p class="since">Since: 2.2</p>
|
||||||
@ -244,7 +244,7 @@ gtk_invisible_get_screen (<em class="parameter"><code><a class="link" href="GtkI
|
|||||||
<a name="GtkInvisible.property-details"></a><h2>Property Details</h2>
|
<a name="GtkInvisible.property-details"></a><h2>Property Details</h2>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkInvisible--screen"></a><h3>The <code class="literal">“screen”</code> property</h3>
|
<a name="GtkInvisible--screen"></a><h3>The <code class="literal">“screen”</code> property</h3>
|
||||||
<pre class="programlisting"> “screen” <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *</pre>
|
<pre class="programlisting"> “screen” <span class="type">GdkScreen</span> *</pre>
|
||||||
<p>The screen where this window will be displayed.</p>
|
<p>The screen where this window will be displayed.</p>
|
||||||
<p>Owner: GtkInvisible</p>
|
<p>Owner: GtkInvisible</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
|
@ -118,7 +118,7 @@ and/or custom drawing</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<span class="returnvalue">GdkWindow</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkLayout.html#gtk-layout-get-bin-window" title="gtk_layout_get_bin_window ()">gtk_layout_get_bin_window</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkLayout.html#gtk-layout-get-bin-window" title="gtk_layout_get_bin_window ()">gtk_layout_get_bin_window</a> <span class="c_punctuation">()</span>
|
||||||
@ -213,7 +213,7 @@ different in that it supports scrolling natively due to implementing
|
|||||||
<p>If you just want to draw, a <a class="link" href="GtkDrawingArea.html" title="GtkDrawingArea"><span class="type">GtkDrawingArea</span></a> is a better choice since it has
|
<p>If you just want to draw, a <a class="link" href="GtkDrawingArea.html" title="GtkDrawingArea"><span class="type">GtkDrawingArea</span></a> is a better choice since it has
|
||||||
lower overhead. If you just need to position child widgets at specific
|
lower overhead. If you just need to position child widgets at specific
|
||||||
points, then <a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> provides that functionality on its own.</p>
|
points, then <a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> provides that functionality on its own.</p>
|
||||||
<p>When handling expose events on a <a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>, you must draw to the <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a>
|
<p>When handling expose events on a <a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>, you must draw to the <span class="type">GdkWindow</span>
|
||||||
returned by <a class="link" href="GtkLayout.html#gtk-layout-get-bin-window" title="gtk_layout_get_bin_window ()"><code class="function">gtk_layout_get_bin_window()</code></a>, rather than to the one returned by
|
returned by <a class="link" href="GtkLayout.html#gtk-layout-get-bin-window" title="gtk_layout_get_bin_window ()"><code class="function">gtk_layout_get_bin_window()</code></a>, rather than to the one returned by
|
||||||
<a class="link" href="GtkWidget.html#gtk-widget-get-window" title="gtk_widget_get_window ()"><code class="function">gtk_widget_get_window()</code></a> as you would for a <a class="link" href="GtkDrawingArea.html" title="GtkDrawingArea"><span class="type">GtkDrawingArea</span></a>.</p>
|
<a class="link" href="GtkWidget.html#gtk-widget-get-window" title="gtk_widget_get_window ()"><code class="function">gtk_widget_get_window()</code></a> as you would for a <a class="link" href="GtkDrawingArea.html" title="GtkDrawingArea"><span class="type">GtkDrawingArea</span></a>.</p>
|
||||||
</div>
|
</div>
|
||||||
@ -572,7 +572,7 @@ gtk_layout_set_vadjustment (<em class="parameter"><code><a class="link" href="Gt
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-layout-get-bin-window"></a><h3>gtk_layout_get_bin_window ()</h3>
|
<a name="gtk-layout-get-bin-window"></a><h3>gtk_layout_get_bin_window ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
||||||
gtk_layout_get_bin_window (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>);</pre>
|
gtk_layout_get_bin_window (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>);</pre>
|
||||||
<p>Retrieve the bin window of the layout used for drawing operations.</p>
|
<p>Retrieve the bin window of the layout used for drawing operations.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -592,7 +592,7 @@ gtk_layout_get_bin_window (<em class="parameter"><code><a class="link" href="Gtk
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-layout-get-bin-window.returns"></a><h4>Returns</h4>
|
<a name="gtk-layout-get-bin-window.returns"></a><h4>Returns</h4>
|
||||||
<p>a <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a>. </p>
|
<p>a <span class="type">GdkWindow</span>. </p>
|
||||||
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
<p class="since">Since: 2.14</p>
|
<p class="since">Since: 2.14</p>
|
||||||
|
@ -165,7 +165,7 @@ preference dialogs to allow users to obtain and revoke authorizations
|
|||||||
needed to operate the controls. The required authorization is represented
|
needed to operate the controls. The required authorization is represented
|
||||||
by a <span class="type">GPermission</span> object. Concrete implementations of <span class="type">GPermission</span> may use
|
by a <span class="type">GPermission</span> object. Concrete implementations of <span class="type">GPermission</span> may use
|
||||||
PolicyKit or some other authorization framework. To obtain a PolicyKit-based
|
PolicyKit or some other authorization framework. To obtain a PolicyKit-based
|
||||||
<span class="type">GPermission</span>, use <code class="function">polkit_permission_new()</code>.</p>
|
<span class="type">GPermission</span>, use <a href="http://www.freedesktop.org/software/polkit/docs/latest/PolkitPermission.html#polkit-permission-new"><code class="function">polkit_permission_new()</code></a>.</p>
|
||||||
<p>If the user is not currently allowed to perform the action, but can obtain
|
<p>If the user is not currently allowed to perform the action, but can obtain
|
||||||
the permission, the widget looks like this:</p>
|
the permission, the widget looks like this:</p>
|
||||||
<p><span class="inlinemediaobject"><img src="lockbutton-locked.png"></span></p>
|
<p><span class="inlinemediaobject"><img src="lockbutton-locked.png"></span></p>
|
||||||
|
@ -337,7 +337,7 @@
|
|||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type"><a href="../html/gdk3-Windows.html#GdkAnchorHints"><span class="type">GdkAnchorHints</span></a></td>
|
<td class="property_type"><span class="type">GdkAnchorHints</span></td>
|
||||||
<td class="property_name"><a class="link" href="GtkMenu.html#GtkMenu--anchor-hints" title="The “anchor-hints” property">anchor-hints</a></td>
|
<td class="property_name"><a class="link" href="GtkMenu.html#GtkMenu--anchor-hints" title="The “anchor-hints” property">anchor-hints</a></td>
|
||||||
<td class="property_flags">Read / Write / Construct</td>
|
<td class="property_flags">Read / Write / Construct</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -348,7 +348,7 @@
|
|||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type"><a href="../html/gdk3-Windows.html#GdkWindowTypeHint"><span class="type">GdkWindowTypeHint</span></a></td>
|
<td class="property_type"><span class="type">GdkWindowTypeHint</span></td>
|
||||||
<td class="property_name"><a class="link" href="GtkMenu.html#GtkMenu--menu-type-hint" title="The “menu-type-hint” property">menu-type-hint</a></td>
|
<td class="property_name"><a class="link" href="GtkMenu.html#GtkMenu--menu-type-hint" title="The “menu-type-hint” property">menu-type-hint</a></td>
|
||||||
<td class="property_flags">Read / Write / Construct</td>
|
<td class="property_flags">Read / Write / Construct</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -709,8 +709,8 @@ attach widget or on any of its parent widgets.</p>
|
|||||||
<a name="gtk-menu-set-screen"></a><h3>gtk_menu_set_screen ()</h3>
|
<a name="gtk-menu-set-screen"></a><h3>gtk_menu_set_screen ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_menu_set_screen (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
gtk_menu_set_screen (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
||||||
<p>Sets the <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> on which the menu will be displayed.</p>
|
<p>Sets the <span class="type">GdkScreen</span> on which the menu will be displayed.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-menu-set-screen.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-menu-set-screen.parameters"></a><h4>Parameters</h4>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
@ -727,7 +727,7 @@ gtk_menu_set_screen (<em class="parameter"><code><a class="link" href="GtkMenu.h
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>screen</p></td>
|
<td class="parameter_name"><p>screen</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>, or <code class="literal">NULL</code> if the screen should be
|
<td class="parameter_description"><p>a <span class="type">GdkScreen</span>, or <code class="literal">NULL</code> if the screen should be
|
||||||
determined by the widget the menu is attached to. </p></td>
|
determined by the widget the menu is attached to. </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>
|
<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>
|
||||||
@ -847,11 +847,11 @@ rightmost, uppermost and lower column and row numbers of the table.
|
|||||||
<a name="gtk-menu-popup-at-rect"></a><h3>gtk_menu_popup_at_rect ()</h3>
|
<a name="gtk-menu-popup-at-rect"></a><h3>gtk_menu_popup_at_rect ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_menu_popup_at_rect (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
gtk_menu_popup_at_rect (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *rect_window</code></em>,
|
<em class="parameter"><code><span class="type">GdkWindow</span> *rect_window</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *rect</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkGravity"><span class="type">GdkGravity</span></a> rect_anchor</code></em>,
|
<em class="parameter"><code><span class="type">GdkGravity</span> rect_anchor</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkGravity"><span class="type">GdkGravity</span></a> menu_anchor</code></em>,
|
<em class="parameter"><code><span class="type">GdkGravity</span> menu_anchor</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *trigger_event</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkEvent</span> *trigger_event</code></em>);</pre>
|
||||||
<p>Displays <em class="parameter"><code>menu</code></em>
|
<p>Displays <em class="parameter"><code>menu</code></em>
|
||||||
and makes it available for selection.</p>
|
and makes it available for selection.</p>
|
||||||
<p>See <a class="link" href="GtkMenu.html#gtk-menu-popup-at-widget" title="gtk_menu_popup_at_widget ()"><code class="function">gtk_menu_popup_at_widget()</code></a> and <a class="link" href="GtkMenu.html#gtk-menu-popup-at-pointer" title="gtk_menu_popup_at_pointer ()"><code class="function">gtk_menu_popup_at_pointer()</code></a>, which
|
<p>See <a class="link" href="GtkMenu.html#gtk-menu-popup-at-widget" title="gtk_menu_popup_at_widget ()"><code class="function">gtk_menu_popup_at_widget()</code></a> and <a class="link" href="GtkMenu.html#gtk-menu-popup-at-pointer" title="gtk_menu_popup_at_pointer ()"><code class="function">gtk_menu_popup_at_pointer()</code></a>, which
|
||||||
@ -892,13 +892,13 @@ direction is right-to-left.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>rect_window</p></td>
|
<td class="parameter_name"><p>rect_window</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> <em class="parameter"><code>rect</code></em>
|
<td class="parameter_description"><p>the <span class="type">GdkWindow</span> <em class="parameter"><code>rect</code></em>
|
||||||
is relative to. </p></td>
|
is relative to. </p></td>
|
||||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL must not be passed as the value in, out, in-out; or as a return value."><span class="acronym">not nullable</span></acronym>]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL must not be passed as the value in, out, in-out; or as a return value."><span class="acronym">not nullable</span></acronym>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>rect</p></td>
|
<td class="parameter_name"><p>rect</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> to align <em class="parameter"><code>menu</code></em>
|
<td class="parameter_description"><p>the <span class="type">GdkRectangle</span> to align <em class="parameter"><code>menu</code></em>
|
||||||
with. </p></td>
|
with. </p></td>
|
||||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL must not be passed as the value in, out, in-out; or as a return value."><span class="acronym">not nullable</span></acronym>]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL must not be passed as the value in, out, in-out; or as a return value."><span class="acronym">not nullable</span></acronym>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -918,7 +918,7 @@ to align with <em class="parameter"><code>rect</code></em>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>trigger_event</p></td>
|
<td class="parameter_name"><p>trigger_event</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> that initiated this request or
|
<td class="parameter_description"><p>the <span class="type">GdkEvent</span> that initiated this request or
|
||||||
<code class="literal">NULL</code> if it's the current event. </p></td>
|
<code class="literal">NULL</code> if it's the current event. </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>
|
<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>
|
||||||
@ -933,9 +933,9 @@ to align with <em class="parameter"><code>rect</code></em>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_menu_popup_at_widget (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
gtk_menu_popup_at_widget (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkGravity"><span class="type">GdkGravity</span></a> widget_anchor</code></em>,
|
<em class="parameter"><code><span class="type">GdkGravity</span> widget_anchor</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkGravity"><span class="type">GdkGravity</span></a> menu_anchor</code></em>,
|
<em class="parameter"><code><span class="type">GdkGravity</span> menu_anchor</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *trigger_event</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkEvent</span> *trigger_event</code></em>);</pre>
|
||||||
<p>Displays <em class="parameter"><code>menu</code></em>
|
<p>Displays <em class="parameter"><code>menu</code></em>
|
||||||
and makes it available for selection.</p>
|
and makes it available for selection.</p>
|
||||||
<p>See <a class="link" href="GtkMenu.html#gtk-menu-popup-at-pointer" title="gtk_menu_popup_at_pointer ()"><code class="function">gtk_menu_popup_at_pointer()</code></a> to pop up a menu at the master pointer.
|
<p>See <a class="link" href="GtkMenu.html#gtk-menu-popup-at-pointer" title="gtk_menu_popup_at_pointer ()"><code class="function">gtk_menu_popup_at_pointer()</code></a> to pop up a menu at the master pointer.
|
||||||
@ -995,7 +995,7 @@ to align with <em class="parameter"><code>widget</code></em>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>trigger_event</p></td>
|
<td class="parameter_name"><p>trigger_event</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> that initiated this request or
|
<td class="parameter_description"><p>the <span class="type">GdkEvent</span> that initiated this request or
|
||||||
<code class="literal">NULL</code> if it's the current event. </p></td>
|
<code class="literal">NULL</code> if it's the current event. </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>
|
<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>
|
||||||
@ -1009,7 +1009,7 @@ to align with <em class="parameter"><code>widget</code></em>
|
|||||||
<a name="gtk-menu-popup-at-pointer"></a><h3>gtk_menu_popup_at_pointer ()</h3>
|
<a name="gtk-menu-popup-at-pointer"></a><h3>gtk_menu_popup_at_pointer ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_menu_popup_at_pointer (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
gtk_menu_popup_at_pointer (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *trigger_event</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkEvent</span> *trigger_event</code></em>);</pre>
|
||||||
<p>Displays <em class="parameter"><code>menu</code></em>
|
<p>Displays <em class="parameter"><code>menu</code></em>
|
||||||
and makes it available for selection.</p>
|
and makes it available for selection.</p>
|
||||||
<p>See <a class="link" href="GtkMenu.html#gtk-menu-popup-at-widget" title="gtk_menu_popup_at_widget ()"><code class="function">gtk_menu_popup_at_widget()</code></a> to pop up a menu at a widget.
|
<p>See <a class="link" href="GtkMenu.html#gtk-menu-popup-at-widget" title="gtk_menu_popup_at_widget ()"><code class="function">gtk_menu_popup_at_widget()</code></a> to pop up a menu at a widget.
|
||||||
@ -1038,7 +1038,7 @@ out how it was actually positioned.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>trigger_event</p></td>
|
<td class="parameter_name"><p>trigger_event</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> that initiated this request or
|
<td class="parameter_description"><p>the <span class="type">GdkEvent</span> that initiated this request or
|
||||||
<code class="literal">NULL</code> if it's the current event. </p></td>
|
<code class="literal">NULL</code> if it's the current event. </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>
|
<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>
|
||||||
@ -1052,7 +1052,7 @@ out how it was actually positioned.</p>
|
|||||||
<a name="gtk-menu-popup-for-device"></a><h3>gtk_menu_popup_for_device ()</h3>
|
<a name="gtk-menu-popup-for-device"></a><h3>gtk_menu_popup_for_device ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_menu_popup_for_device (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
gtk_menu_popup_for_device (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a> *device</code></em>,
|
<em class="parameter"><code><span class="type">GdkDevice</span> *device</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *parent_menu_shell</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *parent_menu_shell</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *parent_menu_item</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *parent_menu_item</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkMenu.html#GtkMenuPositionFunc" title="GtkMenuPositionFunc ()"><span class="type">GtkMenuPositionFunc</span></a> func</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkMenu.html#GtkMenuPositionFunc" title="GtkMenuPositionFunc ()"><span class="type">GtkMenuPositionFunc</span></a> func</code></em>,
|
||||||
@ -1110,7 +1110,7 @@ have this problem.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>device</p></td>
|
<td class="parameter_name"><p>device</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a>. </p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkDevice</span>. </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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1464,7 +1464,7 @@ and should not be modified or freed.</p>
|
|||||||
gtk_menu_set_monitor (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
gtk_menu_set_monitor (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> monitor_num</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gint</span> monitor_num</code></em>);</pre>
|
||||||
<p>Informs GTK+ on which monitor a menu should be popped up.
|
<p>Informs GTK+ on which monitor a menu should be popped up.
|
||||||
See <a href="../html/GdkMonitor.html#gdk-monitor-get-geometry"><code class="function">gdk_monitor_get_geometry()</code></a>.</p>
|
See <code class="function">gdk_monitor_get_geometry()</code>.</p>
|
||||||
<p>This function should be called from a <a class="link" href="GtkMenu.html#GtkMenuPositionFunc" title="GtkMenuPositionFunc ()"><span class="type">GtkMenuPositionFunc</span></a>
|
<p>This function should be called from a <a class="link" href="GtkMenu.html#GtkMenuPositionFunc" title="GtkMenuPositionFunc ()"><span class="type">GtkMenuPositionFunc</span></a>
|
||||||
if the menu should not appear on the same monitor as the pointer.
|
if the menu should not appear on the same monitor as the pointer.
|
||||||
This information can’t be reliably inferred from the coordinates
|
This information can’t be reliably inferred from the coordinates
|
||||||
@ -1529,7 +1529,7 @@ be popped up or -1, if no monitor has been set</p>
|
|||||||
<a name="gtk-menu-place-on-monitor"></a><h3>gtk_menu_place_on_monitor ()</h3>
|
<a name="gtk-menu-place-on-monitor"></a><h3>gtk_menu_place_on_monitor ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_menu_place_on_monitor (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
gtk_menu_place_on_monitor (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/GdkMonitor.html#GdkMonitor-struct"><span class="type">GdkMonitor</span></a> *monitor</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkMonitor</span> *monitor</code></em>);</pre>
|
||||||
<p>Places <em class="parameter"><code>menu</code></em>
|
<p>Places <em class="parameter"><code>menu</code></em>
|
||||||
on the given monitor.</p>
|
on the given monitor.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -2090,13 +2090,13 @@ menu item is selected.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkMenu--anchor-hints"></a><h3>The <code class="literal">“anchor-hints”</code> property</h3>
|
<a name="GtkMenu--anchor-hints"></a><h3>The <code class="literal">“anchor-hints”</code> property</h3>
|
||||||
<pre class="programlisting"> “anchor-hints” <a href="../html/gdk3-Windows.html#GdkAnchorHints"><span class="type">GdkAnchorHints</span></a></pre>
|
<pre class="programlisting"> “anchor-hints” <span class="type">GdkAnchorHints</span></pre>
|
||||||
<p>Positioning hints for aligning the menu relative to a rectangle.</p>
|
<p>Positioning hints for aligning the menu relative to a rectangle.</p>
|
||||||
<p>These hints determine how the menu should be positioned in the case that
|
<p>These hints determine how the menu should be positioned in the case that
|
||||||
the menu would fall off-screen if placed in its ideal position.</p>
|
the menu would fall off-screen if placed in its ideal position.</p>
|
||||||
<p><span class="inlinemediaobject"><img src="popup-flip.png"></span></p>
|
<p><span class="inlinemediaobject"><img src="popup-flip.png"></span></p>
|
||||||
<p>For example, <a href="../html/gdk3-Windows.html#GDK-ANCHOR-FLIP-Y:CAPS"><code class="literal">GDK_ANCHOR_FLIP_Y</code></a> will replace <a href="../html/gdk3-Windows.html#GDK-GRAVITY-NORTH-WEST:CAPS"><code class="literal">GDK_GRAVITY_NORTH_WEST</code></a> with
|
<p>For example, <code class="literal">GDK_ANCHOR_FLIP_Y</code> will replace <code class="literal">GDK_GRAVITY_NORTH_WEST</code> with
|
||||||
<a href="../html/gdk3-Windows.html#GDK-GRAVITY-SOUTH-WEST:CAPS"><code class="literal">GDK_GRAVITY_SOUTH_WEST</code></a> and vice versa if the menu extends beyond the
|
<code class="literal">GDK_GRAVITY_SOUTH_WEST</code> and vice versa if the menu extends beyond the
|
||||||
bottom edge of the monitor.</p>
|
bottom edge of the monitor.</p>
|
||||||
<p>See <a class="link" href="GtkMenu.html#gtk-menu-popup-at-rect" title="gtk_menu_popup_at_rect ()"><code class="function">gtk_menu_popup_at_rect()</code></a>, <a class="link" href="GtkMenu.html#gtk-menu-popup-at-widget" title="gtk_menu_popup_at_widget ()"><code class="function">gtk_menu_popup_at_widget()</code></a>,
|
<p>See <a class="link" href="GtkMenu.html#gtk-menu-popup-at-rect" title="gtk_menu_popup_at_rect ()"><code class="function">gtk_menu_popup_at_rect()</code></a>, <a class="link" href="GtkMenu.html#gtk-menu-popup-at-widget" title="gtk_menu_popup_at_widget ()"><code class="function">gtk_menu_popup_at_widget()</code></a>,
|
||||||
<a class="link" href="GtkMenu.html#gtk-menu-popup-at-pointer" title="gtk_menu_popup_at_pointer ()"><code class="function">gtk_menu_popup_at_pointer()</code></a>, <a class="link" href="GtkMenu.html#GtkMenu--rect-anchor-dx" title="The “rect-anchor-dx” property"><span class="type">“rect-anchor-dx”</span></a>,
|
<a class="link" href="GtkMenu.html#gtk-menu-popup-at-pointer" title="gtk_menu_popup_at_pointer ()"><code class="function">gtk_menu_popup_at_pointer()</code></a>, <a class="link" href="GtkMenu.html#GtkMenu--rect-anchor-dx" title="The “rect-anchor-dx” property"><span class="type">“rect-anchor-dx”</span></a>,
|
||||||
@ -2120,8 +2120,8 @@ use <a class="link" href="GtkMenu.html#gtk-menu-attach-to-widget" title="gtk_men
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkMenu--menu-type-hint"></a><h3>The <code class="literal">“menu-type-hint”</code> property</h3>
|
<a name="GtkMenu--menu-type-hint"></a><h3>The <code class="literal">“menu-type-hint”</code> property</h3>
|
||||||
<pre class="programlisting"> “menu-type-hint” <a href="../html/gdk3-Windows.html#GdkWindowTypeHint"><span class="type">GdkWindowTypeHint</span></a></pre>
|
<pre class="programlisting"> “menu-type-hint” <span class="type">GdkWindowTypeHint</span></pre>
|
||||||
<p>The <a href="../html/gdk3-Windows.html#GdkWindowTypeHint"><span class="type">GdkWindowTypeHint</span></a> to use for the menu's <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a>.</p>
|
<p>The <span class="type">GdkWindowTypeHint</span> to use for the menu's <span class="type">GdkWindow</span>.</p>
|
||||||
<p>See <a class="link" href="GtkMenu.html#gtk-menu-popup-at-rect" title="gtk_menu_popup_at_rect ()"><code class="function">gtk_menu_popup_at_rect()</code></a>, <a class="link" href="GtkMenu.html#gtk-menu-popup-at-widget" title="gtk_menu_popup_at_widget ()"><code class="function">gtk_menu_popup_at_widget()</code></a>,
|
<p>See <a class="link" href="GtkMenu.html#gtk-menu-popup-at-rect" title="gtk_menu_popup_at_rect ()"><code class="function">gtk_menu_popup_at_rect()</code></a>, <a class="link" href="GtkMenu.html#gtk-menu-popup-at-widget" title="gtk_menu_popup_at_widget ()"><code class="function">gtk_menu_popup_at_widget()</code></a>,
|
||||||
<a class="link" href="GtkMenu.html#gtk-menu-popup-at-pointer" title="gtk_menu_popup_at_pointer ()"><code class="function">gtk_menu_popup_at_pointer()</code></a>, <a class="link" href="GtkMenu.html#GtkMenu--anchor-hints" title="The “anchor-hints” property"><span class="type">“anchor-hints”</span></a>,
|
<a class="link" href="GtkMenu.html#gtk-menu-popup-at-pointer" title="gtk_menu_popup_at_pointer ()"><code class="function">gtk_menu_popup_at_pointer()</code></a>, <a class="link" href="GtkMenu.html#GtkMenu--anchor-hints" title="The “anchor-hints” property"><span class="type">“anchor-hints”</span></a>,
|
||||||
<a class="link" href="GtkMenu.html#GtkMenu--rect-anchor-dx" title="The “rect-anchor-dx” property"><span class="type">“rect-anchor-dx”</span></a>, <a class="link" href="GtkMenu.html#GtkMenu--rect-anchor-dy" title="The “rect-anchor-dy” property"><span class="type">“rect-anchor-dy”</span></a>, and <a class="link" href="GtkMenu.html#GtkMenu-popped-up" title="The “popped-up” signal"><span class="type">“popped-up”</span></a>.</p>
|
<a class="link" href="GtkMenu.html#GtkMenu--rect-anchor-dx" title="The “rect-anchor-dx” property"><span class="type">“rect-anchor-dx”</span></a>, <a class="link" href="GtkMenu.html#GtkMenu--rect-anchor-dy" title="The “rect-anchor-dy” property"><span class="type">“rect-anchor-dy”</span></a>, and <a class="link" href="GtkMenu.html#GtkMenu-popped-up" title="The “popped-up” signal"><span class="type">“popped-up”</span></a>.</p>
|
||||||
|
@ -599,7 +599,7 @@ work if the focus is on some toplevel owned by the onscreen keyboard.</p>
|
|||||||
set to <code class="literal">FALSE</code>
|
set to <code class="literal">FALSE</code>
|
||||||
should not display mnemonics or accelerators, since it cannot be
|
should not display mnemonics or accelerators, since it cannot be
|
||||||
guaranteed that they will work.</p>
|
guaranteed that they will work.</p>
|
||||||
<p>See also <a href="../html/gdk3-General.html#gdk-keyboard-grab"><code class="function">gdk_keyboard_grab()</code></a></p>
|
<p>See also <code class="function">gdk_keyboard_grab()</code></p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-menu-shell-set-take-focus.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-menu-shell-set-take-focus.parameters"></a><h4>Parameters</h4>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
|
@ -425,7 +425,7 @@ See <a class="link" href="GtkOverlay.html#gtk-overlay-reorder-overlay" title="gt
|
|||||||
<pre class="programlisting"> “pass-through” <span class="type">gboolean</span></pre>
|
<pre class="programlisting"> “pass-through” <span class="type">gboolean</span></pre>
|
||||||
<p>Whether to pass input through the overlay child to the main child.
|
<p>Whether to pass input through the overlay child to the main child.
|
||||||
(Of course, this has no effect when set on the main child itself.)</p>
|
(Of course, this has no effect when set on the main child itself.)</p>
|
||||||
<p>Note that this is implemented by calling <a href="../html/gdk3-Windows.html#gdk-window-set-pass-through"><code class="function">gdk_window_set_pass_through()</code></a>
|
<p>Note that this is implemented by calling <code class="function">gdk_window_set_pass_through()</code>
|
||||||
on the window that the overlay child is placed in. If the descendents
|
on the window that the overlay child is placed in. If the descendents
|
||||||
of the overlay child have their own windows, you need to manually call
|
of the overlay child have their own windows, you need to manually call
|
||||||
that function on them to achieve the desired effect.</p>
|
that function on them to achieve the desired effect.</p>
|
||||||
@ -442,7 +442,7 @@ that function on them to achieve the desired effect.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
user_function (<a class="link" href="GtkOverlay.html" title="GtkOverlay"><span class="type">GtkOverlay</span></a> *overlay,
|
user_function (<a class="link" href="GtkOverlay.html" title="GtkOverlay"><span class="type">GtkOverlay</span></a> *overlay,
|
||||||
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
||||||
<a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *allocation,
|
<span class="type">GdkRectangle</span> *allocation,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>The ::get-child-position signal is emitted to determine
|
<p>The ::get-child-position signal is emitted to determine
|
||||||
the position and size of any overlay child widgets. A
|
the position and size of any overlay child widgets. A
|
||||||
|
@ -85,7 +85,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a> *</td>
|
<span class="type">GdkDevice</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkPadController.html#GtkPadController--pad" title="The “pad” property">pad</a></td>
|
<td class="property_name"><a class="link" href="GtkPadController.html#GtkPadController--pad" title="The “pad” property">pad</a></td>
|
||||||
<td class="property_flags">Read / Write / Construct Only</td>
|
<td class="property_flags">Read / Write / Construct Only</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -137,12 +137,12 @@ perform no action, this event controller is provided to map those to
|
|||||||
<span class="type">GAction</span> objects, thus letting the application give those a more semantic
|
<span class="type">GAction</span> objects, thus letting the application give those a more semantic
|
||||||
meaning.</p>
|
meaning.</p>
|
||||||
<p>Buttons and sensors are not constrained to triggering a single action, some
|
<p>Buttons and sensors are not constrained to triggering a single action, some
|
||||||
<a href="../html/GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a> devices feature multiple "modes", all these input
|
<code class="literal">GDK_SOURCE_TABLET_PAD</code> devices feature multiple "modes", all these input
|
||||||
elements have one current mode, which may determine the final action
|
elements have one current mode, which may determine the final action
|
||||||
being triggered. Pad devices often divide buttons and sensors into groups,
|
being triggered. Pad devices often divide buttons and sensors into groups,
|
||||||
all elements in a group share the same current mode, but different groups
|
all elements in a group share the same current mode, but different groups
|
||||||
may have different modes. See <a href="../html/GdkDevicePad.html#gdk-device-pad-get-n-groups"><code class="function">gdk_device_pad_get_n_groups()</code></a> and
|
may have different modes. See <code class="function">gdk_device_pad_get_n_groups()</code> and
|
||||||
<a href="../html/GdkDevicePad.html#gdk-device-pad-get-group-n-modes"><code class="function">gdk_device_pad_get_group_n_modes()</code></a>.</p>
|
<code class="function">gdk_device_pad_get_group_n_modes()</code>.</p>
|
||||||
<p>Each of the actions that a given button/strip/ring performs for a given
|
<p>Each of the actions that a given button/strip/ring performs for a given
|
||||||
mode is defined by <a class="link" href="GtkPadController.html#GtkPadActionEntry" title="struct GtkPadActionEntry"><span class="type">GtkPadActionEntry</span></a>, it contains an action name that
|
mode is defined by <a class="link" href="GtkPadController.html#GtkPadActionEntry" title="struct GtkPadActionEntry"><span class="type">GtkPadActionEntry</span></a>, it contains an action name that
|
||||||
will be looked up in the given <span class="type">GActionGroup</span> and activated whenever the
|
will be looked up in the given <span class="type">GActionGroup</span> and activated whenever the
|
||||||
@ -194,7 +194,7 @@ is required that those are made stateful and accepting this <span class="type">G
|
|||||||
<pre class="programlisting"><a class="link" href="GtkPadController.html" title="GtkPadController"><span class="returnvalue">GtkPadController</span></a> *
|
<pre class="programlisting"><a class="link" href="GtkPadController.html" title="GtkPadController"><span class="returnvalue">GtkPadController</span></a> *
|
||||||
gtk_pad_controller_new (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
|
gtk_pad_controller_new (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
|
||||||
<em class="parameter"><code><span class="type">GActionGroup</span> *group</code></em>,
|
<em class="parameter"><code><span class="type">GActionGroup</span> *group</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a> *pad</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkDevice</span> *pad</code></em>);</pre>
|
||||||
<p>Creates a new <a class="link" href="GtkPadController.html" title="GtkPadController"><span class="type">GtkPadController</span></a> that will associate events from <em class="parameter"><code>pad</code></em>
|
<p>Creates a new <a class="link" href="GtkPadController.html" title="GtkPadController"><span class="type">GtkPadController</span></a> that will associate events from <em class="parameter"><code>pad</code></em>
|
||||||
to
|
to
|
||||||
actions. A <code class="literal">NULL</code> pad may be provided so the controller manages all pad devices
|
actions. A <code class="literal">NULL</code> pad may be provided so the controller manages all pad devices
|
||||||
@ -227,7 +227,7 @@ events to actions, use <a class="link" href="GtkPadController.html#gtk-pad-contr
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>pad</p></td>
|
<td class="parameter_name"><p>pad</p></td>
|
||||||
<td class="parameter_description"><p>A <a href="../html/GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a> device, or <code class="literal">NULL</code> to handle all pads. </p></td>
|
<td class="parameter_description"><p>A <code class="literal">GDK_SOURCE_TABLET_PAD</code> device, or <code class="literal">NULL</code> to handle all pads. </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>
|
<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>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -456,7 +456,7 @@ be deemed user-visible.</p></td>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkPadController--pad"></a><h3>The <code class="literal">“pad”</code> property</h3>
|
<a name="GtkPadController--pad"></a><h3>The <code class="literal">“pad”</code> property</h3>
|
||||||
<pre class="programlisting"> “pad” <a href="../html/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a> *</pre>
|
<pre class="programlisting"> “pad” <span class="type">GdkDevice</span> *</pre>
|
||||||
<p>Pad device to control.</p>
|
<p>Pad device to control.</p>
|
||||||
<p>Owner: GtkPadController</p>
|
<p>Owner: GtkPadController</p>
|
||||||
<p>Flags: Read / Write / Construct Only</p>
|
<p>Flags: Read / Write / Construct Only</p>
|
||||||
@ -464,7 +464,7 @@ be deemed user-visible.</p></td>
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect1">
|
<div class="refsect1">
|
||||||
<a name="GtkPadController.see-also"></a><h2>See Also</h2>
|
<a name="GtkPadController.see-also"></a><h2>See Also</h2>
|
||||||
<p><a class="link" href="GtkEventController.html" title="GtkEventController"><span class="type">GtkEventController</span></a>, <a href="../html/GdkDevicePad.html#GdkDevicePad-struct"><span class="type">GdkDevicePad</span></a></p>
|
<p><a class="link" href="GtkEventController.html" title="GtkEventController"><span class="type">GtkEventController</span></a>, <span class="type">GdkDevicePad</span></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
|
@ -119,7 +119,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<span class="returnvalue">GdkWindow</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkPaned.html#gtk-paned-get-handle-window" title="gtk_paned_get_handle_window ()">gtk_paned_get_handle_window</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkPaned.html#gtk-paned-get-handle-window" title="gtk_paned_get_handle_window ()">gtk_paned_get_handle_window</a> <span class="c_punctuation">()</span>
|
||||||
@ -688,9 +688,9 @@ gtk_paned_get_position (<em class="parameter"><code><a class="link" href="GtkPan
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-paned-get-handle-window"></a><h3>gtk_paned_get_handle_window ()</h3>
|
<a name="gtk-paned-get-handle-window"></a><h3>gtk_paned_get_handle_window ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
||||||
gtk_paned_get_handle_window (<em class="parameter"><code><a class="link" href="GtkPaned.html" title="GtkPaned"><span class="type">GtkPaned</span></a> *paned</code></em>);</pre>
|
gtk_paned_get_handle_window (<em class="parameter"><code><a class="link" href="GtkPaned.html" title="GtkPaned"><span class="type">GtkPaned</span></a> *paned</code></em>);</pre>
|
||||||
<p>Returns the <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> of the handle. This function is
|
<p>Returns the <span class="type">GdkWindow</span> of the handle. This function is
|
||||||
useful when handling button or motion events because it
|
useful when handling button or motion events because it
|
||||||
enables the callback to distinguish between the window
|
enables the callback to distinguish between the window
|
||||||
of the paned, a child and the handle.</p>
|
of the paned, a child and the handle.</p>
|
||||||
|
@ -1234,7 +1234,7 @@ see and interact with drives and network servers directly.</p>
|
|||||||
gtk_places_sidebar_set_drop_targets_visible
|
gtk_places_sidebar_set_drop_targets_visible
|
||||||
(<em class="parameter"><code><a class="link" href="GtkPlacesSidebar.html" title="GtkPlacesSidebar"><span class="type">GtkPlacesSidebar</span></a> *sidebar</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkPlacesSidebar.html" title="GtkPlacesSidebar"><span class="type">GtkPlacesSidebar</span></a> *sidebar</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gboolean</span> visible</code></em>,
|
<em class="parameter"><code><span class="type">gboolean</span> visible</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Drag-and-Drop.html#GdkDragContext-struct"><span class="type">GdkDragContext</span></a> *context</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkDragContext</span> *context</code></em>);</pre>
|
||||||
<p>Make the GtkPlacesSidebar show drop targets, so it can show the available
|
<p>Make the GtkPlacesSidebar show drop targets, so it can show the available
|
||||||
drop targets and a "new bookmark" row. This improves the Drag-and-Drop
|
drop targets and a "new bookmark" row. This improves the Drag-and-Drop
|
||||||
experience of the user and allows applications to show all available
|
experience of the user and allows applications to show all available
|
||||||
@ -1489,7 +1489,7 @@ of the drag-and-drop operation.</p>
|
|||||||
<a name="GtkPlacesSidebar-drag-action-requested"></a><h3>The <code class="literal">“drag-action-requested”</code> signal</h3>
|
<a name="GtkPlacesSidebar-drag-action-requested"></a><h3>The <code class="literal">“drag-action-requested”</code> signal</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">int</span>
|
<pre class="programlisting"><span class="returnvalue">int</span>
|
||||||
user_function (<a class="link" href="GtkPlacesSidebar.html" title="GtkPlacesSidebar"><span class="type">GtkPlacesSidebar</span></a> *sidebar,
|
user_function (<a class="link" href="GtkPlacesSidebar.html" title="GtkPlacesSidebar"><span class="type">GtkPlacesSidebar</span></a> *sidebar,
|
||||||
<a href="../html/gdk3-Drag-and-Drop.html#GdkDragContext-struct"><span class="type">GdkDragContext</span></a> *context,
|
<span class="type">GdkDragContext</span> *context,
|
||||||
<span class="type">GObject</span> *dest_file,
|
<span class="type">GObject</span> *dest_file,
|
||||||
<span class="type">gpointer</span> source_file_list,
|
<span class="type">gpointer</span> source_file_list,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
@ -1519,7 +1519,7 @@ possible actions for the destination <em class="parameter"><code>dest_file</code
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>context</p></td>
|
<td class="parameter_name"><p>context</p></td>
|
||||||
<td class="parameter_description"><p><a href="../html/gdk3-Drag-and-Drop.html#GdkDragContext-struct"><span class="type">GdkDragContext</span></a> with information about the drag operation. </p></td>
|
<td class="parameter_description"><p><span class="type">GdkDragContext</span> with information about the drag operation. </p></td>
|
||||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.DragContext]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.DragContext]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1542,8 +1542,8 @@ possible actions for the destination <em class="parameter"><code>dest_file</code
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="GtkPlacesSidebar-drag-action-requested.returns"></a><h4>Returns</h4>
|
<a name="GtkPlacesSidebar-drag-action-requested.returns"></a><h4>Returns</h4>
|
||||||
<p> The drag action to use, for example, <a href="../html/gdk3-Drag-and-Drop.html#GDK-ACTION-COPY:CAPS"><span class="type">GDK_ACTION_COPY</span></a>
|
<p> The drag action to use, for example, <span class="type">GDK_ACTION_COPY</span>
|
||||||
or <a href="../html/gdk3-Drag-and-Drop.html#GDK-ACTION-MOVE:CAPS"><span class="type">GDK_ACTION_MOVE</span></a>, or 0 if no action is allowed here (i.e. drops
|
or <span class="type">GDK_ACTION_MOVE</span>, or 0 if no action is allowed here (i.e. drops
|
||||||
are not allowed in the specified <em class="parameter"><code>dest_file</code></em>
|
are not allowed in the specified <em class="parameter"><code>dest_file</code></em>
|
||||||
).</p>
|
).</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -93,7 +93,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<span class="returnvalue">GdkWindow</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkPlug.html#gtk-plug-get-socket-window" title="gtk_plug_get_socket_window ()">gtk_plug_get_socket_window</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkPlug.html#gtk-plug-get-socket-window" title="gtk_plug_get_socket_window ()">gtk_plug_get_socket_window</a> <span class="c_punctuation">()</span>
|
||||||
@ -118,7 +118,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *</td>
|
<span class="type">GdkWindow</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkPlug.html#GtkPlug--socket-window" title="The “socket-window” property">socket-window</a></td>
|
<td class="property_name"><a class="link" href="GtkPlug.html#GtkPlug--socket-window" title="The “socket-window” property">socket-window</a></td>
|
||||||
<td class="property_flags">Read</td>
|
<td class="property_flags">Read</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -190,7 +190,7 @@ This protocol has also been implemented in other toolkits, e.g. Qt,
|
|||||||
allowing the same level of integration when embedding a Qt widget
|
allowing the same level of integration when embedding a Qt widget
|
||||||
in GTK+ or vice versa.</p>
|
in GTK+ or vice versa.</p>
|
||||||
<p>The <a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> and <a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> widgets are only available when GTK+
|
<p>The <a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> and <a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> widgets are only available when GTK+
|
||||||
is compiled for the X11 platform and <a href="../html/gdk3-General.html#GDK-WINDOWING-X11:CAPS"><code class="literal">GDK_WINDOWING_X11</code></a> is defined.
|
is compiled for the X11 platform and <code class="literal">GDK_WINDOWING_X11</code> is defined.
|
||||||
They can only be used on a <span class="type">GdkX11Display</span>. To use <a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> and
|
They can only be used on a <span class="type">GdkX11Display</span>. To use <a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> and
|
||||||
<a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a>, you need to include the <code class="literal">gtk/gtkx.h</code> header.</p>
|
<a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a>, you need to include the <code class="literal">gtk/gtkx.h</code> header.</p>
|
||||||
</div>
|
</div>
|
||||||
@ -233,7 +233,7 @@ gtk_plug_construct (<em class="parameter"><code><a class="link" href="GtkPlug.ht
|
|||||||
<a name="gtk-plug-construct-for-display"></a><h3>gtk_plug_construct_for_display ()</h3>
|
<a name="gtk-plug-construct-for-display"></a><h3>gtk_plug_construct_for_display ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_plug_construct_for_display (<em class="parameter"><code><a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> *plug</code></em>,
|
gtk_plug_construct_for_display (<em class="parameter"><code><a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> *plug</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/GdkDisplay.html#GdkDisplay-struct"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
<em class="parameter"><code><span class="type">GdkDisplay</span> *display</code></em>,
|
||||||
<em class="parameter"><code><span class="type">Window</span> socket_id</code></em>);</pre>
|
<em class="parameter"><code><span class="type">Window</span> socket_id</code></em>);</pre>
|
||||||
<p>Finish the initialization of <em class="parameter"><code>plug</code></em>
|
<p>Finish the initialization of <em class="parameter"><code>plug</code></em>
|
||||||
for a given <a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> identified by
|
for a given <a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> identified by
|
||||||
@ -257,7 +257,7 @@ This function will generally only be used by classes deriving from <a class="lin
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>display</p></td>
|
<td class="parameter_name"><p>display</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/GdkDisplay.html#GdkDisplay-struct"><span class="type">GdkDisplay</span></a> associated with <em class="parameter"><code>socket_id</code></em>
|
<td class="parameter_description"><p>the <span class="type">GdkDisplay</span> associated with <em class="parameter"><code>socket_id</code></em>
|
||||||
’s
|
’s
|
||||||
<a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a>.</p></td>
|
<a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a>.</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
@ -306,7 +306,7 @@ can later be plugged into a <a class="link" href="GtkSocket.html" title="GtkSock
|
|||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-plug-new-for-display"></a><h3>gtk_plug_new_for_display ()</h3>
|
<a name="gtk-plug-new-for-display"></a><h3>gtk_plug_new_for_display ()</h3>
|
||||||
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||||||
gtk_plug_new_for_display (<em class="parameter"><code><a href="../html/GdkDisplay.html#GdkDisplay-struct"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
gtk_plug_new_for_display (<em class="parameter"><code><span class="type">GdkDisplay</span> *display</code></em>,
|
||||||
<em class="parameter"><code><span class="type">Window</span> socket_id</code></em>);</pre>
|
<em class="parameter"><code><span class="type">Window</span> socket_id</code></em>);</pre>
|
||||||
<p>Create a new plug widget inside the <a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> identified by socket_id.</p>
|
<p>Create a new plug widget inside the <a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> identified by socket_id.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -320,7 +320,7 @@ gtk_plug_new_for_display (<em class="parameter"><code><a href="../html/GdkDispla
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>display</p></td>
|
<td class="parameter_name"><p>display</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/GdkDisplay.html#GdkDisplay-struct"><span class="type">GdkDisplay</span></a> on which <em class="parameter"><code>socket_id</code></em>
|
<td class="parameter_description"><p>the <span class="type">GdkDisplay</span> on which <em class="parameter"><code>socket_id</code></em>
|
||||||
is displayed</p></td>
|
is displayed</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -396,7 +396,7 @@ gtk_plug_get_embedded (<em class="parameter"><code><a class="link" href="GtkPlug
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-plug-get-socket-window"></a><h3>gtk_plug_get_socket_window ()</h3>
|
<a name="gtk-plug-get-socket-window"></a><h3>gtk_plug_get_socket_window ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
||||||
gtk_plug_get_socket_window (<em class="parameter"><code><a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> *plug</code></em>);</pre>
|
gtk_plug_get_socket_window (<em class="parameter"><code><a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> *plug</code></em>);</pre>
|
||||||
<p>Retrieves the socket the plug is embedded in.</p>
|
<p>Retrieves the socket the plug is embedded in.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -443,7 +443,7 @@ gtk_plug_get_socket_window (<em class="parameter"><code><a class="link" href="Gt
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkPlug--socket-window"></a><h3>The <code class="literal">“socket-window”</code> property</h3>
|
<a name="GtkPlug--socket-window"></a><h3>The <code class="literal">“socket-window”</code> property</h3>
|
||||||
<pre class="programlisting"> “socket-window” <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *</pre>
|
<pre class="programlisting"> “socket-window” <span class="type">GdkWindow</span> *</pre>
|
||||||
<p>The window of the socket the plug is embedded in.</p>
|
<p>The window of the socket the plug is embedded in.</p>
|
||||||
<p>Owner: GtkPlug</p>
|
<p>Owner: GtkPlug</p>
|
||||||
<p>Flags: Read</p>
|
<p>Flags: Read</p>
|
||||||
|
@ -219,7 +219,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *</td>
|
<span class="type">GdkRectangle</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkPopover.html#GtkPopover--pointing-to" title="The “pointing-to” property">pointing-to</a></td>
|
<td class="property_name"><a class="link" href="GtkPopover.html#GtkPopover--pointing-to" title="The “pointing-to” property">pointing-to</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -652,7 +652,7 @@ gtk_popover_get_relative_to (<em class="parameter"><code><a class="link" href="G
|
|||||||
<a name="gtk-popover-set-pointing-to"></a><h3>gtk_popover_set_pointing_to ()</h3>
|
<a name="gtk-popover-set-pointing-to"></a><h3>gtk_popover_set_pointing_to ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_popover_set_pointing_to (<em class="parameter"><code><a class="link" href="GtkPopover.html" title="GtkPopover"><span class="type">GtkPopover</span></a> *popover</code></em>,
|
gtk_popover_set_pointing_to (<em class="parameter"><code><a class="link" href="GtkPopover.html" title="GtkPopover"><span class="type">GtkPopover</span></a> *popover</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *rect</code></em>);</pre>
|
||||||
<p>Sets the rectangle that <em class="parameter"><code>popover</code></em>
|
<p>Sets the rectangle that <em class="parameter"><code>popover</code></em>
|
||||||
will point to, in the
|
will point to, in the
|
||||||
coordinate space of the widget <em class="parameter"><code>popover</code></em>
|
coordinate space of the widget <em class="parameter"><code>popover</code></em>
|
||||||
@ -687,7 +687,7 @@ see <a class="link" href="GtkPopover.html#gtk-popover-set-relative-to" title="gt
|
|||||||
<a name="gtk-popover-get-pointing-to"></a><h3>gtk_popover_get_pointing_to ()</h3>
|
<a name="gtk-popover-get-pointing-to"></a><h3>gtk_popover_get_pointing_to ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_popover_get_pointing_to (<em class="parameter"><code><a class="link" href="GtkPopover.html" title="GtkPopover"><span class="type">GtkPopover</span></a> *popover</code></em>,
|
gtk_popover_get_pointing_to (<em class="parameter"><code><a class="link" href="GtkPopover.html" title="GtkPopover"><span class="type">GtkPopover</span></a> *popover</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *rect</code></em>);</pre>
|
||||||
<p>If a rectangle to point to has been set, this function will
|
<p>If a rectangle to point to has been set, this function will
|
||||||
return <code class="literal">TRUE</code> and fill in <em class="parameter"><code>rect</code></em>
|
return <code class="literal">TRUE</code> and fill in <em class="parameter"><code>rect</code></em>
|
||||||
with such rectangle, otherwise
|
with such rectangle, otherwise
|
||||||
@ -1113,7 +1113,7 @@ receive input while the popover is visible).</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkPopover--pointing-to"></a><h3>The <code class="literal">“pointing-to”</code> property</h3>
|
<a name="GtkPopover--pointing-to"></a><h3>The <code class="literal">“pointing-to”</code> property</h3>
|
||||||
<pre class="programlisting"> “pointing-to” <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *</pre>
|
<pre class="programlisting"> “pointing-to” <span class="type">GdkRectangle</span> *</pre>
|
||||||
<p>Marks a specific rectangle to be pointed.</p>
|
<p>Marks a specific rectangle to be pointed.</p>
|
||||||
<p>Owner: GtkPopover</p>
|
<p>Owner: GtkPopover</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
|
@ -1198,7 +1198,7 @@ gtk_range_get_min_slider_size (<em class="parameter"><code><a class="link" href=
|
|||||||
<a name="gtk-range-get-range-rect"></a><h3>gtk_range_get_range_rect ()</h3>
|
<a name="gtk-range-get-range-rect"></a><h3>gtk_range_get_range_rect ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_range_get_range_rect (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
|
gtk_range_get_range_rect (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *range_rect</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *range_rect</code></em>);</pre>
|
||||||
<p>This function returns the area that contains the range’s trough
|
<p>This function returns the area that contains the range’s trough
|
||||||
and its steppers, in widget->window coordinates.</p>
|
and its steppers, in widget->window coordinates.</p>
|
||||||
<p>This function is useful mainly for <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> subclasses.</p>
|
<p>This function is useful mainly for <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> subclasses.</p>
|
||||||
|
@ -907,8 +907,8 @@ is simply a convenience function; it is equivalent to adding the
|
|||||||
unscrollable child to a viewport, then adding the viewport to the
|
unscrollable child to a viewport, then adding the viewport to the
|
||||||
scrolled window. If a child has native scrolling, use
|
scrolled window. If a child has native scrolling, use
|
||||||
<a class="link" href="GtkContainer.html#gtk-container-add" title="gtk_container_add ()"><code class="function">gtk_container_add()</code></a> instead of this function.</p>
|
<a class="link" href="GtkContainer.html#gtk-container-add" title="gtk_container_add ()"><code class="function">gtk_container_add()</code></a> instead of this function.</p>
|
||||||
<p>The viewport scrolls the child by moving its <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a>, and takes
|
<p>The viewport scrolls the child by moving its <span class="type">GdkWindow</span>, and takes
|
||||||
the size of the child to be the size of its toplevel <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a>.
|
the size of the child to be the size of its toplevel <span class="type">GdkWindow</span>.
|
||||||
This will be very wrong for most widgets that support native scrolling;
|
This will be very wrong for most widgets that support native scrolling;
|
||||||
for example, if you add a widget such as <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> with a viewport,
|
for example, if you add a widget such as <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> with a viewport,
|
||||||
the whole widget will scroll, including the column headings. Thus,
|
the whole widget will scroll, including the column headings. Thus,
|
||||||
@ -1128,7 +1128,7 @@ gtk_scrolled_window_set_kinetic_scrolling
|
|||||||
<em class="parameter"><code><span class="type">gboolean</span> kinetic_scrolling</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gboolean</span> kinetic_scrolling</code></em>);</pre>
|
||||||
<p>Turns kinetic scrolling on or off.
|
<p>Turns kinetic scrolling on or off.
|
||||||
Kinetic scrolling only applies to devices with source
|
Kinetic scrolling only applies to devices with source
|
||||||
<a href="../html/GdkDevice.html#GDK-SOURCE-TOUCHSCREEN:CAPS"><code class="literal">GDK_SOURCE_TOUCHSCREEN</code></a>.</p>
|
<code class="literal">GDK_SOURCE_TOUCHSCREEN</code>.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-scrolled-window-set-kinetic-scrolling.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-scrolled-window-set-kinetic-scrolling.parameters"></a><h4>Parameters</h4>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
@ -1859,7 +1859,7 @@ widget.</p>
|
|||||||
<a name="GtkScrolledWindow--kinetic-scrolling"></a><h3>The <code class="literal">“kinetic-scrolling”</code> property</h3>
|
<a name="GtkScrolledWindow--kinetic-scrolling"></a><h3>The <code class="literal">“kinetic-scrolling”</code> property</h3>
|
||||||
<pre class="programlisting"> “kinetic-scrolling” <span class="type">gboolean</span></pre>
|
<pre class="programlisting"> “kinetic-scrolling” <span class="type">gboolean</span></pre>
|
||||||
<p>Whether kinetic scrolling is enabled or not. Kinetic scrolling
|
<p>Whether kinetic scrolling is enabled or not. Kinetic scrolling
|
||||||
only applies to devices with source <a href="../html/GdkDevice.html#GDK-SOURCE-TOUCHSCREEN:CAPS"><code class="literal">GDK_SOURCE_TOUCHSCREEN</code></a>.</p>
|
only applies to devices with source <code class="literal">GDK_SOURCE_TOUCHSCREEN</code>.</p>
|
||||||
<p>Owner: GtkScrolledWindow</p>
|
<p>Owner: GtkScrolledWindow</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
<p>Default value: TRUE</p>
|
<p>Default value: TRUE</p>
|
||||||
|
@ -360,11 +360,11 @@ toggle button.</p>
|
|||||||
<a name="gtk-search-bar-handle-event"></a><h3>gtk_search_bar_handle_event ()</h3>
|
<a name="gtk-search-bar-handle-event"></a><h3>gtk_search_bar_handle_event ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_search_bar_handle_event (<em class="parameter"><code><a class="link" href="GtkSearchBar.html" title="GtkSearchBar"><span class="type">GtkSearchBar</span></a> *bar</code></em>,
|
gtk_search_bar_handle_event (<em class="parameter"><code><a class="link" href="GtkSearchBar.html" title="GtkSearchBar"><span class="type">GtkSearchBar</span></a> *bar</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>);</pre>
|
||||||
<p>This function should be called when the top-level
|
<p>This function should be called when the top-level
|
||||||
window which contains the search bar received a key event.</p>
|
window which contains the search bar received a key event.</p>
|
||||||
<p>If the key event is handled by the search bar, the bar will
|
<p>If the key event is handled by the search bar, the bar will
|
||||||
be shown, the entry populated with the entered text and <a href="../html/gdk3-Events.html#GDK-EVENT-STOP:CAPS"><code class="literal">GDK_EVENT_STOP</code></a>
|
be shown, the entry populated with the entered text and <code class="literal">GDK_EVENT_STOP</code>
|
||||||
will be returned. The caller should ensure that events are
|
will be returned. The caller should ensure that events are
|
||||||
not propagated further.</p>
|
not propagated further.</p>
|
||||||
<p>If no entry has been connected to the search bar, using
|
<p>If no entry has been connected to the search bar, using
|
||||||
@ -443,7 +443,7 @@ immediately with a warning.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>event</p></td>
|
<td class="parameter_name"><p>event</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> containing key press events</p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkEvent</span> containing key press events</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -451,9 +451,9 @@ immediately with a warning.</p>
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-search-bar-handle-event.returns"></a><h4>Returns</h4>
|
<a name="gtk-search-bar-handle-event.returns"></a><h4>Returns</h4>
|
||||||
<p> <a href="../html/gdk3-Events.html#GDK-EVENT-STOP:CAPS"><code class="literal">GDK_EVENT_STOP</code></a> if the key press event resulted
|
<p> <code class="literal">GDK_EVENT_STOP</code> if the key press event resulted
|
||||||
in text being entered in the search entry (and revealing
|
in text being entered in the search entry (and revealing
|
||||||
the search bar if necessary), <a href="../html/gdk3-Events.html#GDK-EVENT-PROPAGATE:CAPS"><code class="literal">GDK_EVENT_PROPAGATE</code></a> otherwise.</p>
|
the search bar if necessary), <code class="literal">GDK_EVENT_PROPAGATE</code> otherwise.</p>
|
||||||
</div>
|
</div>
|
||||||
<p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
|
<p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -167,7 +167,7 @@ empty, and a clear icon when it isn't.</p>
|
|||||||
<a name="gtk-search-entry-handle-event"></a><h3>gtk_search_entry_handle_event ()</h3>
|
<a name="gtk-search-entry-handle-event"></a><h3>gtk_search_entry_handle_event ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_search_entry_handle_event (<em class="parameter"><code><a class="link" href="GtkSearchEntry.html" title="GtkSearchEntry"><span class="type">GtkSearchEntry</span></a> *entry</code></em>,
|
gtk_search_entry_handle_event (<em class="parameter"><code><a class="link" href="GtkSearchEntry.html" title="GtkSearchEntry"><span class="type">GtkSearchEntry</span></a> *entry</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>);</pre>
|
||||||
<p>This function should be called when the top-level window
|
<p>This function should be called when the top-level window
|
||||||
which contains the search entry received a key event. If
|
which contains the search entry received a key event. If
|
||||||
the entry is part of a <a class="link" href="GtkSearchBar.html" title="GtkSearchBar"><span class="type">GtkSearchBar</span></a>, it is preferable
|
the entry is part of a <a class="link" href="GtkSearchBar.html" title="GtkSearchBar"><span class="type">GtkSearchBar</span></a>, it is preferable
|
||||||
@ -175,7 +175,7 @@ to call <a class="link" href="GtkSearchBar.html#gtk-search-bar-handle-event" tit
|
|||||||
reveal the entry in addition to passing the event to this
|
reveal the entry in addition to passing the event to this
|
||||||
function.</p>
|
function.</p>
|
||||||
<p>If the key event is handled by the search entry and starts
|
<p>If the key event is handled by the search entry and starts
|
||||||
or continues a search, <a href="../html/gdk3-Events.html#GDK-EVENT-STOP:CAPS"><code class="literal">GDK_EVENT_STOP</code></a> will be returned.
|
or continues a search, <code class="literal">GDK_EVENT_STOP</code> will be returned.
|
||||||
The caller should ensure that the entry is shown in this
|
The caller should ensure that the entry is shown in this
|
||||||
case, and not propagate the event further.</p>
|
case, and not propagate the event further.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -202,8 +202,8 @@ case, and not propagate the event further.</p>
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-search-entry-handle-event.returns"></a><h4>Returns</h4>
|
<a name="gtk-search-entry-handle-event.returns"></a><h4>Returns</h4>
|
||||||
<p> <a href="../html/gdk3-Events.html#GDK-EVENT-STOP:CAPS"><code class="literal">GDK_EVENT_STOP</code></a> if the key press event resulted
|
<p> <code class="literal">GDK_EVENT_STOP</code> if the key press event resulted
|
||||||
in a search beginning or continuing, <a href="../html/gdk3-Events.html#GDK-EVENT-PROPAGATE:CAPS"><code class="literal">GDK_EVENT_PROPAGATE</code></a>
|
in a search beginning or continuing, <code class="literal">GDK_EVENT_PROPAGATE</code>
|
||||||
otherwise.</p>
|
otherwise.</p>
|
||||||
</div>
|
</div>
|
||||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||||
|
@ -730,7 +730,7 @@ no default screen, then returns <code class="literal">NULL</code>. </p>
|
|||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-settings-get-for-screen"></a><h3>gtk_settings_get_for_screen ()</h3>
|
<a name="gtk-settings-get-for-screen"></a><h3>gtk_settings_get_for_screen ()</h3>
|
||||||
<pre class="programlisting"><a class="link" href="GtkSettings.html" title="Settings"><span class="returnvalue">GtkSettings</span></a> *
|
<pre class="programlisting"><a class="link" href="GtkSettings.html" title="Settings"><span class="returnvalue">GtkSettings</span></a> *
|
||||||
gtk_settings_get_for_screen (<em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
gtk_settings_get_for_screen (<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
||||||
<p>Gets the <a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a> object for <em class="parameter"><code>screen</code></em>
|
<p>Gets the <a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a> object for <em class="parameter"><code>screen</code></em>
|
||||||
, creating it if necessary.</p>
|
, creating it if necessary.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -743,7 +743,7 @@ gtk_settings_get_for_screen (<em class="parameter"><code><a href="../html/GdkScr
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="parameter_name"><p>screen</p></td>
|
<td class="parameter_name"><p>screen</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>.</p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkScreen</span>.</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr></tbody>
|
</tr></tbody>
|
||||||
</table></div>
|
</table></div>
|
||||||
@ -825,7 +825,7 @@ between 0 and 1.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>property_value</p></td>
|
<td class="parameter_name"><p>property_value</p></td>
|
||||||
<td class="parameter_description"><p>a <span class="type">GValue</span> which must hold <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> values.</p></td>
|
<td class="parameter_description"><p>a <span class="type">GValue</span> which must hold <span class="type">GdkColor</span> values.</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -835,7 +835,7 @@ between 0 and 1.</p>
|
|||||||
<a name="gtk-rc-property-parse-color.returns"></a><h4>Returns</h4>
|
<a name="gtk-rc-property-parse-color.returns"></a><h4>Returns</h4>
|
||||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>gstring</code></em>
|
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>gstring</code></em>
|
||||||
could be parsed and <em class="parameter"><code>property_value</code></em>
|
could be parsed and <em class="parameter"><code>property_value</code></em>
|
||||||
has been set to the resulting <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>.</p>
|
has been set to the resulting <span class="type">GdkColor</span>.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
@ -1241,7 +1241,7 @@ the token parsed, or a GSTRING holding an unparsed statement</p></td>
|
|||||||
<a name="GtkSettings--color-hash"></a><h3>The <code class="literal">“color-hash”</code> property</h3>
|
<a name="GtkSettings--color-hash"></a><h3>The <code class="literal">“color-hash”</code> property</h3>
|
||||||
<pre class="programlisting"> “color-hash” <span class="type">GHashTable</span> *</pre>
|
<pre class="programlisting"> “color-hash” <span class="type">GHashTable</span> *</pre>
|
||||||
<p>Holds a hash table representation of the <a class="link" href="GtkSettings.html#GtkSettings--gtk-color-scheme" title="The “gtk-color-scheme” property"><span class="type">“gtk-color-scheme”</span></a>
|
<p>Holds a hash table representation of the <a class="link" href="GtkSettings.html#GtkSettings--gtk-color-scheme" title="The “gtk-color-scheme” property"><span class="type">“gtk-color-scheme”</span></a>
|
||||||
setting, mapping color names to <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColors</span></a>.</p>
|
setting, mapping color names to <span class="type">GdkColors</span>.</p>
|
||||||
<p><span class="annotation">[<acronym title="The caller owns the data container, but not the data inside it."><span class="acronym">transfer container</span></acronym>]</span></p>
|
<p><span class="annotation">[<acronym title="The caller owns the data container, but not the data inside it."><span class="acronym">transfer container</span></acronym>]</span></p>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">GtkSettings:color-hash</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
|
<p><code class="literal">GtkSettings:color-hash</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
|
||||||
@ -1373,7 +1373,7 @@ presses the mnemonic activator.</p>
|
|||||||
Color names must be acceptable as identifiers in the
|
Color names must be acceptable as identifiers in the
|
||||||
<a class="link" href="gtk3-Resource-Files.html" title="Resource Files">gtkrc</a> syntax, and
|
<a class="link" href="gtk3-Resource-Files.html" title="Resource Files">gtkrc</a> syntax, and
|
||||||
color specifications must be in the format accepted by
|
color specifications must be in the format accepted by
|
||||||
<a href="../html/gdk3-Colors.html#gdk-color-parse"><code class="function">gdk_color_parse()</code></a>.</p>
|
<code class="function">gdk_color_parse()</code>.</p>
|
||||||
<p>Note that due to the way the color tables from different sources are
|
<p>Note that due to the way the color tables from different sources are
|
||||||
merged, color specifications will be converted to hexadecimal form
|
merged, color specifications will be converted to hexadecimal form
|
||||||
when getting this property.</p>
|
when getting this property.</p>
|
||||||
@ -1650,7 +1650,7 @@ last char. 600 is a good value for enabling it.</p>
|
|||||||
<pre class="programlisting"> “gtk-error-bell” <span class="type">gboolean</span></pre>
|
<pre class="programlisting"> “gtk-error-bell” <span class="type">gboolean</span></pre>
|
||||||
<p>When <code class="literal">TRUE</code>, keyboard navigation and other input-related errors
|
<p>When <code class="literal">TRUE</code>, keyboard navigation and other input-related errors
|
||||||
will cause a beep. Since the error bell is implemented using
|
will cause a beep. Since the error bell is implemented using
|
||||||
<a href="../html/gdk3-Windows.html#gdk-window-beep"><code class="function">gdk_window_beep()</code></a>, the windowing system may offer ways to
|
<code class="function">gdk_window_beep()</code>, the windowing system may offer ways to
|
||||||
configure the error bell in many ways, such as flashing the
|
configure the error bell in many ways, such as flashing the
|
||||||
window or similar visual effects.</p>
|
window or similar visual effects.</p>
|
||||||
<p>Owner: GtkSettings</p>
|
<p>Owner: GtkSettings</p>
|
||||||
@ -1790,7 +1790,7 @@ to be present on the used input device.</p>
|
|||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">GtkSettings:gtk-keynav-cursor-only</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
<p><code class="literal">GtkSettings:gtk-keynav-cursor-only</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||||
<p>Generally, the behavior for touchscreen input should be
|
<p>Generally, the behavior for touchscreen input should be
|
||||||
performed dynamically based on <a href="../html/gdk3-Events.html#gdk-event-get-source-device"><code class="function">gdk_event_get_source_device()</code></a>.</p>
|
performed dynamically based on <code class="function">gdk_event_get_source_device()</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
<p>Owner: GtkSettings</p>
|
<p>Owner: GtkSettings</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
@ -2298,7 +2298,7 @@ functionality.</p>
|
|||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">GtkSettings:gtk-touchscreen-mode</code> has been deprecated since version 3.4. and should not be used in newly-written code.</p>
|
<p><code class="literal">GtkSettings:gtk-touchscreen-mode</code> has been deprecated since version 3.4. and should not be used in newly-written code.</p>
|
||||||
<p>Generally, the behavior for touchscreen input should be
|
<p>Generally, the behavior for touchscreen input should be
|
||||||
performed dynamically based on <a href="../html/gdk3-Events.html#gdk-event-get-source-device"><code class="function">gdk_event_get_source_device()</code></a>.</p>
|
performed dynamically based on <code class="function">gdk_event_get_source_device()</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
<p>Owner: GtkSettings</p>
|
<p>Owner: GtkSettings</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<span class="returnvalue">GdkWindow</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkSocket.html#gtk-socket-get-plug-window" title="gtk_socket_get_plug_window ()">gtk_socket_get_plug_window</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkSocket.html#gtk-socket-get-plug-window" title="gtk_socket_get_plug_window ()">gtk_socket_get_plug_window</a> <span class="c_punctuation">()</span>
|
||||||
@ -193,7 +193,7 @@ This protocol has also been implemented in other toolkits, e.g. Qt,
|
|||||||
allowing the same level of integration when embedding a Qt widget
|
allowing the same level of integration when embedding a Qt widget
|
||||||
in GTK or vice versa.</p>
|
in GTK or vice versa.</p>
|
||||||
<p>The <a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> and <a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> widgets are only available when GTK+
|
<p>The <a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> and <a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> widgets are only available when GTK+
|
||||||
is compiled for the X11 platform and <a href="../html/gdk3-General.html#GDK-WINDOWING-X11:CAPS"><code class="literal">GDK_WINDOWING_X11</code></a> is defined.
|
is compiled for the X11 platform and <code class="literal">GDK_WINDOWING_X11</code> is defined.
|
||||||
They can only be used on a <span class="type">GdkX11Display</span>. To use <a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> and
|
They can only be used on a <span class="type">GdkX11Display</span>. To use <a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> and
|
||||||
<a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a>, you need to include the <code class="literal">gtk/gtkx.h</code> header.</p>
|
<a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a>, you need to include the <code class="literal">gtk/gtkx.h</code> header.</p>
|
||||||
</div>
|
</div>
|
||||||
@ -282,7 +282,7 @@ before you can make this call.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-socket-get-plug-window"></a><h3>gtk_socket_get_plug_window ()</h3>
|
<a name="gtk-socket-get-plug-window"></a><h3>gtk_socket_get_plug_window ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
||||||
gtk_socket_get_plug_window (<em class="parameter"><code><a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> *socket_</code></em>);</pre>
|
gtk_socket_get_plug_window (<em class="parameter"><code><a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> *socket_</code></em>);</pre>
|
||||||
<p>Retrieves the window of the plug. Use this to check if the plug has
|
<p>Retrieves the window of the plug. Use this to check if the plug has
|
||||||
been created inside of the socket.</p>
|
been created inside of the socket.</p>
|
||||||
|
@ -186,7 +186,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
|
<span class="returnvalue">GdkScreen</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-screen" title="gtk_status_icon_get_screen ()">gtk_status_icon_get_screen</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-screen" title="gtk_status_icon_get_screen ()">gtk_status_icon_get_screen</a> <span class="c_punctuation">()</span>
|
||||||
@ -364,7 +364,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *</td>
|
<span class="type">GdkScreen</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkStatusIcon.html#GtkStatusIcon--screen" title="The “screen” property">screen</a></td>
|
<td class="property_name"><a class="link" href="GtkStatusIcon.html#GtkStatusIcon--screen" title="The “screen” property">screen</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -1135,15 +1135,15 @@ status icon is embedded (see <a class="link" href="GtkStatusIcon.html#gtk-status
|
|||||||
<a name="gtk-status-icon-set-screen"></a><h3>gtk_status_icon_set_screen ()</h3>
|
<a name="gtk-status-icon-set-screen"></a><h3>gtk_status_icon_set_screen ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_status_icon_set_screen (<em class="parameter"><code><a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
|
gtk_status_icon_set_screen (<em class="parameter"><code><a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_status_icon_set_screen</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_status_icon_set_screen</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
||||||
<p>Use <span class="type">GNotification</span> and <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> to
|
<p>Use <span class="type">GNotification</span> and <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> to
|
||||||
provide status notifications; there is no direct replacement
|
provide status notifications; there is no direct replacement
|
||||||
for this function, as GTK typically only has one <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>
|
for this function, as GTK typically only has one <span class="type">GdkScreen</span>
|
||||||
and notifications are managed by the platform</p>
|
and notifications are managed by the platform</p>
|
||||||
</div>
|
</div>
|
||||||
<p>Sets the <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> where <em class="parameter"><code>status_icon</code></em>
|
<p>Sets the <span class="type">GdkScreen</span> where <em class="parameter"><code>status_icon</code></em>
|
||||||
is displayed; if
|
is displayed; if
|
||||||
the icon is already mapped, it will be unmapped, and
|
the icon is already mapped, it will be unmapped, and
|
||||||
then remapped on the new screen.</p>
|
then remapped on the new screen.</p>
|
||||||
@ -1163,7 +1163,7 @@ then remapped on the new screen.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>screen</p></td>
|
<td class="parameter_name"><p>screen</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkScreen</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -1174,7 +1174,7 @@ then remapped on the new screen.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-status-icon-get-screen"></a><h3>gtk_status_icon_get_screen ()</h3>
|
<a name="gtk-status-icon-get-screen"></a><h3>gtk_status_icon_get_screen ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkScreen</span> *
|
||||||
gtk_status_icon_get_screen (<em class="parameter"><code><a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
|
gtk_status_icon_get_screen (<em class="parameter"><code><a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_status_icon_get_screen</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_status_icon_get_screen</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
||||||
@ -1182,7 +1182,7 @@ gtk_status_icon_get_screen (<em class="parameter"><code><a class="link" href="Gt
|
|||||||
provide status notifications; there is no direct replacement
|
provide status notifications; there is no direct replacement
|
||||||
for this function, as notifications are managed by the platform</p>
|
for this function, as notifications are managed by the platform</p>
|
||||||
</div>
|
</div>
|
||||||
<p>Returns the <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> associated with <em class="parameter"><code>status_icon</code></em>
|
<p>Returns the <span class="type">GdkScreen</span> associated with <em class="parameter"><code>status_icon</code></em>
|
||||||
.</p>
|
.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-status-icon-get-screen.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-status-icon-get-screen.parameters"></a><h4>Parameters</h4>
|
||||||
@ -1201,7 +1201,7 @@ gtk_status_icon_get_screen (<em class="parameter"><code><a class="link" href="Gt
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-status-icon-get-screen.returns"></a><h4>Returns</h4>
|
<a name="gtk-status-icon-get-screen.returns"></a><h4>Returns</h4>
|
||||||
<p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>. </p>
|
<p>a <span class="type">GdkScreen</span>. </p>
|
||||||
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
<p class="since">Since: 2.12</p>
|
<p class="since">Since: 2.12</p>
|
||||||
@ -1730,8 +1730,8 @@ to position <em class="parameter"><code>menu</code></em>
|
|||||||
<a name="gtk-status-icon-get-geometry"></a><h3>gtk_status_icon_get_geometry ()</h3>
|
<a name="gtk-status-icon-get-geometry"></a><h3>gtk_status_icon_get_geometry ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_status_icon_get_geometry (<em class="parameter"><code><a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
|
gtk_status_icon_get_geometry (<em class="parameter"><code><a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> **screen</code></em>,
|
<em class="parameter"><code><span class="type">GdkScreen</span> **screen</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area</code></em>,
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *area</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> *orientation</code></em>);</pre>
|
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> *orientation</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_status_icon_get_geometry</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_status_icon_get_geometry</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
||||||
@ -1928,7 +1928,7 @@ is embedded.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkStatusIcon--screen"></a><h3>The <code class="literal">“screen”</code> property</h3>
|
<a name="GtkStatusIcon--screen"></a><h3>The <code class="literal">“screen”</code> property</h3>
|
||||||
<pre class="programlisting"> “screen” <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *</pre>
|
<pre class="programlisting"> “screen” <span class="type">GdkScreen</span> *</pre>
|
||||||
<p>The screen where this status icon will be displayed.</p>
|
<p>The screen where this status icon will be displayed.</p>
|
||||||
<p>Owner: GtkStatusIcon</p>
|
<p>Owner: GtkStatusIcon</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
@ -2067,7 +2067,7 @@ be used by applications and should be wrapped by language bindings.</p>
|
|||||||
<a name="GtkStatusIcon-button-press-event"></a><h3>The <code class="literal">“button-press-event”</code> signal</h3>
|
<a name="GtkStatusIcon-button-press-event"></a><h3>The <code class="literal">“button-press-event”</code> signal</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
user_function (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon,
|
user_function (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon,
|
||||||
<a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event,
|
<span class="type">GdkEvent</span> *event,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>The ::button-press-event signal will be emitted when a button
|
<p>The ::button-press-event signal will be emitted when a button
|
||||||
(typically from a mouse) is pressed.</p>
|
(typically from a mouse) is pressed.</p>
|
||||||
@ -2089,7 +2089,7 @@ and ::popup-menu signals in preference.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>event</p></td>
|
<td class="parameter_name"><p>event</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Event-Structures.html#GdkEventButton"><span class="type">GdkEventButton</span></a> which triggered
|
<td class="parameter_description"><p>the <span class="type">GdkEventButton</span> which triggered
|
||||||
this signal. </p></td>
|
this signal. </p></td>
|
||||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventButton]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventButton]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -2114,7 +2114,7 @@ for the event. <code class="literal">FALSE</code> to propagate the event further
|
|||||||
<a name="GtkStatusIcon-button-release-event"></a><h3>The <code class="literal">“button-release-event”</code> signal</h3>
|
<a name="GtkStatusIcon-button-release-event"></a><h3>The <code class="literal">“button-release-event”</code> signal</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
user_function (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon,
|
user_function (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon,
|
||||||
<a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event,
|
<span class="type">GdkEvent</span> *event,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>The ::button-release-event signal will be emitted when a button
|
<p>The ::button-release-event signal will be emitted when a button
|
||||||
(typically from a mouse) is released.</p>
|
(typically from a mouse) is released.</p>
|
||||||
@ -2136,7 +2136,7 @@ and ::popup-menu signals in preference.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>event</p></td>
|
<td class="parameter_name"><p>event</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Event-Structures.html#GdkEventButton"><span class="type">GdkEventButton</span></a> which triggered
|
<td class="parameter_description"><p>the <span class="type">GdkEventButton</span> which triggered
|
||||||
this signal. </p></td>
|
this signal. </p></td>
|
||||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventButton]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventButton]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -2301,7 +2301,7 @@ should be shown right now, <code class="literal">FALSE</code> otherwise.</p>
|
|||||||
<a name="GtkStatusIcon-scroll-event"></a><h3>The <code class="literal">“scroll-event”</code> signal</h3>
|
<a name="GtkStatusIcon-scroll-event"></a><h3>The <code class="literal">“scroll-event”</code> signal</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
user_function (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon,
|
user_function (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon,
|
||||||
<a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event,
|
<span class="type">GdkEvent</span> *event,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>The ::scroll-event signal is emitted when a button in the 4 to 7
|
<p>The ::scroll-event signal is emitted when a button in the 4 to 7
|
||||||
range is pressed. Wheel mice are usually configured to generate
|
range is pressed. Wheel mice are usually configured to generate
|
||||||
@ -2323,7 +2323,7 @@ button press events for buttons 4 and 5 when the wheel is turned.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>event</p></td>
|
<td class="parameter_name"><p>event</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Event-Structures.html#GdkEventScroll"><span class="type">GdkEventScroll</span></a> which triggered
|
<td class="parameter_description"><p>the <span class="type">GdkEventScroll</span> which triggered
|
||||||
this signal. </p></td>
|
this signal. </p></td>
|
||||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventScroll]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventScroll]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -501,7 +501,7 @@ gtk_style_copy (<em class="parameter"><code><a class="link" href="GtkStyle.html"
|
|||||||
<a name="gtk-style-attach"></a><h3>gtk_style_attach ()</h3>
|
<a name="gtk-style-attach"></a><h3>gtk_style_attach ()</h3>
|
||||||
<pre class="programlisting"><a class="link" href="GtkStyle.html" title="GtkStyle"><span class="returnvalue">GtkStyle</span></a> *
|
<pre class="programlisting"><a class="link" href="GtkStyle.html" title="GtkStyle"><span class="returnvalue">GtkStyle</span></a> *
|
||||||
gtk_style_attach (<em class="parameter"><code><a class="link" href="GtkStyle.html" title="GtkStyle"><span class="type">GtkStyle</span></a> *style</code></em>,
|
gtk_style_attach (<em class="parameter"><code><a class="link" href="GtkStyle.html" title="GtkStyle"><span class="type">GtkStyle</span></a> *style</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_style_attach</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_style_attach</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkWidget.html#gtk-widget-style-attach" title="gtk_widget_style_attach ()"><code class="function">gtk_widget_style_attach()</code></a> instead</p>
|
<p>Use <a class="link" href="GtkWidget.html#gtk-widget-style-attach" title="gtk_widget_style_attach ()"><code class="function">gtk_widget_style_attach()</code></a> instead</p>
|
||||||
@ -531,7 +531,7 @@ in the following way:
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>window</p></td>
|
<td class="parameter_name"><p>window</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a>.</p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkWindow</span>.</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -608,7 +608,7 @@ has a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span
|
|||||||
<a name="gtk-style-set-background"></a><h3>gtk_style_set_background ()</h3>
|
<a name="gtk-style-set-background"></a><h3>gtk_style_set_background ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_style_set_background (<em class="parameter"><code><a class="link" href="GtkStyle.html" title="GtkStyle"><span class="type">GtkStyle</span></a> *style</code></em>,
|
gtk_style_set_background (<em class="parameter"><code><a class="link" href="GtkStyle.html" title="GtkStyle"><span class="type">GtkStyle</span></a> *style</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *window</code></em>,
|
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state_type</code></em>);</pre>
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state_type</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_style_set_background</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_style_set_background</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||||
@ -634,7 +634,7 @@ specified by <em class="parameter"><code>style</code></em>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>window</p></td>
|
<td class="parameter_name"><p>window</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkWindow</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -652,7 +652,7 @@ specified by <em class="parameter"><code>style</code></em>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_style_apply_default_background (<em class="parameter"><code><a class="link" href="GtkStyle.html" title="GtkStyle"><span class="type">GtkStyle</span></a> *style</code></em>,
|
gtk_style_apply_default_background (<em class="parameter"><code><a class="link" href="GtkStyle.html" title="GtkStyle"><span class="type">GtkStyle</span></a> *style</code></em>,
|
||||||
<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 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 href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *window</code></em>,
|
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state_type</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state_type</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> x</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">gint</span> y</code></em>,
|
||||||
@ -669,7 +669,7 @@ gtk_style_apply_default_background (<em class="parameter"><code><a class="link"
|
|||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_style_lookup_color (<em class="parameter"><code><a class="link" href="GtkStyle.html" title="GtkStyle"><span class="type">GtkStyle</span></a> *style</code></em>,
|
gtk_style_lookup_color (<em class="parameter"><code><a class="link" href="GtkStyle.html" title="GtkStyle"><span class="type">GtkStyle</span></a> *style</code></em>,
|
||||||
<em class="parameter"><code>const <span class="type">gchar</span> *color_name</code></em>,
|
<em class="parameter"><code>const <span class="type">gchar</span> *color_name</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkColor</span> *color</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_style_lookup_color</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_style_lookup_color</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkStyleContext.html#gtk-style-context-lookup-color" title="gtk_style_context_lookup_color ()"><code class="function">gtk_style_context_lookup_color()</code></a> instead</p>
|
<p>Use <a class="link" href="GtkStyleContext.html#gtk-style-context-lookup-color" title="gtk_style_context_lookup_color ()"><code class="function">gtk_style_context_lookup_color()</code></a> instead</p>
|
||||||
@ -702,7 +702,7 @@ switch occurs.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>color</p></td>
|
<td class="parameter_name"><p>color</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to fill in. </p></td>
|
<td class="parameter_description"><p>the <span class="type">GdkColor</span> to fill in. </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>]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -2617,7 +2617,7 @@ gtk_paint_resize_grip (<em class="parameter"><code><a class="link" href="GtkStyl
|
|||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state_type</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state_type</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<em class="parameter"><code>const <span class="type">gchar</span> *detail</code></em>,
|
<em class="parameter"><code>const <span class="type">gchar</span> *detail</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkWindowEdge"><span class="type">GdkWindowEdge</span></a> edge</code></em>,
|
<em class="parameter"><code><span class="type">GdkWindowEdge</span> edge</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> x</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">gint</span> y</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
||||||
@ -2698,7 +2698,7 @@ parameters.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_draw_insertion_cursor (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
gtk_draw_insertion_cursor (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<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 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="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *location</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *location</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gboolean</span> is_primary</code></em>,
|
<em class="parameter"><code><span class="type">gboolean</span> is_primary</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a> direction</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a> direction</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gboolean</span> draw_arrow</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gboolean</span> draw_arrow</code></em>);</pre>
|
||||||
@ -2800,53 +2800,53 @@ cursor. Should be <code class="literal">FALSE</code> unless the cursor is split.
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="struct_member_name"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> <em class="structfield"><code><a name="GtkStyle-struct.fg"></a>fg</code></em>[5];</p></td>
|
<td class="struct_member_name"><p><span class="type">GdkColor</span> <em class="structfield"><code><a name="GtkStyle-struct.fg"></a>fg</code></em>[5];</p></td>
|
||||||
<td class="struct_member_description"><p>Set of foreground <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a></p></td>
|
<td class="struct_member_description"><p>Set of foreground <span class="type">GdkColor</span></p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="struct_member_name"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> <em class="structfield"><code><a name="GtkStyle-struct.bg"></a>bg</code></em>[5];</p></td>
|
<td class="struct_member_name"><p><span class="type">GdkColor</span> <em class="structfield"><code><a name="GtkStyle-struct.bg"></a>bg</code></em>[5];</p></td>
|
||||||
<td class="struct_member_description"><p>Set of background <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a></p></td>
|
<td class="struct_member_description"><p>Set of background <span class="type">GdkColor</span></p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="struct_member_name"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> <em class="structfield"><code><a name="GtkStyle-struct.light"></a>light</code></em>[5];</p></td>
|
<td class="struct_member_name"><p><span class="type">GdkColor</span> <em class="structfield"><code><a name="GtkStyle-struct.light"></a>light</code></em>[5];</p></td>
|
||||||
<td class="struct_member_description"><p>Set of light <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a></p></td>
|
<td class="struct_member_description"><p>Set of light <span class="type">GdkColor</span></p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="struct_member_name"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> <em class="structfield"><code><a name="GtkStyle-struct.dark"></a>dark</code></em>[5];</p></td>
|
<td class="struct_member_name"><p><span class="type">GdkColor</span> <em class="structfield"><code><a name="GtkStyle-struct.dark"></a>dark</code></em>[5];</p></td>
|
||||||
<td class="struct_member_description"><p>Set of dark <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a></p></td>
|
<td class="struct_member_description"><p>Set of dark <span class="type">GdkColor</span></p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="struct_member_name"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> <em class="structfield"><code><a name="GtkStyle-struct.mid"></a>mid</code></em>[5];</p></td>
|
<td class="struct_member_name"><p><span class="type">GdkColor</span> <em class="structfield"><code><a name="GtkStyle-struct.mid"></a>mid</code></em>[5];</p></td>
|
||||||
<td class="struct_member_description"><p>Set of mid <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a></p></td>
|
<td class="struct_member_description"><p>Set of mid <span class="type">GdkColor</span></p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="struct_member_name"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> <em class="structfield"><code><a name="GtkStyle-struct.text"></a>text</code></em>[5];</p></td>
|
<td class="struct_member_name"><p><span class="type">GdkColor</span> <em class="structfield"><code><a name="GtkStyle-struct.text"></a>text</code></em>[5];</p></td>
|
||||||
<td class="struct_member_description"><p>Set of text <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a></p></td>
|
<td class="struct_member_description"><p>Set of text <span class="type">GdkColor</span></p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="struct_member_name"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> <em class="structfield"><code><a name="GtkStyle-struct.base"></a>base</code></em>[5];</p></td>
|
<td class="struct_member_name"><p><span class="type">GdkColor</span> <em class="structfield"><code><a name="GtkStyle-struct.base"></a>base</code></em>[5];</p></td>
|
||||||
<td class="struct_member_description"><p>Set of base <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a></p></td>
|
<td class="struct_member_description"><p>Set of base <span class="type">GdkColor</span></p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="struct_member_name"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> <em class="structfield"><code><a name="GtkStyle-struct.text-aa"></a>text_aa</code></em>[5];</p></td>
|
<td class="struct_member_name"><p><span class="type">GdkColor</span> <em class="structfield"><code><a name="GtkStyle-struct.text-aa"></a>text_aa</code></em>[5];</p></td>
|
||||||
<td class="struct_member_description"><p>Color halfway between text/base</p></td>
|
<td class="struct_member_description"><p>Color halfway between text/base</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="struct_member_name"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> <em class="structfield"><code><a name="GtkStyle-struct.black"></a>black</code></em>;</p></td>
|
<td class="struct_member_name"><p><span class="type">GdkColor</span> <em class="structfield"><code><a name="GtkStyle-struct.black"></a>black</code></em>;</p></td>
|
||||||
<td class="struct_member_description"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to use for black</p></td>
|
<td class="struct_member_description"><p><span class="type">GdkColor</span> to use for black</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="struct_member_name"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> <em class="structfield"><code><a name="GtkStyle-struct.white"></a>white</code></em>;</p></td>
|
<td class="struct_member_name"><p><span class="type">GdkColor</span> <em class="structfield"><code><a name="GtkStyle-struct.white"></a>white</code></em>;</p></td>
|
||||||
<td class="struct_member_description"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to use for white</p></td>
|
<td class="struct_member_description"><p><span class="type">GdkColor</span> to use for white</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -115,7 +115,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
|
<span class="returnvalue">GdkScreen</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-screen" title="gtk_style_context_get_screen ()">gtk_style_context_get_screen</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-screen" title="gtk_style_context_get_screen ()">gtk_style_context_get_screen</a> <span class="c_punctuation">()</span>
|
||||||
@ -123,7 +123,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/GdkFrameClock.html#GdkFrameClock-struct"><span class="returnvalue">GdkFrameClock</span></a> *
|
<span class="returnvalue">GdkFrameClock</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-frame-clock" title="gtk_style_context_get_frame_clock ()">gtk_style_context_get_frame_clock</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkStyleContext.html#gtk-style-context-get-frame-clock" title="gtk_style_context_get_frame_clock ()">gtk_style_context_get_frame_clock</a> <span class="c_punctuation">()</span>
|
||||||
@ -691,7 +691,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/GdkFrameClock.html#GdkFrameClock-struct"><span class="type">GdkFrameClock</span></a> *</td>
|
<span class="type">GdkFrameClock</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkStyleContext.html#GtkStyleContext--paint-clock" title="The “paint-clock” property">paint-clock</a></td>
|
<td class="property_name"><a class="link" href="GtkStyleContext.html#GtkStyleContext--paint-clock" title="The “paint-clock” property">paint-clock</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -703,7 +703,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *</td>
|
<span class="type">GdkScreen</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkStyleContext.html#GtkStyleContext--screen" title="The “screen” property">screen</a></td>
|
<td class="property_name"><a class="link" href="GtkStyleContext.html#GtkStyleContext--screen" title="The “screen” property">screen</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -1177,7 +1177,7 @@ can be either attached explicitly to the context through
|
|||||||
combination of all providers’ information in priority order.</p>
|
combination of all providers’ information in priority order.</p>
|
||||||
<p>For GTK+ widgets, any <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> returned by
|
<p>For GTK+ widgets, any <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> returned by
|
||||||
<a class="link" href="GtkWidget.html#gtk-widget-get-style-context" title="gtk_widget_get_style_context ()"><code class="function">gtk_widget_get_style_context()</code></a> will already have a <a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="type">GtkWidgetPath</span></a>, a
|
<a class="link" href="GtkWidget.html#gtk-widget-get-style-context" title="gtk_widget_get_style_context ()"><code class="function">gtk_widget_get_style_context()</code></a> will already have a <a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="type">GtkWidgetPath</span></a>, a
|
||||||
<a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> and RTL/LTR information set. The style context will also be
|
<span class="type">GdkScreen</span> and RTL/LTR information set. The style context will also be
|
||||||
updated automatically if any of these settings change on the widget.</p>
|
updated automatically if any of these settings change on the widget.</p>
|
||||||
<p>If you are using the theming layer standalone, you will need to set a
|
<p>If you are using the theming layer standalone, you will need to set a
|
||||||
widget path and a screen yourself to the created style context through
|
widget path and a screen yourself to the created style context through
|
||||||
@ -1290,7 +1290,7 @@ between <a class="link" href="GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-
|
|||||||
<a name="gtk-style-context-add-provider-for-screen"></a><h3>gtk_style_context_add_provider_for_screen ()</h3>
|
<a name="gtk-style-context-add-provider-for-screen"></a><h3>gtk_style_context_add_provider_for_screen ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_style_context_add_provider_for_screen
|
gtk_style_context_add_provider_for_screen
|
||||||
(<em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
(<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> *provider</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> *provider</code></em>,
|
||||||
<em class="parameter"><code><span class="type">guint</span> priority</code></em>);</pre>
|
<em class="parameter"><code><span class="type">guint</span> priority</code></em>);</pre>
|
||||||
<p>Adds a global style provider to <em class="parameter"><code>screen</code></em>
|
<p>Adds a global style provider to <em class="parameter"><code>screen</code></em>
|
||||||
@ -1313,7 +1313,7 @@ over another added through this function.</p>
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>screen</p></td>
|
<td class="parameter_name"><p>screen</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkScreen</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1346,6 +1346,52 @@ gtk_style_context_get (<em class="parameter"><code><a class="link" href="GtkStyl
|
|||||||
for a
|
for a
|
||||||
given state.</p>
|
given state.</p>
|
||||||
<p>See <a class="link" href="GtkStyleContext.html#gtk-style-context-get-property" title="gtk_style_context_get_property ()"><code class="function">gtk_style_context_get_property()</code></a> for details.</p>
|
<p>See <a class="link" href="GtkStyleContext.html#gtk-style-context-get-property" title="gtk_style_context_get_property ()"><code class="function">gtk_style_context_get_property()</code></a> for details.</p>
|
||||||
|
<p>For the property name / return value pairs, it works similarly as
|
||||||
|
<code class="function">g_object_get()</code>. Example:</p>
|
||||||
|
<div class="informalexample">
|
||||||
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="listing_lines" align="right"><pre>1
|
||||||
|
2
|
||||||
|
3
|
||||||
|
4
|
||||||
|
5
|
||||||
|
6
|
||||||
|
7
|
||||||
|
8
|
||||||
|
9
|
||||||
|
10
|
||||||
|
11
|
||||||
|
12
|
||||||
|
13
|
||||||
|
14
|
||||||
|
15
|
||||||
|
16
|
||||||
|
17</pre></td>
|
||||||
|
<td class="listing_code"><pre class="programlisting"><span class="n">GdkRGBA</span><span class="w"> </span><span class="o">*</span><span class="n">background_color</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nb">NULL</span><span class="p">;</span><span class="w"></span>
|
||||||
|
<span class="n">PangoFontDescription</span><span class="w"> </span><span class="o">*</span><span class="n">font_desc</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nb">NULL</span><span class="p">;</span><span class="w"></span>
|
||||||
|
<span class="n">gint</span><span class="w"> </span><span class="n">border_radius</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="p">;</span><span class="w"></span>
|
||||||
|
|
||||||
|
<span class="n">gtk_style_context_get</span><span class="w"> </span><span class="p">(</span><span class="n">style_context</span><span class="p">,</span><span class="w"></span>
|
||||||
|
<span class="w"> </span><span class="n">gtk_style_context_get_state</span><span class="w"> </span><span class="p">(</span><span class="n">style_context</span><span class="p">),</span><span class="w"></span>
|
||||||
|
<span class="w"> </span><span class="n">GTK_STYLE_PROPERTY_BACKGROUND_COLOR</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">background_color</span><span class="p">,</span><span class="w"></span>
|
||||||
|
<span class="w"> </span><span class="n">GTK_STYLE_PROPERTY_FONT</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">font_desc</span><span class="p">,</span><span class="w"></span>
|
||||||
|
<span class="w"> </span><span class="n">GTK_STYLE_PROPERTY_BORDER_RADIUS</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">border_radius</span><span class="p">,</span><span class="w"></span>
|
||||||
|
<span class="w"> </span><span class="nb">NULL</span><span class="p">);</span><span class="w"></span>
|
||||||
|
|
||||||
|
<span class="c1">// Do something with the property values.</span>
|
||||||
|
|
||||||
|
<span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">background_color</span><span class="w"> </span><span class="o">!=</span><span class="w"> </span><span class="nb">NULL</span><span class="p">)</span><span class="w"></span>
|
||||||
|
<span class="w"> </span><span class="n">gdk_rgba_free</span><span class="w"> </span><span class="p">(</span><span class="n">background_color</span><span class="p">);</span><span class="w"></span>
|
||||||
|
<span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">font_desc</span><span class="w"> </span><span class="o">!=</span><span class="w"> </span><span class="nb">NULL</span><span class="p">)</span><span class="w"></span>
|
||||||
|
<span class="w"> </span><span class="n">pango_font_description_free</span><span class="w"> </span><span class="p">(</span><span class="n">font_desc</span><span class="p">);</span><span class="w"></span></pre></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p></p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-style-context-get.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-style-context-get.parameters"></a><h4>Parameters</h4>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
@ -1550,9 +1596,9 @@ to free any allocated memory.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-style-context-get-screen"></a><h3>gtk_style_context_get_screen ()</h3>
|
<a name="gtk-style-context-get-screen"></a><h3>gtk_style_context_get_screen ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkScreen</span> *
|
||||||
gtk_style_context_get_screen (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
|
gtk_style_context_get_screen (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
|
||||||
<p>Returns the <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> to which <em class="parameter"><code>context</code></em>
|
<p>Returns the <span class="type">GdkScreen</span> to which <em class="parameter"><code>context</code></em>
|
||||||
is attached.</p>
|
is attached.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-style-context-get-screen.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-style-context-get-screen.parameters"></a><h4>Parameters</h4>
|
||||||
@ -1571,16 +1617,16 @@ gtk_style_context_get_screen (<em class="parameter"><code><a class="link" href="
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-style-context-get-screen.returns"></a><h4>Returns</h4>
|
<a name="gtk-style-context-get-screen.returns"></a><h4>Returns</h4>
|
||||||
<p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>. </p>
|
<p>a <span class="type">GdkScreen</span>. </p>
|
||||||
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-style-context-get-frame-clock"></a><h3>gtk_style_context_get_frame_clock ()</h3>
|
<a name="gtk-style-context-get-frame-clock"></a><h3>gtk_style_context_get_frame_clock ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/GdkFrameClock.html#GdkFrameClock-struct"><span class="returnvalue">GdkFrameClock</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkFrameClock</span> *
|
||||||
gtk_style_context_get_frame_clock (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
|
gtk_style_context_get_frame_clock (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
|
||||||
<p>Returns the <a href="../html/GdkFrameClock.html#GdkFrameClock-struct"><span class="type">GdkFrameClock</span></a> to which <em class="parameter"><code>context</code></em>
|
<p>Returns the <span class="type">GdkFrameClock</span> to which <em class="parameter"><code>context</code></em>
|
||||||
is attached.</p>
|
is attached.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-style-context-get-frame-clock.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-style-context-get-frame-clock.parameters"></a><h4>Parameters</h4>
|
||||||
@ -1599,7 +1645,7 @@ gtk_style_context_get_frame_clock (<em class="parameter"><code><a class="link" h
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-style-context-get-frame-clock.returns"></a><h4>Returns</h4>
|
<a name="gtk-style-context-get-frame-clock.returns"></a><h4>Returns</h4>
|
||||||
<p>a <a href="../html/GdkFrameClock.html#GdkFrameClock-struct"><span class="type">GdkFrameClock</span></a>, or <code class="literal">NULL</code>
|
<p>a <span class="type">GdkFrameClock</span>, or <code class="literal">NULL</code>
|
||||||
if <em class="parameter"><code>context</code></em>
|
if <em class="parameter"><code>context</code></em>
|
||||||
does not have an attached frame clock. </p>
|
does not have an attached frame clock. </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="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></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="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||||
@ -1836,7 +1882,7 @@ was defined. </p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_style_context_get_color (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
gtk_style_context_get_color (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
||||||
<p>Gets the foreground color for a given state.</p>
|
<p>Gets the foreground color for a given state.</p>
|
||||||
<p>See <a class="link" href="GtkStyleContext.html#gtk-style-context-get-property" title="gtk_style_context_get_property ()"><code class="function">gtk_style_context_get_property()</code></a> and
|
<p>See <a class="link" href="GtkStyleContext.html#gtk-style-context-get-property" title="gtk_style_context_get_property ()"><code class="function">gtk_style_context_get_property()</code></a> and
|
||||||
<a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-COLOR:CAPS" title="GTK_STYLE_PROPERTY_COLOR"><span class="type">GTK_STYLE_PROPERTY_COLOR</span></a> for details.</p>
|
<a class="link" href="GtkStyleContext.html#GTK-STYLE-PROPERTY-COLOR:CAPS" title="GTK_STYLE_PROPERTY_COLOR"><span class="type">GTK_STYLE_PROPERTY_COLOR</span></a> for details.</p>
|
||||||
@ -1876,7 +1922,7 @@ gtk_style_context_get_color (<em class="parameter"><code><a class="link" href="G
|
|||||||
gtk_style_context_get_background_color
|
gtk_style_context_get_background_color
|
||||||
(<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_style_context_get_background_color</code> has been deprecated since version 3.16 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_style_context_get_background_color</code> has been deprecated since version 3.16 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkStyleContext.html#gtk-render-background" title="gtk_render_background ()"><code class="function">gtk_render_background()</code></a> instead.</p>
|
<p>Use <a class="link" href="GtkStyleContext.html#gtk-render-background" title="gtk_render_background ()"><code class="function">gtk_render_background()</code></a> instead.</p>
|
||||||
@ -1924,7 +1970,7 @@ style classes to modify the color to be rendered.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_style_context_get_border_color (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
gtk_style_context_get_border_color (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_style_context_get_border_color</code> has been deprecated since version 3.16 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_style_context_get_border_color</code> has been deprecated since version 3.16 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkStyleContext.html#gtk-render-frame" title="gtk_render_frame ()"><code class="function">gtk_render_frame()</code></a> instead.</p>
|
<p>Use <a class="link" href="GtkStyleContext.html#gtk-render-frame" title="gtk_render_frame ()"><code class="function">gtk_render_frame()</code></a> instead.</p>
|
||||||
@ -2212,7 +2258,7 @@ it’s being unset.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_style_context_lookup_color (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
gtk_style_context_lookup_color (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code>const <span class="type">gchar</span> *color_name</code></em>,
|
<em class="parameter"><code>const <span class="type">gchar</span> *color_name</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
||||||
<p>Looks up and resolves a color name in the <em class="parameter"><code>context</code></em>
|
<p>Looks up and resolves a color name in the <em class="parameter"><code>context</code></em>
|
||||||
color map.</p>
|
color map.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -2296,7 +2342,7 @@ the default icon factory, returning an icon set if found, otherwise
|
|||||||
<a name="gtk-style-context-notify-state-change"></a><h3>gtk_style_context_notify_state_change ()</h3>
|
<a name="gtk-style-context-notify-state-change"></a><h3>gtk_style_context_notify_state_change ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_style_context_notify_state_change (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
gtk_style_context_notify_state_change (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *window</code></em>,
|
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gpointer</span> region_id</code></em>,
|
<em class="parameter"><code><span class="type">gpointer</span> region_id</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gboolean</span> state_value</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gboolean</span> state_value</code></em>);</pre>
|
||||||
@ -2391,7 +2437,7 @@ is why the style places the transition under the :hover pseudo-class.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>window</p></td>
|
<td class="parameter_name"><p>window</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkWindow</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -2543,14 +2589,14 @@ See <a class="link" href="GtkStyleContext.html#gtk-style-context-push-animatable
|
|||||||
<a name="gtk-style-context-scroll-animations"></a><h3>gtk_style_context_scroll_animations ()</h3>
|
<a name="gtk-style-context-scroll-animations"></a><h3>gtk_style_context_scroll_animations ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_style_context_scroll_animations (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
gtk_style_context_scroll_animations (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *window</code></em>,
|
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> dx</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> dx</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> dy</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gint</span> dy</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_style_context_scroll_animations</code> has been deprecated since version 3.6 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_style_context_scroll_animations</code> has been deprecated since version 3.6 and should not be used in newly-written code.</p>
|
||||||
<p>This function does nothing.</p>
|
<p>This function does nothing.</p>
|
||||||
</div>
|
</div>
|
||||||
<p>This function is analogous to <a href="../html/gdk3-Windows.html#gdk-window-scroll"><code class="function">gdk_window_scroll()</code></a>, and
|
<p>This function is analogous to <code class="function">gdk_window_scroll()</code>, and
|
||||||
should be called together with it so the invalidation
|
should be called together with it so the invalidation
|
||||||
areas for any ongoing animation are scrolled together
|
areas for any ongoing animation are scrolled together
|
||||||
with it.</p>
|
with it.</p>
|
||||||
@ -2570,7 +2616,7 @@ with it.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>window</p></td>
|
<td class="parameter_name"><p>window</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> used previously in
|
<td class="parameter_description"><p>a <span class="type">GdkWindow</span> used previously in
|
||||||
<a class="link" href="GtkStyleContext.html#gtk-style-context-notify-state-change" title="gtk_style_context_notify_state_change ()"><code class="function">gtk_style_context_notify_state_change()</code></a></p></td>
|
<a class="link" href="GtkStyleContext.html#gtk-style-context-notify-state-change" title="gtk_style_context_notify_state_change ()"><code class="function">gtk_style_context_notify_state_change()</code></a></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -2627,7 +2673,7 @@ gtk_style_context_remove_provider (<em class="parameter"><code><a class="link" h
|
|||||||
<a name="gtk-style-context-remove-provider-for-screen"></a><h3>gtk_style_context_remove_provider_for_screen ()</h3>
|
<a name="gtk-style-context-remove-provider-for-screen"></a><h3>gtk_style_context_remove_provider_for_screen ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_style_context_remove_provider_for_screen
|
gtk_style_context_remove_provider_for_screen
|
||||||
(<em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
(<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> *provider</code></em>);</pre>
|
<em class="parameter"><code><a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> *provider</code></em>);</pre>
|
||||||
<p>Removes <em class="parameter"><code>provider</code></em>
|
<p>Removes <em class="parameter"><code>provider</code></em>
|
||||||
from the global style providers list in <em class="parameter"><code>screen</code></em>
|
from the global style providers list in <em class="parameter"><code>screen</code></em>
|
||||||
@ -2643,7 +2689,7 @@ gtk_style_context_remove_provider_for_screen
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>screen</p></td>
|
<td class="parameter_name"><p>screen</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkScreen</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -2660,9 +2706,9 @@ gtk_style_context_remove_provider_for_screen
|
|||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-style-context-reset-widgets"></a><h3>gtk_style_context_reset_widgets ()</h3>
|
<a name="gtk-style-context-reset-widgets"></a><h3>gtk_style_context_reset_widgets ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_style_context_reset_widgets (<em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
gtk_style_context_reset_widgets (<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
||||||
<p>This function recomputes the styles for all widgets under a particular
|
<p>This function recomputes the styles for all widgets under a particular
|
||||||
<a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>. This is useful when some global parameter has changed that
|
<span class="type">GdkScreen</span>. This is useful when some global parameter has changed that
|
||||||
affects the appearance of all widgets, because when a widget gets a new
|
affects the appearance of all widgets, because when a widget gets a new
|
||||||
style, it will both redraw and recompute any cached information about
|
style, it will both redraw and recompute any cached information about
|
||||||
its appearance. As an example, it is used when the color scheme changes
|
its appearance. As an example, it is used when the color scheme changes
|
||||||
@ -2677,7 +2723,7 @@ in the related <a class="link" href="GtkSettings.html" title="Settings"><span cl
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="parameter_name"><p>screen</p></td>
|
<td class="parameter_name"><p>screen</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkScreen</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr></tbody>
|
</tr></tbody>
|
||||||
</table></div>
|
</table></div>
|
||||||
@ -2689,7 +2735,7 @@ in the related <a class="link" href="GtkSettings.html" title="Settings"><span cl
|
|||||||
<a name="gtk-style-context-set-background"></a><h3>gtk_style_context_set_background ()</h3>
|
<a name="gtk-style-context-set-background"></a><h3>gtk_style_context_set_background ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_style_context_set_background (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
gtk_style_context_set_background (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>);</pre>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">gtk_style_context_set_background</code> has been deprecated since version 3.18 and should not be used in newly-written code.</p>
|
<p><code class="literal">gtk_style_context_set_background</code> has been deprecated since version 3.18 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkStyleContext.html#gtk-render-background" title="gtk_render_background ()"><code class="function">gtk_render_background()</code></a> instead.
|
<p>Use <a class="link" href="GtkStyleContext.html#gtk-render-background" title="gtk_render_background ()"><code class="function">gtk_render_background()</code></a> instead.
|
||||||
@ -2717,7 +2763,7 @@ color specified in <em class="parameter"><code>context</code></em>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>window</p></td>
|
<td class="parameter_name"><p>window</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkWindow</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -3288,7 +3334,7 @@ itself with <code class="function">g_list_free()</code> when you are done with i
|
|||||||
<a name="gtk-style-context-set-screen"></a><h3>gtk_style_context_set_screen ()</h3>
|
<a name="gtk-style-context-set-screen"></a><h3>gtk_style_context_set_screen ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_style_context_set_screen (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
gtk_style_context_set_screen (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
||||||
<p>Attaches <em class="parameter"><code>context</code></em>
|
<p>Attaches <em class="parameter"><code>context</code></em>
|
||||||
to the given screen.</p>
|
to the given screen.</p>
|
||||||
<p>The screen is used to add style information from “global” style
|
<p>The screen is used to add style information from “global” style
|
||||||
@ -3312,7 +3358,7 @@ call this yourself.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>screen</p></td>
|
<td class="parameter_name"><p>screen</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkScreen</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -3325,7 +3371,7 @@ call this yourself.</p>
|
|||||||
<a name="gtk-style-context-set-frame-clock"></a><h3>gtk_style_context_set_frame_clock ()</h3>
|
<a name="gtk-style-context-set-frame-clock"></a><h3>gtk_style_context_set_frame_clock ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_style_context_set_frame_clock (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
gtk_style_context_set_frame_clock (<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/GdkFrameClock.html#GdkFrameClock-struct"><span class="type">GdkFrameClock</span></a> *frame_clock</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkFrameClock</span> *frame_clock</code></em>);</pre>
|
||||||
<p>Attaches <em class="parameter"><code>context</code></em>
|
<p>Attaches <em class="parameter"><code>context</code></em>
|
||||||
to the given frame clock.</p>
|
to the given frame clock.</p>
|
||||||
<p>The frame clock is used for the timing of animations.</p>
|
<p>The frame clock is used for the timing of animations.</p>
|
||||||
@ -3343,12 +3389,12 @@ call this yourself.</p>
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>context</p></td>
|
<td class="parameter_name"><p>context</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkFrameClock.html#GdkFrameClock-struct"><span class="type">GdkFrameClock</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkFrameClock</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>frame_clock</p></td>
|
<td class="parameter_name"><p>frame_clock</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkFrameClock.html#GdkFrameClock-struct"><span class="type">GdkFrameClock</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkFrameClock</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -3678,7 +3724,7 @@ gtk_render_background_get_clip (<em class="parameter"><code><a class="link" href
|
|||||||
<em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
|
<em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gdouble</span> width</code></em>,
|
<em class="parameter"><code><span class="type">gdouble</span> width</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gdouble</span> height</code></em>,
|
<em class="parameter"><code><span class="type">gdouble</span> height</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *out_clip</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *out_clip</code></em>);</pre>
|
||||||
<p>Returns the area that will be affected (i.e. drawn to) when
|
<p>Returns the area that will be affected (i.e. drawn to) when
|
||||||
calling <a class="link" href="GtkStyleContext.html#gtk-render-background" title="gtk_render_background ()"><code class="function">gtk_render_background()</code></a> for the given <em class="parameter"><code>context</code></em>
|
calling <a class="link" href="GtkStyleContext.html#gtk-render-background" title="gtk_render_background ()"><code class="function">gtk_render_background()</code></a> for the given <em class="parameter"><code>context</code></em>
|
||||||
and
|
and
|
||||||
@ -4725,14 +4771,14 @@ gtk_render_insertion_cursor (<em class="parameter"><code><a class="link" href="G
|
|||||||
<a name="GTK-STYLE-PROPERTY-BACKGROUND-COLOR:CAPS"></a><h3>GTK_STYLE_PROPERTY_BACKGROUND_COLOR</h3>
|
<a name="GTK-STYLE-PROPERTY-BACKGROUND-COLOR:CAPS"></a><h3>GTK_STYLE_PROPERTY_BACKGROUND_COLOR</h3>
|
||||||
<pre class="programlisting">#define GTK_STYLE_PROPERTY_BACKGROUND_COLOR "background-color"
|
<pre class="programlisting">#define GTK_STYLE_PROPERTY_BACKGROUND_COLOR "background-color"
|
||||||
</pre>
|
</pre>
|
||||||
<p>A property holding the background color of rendered elements as a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>.</p>
|
<p>A property holding the background color of rendered elements as a <span class="type">GdkRGBA</span>.</p>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GTK-STYLE-PROPERTY-COLOR:CAPS"></a><h3>GTK_STYLE_PROPERTY_COLOR</h3>
|
<a name="GTK-STYLE-PROPERTY-COLOR:CAPS"></a><h3>GTK_STYLE_PROPERTY_COLOR</h3>
|
||||||
<pre class="programlisting">#define GTK_STYLE_PROPERTY_COLOR "color"
|
<pre class="programlisting">#define GTK_STYLE_PROPERTY_COLOR "color"
|
||||||
</pre>
|
</pre>
|
||||||
<p>A property holding the foreground color of rendered elements as a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>.</p>
|
<p>A property holding the foreground color of rendered elements as a <span class="type">GdkRGBA</span>.</p>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
@ -4794,7 +4840,7 @@ requesting size</p>
|
|||||||
<a name="GTK-STYLE-PROPERTY-BORDER-COLOR:CAPS"></a><h3>GTK_STYLE_PROPERTY_BORDER_COLOR</h3>
|
<a name="GTK-STYLE-PROPERTY-BORDER-COLOR:CAPS"></a><h3>GTK_STYLE_PROPERTY_BORDER_COLOR</h3>
|
||||||
<pre class="programlisting">#define GTK_STYLE_PROPERTY_BORDER_COLOR "border-color"
|
<pre class="programlisting">#define GTK_STYLE_PROPERTY_BORDER_COLOR "border-color"
|
||||||
</pre>
|
</pre>
|
||||||
<p>A property holding the element’s border color as a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>.</p>
|
<p>A property holding the element’s border color as a <span class="type">GdkRGBA</span>.</p>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
@ -5904,7 +5950,7 @@ that can be of different width on each side.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkStyleContext--paint-clock"></a><h3>The <code class="literal">“paint-clock”</code> property</h3>
|
<a name="GtkStyleContext--paint-clock"></a><h3>The <code class="literal">“paint-clock”</code> property</h3>
|
||||||
<pre class="programlisting"> “paint-clock” <a href="../html/GdkFrameClock.html#GdkFrameClock-struct"><span class="type">GdkFrameClock</span></a> *</pre>
|
<pre class="programlisting"> “paint-clock” <span class="type">GdkFrameClock</span> *</pre>
|
||||||
<p>The associated GdkFrameClock.</p>
|
<p>The associated GdkFrameClock.</p>
|
||||||
<p>Owner: GtkStyleContext</p>
|
<p>Owner: GtkStyleContext</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
@ -5922,7 +5968,7 @@ for details.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkStyleContext--screen"></a><h3>The <code class="literal">“screen”</code> property</h3>
|
<a name="GtkStyleContext--screen"></a><h3>The <code class="literal">“screen”</code> property</h3>
|
||||||
<pre class="programlisting"> “screen” <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *</pre>
|
<pre class="programlisting"> “screen” <span class="type">GdkScreen</span> *</pre>
|
||||||
<p>The associated GdkScreen.</p>
|
<p>The associated GdkScreen.</p>
|
||||||
<p>Owner: GtkStyleContext</p>
|
<p>Owner: GtkStyleContext</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
|
@ -564,7 +564,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> *
|
<span class="returnvalue">GdkAtom</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-get-deserialize-formats" title="gtk_text_buffer_get_deserialize_formats ()">gtk_text_buffer_get_deserialize_formats</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-get-deserialize-formats" title="gtk_text_buffer_get_deserialize_formats ()">gtk_text_buffer_get_deserialize_formats</a> <span class="c_punctuation">()</span>
|
||||||
@ -580,7 +580,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> *
|
<span class="returnvalue">GdkAtom</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-get-serialize-formats" title="gtk_text_buffer_get_serialize_formats ()">gtk_text_buffer_get_serialize_formats</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-get-serialize-formats" title="gtk_text_buffer_get_serialize_formats ()">gtk_text_buffer_get_serialize_formats</a> <span class="c_punctuation">()</span>
|
||||||
@ -588,7 +588,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a>
|
<span class="returnvalue">GdkAtom</span>
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-deserialize-format" title="gtk_text_buffer_register_deserialize_format ()">gtk_text_buffer_register_deserialize_format</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-deserialize-format" title="gtk_text_buffer_register_deserialize_format ()">gtk_text_buffer_register_deserialize_format</a> <span class="c_punctuation">()</span>
|
||||||
@ -596,7 +596,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a>
|
<span class="returnvalue">GdkAtom</span>
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-deserialize-tagset" title="gtk_text_buffer_register_deserialize_tagset ()">gtk_text_buffer_register_deserialize_tagset</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-deserialize-tagset" title="gtk_text_buffer_register_deserialize_tagset ()">gtk_text_buffer_register_deserialize_tagset</a> <span class="c_punctuation">()</span>
|
||||||
@ -604,7 +604,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a>
|
<span class="returnvalue">GdkAtom</span>
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-serialize-format" title="gtk_text_buffer_register_serialize_format ()">gtk_text_buffer_register_serialize_format</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-serialize-format" title="gtk_text_buffer_register_serialize_format ()">gtk_text_buffer_register_serialize_format</a> <span class="c_punctuation">()</span>
|
||||||
@ -612,7 +612,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a>
|
<span class="returnvalue">GdkAtom</span>
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-serialize-tagset" title="gtk_text_buffer_register_serialize_tagset ()">gtk_text_buffer_register_serialize_tagset</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-serialize-tagset" title="gtk_text_buffer_register_serialize_tagset ()">gtk_text_buffer_register_serialize_tagset</a> <span class="c_punctuation">()</span>
|
||||||
@ -3355,7 +3355,7 @@ gtk_text_buffer_add_selection_clipboard
|
|||||||
contents of <em class="parameter"><code>buffer</code></em>
|
contents of <em class="parameter"><code>buffer</code></em>
|
||||||
are available. In most cases, <em class="parameter"><code>clipboard</code></em>
|
are available. In most cases, <em class="parameter"><code>clipboard</code></em>
|
||||||
will be
|
will be
|
||||||
the <a class="link" href="gtk3-Clipboards.html#GtkClipboard"><span class="type">GtkClipboard</span></a> of type <a href="../html/gdk3-Selections.html#GDK-SELECTION-PRIMARY:CAPS"><code class="literal">GDK_SELECTION_PRIMARY</code></a> for a view of <em class="parameter"><code>buffer</code></em>
|
the <a class="link" href="gtk3-Clipboards.html#GtkClipboard"><span class="type">GtkClipboard</span></a> of type <code class="literal">GDK_SELECTION_PRIMARY</code> for a view of <em class="parameter"><code>buffer</code></em>
|
||||||
.</p>
|
.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-text-buffer-add-selection-clipboard.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-text-buffer-add-selection-clipboard.parameters"></a><h4>Parameters</h4>
|
||||||
@ -3493,7 +3493,7 @@ serialized with <a class="link" href="GtkTextBuffer.html#gtk-text-buffer-seriali
|
|||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_text_buffer_deserialize (<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *register_buffer</code></em>,
|
gtk_text_buffer_deserialize (<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *register_buffer</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *content_buffer</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *content_buffer</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> format</code></em>,
|
<em class="parameter"><code><span class="type">GdkAtom</span> format</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
||||||
<em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>,
|
<em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gsize</span> length</code></em>,
|
<em class="parameter"><code><span class="type">gsize</span> length</code></em>,
|
||||||
@ -3567,7 +3567,7 @@ is registered with</p></td>
|
|||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_text_buffer_deserialize_get_can_create_tags
|
gtk_text_buffer_deserialize_get_can_create_tags
|
||||||
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> format</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkAtom</span> format</code></em>);</pre>
|
||||||
<p>This functions returns the value set with
|
<p>This functions returns the value set with
|
||||||
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-deserialize-set-can-create-tags" title="gtk_text_buffer_deserialize_set_can_create_tags ()"><code class="function">gtk_text_buffer_deserialize_set_can_create_tags()</code></a></p>
|
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-deserialize-set-can-create-tags" title="gtk_text_buffer_deserialize_set_can_create_tags ()"><code class="function">gtk_text_buffer_deserialize_set_can_create_tags()</code></a></p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -3586,7 +3586,7 @@ gtk_text_buffer_deserialize_get_can_create_tags
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>format</p></td>
|
<td class="parameter_name"><p>format</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> representing a registered rich text format</p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkAtom</span> representing a registered rich text format</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -3604,7 +3604,7 @@ gtk_text_buffer_deserialize_get_can_create_tags
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_text_buffer_deserialize_set_can_create_tags
|
gtk_text_buffer_deserialize_set_can_create_tags
|
||||||
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> format</code></em>,
|
<em class="parameter"><code><span class="type">GdkAtom</span> format</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gboolean</span> can_create_tags</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gboolean</span> can_create_tags</code></em>);</pre>
|
||||||
<p>Use this function to allow a rich text deserialization function to
|
<p>Use this function to allow a rich text deserialization function to
|
||||||
create new tags in the receiving buffer. Note that using this
|
create new tags in the receiving buffer. Note that using this
|
||||||
@ -3637,7 +3637,7 @@ handle the newly created tags.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>format</p></td>
|
<td class="parameter_name"><p>format</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> representing a registered rich text format</p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkAtom</span> representing a registered rich text format</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -3686,7 +3686,7 @@ using <a class="link" href="gtk3-Selections.html#gtk-target-list-add-rich-text-t
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-text-buffer-get-deserialize-formats"></a><h3>gtk_text_buffer_get_deserialize_formats ()</h3>
|
<a name="gtk-text-buffer-get-deserialize-formats"></a><h3>gtk_text_buffer_get_deserialize_formats ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkAtom</span> *
|
||||||
gtk_text_buffer_get_deserialize_formats
|
gtk_text_buffer_get_deserialize_formats
|
||||||
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> *n_formats</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gint</span> *n_formats</code></em>);</pre>
|
||||||
@ -3719,7 +3719,7 @@ with <em class="parameter"><code>buffer</code></em>
|
|||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-text-buffer-get-deserialize-formats.returns"></a><h4>Returns</h4>
|
<a name="gtk-text-buffer-get-deserialize-formats.returns"></a><h4>Returns</h4>
|
||||||
<p>an array of
|
<p>an array of
|
||||||
<a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtoms</span></a> representing the registered formats. </p>
|
<span class="type">GdkAtoms</span> representing the registered formats. </p>
|
||||||
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_formats][<acronym title="The caller owns the data container, but not the data inside it."><span class="acronym">transfer container</span></acronym>]</span></p>
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_formats][<acronym title="The caller owns the data container, but not the data inside it."><span class="acronym">transfer container</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
<p class="since">Since: 2.10</p>
|
<p class="since">Since: 2.10</p>
|
||||||
@ -3760,7 +3760,7 @@ using <a class="link" href="gtk3-Selections.html#gtk-target-list-add-rich-text-t
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-text-buffer-get-serialize-formats"></a><h3>gtk_text_buffer_get_serialize_formats ()</h3>
|
<a name="gtk-text-buffer-get-serialize-formats"></a><h3>gtk_text_buffer_get_serialize_formats ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkAtom</span> *
|
||||||
gtk_text_buffer_get_serialize_formats (<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
gtk_text_buffer_get_serialize_formats (<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> *n_formats</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gint</span> *n_formats</code></em>);</pre>
|
||||||
<p>This function returns the rich text serialize formats registered
|
<p>This function returns the rich text serialize formats registered
|
||||||
@ -3792,7 +3792,7 @@ with <em class="parameter"><code>buffer</code></em>
|
|||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-text-buffer-get-serialize-formats.returns"></a><h4>Returns</h4>
|
<a name="gtk-text-buffer-get-serialize-formats.returns"></a><h4>Returns</h4>
|
||||||
<p>an array of
|
<p>an array of
|
||||||
<a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtoms</span></a> representing the registered formats. </p>
|
<span class="type">GdkAtoms</span> representing the registered formats. </p>
|
||||||
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_formats][<acronym title="The caller owns the data container, but not the data inside it."><span class="acronym">transfer container</span></acronym>]</span></p>
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_formats][<acronym title="The caller owns the data container, but not the data inside it."><span class="acronym">transfer container</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
<p class="since">Since: 2.10</p>
|
<p class="since">Since: 2.10</p>
|
||||||
@ -3800,7 +3800,7 @@ with <em class="parameter"><code>buffer</code></em>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-text-buffer-register-deserialize-format"></a><h3>gtk_text_buffer_register_deserialize_format ()</h3>
|
<a name="gtk-text-buffer-register-deserialize-format"></a><h3>gtk_text_buffer_register_deserialize_format ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a>
|
<pre class="programlisting"><span class="returnvalue">GdkAtom</span>
|
||||||
gtk_text_buffer_register_deserialize_format
|
gtk_text_buffer_register_deserialize_format
|
||||||
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
||||||
<em class="parameter"><code>const <span class="type">gchar</span> *mime_type</code></em>,
|
<em class="parameter"><code>const <span class="type">gchar</span> *mime_type</code></em>,
|
||||||
@ -3853,7 +3853,7 @@ is no longer needed</p></td>
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-text-buffer-register-deserialize-format.returns"></a><h4>Returns</h4>
|
<a name="gtk-text-buffer-register-deserialize-format.returns"></a><h4>Returns</h4>
|
||||||
<p>the <a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> that corresponds to the
|
<p>the <span class="type">GdkAtom</span> that corresponds to the
|
||||||
newly registered format’s mime-type. </p>
|
newly registered format’s mime-type. </p>
|
||||||
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
@ -3862,7 +3862,7 @@ newly registered format’s mime-type. </p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-text-buffer-register-deserialize-tagset"></a><h3>gtk_text_buffer_register_deserialize_tagset ()</h3>
|
<a name="gtk-text-buffer-register-deserialize-tagset"></a><h3>gtk_text_buffer_register_deserialize_tagset ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a>
|
<pre class="programlisting"><span class="returnvalue">GdkAtom</span>
|
||||||
gtk_text_buffer_register_deserialize_tagset
|
gtk_text_buffer_register_deserialize_tagset
|
||||||
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
||||||
<em class="parameter"><code>const <span class="type">gchar</span> *tagset_name</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">gchar</span> *tagset_name</code></em>);</pre>
|
||||||
@ -3894,7 +3894,7 @@ format with the passed <em class="parameter"><code>buffer</code></em>
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-text-buffer-register-deserialize-tagset.returns"></a><h4>Returns</h4>
|
<a name="gtk-text-buffer-register-deserialize-tagset.returns"></a><h4>Returns</h4>
|
||||||
<p>the <a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> that corresponds to the
|
<p>the <span class="type">GdkAtom</span> that corresponds to the
|
||||||
newly registered format’s mime-type. </p>
|
newly registered format’s mime-type. </p>
|
||||||
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
@ -3903,7 +3903,7 @@ newly registered format’s mime-type. </p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-text-buffer-register-serialize-format"></a><h3>gtk_text_buffer_register_serialize_format ()</h3>
|
<a name="gtk-text-buffer-register-serialize-format"></a><h3>gtk_text_buffer_register_serialize_format ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a>
|
<pre class="programlisting"><span class="returnvalue">GdkAtom</span>
|
||||||
gtk_text_buffer_register_serialize_format
|
gtk_text_buffer_register_serialize_format
|
||||||
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
||||||
<em class="parameter"><code>const <span class="type">gchar</span> *mime_type</code></em>,
|
<em class="parameter"><code>const <span class="type">gchar</span> *mime_type</code></em>,
|
||||||
@ -3956,7 +3956,7 @@ is no longer needed</p></td>
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-text-buffer-register-serialize-format.returns"></a><h4>Returns</h4>
|
<a name="gtk-text-buffer-register-serialize-format.returns"></a><h4>Returns</h4>
|
||||||
<p>the <a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> that corresponds to the
|
<p>the <span class="type">GdkAtom</span> that corresponds to the
|
||||||
newly registered format’s mime-type. </p>
|
newly registered format’s mime-type. </p>
|
||||||
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
@ -3965,7 +3965,7 @@ newly registered format’s mime-type. </p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-text-buffer-register-serialize-tagset"></a><h3>gtk_text_buffer_register_serialize_tagset ()</h3>
|
<a name="gtk-text-buffer-register-serialize-tagset"></a><h3>gtk_text_buffer_register_serialize_tagset ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a>
|
<pre class="programlisting"><span class="returnvalue">GdkAtom</span>
|
||||||
gtk_text_buffer_register_serialize_tagset
|
gtk_text_buffer_register_serialize_tagset
|
||||||
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
||||||
<em class="parameter"><code>const <span class="type">gchar</span> *tagset_name</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">gchar</span> *tagset_name</code></em>);</pre>
|
||||||
@ -4012,7 +4012,7 @@ receiving buffer to deal with with pasting of arbitrary tags.</p>
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-text-buffer-register-serialize-tagset.returns"></a><h4>Returns</h4>
|
<a name="gtk-text-buffer-register-serialize-tagset.returns"></a><h4>Returns</h4>
|
||||||
<p>the <a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> that corresponds to the
|
<p>the <span class="type">GdkAtom</span> that corresponds to the
|
||||||
newly registered format’s mime-type. </p>
|
newly registered format’s mime-type. </p>
|
||||||
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
@ -4061,8 +4061,8 @@ It must return the serialized form of the content.</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>length</p></td>
|
<td class="parameter_name"><p>length</p></td>
|
||||||
<td class="parameter_description"><p>Return location for the length of the serialized data</p></td>
|
<td class="parameter_description"><p>return location for the length of the serialized data. </p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>user_data</p></td>
|
<td class="parameter_name"><p>user_data</p></td>
|
||||||
@ -4074,9 +4074,9 @@ It must return the serialized form of the content.</p>
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="GtkTextBufferSerializeFunc.returns"></a><h4>Returns</h4>
|
<a name="GtkTextBufferSerializeFunc.returns"></a><h4>Returns</h4>
|
||||||
<p>a newly-allocated array of guint8 which contains
|
<p>a newly-allocated array of guint8
|
||||||
the serialized data, or <code class="literal">NULL</code> if an error occurred. </p>
|
which contains the serialized data, or <code class="literal">NULL</code> if an error occurred. </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>
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length][<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>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
@ -4085,7 +4085,7 @@ the serialized data, or <code class="literal">NULL</code> if an error occurred.
|
|||||||
<pre class="programlisting"><span class="returnvalue">guint8</span> *
|
<pre class="programlisting"><span class="returnvalue">guint8</span> *
|
||||||
gtk_text_buffer_serialize (<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *register_buffer</code></em>,
|
gtk_text_buffer_serialize (<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *register_buffer</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *content_buffer</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *content_buffer</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> format</code></em>,
|
<em class="parameter"><code><span class="type">GdkAtom</span> format</code></em>,
|
||||||
<em class="parameter"><code>const <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
<em class="parameter"><code>const <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
||||||
<em class="parameter"><code>const <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
<em class="parameter"><code>const <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gsize</span> *length</code></em>);</pre>
|
<em class="parameter"><code><span class="type">gsize</span> *length</code></em>);</pre>
|
||||||
@ -4156,7 +4156,7 @@ data, encoded as <em class="parameter"><code>format</code></em>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_text_buffer_unregister_deserialize_format
|
gtk_text_buffer_unregister_deserialize_format
|
||||||
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> format</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkAtom</span> format</code></em>);</pre>
|
||||||
<p>This function unregisters a rich text format that was previously
|
<p>This function unregisters a rich text format that was previously
|
||||||
registered using <a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-deserialize-format" title="gtk_text_buffer_register_deserialize_format ()"><code class="function">gtk_text_buffer_register_deserialize_format()</code></a> or
|
registered using <a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-deserialize-format" title="gtk_text_buffer_register_deserialize_format ()"><code class="function">gtk_text_buffer_register_deserialize_format()</code></a> or
|
||||||
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-deserialize-tagset" title="gtk_text_buffer_register_deserialize_tagset ()"><code class="function">gtk_text_buffer_register_deserialize_tagset()</code></a>.</p>
|
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-deserialize-tagset" title="gtk_text_buffer_register_deserialize_tagset ()"><code class="function">gtk_text_buffer_register_deserialize_tagset()</code></a>.</p>
|
||||||
@ -4176,7 +4176,7 @@ registered using <a class="link" href="GtkTextBuffer.html#gtk-text-buffer-regist
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>format</p></td>
|
<td class="parameter_name"><p>format</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> representing a registered rich text format.</p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkAtom</span> representing a registered rich text format.</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -4190,7 +4190,7 @@ registered using <a class="link" href="GtkTextBuffer.html#gtk-text-buffer-regist
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_text_buffer_unregister_serialize_format
|
gtk_text_buffer_unregister_serialize_format
|
||||||
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> format</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkAtom</span> format</code></em>);</pre>
|
||||||
<p>This function unregisters a rich text format that was previously
|
<p>This function unregisters a rich text format that was previously
|
||||||
registered using <a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-serialize-format" title="gtk_text_buffer_register_serialize_format ()"><code class="function">gtk_text_buffer_register_serialize_format()</code></a> or
|
registered using <a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-serialize-format" title="gtk_text_buffer_register_serialize_format ()"><code class="function">gtk_text_buffer_register_serialize_format()</code></a> or
|
||||||
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-serialize-tagset" title="gtk_text_buffer_register_serialize_tagset ()"><code class="function">gtk_text_buffer_register_serialize_tagset()</code></a></p>
|
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-register-serialize-tagset" title="gtk_text_buffer_register_serialize_tagset ()"><code class="function">gtk_text_buffer_register_serialize_tagset()</code></a></p>
|
||||||
@ -4210,7 +4210,7 @@ registered using <a class="link" href="GtkTextBuffer.html#gtk-text-buffer-regist
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>format</p></td>
|
<td class="parameter_name"><p>format</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> representing a registered rich text format.</p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkAtom</span> representing a registered rich text format.</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -157,13 +157,13 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td>
|
<span class="type">GdkColor</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--background-gdk" title="The “background-gdk” property">background-gdk</a></td>
|
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--background-gdk" title="The “background-gdk” property">background-gdk</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td>
|
<span class="type">GdkRGBA</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--background-rgba" title="The “background-rgba” property">background-rgba</a></td>
|
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--background-rgba" title="The “background-rgba” property">background-rgba</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -239,13 +239,13 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td>
|
<span class="type">GdkColor</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--foreground-gdk" title="The “foreground-gdk” property">foreground-gdk</a></td>
|
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--foreground-gdk" title="The “foreground-gdk” property">foreground-gdk</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td>
|
<span class="type">GdkRGBA</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--foreground-rgba" title="The “foreground-rgba” property">foreground-rgba</a></td>
|
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--foreground-rgba" title="The “foreground-rgba” property">foreground-rgba</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -329,13 +329,13 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td>
|
<span class="type">GdkColor</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background-gdk" title="The “paragraph-background-gdk” property">paragraph-background-gdk</a></td>
|
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background-gdk" title="The “paragraph-background-gdk” property">paragraph-background-gdk</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td>
|
<span class="type">GdkRGBA</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background-rgba" title="The “paragraph-background-rgba” property">paragraph-background-rgba</a></td>
|
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background-rgba" title="The “paragraph-background-rgba” property">paragraph-background-rgba</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -436,7 +436,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td>
|
<span class="type">GdkRGBA</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--strikethrough-rgba" title="The “strikethrough-rgba” property">strikethrough-rgba</a></td>
|
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--strikethrough-rgba" title="The “strikethrough-rgba” property">strikethrough-rgba</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -478,7 +478,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td>
|
<span class="type">GdkRGBA</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--underline-rgba" title="The “underline-rgba” property">underline-rgba</a></td>
|
<td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--underline-rgba" title="The “underline-rgba” property">underline-rgba</a></td>
|
||||||
<td class="property_flags">Read / Write</td>
|
<td class="property_flags">Read / Write</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -689,7 +689,7 @@ automatically.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_text_tag_event (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>,
|
gtk_text_tag_event (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>,
|
||||||
<em class="parameter"><code><span class="type">GObject</span> *event_object</code></em>,
|
<em class="parameter"><code><span class="type">GObject</span> *event_object</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>,
|
||||||
<em class="parameter"><code>const <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
<em class="parameter"><code>const <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
||||||
<p>Emits the “event” signal on the <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>.</p>
|
<p>Emits the “event” signal on the <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -1108,13 +1108,13 @@ baseline +/- ascent/descent (font height).</p></td>
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="struct_member_name"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> <em class="structfield"><code><a name="GtkTextAppearance.bg-color"></a>bg_color</code></em>;</p></td>
|
<td class="struct_member_name"><p><span class="type">GdkColor</span> <em class="structfield"><code><a name="GtkTextAppearance.bg-color"></a>bg_color</code></em>;</p></td>
|
||||||
<td class="struct_member_description"><p>Background <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>.</p></td>
|
<td class="struct_member_description"><p>Background <span class="type">GdkColor</span>.</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="struct_member_name"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> <em class="structfield"><code><a name="GtkTextAppearance.fg-color"></a>fg_color</code></em>;</p></td>
|
<td class="struct_member_name"><p><span class="type">GdkColor</span> <em class="structfield"><code><a name="GtkTextAppearance.fg-color"></a>fg_color</code></em>;</p></td>
|
||||||
<td class="struct_member_description"><p>Foreground <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>.</p></td>
|
<td class="struct_member_description"><p>Foreground <span class="type">GdkColor</span>.</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1155,8 +1155,8 @@ part of a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct
|
|||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="struct_member_name"><p><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *<em class="structfield"><code><a name="GtkTextAppearance.rgba"></a>rgba</code></em>[2];</p></td>
|
<td class="struct_member_name"><p><span class="type">GdkRGBA</span> *<em class="structfield"><code><a name="GtkTextAppearance.rgba"></a>rgba</code></em>[2];</p></td>
|
||||||
<td class="struct_member_description"><p><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a></p></td>
|
<td class="struct_member_description"><p><span class="type">GdkRGBA</span></p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -1210,8 +1210,8 @@ the margins override one another (the default).</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkTextTag--background-gdk"></a><h3>The <code class="literal">“background-gdk”</code> property</h3>
|
<a name="GtkTextTag--background-gdk"></a><h3>The <code class="literal">“background-gdk”</code> property</h3>
|
||||||
<pre class="programlisting"> “background-gdk” <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre>
|
<pre class="programlisting"> “background-gdk” <span class="type">GdkColor</span> *</pre>
|
||||||
<p>Background color as a <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>.</p>
|
<p>Background color as a <span class="type">GdkColor</span>.</p>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">GtkTextTag:background-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">GtkTextTag:background-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkTextTag.html#GtkTextTag--background-rgba" title="The “background-rgba” property"><span class="type">“background-rgba”</span></a> instead.</p>
|
<p>Use <a class="link" href="GtkTextTag.html#GtkTextTag--background-rgba" title="The “background-rgba” property"><span class="type">“background-rgba”</span></a> instead.</p>
|
||||||
@ -1222,8 +1222,8 @@ the margins override one another (the default).</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkTextTag--background-rgba"></a><h3>The <code class="literal">“background-rgba”</code> property</h3>
|
<a name="GtkTextTag--background-rgba"></a><h3>The <code class="literal">“background-rgba”</code> property</h3>
|
||||||
<pre class="programlisting"> “background-rgba” <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre>
|
<pre class="programlisting"> “background-rgba” <span class="type">GdkRGBA</span> *</pre>
|
||||||
<p>Background color as a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>.</p>
|
<p>Background color as a <span class="type">GdkRGBA</span>.</p>
|
||||||
<p>Owner: GtkTextTag</p>
|
<p>Owner: GtkTextTag</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
|
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
|
||||||
@ -1353,8 +1353,8 @@ the internals of <span class="type">PangoFontDescription</span>.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkTextTag--foreground-gdk"></a><h3>The <code class="literal">“foreground-gdk”</code> property</h3>
|
<a name="GtkTextTag--foreground-gdk"></a><h3>The <code class="literal">“foreground-gdk”</code> property</h3>
|
||||||
<pre class="programlisting"> “foreground-gdk” <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre>
|
<pre class="programlisting"> “foreground-gdk” <span class="type">GdkColor</span> *</pre>
|
||||||
<p>Foreground color as a <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>.</p>
|
<p>Foreground color as a <span class="type">GdkColor</span>.</p>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">GtkTextTag:foreground-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">GtkTextTag:foreground-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkTextTag.html#GtkTextTag--foreground-rgba" title="The “foreground-rgba” property"><span class="type">“foreground-rgba”</span></a> instead.</p>
|
<p>Use <a class="link" href="GtkTextTag.html#GtkTextTag--foreground-rgba" title="The “foreground-rgba” property"><span class="type">“foreground-rgba”</span></a> instead.</p>
|
||||||
@ -1365,8 +1365,8 @@ the internals of <span class="type">PangoFontDescription</span>.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkTextTag--foreground-rgba"></a><h3>The <code class="literal">“foreground-rgba”</code> property</h3>
|
<a name="GtkTextTag--foreground-rgba"></a><h3>The <code class="literal">“foreground-rgba”</code> property</h3>
|
||||||
<pre class="programlisting"> “foreground-rgba” <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre>
|
<pre class="programlisting"> “foreground-rgba” <span class="type">GdkRGBA</span> *</pre>
|
||||||
<p>Foreground color as a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>.</p>
|
<p>Foreground color as a <span class="type">GdkRGBA</span>.</p>
|
||||||
<p>Owner: GtkTextTag</p>
|
<p>Owner: GtkTextTag</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
|
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
|
||||||
@ -1524,8 +1524,8 @@ locale, see also <a class="link" href="gtk3-General.html#gtk-get-default-languag
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkTextTag--paragraph-background-gdk"></a><h3>The <code class="literal">“paragraph-background-gdk”</code> property</h3>
|
<a name="GtkTextTag--paragraph-background-gdk"></a><h3>The <code class="literal">“paragraph-background-gdk”</code> property</h3>
|
||||||
<pre class="programlisting"> “paragraph-background-gdk” <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre>
|
<pre class="programlisting"> “paragraph-background-gdk” <span class="type">GdkColor</span> *</pre>
|
||||||
<p>The paragraph background color as a <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>.</p>
|
<p>The paragraph background color as a <span class="type">GdkColor</span>.</p>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<p><code class="literal">GtkTextTag:paragraph-background-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
<p><code class="literal">GtkTextTag:paragraph-background-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
||||||
<p>Use <a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background-rgba" title="The “paragraph-background-rgba” property"><span class="type">“paragraph-background-rgba”</span></a> instead.</p>
|
<p>Use <a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background-rgba" title="The “paragraph-background-rgba” property"><span class="type">“paragraph-background-rgba”</span></a> instead.</p>
|
||||||
@ -1537,8 +1537,8 @@ locale, see also <a class="link" href="gtk3-General.html#gtk-get-default-languag
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkTextTag--paragraph-background-rgba"></a><h3>The <code class="literal">“paragraph-background-rgba”</code> property</h3>
|
<a name="GtkTextTag--paragraph-background-rgba"></a><h3>The <code class="literal">“paragraph-background-rgba”</code> property</h3>
|
||||||
<pre class="programlisting"> “paragraph-background-rgba” <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre>
|
<pre class="programlisting"> “paragraph-background-rgba” <span class="type">GdkRGBA</span> *</pre>
|
||||||
<p>The paragraph background color as a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>.</p>
|
<p>The paragraph background color as a <span class="type">GdkRGBA</span>.</p>
|
||||||
<p>Owner: GtkTextTag</p>
|
<p>Owner: GtkTextTag</p>
|
||||||
<p>Flags: Read / Write</p>
|
<p>Flags: Read / Write</p>
|
||||||
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
|
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
|
||||||
@ -1724,7 +1724,7 @@ locale, see also <a class="link" href="gtk3-General.html#gtk-get-default-languag
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkTextTag--strikethrough-rgba"></a><h3>The <code class="literal">“strikethrough-rgba”</code> property</h3>
|
<a name="GtkTextTag--strikethrough-rgba"></a><h3>The <code class="literal">“strikethrough-rgba”</code> property</h3>
|
||||||
<pre class="programlisting"> “strikethrough-rgba” <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre>
|
<pre class="programlisting"> “strikethrough-rgba” <span class="type">GdkRGBA</span> *</pre>
|
||||||
<p>This property modifies the color of strikeouts. If not set, strikeouts
|
<p>This property modifies the color of strikeouts. If not set, strikeouts
|
||||||
will use the forground color.</p>
|
will use the forground color.</p>
|
||||||
<p>Owner: GtkTextTag</p>
|
<p>Owner: GtkTextTag</p>
|
||||||
@ -1797,7 +1797,7 @@ will use the forground color.</p>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkTextTag--underline-rgba"></a><h3>The <code class="literal">“underline-rgba”</code> property</h3>
|
<a name="GtkTextTag--underline-rgba"></a><h3>The <code class="literal">“underline-rgba”</code> property</h3>
|
||||||
<pre class="programlisting"> “underline-rgba” <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre>
|
<pre class="programlisting"> “underline-rgba” <span class="type">GdkRGBA</span> *</pre>
|
||||||
<p>This property modifies the color of underlines. If not set, underlines
|
<p>This property modifies the color of underlines. If not set, underlines
|
||||||
will use the forground color.</p>
|
will use the forground color.</p>
|
||||||
<p>If <a class="link" href="GtkTextTag.html#GtkTextTag--underline" title="The “underline” property"><span class="type">“underline”</span></a> is set to <code class="literal">PANGO_UNDERLINE_ERROR</code>, an alternate
|
<p>If <a class="link" href="GtkTextTag.html#GtkTextTag--underline" title="The “underline” property"><span class="type">“underline”</span></a> is set to <code class="literal">PANGO_UNDERLINE_ERROR</code>, an alternate
|
||||||
@ -1889,7 +1889,7 @@ will always override those defaults.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
user_function (<a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag,
|
user_function (<a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag,
|
||||||
<span class="type">GObject</span> *object,
|
<span class="type">GObject</span> *object,
|
||||||
<a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event,
|
<span class="type">GdkEvent</span> *event,
|
||||||
<a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter,
|
<a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter,
|
||||||
<span class="type">gpointer</span> user_data)</pre>
|
<span class="type">gpointer</span> user_data)</pre>
|
||||||
<p>The ::event signal is emitted when an event occurs on a region of the
|
<p>The ::event signal is emitted when an event occurs on a region of the
|
||||||
|
@ -206,7 +206,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<span class="returnvalue">GdkWindow</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkTextView.html#gtk-text-view-get-window" title="gtk_text_view_get_window ()">gtk_text_view_get_window</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkTextView.html#gtk-text-view-get-window" title="gtk_text_view_get_window ()">gtk_text_view_get_window</a> <span class="c_punctuation">()</span>
|
||||||
@ -785,7 +785,7 @@
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td>
|
<span class="type">GdkColor</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkTextView.html#GtkTextView--s-error-underline-color" title="The “error-underline-color” style property">error-underline-color</a></td>
|
<td class="property_name"><a class="link" href="GtkTextView.html#GtkTextView--s-error-underline-color" title="The “error-underline-color” style property">error-underline-color</a></td>
|
||||||
<td class="property_flags">Read</td>
|
<td class="property_flags">Read</td>
|
||||||
</tr></tbody>
|
</tr></tbody>
|
||||||
@ -1414,7 +1414,7 @@ buffer, it it isn’t there already.</p>
|
|||||||
<a name="gtk-text-view-get-visible-rect"></a><h3>gtk_text_view_get_visible_rect ()</h3>
|
<a name="gtk-text-view-get-visible-rect"></a><h3>gtk_text_view_get_visible_rect ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_text_view_get_visible_rect (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
gtk_text_view_get_visible_rect (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *visible_rect</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *visible_rect</code></em>);</pre>
|
||||||
<p>Fills <em class="parameter"><code>visible_rect</code></em>
|
<p>Fills <em class="parameter"><code>visible_rect</code></em>
|
||||||
with the currently-visible
|
with the currently-visible
|
||||||
region of the buffer, in buffer coordinates. Convert to window coordinates
|
region of the buffer, in buffer coordinates. Convert to window coordinates
|
||||||
@ -1448,7 +1448,7 @@ with <a class="link" href="GtkTextView.html#gtk-text-view-buffer-to-window-coord
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_text_view_get_iter_location (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
gtk_text_view_get_iter_location (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||||
<em class="parameter"><code>const <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
<em class="parameter"><code>const <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *location</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *location</code></em>);</pre>
|
||||||
<p>Gets a rectangle which roughly contains the character at <em class="parameter"><code>iter</code></em>
|
<p>Gets a rectangle which roughly contains the character at <em class="parameter"><code>iter</code></em>
|
||||||
.
|
.
|
||||||
The rectangle position is in buffer coordinates; use
|
The rectangle position is in buffer coordinates; use
|
||||||
@ -1489,8 +1489,8 @@ coordinates to coordinates for one of the windows in the text view.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_text_view_get_cursor_locations (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
gtk_text_view_get_cursor_locations (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||||
<em class="parameter"><code>const <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
<em class="parameter"><code>const <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *strong</code></em>,
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *strong</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *weak</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *weak</code></em>);</pre>
|
||||||
<p>Given an <em class="parameter"><code>iter</code></em>
|
<p>Given an <em class="parameter"><code>iter</code></em>
|
||||||
within a text layout, determine the positions of the
|
within a text layout, determine the positions of the
|
||||||
strong and weak cursors if the insertion point is at that
|
strong and weak cursors if the insertion point is at that
|
||||||
@ -1883,10 +1883,10 @@ coordinates, storing the result in (<em class="parameter"><code>buffer_x</code><
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-text-view-get-window"></a><h3>gtk_text_view_get_window ()</h3>
|
<a name="gtk-text-view-get-window"></a><h3>gtk_text_view_get_window ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
||||||
gtk_text_view_get_window (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
gtk_text_view_get_window (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkTextView.html#GtkTextWindowType" title="enum GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> win</code></em>);</pre>
|
<em class="parameter"><code><a class="link" href="GtkTextView.html#GtkTextWindowType" title="enum GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> win</code></em>);</pre>
|
||||||
<p>Retrieves the <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> corresponding to an area of the text view;
|
<p>Retrieves the <span class="type">GdkWindow</span> corresponding to an area of the text view;
|
||||||
possible windows include the overall widget window, child windows
|
possible windows include the overall widget window, child windows
|
||||||
on the left, right, top, bottom, and the window that displays the
|
on the left, right, top, bottom, and the window that displays the
|
||||||
text buffer. Windows are <code class="literal">NULL</code> and nonexistent if their width or
|
text buffer. Windows are <code class="literal">NULL</code> and nonexistent if their width or
|
||||||
@ -1916,7 +1916,7 @@ realized.</p>
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-text-view-get-window.returns"></a><h4>Returns</h4>
|
<a name="gtk-text-view-get-window.returns"></a><h4>Returns</h4>
|
||||||
<p>a <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a>, or <code class="literal">NULL</code>. </p>
|
<p>a <span class="type">GdkWindow</span>, 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="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></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="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1925,7 +1925,7 @@ realized.</p>
|
|||||||
<a name="gtk-text-view-get-window-type"></a><h3>gtk_text_view_get_window_type ()</h3>
|
<a name="gtk-text-view-get-window-type"></a><h3>gtk_text_view_get_window_type ()</h3>
|
||||||
<pre class="programlisting"><a class="link" href="GtkTextView.html#GtkTextWindowType" title="enum GtkTextWindowType"><span class="returnvalue">GtkTextWindowType</span></a>
|
<pre class="programlisting"><a class="link" href="GtkTextView.html#GtkTextWindowType" title="enum GtkTextWindowType"><span class="returnvalue">GtkTextWindowType</span></a>
|
||||||
gtk_text_view_get_window_type (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
gtk_text_view_get_window_type (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>);</pre>
|
||||||
<p>Usually used to find out which window an event corresponds to.</p>
|
<p>Usually used to find out which window an event corresponds to.</p>
|
||||||
<p>If you connect to an event signal on <em class="parameter"><code>text_view</code></em>
|
<p>If you connect to an event signal on <em class="parameter"><code>text_view</code></em>
|
||||||
, this function
|
, this function
|
||||||
@ -3492,7 +3492,7 @@ and should be freed with <a class="link" href="GtkTextTag.html#gtk-text-attribut
|
|||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_text_view_im_context_filter_keypress
|
gtk_text_view_im_context_filter_keypress
|
||||||
(<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkEventKey</span> *event</code></em>);</pre>
|
||||||
<p>Allow the <a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> input method to internally handle key press
|
<p>Allow the <a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> input method to internally handle key press
|
||||||
and release events. If this function returns <code class="literal">TRUE</code>, then no further
|
and release events. If this function returns <code class="literal">TRUE</code>, then no further
|
||||||
processing should be done for this key event. See
|
processing should be done for this key event. See
|
||||||
@ -4357,7 +4357,7 @@ to the padding from the theme.</p>
|
|||||||
<a name="GtkTextView.style-property-details"></a><h2>Style Property Details</h2>
|
<a name="GtkTextView.style-property-details"></a><h2>Style Property Details</h2>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkTextView--s-error-underline-color"></a><h3>The <code class="literal">“error-underline-color”</code> style property</h3>
|
<a name="GtkTextView--s-error-underline-color"></a><h3>The <code class="literal">“error-underline-color”</code> style property</h3>
|
||||||
<pre class="programlisting"> “error-underline-color” <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre>
|
<pre class="programlisting"> “error-underline-color” <span class="type">GdkColor</span> *</pre>
|
||||||
<p>Color with which to draw error-indication underlines.</p>
|
<p>Color with which to draw error-indication underlines.</p>
|
||||||
<p>Owner: GtkTextView</p>
|
<p>Owner: GtkTextView</p>
|
||||||
<p>Flags: Read</p>
|
<p>Flags: Read</p>
|
||||||
@ -4590,8 +4590,8 @@ extended at <em class="parameter"><code>location</code></em>
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="GtkTextView-extend-selection.returns"></a><h4>Returns</h4>
|
<a name="GtkTextView-extend-selection.returns"></a><h4>Returns</h4>
|
||||||
<p> <a href="../html/gdk3-Events.html#GDK-EVENT-STOP:CAPS"><code class="literal">GDK_EVENT_STOP</code></a> to stop other handlers from being invoked for the
|
<p> <code class="literal">GDK_EVENT_STOP</code> to stop other handlers from being invoked for the
|
||||||
event. <a href="../html/gdk3-Events.html#GDK-EVENT-PROPAGATE:CAPS"><code class="literal">GDK_EVENT_PROPAGATE</code></a> to propagate the event further.</p>
|
event. <code class="literal">GDK_EVENT_PROPAGATE</code> to propagate the event further.</p>
|
||||||
</div>
|
</div>
|
||||||
<p>Flags: Run Last</p>
|
<p>Flags: Run Last</p>
|
||||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||||
|
@ -82,7 +82,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
|
<span class="returnvalue">GdkScreen</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkThemingEngine.html#gtk-theming-engine-get-screen" title="gtk_theming_engine_get_screen ()">gtk_theming_engine_get_screen</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkThemingEngine.html#gtk-theming-engine-get-screen" title="gtk_theming_engine_get_screen ()">gtk_theming_engine_get_screen</a> <span class="c_punctuation">()</span>
|
||||||
@ -471,10 +471,10 @@ done with it. </p></td>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-theming-engine-get-screen"></a><h3>gtk_theming_engine_get_screen ()</h3>
|
<a name="gtk-theming-engine-get-screen"></a><h3>gtk_theming_engine_get_screen ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkScreen</span> *
|
||||||
gtk_theming_engine_get_screen (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>);</pre>
|
gtk_theming_engine_get_screen (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>);</pre>
|
||||||
<div class="warning"><p><code class="literal">gtk_theming_engine_get_screen</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
<div class="warning"><p><code class="literal">gtk_theming_engine_get_screen</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||||
<p>Returns the <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> to which <em class="parameter"><code>engine</code></em>
|
<p>Returns the <span class="type">GdkScreen</span> to which <em class="parameter"><code>engine</code></em>
|
||||||
currently rendering to.</p>
|
currently rendering to.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-theming-engine-get-screen.parameters"></a><h4>Parameters</h4>
|
<a name="gtk-theming-engine-get-screen.parameters"></a><h4>Parameters</h4>
|
||||||
@ -493,7 +493,7 @@ gtk_theming_engine_get_screen (<em class="parameter"><code><a class="link" href=
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-theming-engine-get-screen.returns"></a><h4>Returns</h4>
|
<a name="gtk-theming-engine-get-screen.returns"></a><h4>Returns</h4>
|
||||||
<p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>, or <code class="literal">NULL</code>. </p>
|
<p>a <span class="type">GdkScreen</span>, 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="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></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="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -677,7 +677,7 @@ rendered element.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_theming_engine_get_color (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
gtk_theming_engine_get_color (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
||||||
<div class="warning"><p><code class="literal">gtk_theming_engine_get_color</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
<div class="warning"><p><code class="literal">gtk_theming_engine_get_color</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||||
<p>Gets the foreground color for a given state.</p>
|
<p>Gets the foreground color for a given state.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -716,7 +716,7 @@ gtk_theming_engine_get_color (<em class="parameter"><code><a class="link" href="
|
|||||||
gtk_theming_engine_get_background_color
|
gtk_theming_engine_get_background_color
|
||||||
(<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
||||||
<div class="warning"><p><code class="literal">gtk_theming_engine_get_background_color</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
<div class="warning"><p><code class="literal">gtk_theming_engine_get_background_color</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||||
<p>Gets the background color for a given state.</p>
|
<p>Gets the background color for a given state.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -754,7 +754,7 @@ gtk_theming_engine_get_background_color
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_theming_engine_get_border_color (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
gtk_theming_engine_get_border_color (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
||||||
<div class="warning"><p><code class="literal">gtk_theming_engine_get_border_color</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
<div class="warning"><p><code class="literal">gtk_theming_engine_get_border_color</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||||
<p>Gets the border color for a given state.</p>
|
<p>Gets the border color for a given state.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
@ -1032,7 +1032,7 @@ to the flags affecting the region.</p>
|
|||||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||||
gtk_theming_engine_lookup_color (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
gtk_theming_engine_lookup_color (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
||||||
<em class="parameter"><code>const <span class="type">gchar</span> *color_name</code></em>,
|
<em class="parameter"><code>const <span class="type">gchar</span> *color_name</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
||||||
<div class="warning"><p><code class="literal">gtk_theming_engine_lookup_color</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
<div class="warning"><p><code class="literal">gtk_theming_engine_lookup_color</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||||
<p>Looks up and resolves a color name in the current style’s color map.</p>
|
<p>Looks up and resolves a color name in the current style’s color map.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
|
@ -857,7 +857,7 @@ gtk_tool_palette_add_drag_dest (<em class="parameter"><code><a class="link" href
|
|||||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="gtk3-Drag-and-Drop.html#GtkDestDefaults" title="enum GtkDestDefaults"><span class="type">GtkDestDefaults</span></a> flags</code></em>,
|
<em class="parameter"><code><a class="link" href="gtk3-Drag-and-Drop.html#GtkDestDefaults" title="enum GtkDestDefaults"><span class="type">GtkDestDefaults</span></a> flags</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkToolPalette.html#GtkToolPaletteDragTargets" title="enum GtkToolPaletteDragTargets"><span class="type">GtkToolPaletteDragTargets</span></a> targets</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkToolPalette.html#GtkToolPaletteDragTargets" title="enum GtkToolPaletteDragTargets"><span class="type">GtkToolPaletteDragTargets</span></a> targets</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>);</pre>
|
||||||
<p>Sets <em class="parameter"><code>palette</code></em>
|
<p>Sets <em class="parameter"><code>palette</code></em>
|
||||||
as drag source (see <a class="link" href="GtkToolPalette.html#gtk-tool-palette-set-drag-source" title="gtk_tool_palette_set_drag_source ()"><code class="function">gtk_tool_palette_set_drag_source()</code></a>)
|
as drag source (see <a class="link" href="GtkToolPalette.html#gtk-tool-palette-set-drag-source" title="gtk_tool_palette_set_drag_source ()"><code class="function">gtk_tool_palette_set_drag_source()</code></a>)
|
||||||
and sets <em class="parameter"><code>widget</code></em>
|
and sets <em class="parameter"><code>widget</code></em>
|
||||||
@ -898,7 +898,7 @@ should support</p></td>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>actions</p></td>
|
<td class="parameter_name"><p>actions</p></td>
|
||||||
<td class="parameter_description"><p>the <a href="../html/gdk3-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragActions</span></a> which the widget should suppport</p></td>
|
<td class="parameter_description"><p>the <span class="type">GdkDragActions</span> which the widget should suppport</p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -451,7 +451,7 @@ and <a class="link" href="GtkTooltip.html#gtk-tooltip-set-icon" title="gtk_toolt
|
|||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-tooltip-trigger-tooltip-query"></a><h3>gtk_tooltip_trigger_tooltip_query ()</h3>
|
<a name="gtk-tooltip-trigger-tooltip-query"></a><h3>gtk_tooltip_trigger_tooltip_query ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_tooltip_trigger_tooltip_query (<em class="parameter"><code><a href="../html/GdkDisplay.html#GdkDisplay-struct"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
gtk_tooltip_trigger_tooltip_query (<em class="parameter"><code><span class="type">GdkDisplay</span> *display</code></em>);</pre>
|
||||||
<p>Triggers a new tooltip query on <em class="parameter"><code>display</code></em>
|
<p>Triggers a new tooltip query on <em class="parameter"><code>display</code></em>
|
||||||
, in order to update the current
|
, in order to update the current
|
||||||
visible tooltip, or to show/hide the current tooltip. This function is
|
visible tooltip, or to show/hide the current tooltip. This function is
|
||||||
@ -467,7 +467,7 @@ key press.</p>
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="parameter_name"><p>display</p></td>
|
<td class="parameter_name"><p>display</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/GdkDisplay.html#GdkDisplay-struct"><span class="type">GdkDisplay</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkDisplay</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr></tbody>
|
</tr></tbody>
|
||||||
</table></div>
|
</table></div>
|
||||||
@ -479,7 +479,7 @@ key press.</p>
|
|||||||
<a name="gtk-tooltip-set-tip-area"></a><h3>gtk_tooltip_set_tip_area ()</h3>
|
<a name="gtk-tooltip-set-tip-area"></a><h3>gtk_tooltip_set_tip_area ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_tooltip_set_tip_area (<em class="parameter"><code><a class="link" href="GtkTooltip.html" title="GtkTooltip"><span class="type">GtkTooltip</span></a> *tooltip</code></em>,
|
gtk_tooltip_set_tip_area (<em class="parameter"><code><a class="link" href="GtkTooltip.html" title="GtkTooltip"><span class="type">GtkTooltip</span></a> *tooltip</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);</pre>
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *rect</code></em>);</pre>
|
||||||
<p>Sets the area of the widget, where the contents of this tooltip apply,
|
<p>Sets the area of the widget, where the contents of this tooltip apply,
|
||||||
to be <em class="parameter"><code>rect</code></em>
|
to be <em class="parameter"><code>rect</code></em>
|
||||||
(in widget coordinates). This is especially useful for
|
(in widget coordinates). This is especially useful for
|
||||||
@ -504,7 +504,7 @@ functions for this: <a class="link" href="GtkTreeView.html#gtk-tree-view-set-too
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>rect</p></td>
|
<td class="parameter_name"><p>rect</p></td>
|
||||||
<td class="parameter_description"><p>a <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a></p></td>
|
<td class="parameter_description"><p>a <span class="type">GdkRectangle</span></p></td>
|
||||||
<td class="parameter_annotations"> </td>
|
<td class="parameter_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -510,7 +510,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
<a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<span class="returnvalue">GdkWindow</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-bin-window" title="gtk_tree_view_get_bin_window ()">gtk_tree_view_get_bin_window</a> <span class="c_punctuation">()</span>
|
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-bin-window" title="gtk_tree_view_get_bin_window ()">gtk_tree_view_get_bin_window</a> <span class="c_punctuation">()</span>
|
||||||
@ -1023,7 +1023,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td>
|
<span class="type">GdkColor</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--s-even-row-color" title="The “even-row-color” style property">even-row-color</a></td>
|
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--s-even-row-color" title="The “even-row-color” style property">even-row-color</a></td>
|
||||||
<td class="property_flags">Read</td>
|
<td class="property_flags">Read</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -1055,7 +1055,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_type">
|
<td class="property_type">
|
||||||
<a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td>
|
<span class="type">GdkColor</span> *</td>
|
||||||
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--s-odd-row-color" title="The “odd-row-color” style property">odd-row-color</a></td>
|
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--s-odd-row-color" title="The “odd-row-color” style property">odd-row-color</a></td>
|
||||||
<td class="property_flags">Read</td>
|
<td class="property_flags">Read</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -3515,7 +3515,7 @@ cell can be placed, or <code class="literal">NULL</code>. </p></td>
|
|||||||
gtk_tree_view_get_cell_area (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
gtk_tree_view_get_cell_area (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *rect</code></em>);</pre>
|
||||||
<p>Fills the bounding rectangle in bin_window coordinates for the cell at the
|
<p>Fills the bounding rectangle in bin_window coordinates for the cell at the
|
||||||
row specified by <em class="parameter"><code>path</code></em>
|
row specified by <em class="parameter"><code>path</code></em>
|
||||||
and the column specified by <em class="parameter"><code>column</code></em>
|
and the column specified by <em class="parameter"><code>column</code></em>
|
||||||
@ -3575,7 +3575,7 @@ realized.</p>
|
|||||||
gtk_tree_view_get_background_area (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
gtk_tree_view_get_background_area (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
|
||||||
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>,
|
<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *rect</code></em>);</pre>
|
||||||
<p>Fills the bounding rectangle in bin_window coordinates for the cell at the
|
<p>Fills the bounding rectangle in bin_window coordinates for the cell at the
|
||||||
row specified by <em class="parameter"><code>path</code></em>
|
row specified by <em class="parameter"><code>path</code></em>
|
||||||
and the column specified by <em class="parameter"><code>column</code></em>
|
and the column specified by <em class="parameter"><code>column</code></em>
|
||||||
@ -3633,7 +3633,7 @@ itself, excluding surrounding borders and the tree expander area.</p>
|
|||||||
<a name="gtk-tree-view-get-visible-rect"></a><h3>gtk_tree_view_get_visible_rect ()</h3>
|
<a name="gtk-tree-view-get-visible-rect"></a><h3>gtk_tree_view_get_visible_rect ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_tree_view_get_visible_rect (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
gtk_tree_view_get_visible_rect (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *visible_rect</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkRectangle</span> *visible_rect</code></em>);</pre>
|
||||||
<p>Fills <em class="parameter"><code>visible_rect</code></em>
|
<p>Fills <em class="parameter"><code>visible_rect</code></em>
|
||||||
with the currently-visible region of the
|
with the currently-visible region of the
|
||||||
buffer, in tree coordinates. Convert to bin_window coordinates with
|
buffer, in tree coordinates. Convert to bin_window coordinates with
|
||||||
@ -3714,7 +3714,7 @@ and <em class="parameter"><code>end_path</code></em>
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="gtk-tree-view-get-bin-window"></a><h3>gtk_tree_view_get_bin_window ()</h3>
|
<a name="gtk-tree-view-get-bin-window"></a><h3>gtk_tree_view_get_bin_window ()</h3>
|
||||||
<pre class="programlisting"><a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
||||||
gtk_tree_view_get_bin_window (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
|
gtk_tree_view_get_bin_window (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
|
||||||
<p>Returns the window that <em class="parameter"><code>tree_view</code></em>
|
<p>Returns the window that <em class="parameter"><code>tree_view</code></em>
|
||||||
renders to.
|
renders to.
|
||||||
@ -3738,7 +3738,7 @@ to confirm that the event on <em class="parameter"><code>tree_view</code></em>
|
|||||||
</div>
|
</div>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="gtk-tree-view-get-bin-window.returns"></a><h4>Returns</h4>
|
<a name="gtk-tree-view-get-bin-window.returns"></a><h4>Returns</h4>
|
||||||
<p>A <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a>, or <code class="literal">NULL</code> when <em class="parameter"><code>tree_view</code></em>
|
<p>A <span class="type">GdkWindow</span>, or <code class="literal">NULL</code> when <em class="parameter"><code>tree_view</code></em>
|
||||||
hasn’t been realized yet. </p>
|
hasn’t been realized yet. </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="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></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="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||||
</div>
|
</div>
|
||||||
@ -4056,7 +4056,7 @@ tree (the full scrollable area of the tree).</p>
|
|||||||
gtk_tree_view_enable_model_drag_dest (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
gtk_tree_view_enable_model_drag_dest (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
||||||
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>);</pre>
|
||||||
<p>Turns <em class="parameter"><code>tree_view</code></em>
|
<p>Turns <em class="parameter"><code>tree_view</code></em>
|
||||||
into a drop destination for automatic DND. Calling
|
into a drop destination for automatic DND. Calling
|
||||||
this method sets <a class="link" href="GtkTreeView.html#GtkTreeView--reorderable" title="The “reorderable” property"><span class="type">“reorderable”</span></a> to <code class="literal">FALSE</code>.</p>
|
this method sets <a class="link" href="GtkTreeView.html#GtkTreeView--reorderable" title="The “reorderable” property"><span class="type">“reorderable”</span></a> to <code class="literal">FALSE</code>.</p>
|
||||||
@ -4102,10 +4102,10 @@ widget</p></td>
|
|||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_tree_view_enable_model_drag_source
|
gtk_tree_view_enable_model_drag_source
|
||||||
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> start_button_mask</code></em>,
|
<em class="parameter"><code><span class="type">GdkModifierType</span> start_button_mask</code></em>,
|
||||||
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
|
||||||
<em class="parameter"><code><a href="../html/gdk3-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
|
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>);</pre>
|
||||||
<p>Turns <em class="parameter"><code>tree_view</code></em>
|
<p>Turns <em class="parameter"><code>tree_view</code></em>
|
||||||
into a drag source for automatic DND. Calling this
|
into a drag source for automatic DND. Calling this
|
||||||
method sets <a class="link" href="GtkTreeView.html#GtkTreeView--reorderable" title="The “reorderable” property"><span class="type">“reorderable”</span></a> to <code class="literal">FALSE</code>.</p>
|
method sets <a class="link" href="GtkTreeView.html#GtkTreeView--reorderable" title="The “reorderable” property"><span class="type">“reorderable”</span></a> to <code class="literal">FALSE</code>.</p>
|
||||||
@ -5895,7 +5895,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkTreeView--s-even-row-color"></a><h3>The <code class="literal">“even-row-color”</code> style property</h3>
|
<a name="GtkTreeView--s-even-row-color"></a><h3>The <code class="literal">“even-row-color”</code> style property</h3>
|
||||||
<pre class="programlisting"> “even-row-color” <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre>
|
<pre class="programlisting"> “even-row-color” <span class="type">GdkColor</span> *</pre>
|
||||||
<p>Color to use for even rows.</p>
|
<p>Color to use for even rows.</p>
|
||||||
<p>Owner: GtkTreeView</p>
|
<p>Owner: GtkTreeView</p>
|
||||||
<p>Flags: Read</p>
|
<p>Flags: Read</p>
|
||||||
@ -5951,7 +5951,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GtkTreeView--s-odd-row-color"></a><h3>The <code class="literal">“odd-row-color”</code> style property</h3>
|
<a name="GtkTreeView--s-odd-row-color"></a><h3>The <code class="literal">“odd-row-color”</code> style property</h3>
|
||||||
<pre class="programlisting"> “odd-row-color” <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre>
|
<pre class="programlisting"> “odd-row-color” <span class="type">GdkColor</span> *</pre>
|
||||||
<p>Color to use for odd rows.</p>
|
<p>Color to use for odd rows.</p>
|
||||||
<p>Owner: GtkTreeView</p>
|
<p>Owner: GtkTreeView</p>
|
||||||
<p>Flags: Read</p>
|
<p>Flags: Read</p>
|
||||||
|
@ -2247,7 +2247,7 @@ renderer. This is used primarily by the <a class="link" href="GtkTreeView.html"
|
|||||||
<a name="gtk-tree-view-column-cell-get-size"></a><h3>gtk_tree_view_column_cell_get_size ()</h3>
|
<a name="gtk-tree-view-column-cell-get-size"></a><h3>gtk_tree_view_column_cell_get_size ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||||
gtk_tree_view_column_cell_get_size (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>,
|
gtk_tree_view_column_cell_get_size (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>,
|
||||||
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> *x_offset</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> *x_offset</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> *y_offset</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> *y_offset</code></em>,
|
||||||
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user