Merge lp:~codygarver/write/packaging into lp:write

Proposed by Cody Garver
Status: Needs review
Proposed branch: lp:~codygarver/write/packaging
Merge into: lp:write
Diff against target: 6598 lines (+6473/-0)
23 files modified
CMakeLists.txt (+58/-0)
cmake/FindVala.cmake (+65/-0)
cmake/GSettings.cmake (+42/-0)
cmake/Makefile (+286/-0)
cmake/ParseArguments.cmake (+36/-0)
cmake/README (+10/-0)
cmake/README.Vala.rst (+173/-0)
cmake/Tests.cmake (+5/-0)
cmake/Translations.cmake (+41/-0)
cmake/ValaPrecompile.cmake (+187/-0)
cmake/ValaVersion.cmake (+96/-0)
data/Write (+17/-0)
data/Write.desktop (+17/-0)
debian/changelog (+5/-0)
debian/compat (+1/-0)
debian/control (+25/-0)
debian/copyright (+39/-0)
debian/rules (+16/-0)
src/Config.vala.cmake (+17/-0)
src/Widgets/TextEditor.vala (+74/-0)
src/Write.vala (+438/-0)
src/vapi/webkitgtk-3.0.deps (+8/-0)
src/vapi/webkitgtk-3.0.vapi (+4817/-0)
To merge this branch: bzr merge lp:~codygarver/write/packaging
Reviewer Review Type Date Requested Status
Write Developers Pending
Review via email: mp+105808@code.launchpad.net

Description of the change

Debian packaging files.

To post a comment you must log in.
lp:~codygarver/write/packaging updated
11. By Cody Garver

Valac fix.

12. By Cody Garver

Beautify with wrap-and-sort.

Unmerged revisions

12. By Cody Garver

Beautify with wrap-and-sort.

11. By Cody Garver

Valac fix.

10. By Cody Garver

Initial packaging.

9. By Gaurav Pareek

some weird commit message

8. By Gaurav Pareek

added local vapis

7. By Gaurav Pareek

Added basic printing support, doesn't work very well

6. By Gaurav Pareek

Added font selection button :P

5. By Gaurav Pareek

Put webview in different class

4. By Gaurav Pareek

Put webview in different class

3. By Gaurav Pareek

initial commit 3

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'CMakeLists.txt'
2--- CMakeLists.txt 1970-01-01 00:00:00 +0000
3+++ CMakeLists.txt 2012-07-10 06:05:20 +0000
4@@ -0,0 +1,58 @@
5+project (Write)
6+cmake_minimum_required (VERSION 2.6)
7+
8+cmake_policy (VERSION 2.8)
9+
10+list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
11+
12+enable_testing ()
13+set (DATADIR "${CMAKE_INSTALL_PREFIX}/share")
14+
15+set (PKGDATADIR "${DATADIR}/Write")
16+
17+set (GETTEXT_PACKAGE "Write")
18+
19+set (RELEASE_NAME "Write")
20+
21+set (VERSION "0.1")
22+
23+set (VERSION_INFO "Release")
24+
25+set (CMAKE_C_FLAGS "-ggdb")
26+
27+set (PREFIX ${CMAKE_INSTALL_PREFIX})
28+configure_file (${CMAKE_SOURCE_DIR}/src/Config.vala.cmake ${CMAKE_BINARY_DIR}/src/Config.vala)
29+
30+
31+find_package(PkgConfig)
32+
33+pkg_check_modules(DEPS REQUIRED gtk+-3.0 granite webkitgtk-3.0)
34+
35+add_definitions(${DEPS_CFLAGS})
36+
37+link_libraries(${DEPS_LIBRARIES})
38+
39+link_directories(${DEPS_LIBRARY_DIRS})
40+
41+
42+find_package(Vala REQUIRED)
43+
44+include(ValaVersion)
45+
46+ensure_vala_version("0.14.0" MINIMUM)
47+
48+include(ValaPrecompile)
49+vala_precompile(VALA_C
50+ src/Write.vala
51+ src/Widgets/TextEditor.vala
52+PACKAGES
53+ gtk+-3.0 granite webkitgtk-3.0 glib-2.0 clutter-gtk-1.0 pango
54+OPTIONS
55+ --vapidir=${CMAKE_SOURCE_DIR}/src/vapi
56+)
57+
58+add_executable(write ${VALA_C})
59+
60+install(TARGETS write RUNTIME DESTINATION bin)
61+
62+install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/Write.desktop DESTINATION share/applications)
63
64=== added directory 'cmake'
65=== added file 'cmake/FindVala.cmake'
66--- cmake/FindVala.cmake 1970-01-01 00:00:00 +0000
67+++ cmake/FindVala.cmake 2012-07-10 06:05:20 +0000
68@@ -0,0 +1,65 @@
69+##
70+# Copyright 2009-2010 Jakob Westhoff. All rights reserved.
71+#
72+# Redistribution and use in source and binary forms, with or without
73+# modification, are permitted provided that the following conditions are met:
74+#
75+# 1. Redistributions of source code must retain the above copyright notice,
76+# this list of conditions and the following disclaimer.
77+#
78+# 2. Redistributions in binary form must reproduce the above copyright notice,
79+# this list of conditions and the following disclaimer in the documentation
80+# and/or other materials provided with the distribution.
81+#
82+# THIS SOFTWARE IS PROVIDED BY JAKOB WESTHOFF ``AS IS'' AND ANY EXPRESS OR
83+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
84+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
85+# EVENT SHALL JAKOB WESTHOFF OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
86+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
87+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
88+# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
89+# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
90+# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
91+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
92+#
93+# The views and conclusions contained in the software and documentation are those
94+# of the authors and should not be interpreted as representing official policies,
95+# either expressed or implied, of Jakob Westhoff
96+##
97+
98+##
99+# Find module for the Vala compiler (valac)
100+#
101+# This module determines wheter a Vala compiler is installed on the current
102+# system and where its executable is.
103+#
104+# Call the module using "find_package(Vala) from within your CMakeLists.txt.
105+#
106+# The following variables will be set after an invocation:
107+#
108+# VALA_FOUND Whether the vala compiler has been found or not
109+# VALA_EXECUTABLE Full path to the valac executable if it has been found
110+# VALA_VERSION Version number of the available valac
111+##
112+
113+
114+# Search for the valac executable in the usual system paths.
115+find_program(VALA_EXECUTABLE
116+ NAMES valac)
117+
118+# Handle the QUIETLY and REQUIRED arguments, which may be given to the find call.
119+# Furthermore set VALA_FOUND to TRUE if Vala has been found (aka.
120+# VALA_EXECUTABLE is set)
121+
122+include(FindPackageHandleStandardArgs)
123+find_package_handle_standard_args(Vala DEFAULT_MSG VALA_EXECUTABLE)
124+
125+mark_as_advanced(VALA_EXECUTABLE)
126+
127+# Determine the valac version
128+if(VALA_FOUND)
129+ execute_process(COMMAND ${VALA_EXECUTABLE} "--version"
130+ OUTPUT_VARIABLE "VALA_VERSION")
131+ string(REPLACE "Vala" "" "VALA_VERSION" ${VALA_VERSION})
132+ string(STRIP ${VALA_VERSION} "VALA_VERSION")
133+endif(VALA_FOUND)
134
135=== added file 'cmake/GSettings.cmake'
136--- cmake/GSettings.cmake 1970-01-01 00:00:00 +0000
137+++ cmake/GSettings.cmake 2012-07-10 06:05:20 +0000
138@@ -0,0 +1,42 @@
139+# GSettings.cmake, CMake macros written for Marlin, feel free to re-use them.
140+
141+option (GSETTINGS_LOCALINSTALL "Install GSettings Schemas locally instead of to the GLib prefix" ON)
142+
143+option (GSETTINGS_COMPILE "Compile GSettings Schemas after installation" ${GSETTINGS_LOCALINSTALL})
144+
145+if(GSETTINGS_LOCALINSTALL)
146+ message(STATUS "GSettings schemas will be installed locally.")
147+endif()
148+
149+if(GSETTINGS_COMPILE)
150+ message(STATUS "GSettings shemas will be compiled.")
151+endif()
152+
153+macro(add_schema SCHEMA_NAME)
154+
155+ set(PKG_CONFIG_EXECUTABLE pkg-config)
156+ # Have an option to not install the schema into where GLib is
157+ if (GSETTINGS_LOCALINSTALL)
158+ SET (GSETTINGS_DIR "${CMAKE_INSTALL_PREFIX}/share/glib-2.0/schemas/")
159+ else (GSETTINGS_LOCALINSTALL)
160+ execute_process (COMMAND ${PKG_CONFIG_EXECUTABLE} glib-2.0 --variable prefix OUTPUT_VARIABLE _glib_prefix OUTPUT_STRIP_TRAILING_WHITESPACE)
161+ SET (GSETTINGS_DIR "${_glib_prefix}/share/glib-2.0/schemas/")
162+ endif (GSETTINGS_LOCALINSTALL)
163+
164+ # Run the validator and error if it fails
165+ execute_process (COMMAND ${PKG_CONFIG_EXECUTABLE} gio-2.0 --variable glib_compile_schemas OUTPUT_VARIABLE _glib_comple_schemas OUTPUT_STRIP_TRAILING_WHITESPACE)
166+ execute_process (COMMAND ${_glib_comple_schemas} --dry-run --schema-file=${CMAKE_CURRENT_SOURCE_DIR}/${SCHEMA_NAME} ERROR_VARIABLE _schemas_invalid OUTPUT_STRIP_TRAILING_WHITESPACE)
167+
168+ if (_schemas_invalid)
169+ message (SEND_ERROR "Schema validation error: ${_schemas_invalid}")
170+ endif (_schemas_invalid)
171+
172+ # Actually install and recomple schemas
173+ message (STATUS "GSettings schemas will be installed into ${GSETTINGS_DIR}")
174+ install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/${SCHEMA_NAME} DESTINATION ${GSETTINGS_DIR} OPTIONAL)
175+
176+ if (GSETTINGS_COMPILE)
177+ install (CODE "message (STATUS \"Compiling GSettings schemas\")")
178+ install (CODE "execute_process (COMMAND ${_glib_comple_schemas} ${GSETTINGS_DIR})")
179+ endif ()
180+endmacro()
181
182=== added file 'cmake/Makefile'
183--- cmake/Makefile 1970-01-01 00:00:00 +0000
184+++ cmake/Makefile 2012-07-10 06:05:20 +0000
185@@ -0,0 +1,286 @@
186+# CMAKE generated file: DO NOT EDIT!
187+# Generated by "Unix Makefiles" Generator, CMake Version 2.8
188+
189+# Default target executed when no arguments are given to make.
190+default_target: all
191+.PHONY : default_target
192+
193+#=============================================================================
194+# Special targets provided by cmake.
195+
196+# Disable implicit rules so canoncical targets will work.
197+.SUFFIXES:
198+
199+# Remove some rules from gmake that .SUFFIXES does not remove.
200+SUFFIXES =
201+
202+.SUFFIXES: .hpux_make_needs_suffix_list
203+
204+# Suppress display of executed commands.
205+$(VERBOSE).SILENT:
206+
207+# A target that is always out of date.
208+cmake_force:
209+.PHONY : cmake_force
210+
211+#=============================================================================
212+# Set environment variables for the build.
213+
214+# The shell in which to execute make rules.
215+SHELL = /bin/sh
216+
217+# The CMake executable.
218+CMAKE_COMMAND = /usr/bin/cmake
219+
220+# The command to remove a file.
221+RM = /usr/bin/cmake -E remove -f
222+
223+# The top-level source directory on which CMake was run.
224+CMAKE_SOURCE_DIR = /home/mefrio/Scrivania/cmake
225+
226+# The top-level build directory on which CMake was run.
227+CMAKE_BINARY_DIR = /home/mefrio/Scrivania/cmake/cmake
228+
229+#=============================================================================
230+# Targets provided globally by CMake.
231+
232+# Special rule for the target edit_cache
233+edit_cache:
234+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
235+ /usr/bin/cmake -i .
236+.PHONY : edit_cache
237+
238+# Special rule for the target edit_cache
239+edit_cache/fast: edit_cache
240+.PHONY : edit_cache/fast
241+
242+# Special rule for the target install
243+install: preinstall
244+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
245+ /usr/bin/cmake -P cmake_install.cmake
246+.PHONY : install
247+
248+# Special rule for the target install
249+install/fast: preinstall/fast
250+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
251+ /usr/bin/cmake -P cmake_install.cmake
252+.PHONY : install/fast
253+
254+# Special rule for the target install/local
255+install/local: preinstall
256+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
257+ /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
258+.PHONY : install/local
259+
260+# Special rule for the target install/local
261+install/local/fast: install/local
262+.PHONY : install/local/fast
263+
264+# Special rule for the target install/strip
265+install/strip: preinstall
266+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
267+ /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
268+.PHONY : install/strip
269+
270+# Special rule for the target install/strip
271+install/strip/fast: install/strip
272+.PHONY : install/strip/fast
273+
274+# Special rule for the target list_install_components
275+list_install_components:
276+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
277+.PHONY : list_install_components
278+
279+# Special rule for the target list_install_components
280+list_install_components/fast: list_install_components
281+.PHONY : list_install_components/fast
282+
283+# Special rule for the target rebuild_cache
284+rebuild_cache:
285+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
286+ /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
287+.PHONY : rebuild_cache
288+
289+# Special rule for the target rebuild_cache
290+rebuild_cache/fast: rebuild_cache
291+.PHONY : rebuild_cache/fast
292+
293+# The main all target
294+all: cmake_check_build_system
295+ $(CMAKE_COMMAND) -E cmake_progress_start /home/mefrio/Scrivania/cmake/cmake/CMakeFiles /home/mefrio/Scrivania/cmake/cmake/CMakeFiles/progress.marks
296+ $(MAKE) -f CMakeFiles/Makefile2 all
297+ $(CMAKE_COMMAND) -E cmake_progress_start /home/mefrio/Scrivania/cmake/cmake/CMakeFiles 0
298+.PHONY : all
299+
300+# The main clean target
301+clean:
302+ $(MAKE) -f CMakeFiles/Makefile2 clean
303+.PHONY : clean
304+
305+# The main clean target
306+clean/fast: clean
307+.PHONY : clean/fast
308+
309+# Prepare targets for installation.
310+preinstall: all
311+ $(MAKE) -f CMakeFiles/Makefile2 preinstall
312+.PHONY : preinstall
313+
314+# Prepare targets for installation.
315+preinstall/fast:
316+ $(MAKE) -f CMakeFiles/Makefile2 preinstall
317+.PHONY : preinstall/fast
318+
319+# clear depends
320+depend:
321+ $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
322+.PHONY : depend
323+
324+#=============================================================================
325+# Target rules for targets named scratch
326+
327+# Build rule for target.
328+scratch: cmake_check_build_system
329+ $(MAKE) -f CMakeFiles/Makefile2 scratch
330+.PHONY : scratch
331+
332+# fast build rule for target.
333+scratch/fast:
334+ $(MAKE) -f CMakeFiles/scratch.dir/build.make CMakeFiles/scratch.dir/build
335+.PHONY : scratch/fast
336+
337+src/entry.o: src/entry.c.o
338+.PHONY : src/entry.o
339+
340+# target to build an object file
341+src/entry.c.o:
342+ $(MAKE) -f CMakeFiles/scratch.dir/build.make CMakeFiles/scratch.dir/src/entry.c.o
343+.PHONY : src/entry.c.o
344+
345+src/entry.i: src/entry.c.i
346+.PHONY : src/entry.i
347+
348+# target to preprocess a source file
349+src/entry.c.i:
350+ $(MAKE) -f CMakeFiles/scratch.dir/build.make CMakeFiles/scratch.dir/src/entry.c.i
351+.PHONY : src/entry.c.i
352+
353+src/entry.s: src/entry.c.s
354+.PHONY : src/entry.s
355+
356+# target to generate assembly for a file
357+src/entry.c.s:
358+ $(MAKE) -f CMakeFiles/scratch.dir/build.make CMakeFiles/scratch.dir/src/entry.c.s
359+.PHONY : src/entry.c.s
360+
361+src/main_window.o: src/main_window.c.o
362+.PHONY : src/main_window.o
363+
364+# target to build an object file
365+src/main_window.c.o:
366+ $(MAKE) -f CMakeFiles/scratch.dir/build.make CMakeFiles/scratch.dir/src/main_window.c.o
367+.PHONY : src/main_window.c.o
368+
369+src/main_window.i: src/main_window.c.i
370+.PHONY : src/main_window.i
371+
372+# target to preprocess a source file
373+src/main_window.c.i:
374+ $(MAKE) -f CMakeFiles/scratch.dir/build.make CMakeFiles/scratch.dir/src/main_window.c.i
375+.PHONY : src/main_window.c.i
376+
377+src/main_window.s: src/main_window.c.s
378+.PHONY : src/main_window.s
379+
380+# target to generate assembly for a file
381+src/main_window.c.s:
382+ $(MAKE) -f CMakeFiles/scratch.dir/build.make CMakeFiles/scratch.dir/src/main_window.c.s
383+.PHONY : src/main_window.c.s
384+
385+src/menu.o: src/menu.c.o
386+.PHONY : src/menu.o
387+
388+# target to build an object file
389+src/menu.c.o:
390+ $(MAKE) -f CMakeFiles/scratch.dir/build.make CMakeFiles/scratch.dir/src/menu.c.o
391+.PHONY : src/menu.c.o
392+
393+src/menu.i: src/menu.c.i
394+.PHONY : src/menu.i
395+
396+# target to preprocess a source file
397+src/menu.c.i:
398+ $(MAKE) -f CMakeFiles/scratch.dir/build.make CMakeFiles/scratch.dir/src/menu.c.i
399+.PHONY : src/menu.c.i
400+
401+src/menu.s: src/menu.c.s
402+.PHONY : src/menu.s
403+
404+# target to generate assembly for a file
405+src/menu.c.s:
406+ $(MAKE) -f CMakeFiles/scratch.dir/build.make CMakeFiles/scratch.dir/src/menu.c.s
407+.PHONY : src/menu.c.s
408+
409+src/notebook.o: src/notebook.c.o
410+.PHONY : src/notebook.o
411+
412+# target to build an object file
413+src/notebook.c.o:
414+ $(MAKE) -f CMakeFiles/scratch.dir/build.make CMakeFiles/scratch.dir/src/notebook.c.o
415+.PHONY : src/notebook.c.o
416+
417+src/notebook.i: src/notebook.c.i
418+.PHONY : src/notebook.i
419+
420+# target to preprocess a source file
421+src/notebook.c.i:
422+ $(MAKE) -f CMakeFiles/scratch.dir/build.make CMakeFiles/scratch.dir/src/notebook.c.i
423+.PHONY : src/notebook.c.i
424+
425+src/notebook.s: src/notebook.c.s
426+.PHONY : src/notebook.s
427+
428+# target to generate assembly for a file
429+src/notebook.c.s:
430+ $(MAKE) -f CMakeFiles/scratch.dir/build.make CMakeFiles/scratch.dir/src/notebook.c.s
431+.PHONY : src/notebook.c.s
432+
433+# Help Target
434+help:
435+ @echo "The following are some of the valid targets for this Makefile:"
436+ @echo "... all (the default if no target is provided)"
437+ @echo "... clean"
438+ @echo "... depend"
439+ @echo "... edit_cache"
440+ @echo "... install"
441+ @echo "... install/local"
442+ @echo "... install/strip"
443+ @echo "... list_install_components"
444+ @echo "... rebuild_cache"
445+ @echo "... scratch"
446+ @echo "... src/entry.o"
447+ @echo "... src/entry.i"
448+ @echo "... src/entry.s"
449+ @echo "... src/main_window.o"
450+ @echo "... src/main_window.i"
451+ @echo "... src/main_window.s"
452+ @echo "... src/menu.o"
453+ @echo "... src/menu.i"
454+ @echo "... src/menu.s"
455+ @echo "... src/notebook.o"
456+ @echo "... src/notebook.i"
457+ @echo "... src/notebook.s"
458+.PHONY : help
459+
460+
461+
462+#=============================================================================
463+# Special targets to cleanup operation of make.
464+
465+# Special rule to run CMake to check the build system integrity.
466+# No rule that depends on this can have commands that come from listfiles
467+# because they might be regenerated.
468+cmake_check_build_system:
469+ $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
470+.PHONY : cmake_check_build_system
471+
472
473=== added file 'cmake/ParseArguments.cmake'
474--- cmake/ParseArguments.cmake 1970-01-01 00:00:00 +0000
475+++ cmake/ParseArguments.cmake 2012-07-10 06:05:20 +0000
476@@ -0,0 +1,36 @@
477+##
478+# This is a helper Macro to parse optional arguments in Macros/Functions
479+# It has been taken from the public CMake wiki.
480+# See http://www.cmake.org/Wiki/CMakeMacroParseArguments for documentation and
481+# licensing.
482+##
483+macro(parse_arguments prefix arg_names option_names)
484+ set(DEFAULT_ARGS)
485+ foreach(arg_name ${arg_names})
486+ set(${prefix}_${arg_name})
487+ endforeach(arg_name)
488+ foreach(option ${option_names})
489+ set(${prefix}_${option} FALSE)
490+ endforeach(option)
491+
492+ set(current_arg_name DEFAULT_ARGS)
493+ set(current_arg_list)
494+ foreach(arg ${ARGN})
495+ set(larg_names ${arg_names})
496+ list(FIND larg_names "${arg}" is_arg_name)
497+ if(is_arg_name GREATER -1)
498+ set(${prefix}_${current_arg_name} ${current_arg_list})
499+ set(current_arg_name ${arg})
500+ set(current_arg_list)
501+ else(is_arg_name GREATER -1)
502+ set(loption_names ${option_names})
503+ list(FIND loption_names "${arg}" is_option)
504+ if(is_option GREATER -1)
505+ set(${prefix}_${arg} TRUE)
506+ else(is_option GREATER -1)
507+ set(current_arg_list ${current_arg_list} ${arg})
508+ endif(is_option GREATER -1)
509+ endif(is_arg_name GREATER -1)
510+ endforeach(arg)
511+ set(${prefix}_${current_arg_name} ${current_arg_list})
512+endmacro(parse_arguments)
513
514=== added file 'cmake/README'
515--- cmake/README 1970-01-01 00:00:00 +0000
516+++ cmake/README 2012-07-10 06:05:20 +0000
517@@ -0,0 +1,10 @@
518+ Elementary CMake modules
519+
520+This is a set of CMake modules: Translations, GSettings, and Vala modules.
521+
522+For all the Vala related modules see README.Vala.rst:
523+ - ParseArguments.cmake
524+ - ValaPrecompile.cmake
525+ - ValaVersion.cmake
526+ - FindVala.cmake
527+
528
529=== added file 'cmake/README.Vala.rst'
530--- cmake/README.Vala.rst 1970-01-01 00:00:00 +0000
531+++ cmake/README.Vala.rst 2012-07-10 06:05:20 +0000
532@@ -0,0 +1,173 @@
533+==========
534+Vala CMake
535+==========
536+:Author:
537+ Jakob Westhoff
538+:Version:
539+ Draft
540+
541+
542+Overview
543+========
544+
545+Vala CMake is a collection of macros for the CMake_ build system to allow the
546+creation and management of projects developed using the Vala_ programming
547+language or its "Genie" flavor (less tested).
548+
549+
550+Installation
551+============
552+
553+To use the Vala macros in your own project you need to copy the macro files to
554+an arbitrary folder in your projects directory and reference them in your
555+``CMakeLists.txt`` file.
556+
557+Assuming the macros are stored under ``cmake/vala`` in your projects folder you
558+need to add the following information to your base ``CMakeLists.txt``::
559+
560+ list(APPEND CMAKE_MODULE_PATH
561+ ${CMAKE_SOURCE_DIR}/cmake/vala
562+ )
563+
564+After the new module path as been added you can simply include the provided
565+modules or use the provided find routines.
566+
567+
568+Finding Vala
569+============
570+
571+The find module for vala works like any other Find module in CMake.
572+You can use it by simply calling the usual ``find_package`` function. Default
573+parameters like ``REQUIRED`` and ``QUIETLY`` are supported.
574+
575+::
576+
577+ find_package(Vala REQUIRED)
578+
579+After a successful call to the find_package function the following variables
580+will be set:
581+
582+VALA_FOUND
583+ Whether the vala compiler has been found or not
584+
585+VALA_EXECUTABLE
586+ Full path to the valac executable if it has been found
587+
588+VALA_VERSION
589+ Version number of the available valac
590+
591+
592+Precompiling Vala sources
593+=========================
594+
595+CMake is mainly supposed to handle c or c++ based projects. Luckily every vala
596+program is translated into plain c code using the vala compiler, followed by
597+normal compilation of the generated c program using gcc.
598+
599+The macro ``vala_precompile`` uses that fact to create c files from your .vala
600+sources for further CMake processing.
601+
602+The first parameter provided is a variable, which will be filled with a list of
603+c files outputted by the vala compiler. This list can than be used in
604+conjunction with functions like ``add_executable`` or others to create the
605+necessary compile rules with CMake.
606+
607+The initial variable is followed by a list of .vala files to be compiled.
608+Please take care to add every vala file belonging to the currently compiled
609+project or library as Vala will otherwise not be able to resolve all
610+dependencies.
611+
612+The following sections may be specified afterwards to provide certain options
613+to the vala compiler:
614+
615+PACKAGES
616+ A list of vala packages/libraries to be used during the compile cycle. The
617+ package names are exactly the same, as they would be passed to the valac
618+ "--pkg=" option.
619+
620+OPTIONS
621+ A list of optional options to be passed to the valac executable. This can be
622+ used to pass "--thread" for example to enable multi-threading support.
623+
624+DIRECTORY
625+ Specify the directory where the output source files will be stored. If
626+ ommitted, the source files will be stored in CMAKE_CURRENT_BINARY_DIR.
627+
628+CUSTOM_VAPIS
629+ A list of custom vapi files to be included for compilation. This can be
630+ useful to include freshly created vala libraries without having to install
631+ them in the system.
632+
633+GENERATE_VAPI
634+ Pass all the needed flags to the compiler to create an internal vapi for
635+ the compiled library. The provided name will be used for this and a
636+ <provided_name>.vapi file will be created.
637+
638+GENERATE_HEADER
639+ Let the compiler generate a header file for the compiled code. There will
640+ be a header file as well as an internal header file being generated called
641+ <provided_name>.h and <provided_name>_internal.h
642+
643+The following call is a simple example to the vala_precompile macro showing an
644+example to every of the optional sections::
645+
646+ vala_precompile(VALA_C
647+ source1.vala
648+ source2.vala
649+ source3.vala
650+ PACKAGES
651+ gtk+-2.0
652+ gio-1.0
653+ posix
654+ OPTIONS
655+ --thread
656+ CUSTOM_VAPIS
657+ some_vapi.vapi
658+ GENERATE_VAPI
659+ myvapi
660+ GENERATE_HEADER
661+ myheader
662+ )
663+
664+Most important is the variable VALA_C which will contain all the generated c
665+file names after the call. The easiest way to use this information is to tell
666+CMake to create an executable out of it.
667+
668+::
669+
670+ add_executable(myexecutable ${VALA_C})
671+
672+
673+Further reading
674+===============
675+
676+The `Pdf Presenter Console`__ , which is a vala based project of mine, makes
677+heavy usage of the here described macros. To look at a real world example of
678+these macros the mentioned project is the right place to take a look. The svn
679+trunk of it can be found at::
680+
681+ svn://pureenergy.cc/pdf_presenter_console/trunk
682+
683+
684+__ http://westhoffswelt.de/projects/pdf_presenter_console.html
685+
686+
687+Acknowledgments
688+===============
689+
690+Thanks go out to Florian Sowade, a fellow local PHP-Usergroupie, who helped me
691+a lot with the initial version of this macros and always answered my mostly
692+dumb CMake questions.
693+
694+.. _CMake: http://cmake.org
695+.. _Vala: http://live.gnome.org/Vala
696+.. _Genie: http://live.gnome.org/Genie
697+
698+
699+
700
701+..
702+ Local Variables:
703+ mode: rst
704+ fill-column: 79
705+ End:
706+ vim: et syn=rst tw=79
707
708=== added file 'cmake/Tests.cmake'
709--- cmake/Tests.cmake 1970-01-01 00:00:00 +0000
710+++ cmake/Tests.cmake 2012-07-10 06:05:20 +0000
711@@ -0,0 +1,5 @@
712+# Test macros for Marlin, feel free to re-use them.
713+
714+macro(add_test_executable EXE_NAME)
715+ add_test(${EXE_NAME} gtester ${CMAKE_CURRENT_BINARY_DIR}/${EXE_NAME})
716+endmacro()
717
718=== added file 'cmake/Translations.cmake'
719--- cmake/Translations.cmake 1970-01-01 00:00:00 +0000
720+++ cmake/Translations.cmake 2012-07-10 06:05:20 +0000
721@@ -0,0 +1,41 @@
722+# Translations.cmake, CMake macros written for Marlin, feel free to re-use them
723+
724+macro(add_translations_directory NLS_PACKAGE)
725+ add_custom_target (i18n ALL COMMENT “Building i18n messages.”)
726+ find_program (MSGFMT_EXECUTABLE msgfmt)
727+ file (GLOB PO_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.po)
728+ foreach (PO_INPUT ${PO_FILES})
729+ get_filename_component (PO_INPUT_BASE ${PO_INPUT} NAME_WE)
730+ set (MO_OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${PO_INPUT_BASE}.mo)
731+ add_custom_command (TARGET i18n COMMAND ${MSGFMT_EXECUTABLE} -o ${MO_OUTPUT} ${PO_INPUT})
732+
733+ install (FILES ${MO_OUTPUT} DESTINATION
734+ share/locale/${PO_INPUT_BASE}/LC_MESSAGES
735+ RENAME ${NLS_PACKAGE}.mo)
736+ endforeach (PO_INPUT ${PO_FILES})
737+endmacro(add_translations_directory)
738+
739+
740+macro(add_translations_catalog NLS_PACKAGE)
741+ add_custom_target (pot COMMENT “Building translation catalog.”)
742+ find_program (XGETTEXT_EXECUTABLE xgettext)
743+
744+
745+ set(C_SOURCE "")
746+
747+ foreach(FILES_INPUT ${ARGN})
748+ file (GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/${FILES_INPUT}/*.c)
749+ foreach(C_FILE ${SOURCE_FILES})
750+ set(C_SOURCE ${C_SOURCE} ${C_FILE})
751+ endforeach()
752+ file (GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/${FILES_INPUT}/*.vala)
753+ foreach(C_FILE ${SOURCE_FILES})
754+ set(C_SOURCE ${C_SOURCE} ${C_FILE})
755+ endforeach()
756+ endforeach()
757+
758+ add_custom_command (TARGET pot COMMAND
759+ ${XGETTEXT_EXECUTABLE} -d ${NLS_PACKAGE} -o ${CMAKE_CURRENT_SOURCE_DIR}/${NLS_PACKAGE}.pot
760+ ${VALA_SOURCE} ${C_SOURCE} --keyword="_" --keyword="N_" --from-code=UTF-8
761+ )
762+endmacro()
763
764=== added file 'cmake/ValaPrecompile.cmake'
765--- cmake/ValaPrecompile.cmake 1970-01-01 00:00:00 +0000
766+++ cmake/ValaPrecompile.cmake 2012-07-10 06:05:20 +0000
767@@ -0,0 +1,187 @@
768+##
769+# Copyright 2009-2010 Jakob Westhoff. All rights reserved.
770+#
771+# Redistribution and use in source and binary forms, with or without
772+# modification, are permitted provided that the following conditions are met:
773+#
774+# 1. Redistributions of source code must retain the above copyright notice,
775+# this list of conditions and the following disclaimer.
776+#
777+# 2. Redistributions in binary form must reproduce the above copyright notice,
778+# this list of conditions and the following disclaimer in the documentation
779+# and/or other materials provided with the distribution.
780+#
781+# THIS SOFTWARE IS PROVIDED BY JAKOB WESTHOFF ``AS IS'' AND ANY EXPRESS OR
782+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
783+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
784+# EVENT SHALL JAKOB WESTHOFF OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
785+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
786+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
787+# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
788+# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
789+# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
790+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
791+#
792+# The views and conclusions contained in the software and documentation are those
793+# of the authors and should not be interpreted as representing official policies,
794+# either expressed or implied, of Jakob Westhoff
795+##
796+
797+include(ParseArguments)
798+find_package(Vala REQUIRED)
799+
800+##
801+# Compile vala files to their c equivalents for further processing.
802+#
803+# The "vala_precompile" macro takes care of calling the valac executable on the
804+# given source to produce c files which can then be processed further using
805+# default cmake functions.
806+#
807+# The first parameter provided is a variable, which will be filled with a list
808+# of c files outputted by the vala compiler. This list can than be used in
809+# conjuction with functions like "add_executable" or others to create the
810+# neccessary compile rules with CMake.
811+#
812+# The initial variable is followed by a list of .vala files to be compiled.
813+# Please take care to add every vala file belonging to the currently compiled
814+# project or library as Vala will otherwise not be able to resolve all
815+# dependencies.
816+#
817+# The following sections may be specified afterwards to provide certain options
818+# to the vala compiler:
819+#
820+# PACKAGES
821+# A list of vala packages/libraries to be used during the compile cycle. The
822+# package names are exactly the same, as they would be passed to the valac
823+# "--pkg=" option.
824+#
825+# OPTIONS
826+# A list of optional options to be passed to the valac executable. This can be
827+# used to pass "--thread" for example to enable multi-threading support.
828+#
829+# CUSTOM_VAPIS
830+# A list of custom vapi files to be included for compilation. This can be
831+# useful to include freshly created vala libraries without having to install
832+# them in the system.
833+#
834+# GENERATE_VAPI
835+# Pass all the needed flags to the compiler to create an internal vapi for
836+# the compiled library. The provided name will be used for this and a
837+# <provided_name>.vapi file will be created.
838+#
839+# GENERATE_HEADER
840+# Let the compiler generate a header file for the compiled code. There will
841+# be a header file as well as an internal header file being generated called
842+# <provided_name>.h and <provided_name>_internal.h
843+#
844+# The following call is a simple example to the vala_precompile macro showing
845+# an example to every of the optional sections:
846+#
847+# vala_precompile(VALA_C
848+# source1.vala
849+# source2.vala
850+# source3.vala
851+# PACKAGES
852+# gtk+-2.0
853+# gio-1.0
854+# posix
855+# DIRECTORY
856+# gen
857+# OPTIONS
858+# --thread
859+# CUSTOM_VAPIS
860+# some_vapi.vapi
861+# GENERATE_VAPI
862+# myvapi
863+# GENERATE_HEADER
864+# myheader
865+# )
866+#
867+# Most important is the variable VALA_C which will contain all the generated c
868+# file names after the call.
869+##
870+
871+macro(vala_precompile output)
872+ parse_arguments(ARGS "PACKAGES;OPTIONS;DIRECTORY;GENERATE_HEADER;GENERATE_VAPI;CUSTOM_VAPIS" "" ${ARGN})
873+ if(ARGS_DIRECTORY)
874+ set(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${ARGS_DIRECTORY})
875+ else(ARGS_DIRECTORY)
876+ set(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
877+ endif(ARGS_DIRECTORY)
878+ include_directories(${DIRECTORY})
879+ set(vala_pkg_opts "")
880+ foreach(pkg ${ARGS_PACKAGES})
881+ list(APPEND vala_pkg_opts "--pkg=${pkg}")
882+ endforeach(pkg ${ARGS_PACKAGES})
883+ set(in_files "")
884+ set(out_files "")
885+ set(${output} "")
886+ foreach(src ${ARGS_DEFAULT_ARGS})
887+ string(REPLACE ${CMAKE_CURRENT_SOURCE_DIR}/ "" src ${src})
888+ string(REGEX MATCH "^/" IS_MATCHED ${src})
889+ if(${IS_MATCHED} MATCHES "/")
890+ list(APPEND in_files "${src}")
891+ else()
892+ list(APPEND in_files "${CMAKE_CURRENT_SOURCE_DIR}/${src}")
893+ endif()
894+ string(REPLACE ".vala" ".c" src ${src})
895+ string(REPLACE ".gs" ".c" src ${src})
896+ if(${IS_MATCHED} MATCHES "/")
897+ get_filename_component(VALA_FILE_NAME ${src} NAME)
898+ set(out_file "${CMAKE_CURRENT_BINARY_DIR}/${VALA_FILE_NAME}")
899+ list(APPEND out_files "${CMAKE_CURRENT_BINARY_DIR}/${VALA_FILE_NAME}")
900+ else()
901+ set(out_file "${DIRECTORY}/${src}")
902+ list(APPEND out_files "${DIRECTORY}/${src}")
903+ endif()
904+ list(APPEND ${output} ${out_file})
905+ endforeach(src ${ARGS_DEFAULT_ARGS})
906+
907+ set(custom_vapi_arguments "")
908+ if(ARGS_CUSTOM_VAPIS)
909+ foreach(vapi ${ARGS_CUSTOM_VAPIS})
910+ if(${vapi} MATCHES ${CMAKE_SOURCE_DIR} OR ${vapi} MATCHES ${CMAKE_BINARY_DIR})
911+ list(APPEND custom_vapi_arguments ${vapi})
912+ else (${vapi} MATCHES ${CMAKE_SOURCE_DIR} OR ${vapi} MATCHES ${CMAKE_BINARY_DIR})
913+ list(APPEND custom_vapi_arguments ${CMAKE_CURRENT_SOURCE_DIR}/${vapi})
914+ endif(${vapi} MATCHES ${CMAKE_SOURCE_DIR} OR ${vapi} MATCHES ${CMAKE_BINARY_DIR})
915+ endforeach(vapi ${ARGS_CUSTOM_VAPIS})
916+ endif(ARGS_CUSTOM_VAPIS)
917+
918+ set(vapi_arguments "")
919+ if(ARGS_GENERATE_VAPI)
920+ list(APPEND out_files "${DIRECTORY}/${ARGS_GENERATE_VAPI}.vapi")
921+ set(vapi_arguments "--internal-vapi=${ARGS_GENERATE_VAPI}.vapi")
922+
923+ # Header and internal header is needed to generate internal vapi
924+ if (NOT ARGS_GENERATE_HEADER)
925+ set(ARGS_GENERATE_HEADER ${ARGS_GENERATE_VAPI})
926+ endif(NOT ARGS_GENERATE_HEADER)
927+ endif(ARGS_GENERATE_VAPI)
928+
929+ set(header_arguments "")
930+ if(ARGS_GENERATE_HEADER)
931+ list(APPEND out_files "${DIRECTORY}/${ARGS_GENERATE_HEADER}.h")
932+ list(APPEND out_files "${DIRECTORY}/${ARGS_GENERATE_HEADER}_internal.h")
933+ list(APPEND header_arguments "--header=${DIRECTORY}/${ARGS_GENERATE_HEADER}.h")
934+ list(APPEND header_arguments "--internal-header=${DIRECTORY}/${ARGS_GENERATE_HEADER}_internal.h")
935+ endif(ARGS_GENERATE_HEADER)
936+
937+ add_custom_command(OUTPUT ${out_files}
938+ COMMAND
939+ ${VALA_EXECUTABLE}
940+ ARGS
941+ "-C"
942+ ${header_arguments}
943+ ${vapi_arguments}
944+ "-b" ${CMAKE_CURRENT_SOURCE_DIR}
945+ "-d" ${DIRECTORY}
946+ ${vala_pkg_opts}
947+ ${ARGS_OPTIONS}
948+ ${in_files}
949+ ${custom_vapi_arguments}
950+ DEPENDS
951+ ${in_files}
952+ ${ARGS_CUSTOM_VAPIS}
953+ )
954+endmacro(vala_precompile)
955
956=== added file 'cmake/ValaVersion.cmake'
957--- cmake/ValaVersion.cmake 1970-01-01 00:00:00 +0000
958+++ cmake/ValaVersion.cmake 2012-07-10 06:05:20 +0000
959@@ -0,0 +1,96 @@
960+##
961+# Copyright 2009-2010 Jakob Westhoff. All rights reserved.
962+#
963+# Redistribution and use in source and binary forms, with or without
964+# modification, are permitted provided that the following conditions are met:
965+#
966+# 1. Redistributions of source code must retain the above copyright notice,
967+# this list of conditions and the following disclaimer.
968+#
969+# 2. Redistributions in binary form must reproduce the above copyright notice,
970+# this list of conditions and the following disclaimer in the documentation
971+# and/or other materials provided with the distribution.
972+#
973+# THIS SOFTWARE IS PROVIDED BY JAKOB WESTHOFF ``AS IS'' AND ANY EXPRESS OR
974+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
975+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
976+# EVENT SHALL JAKOB WESTHOFF OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
977+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
978+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
979+# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
980+# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
981+# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
982+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
983+#
984+# The views and conclusions contained in the software and documentation are those
985+# of the authors and should not be interpreted as representing official policies,
986+# either expressed or implied, of Jakob Westhoff
987+##
988+
989+include(ParseArguments)
990+find_package(Vala REQUIRED)
991+
992+##
993+# Ensure a certain valac version is available
994+#
995+# The initial argument is the version to check for
996+#
997+# It may be followed by a optional parameter to specifiy a version range. The
998+# following options are valid:
999+#
1000+# EXACT
1001+# Vala needs to be available in the exact version given
1002+#
1003+# MINIMUM
1004+# The provided version is the minimum version. Therefore Vala needs to be
1005+# available in the given version or any higher version
1006+#
1007+# MAXIMUM
1008+# The provided version is the maximum. Therefore Vala needs to be available
1009+# in the given version or any version older than this
1010+#
1011+# If no option is specified the version will be treated as a minimal version.
1012+##
1013+macro(ensure_vala_version version)
1014+ parse_arguments(ARGS "" "MINIMUM;MAXIMUM;EXACT" ${ARGN})
1015+ set(compare_message "")
1016+ set(error_message "")
1017+ if(ARGS_MINIMUM)
1018+ set(compare_message "a minimum ")
1019+ set(error_message "or greater ")
1020+ elseif(ARGS_MAXIMUM)
1021+ set(compare_message "a maximum ")
1022+ set(error_message "or less ")
1023+ endif(ARGS_MINIMUM)
1024+
1025+ message(STATUS
1026+ "checking for ${compare_message}Vala version of ${version}"
1027+ )
1028+
1029+ unset(version_accepted)
1030+
1031+ # MINIMUM is the default if no option is specified
1032+ if(ARGS_EXACT)
1033+ if(${VALA_VERSION} VERSION_EQUAL ${version} )
1034+ set(version_accepted TRUE)
1035+ endif(${VALA_VERSION} VERSION_EQUAL ${version})
1036+ elseif(ARGS_MAXIMUM)
1037+ if(${VALA_VERSION} VERSION_LESS ${version} OR ${VALA_VERSION} VERSION_EQUAL ${version})
1038+ set(version_accepted TRUE)
1039+ endif(${VALA_VERSION} VERSION_LESS ${version} OR ${VALA_VERSION} VERSION_EQUAL ${version})
1040+ else(ARGS_MAXIMUM)
1041+ if(${VALA_VERSION} VERSION_GREATER ${version} OR ${VALA_VERSION} VERSION_EQUAL ${version})
1042+ set(version_accepted TRUE)
1043+ endif(${VALA_VERSION} VERSION_GREATER ${version} OR ${VALA_VERSION} VERSION_EQUAL ${version})
1044+ endif(ARGS_EXACT)
1045+
1046+ if (NOT version_accepted)
1047+ message(FATAL_ERROR
1048+ "Vala version ${version} ${error_message}is required."
1049+ )
1050+ endif(NOT version_accepted)
1051+
1052+ message(STATUS
1053+ " found Vala, version ${VALA_VERSION}"
1054+ )
1055+endmacro(ensure_vala_version)
1056
1057=== added directory 'data'
1058=== added file 'data/Write'
1059--- data/Write 1970-01-01 00:00:00 +0000
1060+++ data/Write 2012-07-10 06:05:20 +0000
1061@@ -0,0 +1,17 @@
1062+[Desktop Entry]
1063+
1064+Type=Application
1065+
1066+Name=Write
1067+
1068+Comment=Create awesome documents
1069+
1070+GenericName=Word processor
1071+
1072+Exec=write
1073+
1074+Icon=application-default-icon
1075+
1076+Terminal=false
1077+
1078+Categories=GNOME;GTK;Utility
1079\ No newline at end of file
1080
1081=== added file 'data/Write.desktop'
1082--- data/Write.desktop 1970-01-01 00:00:00 +0000
1083+++ data/Write.desktop 2012-07-10 06:05:20 +0000
1084@@ -0,0 +1,17 @@
1085+[Desktop Entry]
1086+
1087+Type=Application
1088+
1089+Name=Write
1090+
1091+Comment=Create awesome documents
1092+
1093+GenericName=Word processor
1094+
1095+Exec=write
1096+
1097+Icon=application-default-icon
1098+
1099+Terminal=false
1100+
1101+Categories=GNOME;GTK;Utility
1102\ No newline at end of file
1103
1104=== added directory 'debian'
1105=== added file 'debian/changelog'
1106--- debian/changelog 1970-01-01 00:00:00 +0000
1107+++ debian/changelog 2012-07-10 06:05:20 +0000
1108@@ -0,0 +1,5 @@
1109+write (0.2-0ubuntu1) oneiric; urgency=low
1110+
1111+ * Initial Release.
1112+
1113+ -- Gaurav Pareek <gaurav.conetfun@gmail.com> Mon, 14 May 2012 10:00:00 +0100
1114
1115=== added file 'debian/compat'
1116--- debian/compat 1970-01-01 00:00:00 +0000
1117+++ debian/compat 2012-07-10 06:05:20 +0000
1118@@ -0,0 +1,1 @@
1119+7
1120
1121=== added file 'debian/control'
1122--- debian/control 1970-01-01 00:00:00 +0000
1123+++ debian/control 2012-07-10 06:05:20 +0000
1124@@ -0,0 +1,25 @@
1125+Source: write
1126+Section: utils
1127+Priority: optional
1128+Maintainer: Cody Garver <cody@elementaryos.org>
1129+Build-Depends: cmake (>= 2.6),
1130+ debhelper (>= 7.0.50~),
1131+ libclutter-gtk-1.0-dev,
1132+ libglib2.0-dev,
1133+ libgranite-dev,
1134+ libgtk-3-dev (>= 3.0),
1135+ libpango1.0-dev,
1136+ libwebkitgtk-3.0-dev,
1137+ valac-0.16 | valac
1138+Standards-Version: 3.9.2
1139+Homepage: https://launchpad.net/write
1140+Vcs-Bzr: lp:write
1141+Vcs-Browser: https://code.launchpad.net/~write-dev/write/trunk
1142+
1143+Package: write
1144+Architecture: any
1145+Depends: ${misc:Depends}, ${shlibs:Depends}
1146+Pre-Depends: dpkg (>= 1.15.6)
1147+Description: Slim, lightweight, elementary flavored word processor
1148+ Write is a slim, lightweight, elementary flavored word processor written
1149+ in Vala.
1150
1151=== added file 'debian/copyright'
1152--- debian/copyright 1970-01-01 00:00:00 +0000
1153+++ debian/copyright 2012-07-10 06:05:20 +0000
1154@@ -0,0 +1,39 @@
1155+This work was packaged for Debian by:
1156+
1157+ Cody Garver <cody@elementaryos.org> on Mon, 14 May 2012
1158+
1159+It was downloaded from:
1160+
1161+ https://launchpad.net/write
1162+
1163+Upstream Author(s):
1164+
1165+ Gaurav Pareek <gaurav.conetfun@gmail.com>
1166+
1167+Copyright:
1168+
1169+ Copyright (C) 2012 Gaurav Pareek
1170+
1171+License:
1172+
1173+ This program is free software: you can redistribute it and/or modify
1174+ it under the terms of the GNU General Public License as published by
1175+ the Free Software Foundation, either version 3 of the License, or
1176+ (at your option) any later version.
1177+
1178+ This package is distributed in the hope that it will be useful,
1179+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1180+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1181+ GNU General Public License for more details.
1182+
1183+ You should have received a copy of the GNU General Public License
1184+ along with this program. If not, see <http://www.gnu.org/licenses/>.
1185+
1186+On Debian systems, the complete text of the GNU General
1187+Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
1188+
1189+The Debian packaging is:
1190+
1191+ Cody Garver <cody@elementaryos.org>
1192+
1193+and is licensed under the GPL version 3, see above.
1194
1195=== added file 'debian/rules'
1196--- debian/rules 1970-01-01 00:00:00 +0000
1197+++ debian/rules 2012-07-10 06:05:20 +0000
1198@@ -0,0 +1,16 @@
1199+#!/usr/bin/make -f
1200+# -*- makefile -*-
1201+# Sample debian/rules that uses debhelper.
1202+# This file was originally written by Joey Hess and Craig Small.
1203+# As a special exception, when this file is copied by dh-make into a
1204+# dh-make output file, you may use that output file without restriction.
1205+# This special exception was added by Craig Small in version 0.37 of dh-make.
1206+
1207+# Uncomment this to turn on verbose mode.
1208+#export DH_VERBOSE=1
1209+
1210+%:
1211+ dh $@
1212+
1213+override_dh_builddeb:
1214+ dh_builddeb -- -Zxz
1215\ No newline at end of file
1216
1217=== added directory 'po'
1218=== added directory 'src'
1219=== added file 'src/Config.vala.cmake'
1220--- src/Config.vala.cmake 1970-01-01 00:00:00 +0000
1221+++ src/Config.vala.cmake 2012-07-10 06:05:20 +0000
1222@@ -0,0 +1,17 @@
1223+namespace Constants {
1224+
1225+public const string DATADIR = "@DATADIR@";
1226+
1227+public const string PKGDATADIR = "@PKGDATADIR@";
1228+
1229+public const string GETTEXT_PACKAGE = "@GETTEXT_PACKAGE@";
1230+
1231+public const string RELEASE_NAME = "@RELEASE_NAME@";
1232+
1233+public const string VERSION = "@VERSION@";
1234+
1235+public const string VERSION_INFO = "@VERSION_INFO@";
1236+
1237+public const string PLUGINDIR = "@PLUGINDIR@";
1238+
1239+}
1240\ No newline at end of file
1241
1242=== added directory 'src/Widgets'
1243=== added file 'src/Widgets/TextEditor.vala'
1244--- src/Widgets/TextEditor.vala 1970-01-01 00:00:00 +0000
1245+++ src/Widgets/TextEditor.vala 2012-07-10 06:05:20 +0000
1246@@ -0,0 +1,74 @@
1247+using Gtk;
1248+
1249+
1250+namespace Write.Widgets{
1251+
1252+ public class TextEditor : ScrolledWindow{
1253+ public WebKit.WebView view;
1254+
1255+ public signal void right_click ();
1256+
1257+ public TextEditor (){
1258+ view = new WebKit.WebView ();
1259+
1260+ view.load_string ("
1261+ <html>
1262+ <body style='width:21cm;height:29.7cm;background:#ffffff;padding:0;'>
1263+
1264+ <div contenteditable='true' style='outline:none; width:100%; height:100%;' id='con'>
1265+ </div>
1266+
1267+
1268+ </body>
1269+ <script>
1270+
1271+ function apply (attrib, arg){
1272+ document.execCommand (attrib, true, arg);
1273+ }
1274+ document.onmousedown = function (e){
1275+ if (e.button == 2){
1276+ send ('show_contextmenu');
1277+ }
1278+ };
1279+ function send (msg){
1280+ document.title = msg;
1281+ document.title = 'none';
1282+ }
1283+ function printDoc(){
1284+
1285+ print();
1286+ }
1287+ </script>
1288+ </html>
1289+ ", "text/html", "UTF-8", "/");
1290+
1291+ var settings = new WebKit.WebSettings ();
1292+ settings.set ("enable-default-context-menu", false);
1293+ settings.set ("javascript-can-access-clipboard", true);
1294+ settings.set ("enable-file-access-from-file-uris", true);
1295+
1296+ view.set_settings (settings);
1297+
1298+ this.add (view);
1299+
1300+ /*
1301+ * Events
1302+ */
1303+ view.title_changed.connect ( () => {
1304+ switch (view.title){
1305+ case "show_contextmenu":
1306+ right_click ();
1307+ break;
1308+ }
1309+ });
1310+ }
1311+
1312+ public void apply (string attrib, string arg=""){
1313+ view.execute_script ("apply (\""+attrib+"\", \""+arg+"\");");
1314+ }
1315+ public void printPage () {
1316+ view.execute_script("printDoc()");
1317+ }
1318+ }
1319+}
1320+
1321
1322=== added file 'src/Write.vala'
1323--- src/Write.vala 1970-01-01 00:00:00 +0000
1324+++ src/Write.vala 2012-07-10 06:05:20 +0000
1325@@ -0,0 +1,438 @@
1326+//
1327+// Copyright (C) 2011-2012 Gaurav Pareek <gaurav.conetfun@gmail.com>
1328+//
1329+// This program is free software: you can redistribute it and/or modify
1330+// it under the terms of the GNU General Public License as published by
1331+// the Free Software Foundation, either version 3 of the License, or
1332+// (at your option) any later version.
1333+//
1334+// This program is distributed in the hope that it will be useful,
1335+// but WITHOUT ANY WARRANTY; without even the implied warranty of
1336+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1337+// GNU General Public License for more details.
1338+//
1339+// You should have received a copy of the GNU General Public License
1340+// along with this program. If not, see <http://www.gnu.org/licenses/>.
1341+//
1342+
1343+using Gtk;
1344+//using Gdk;
1345+using Granite.Widgets;
1346+using WebKit;
1347+using Pango;
1348+
1349+
1350+
1351+namespace Write{
1352+
1353+
1354+class LLabel : Label{
1355+ public LLabel (string label){
1356+ this.set_halign (Align.START);
1357+ this.label = label;
1358+ }
1359+ public LLabel.indent (string label){
1360+ this (label);
1361+ this.margin_left = 10;
1362+ }
1363+ public LLabel.markup (string label){
1364+ this (label);
1365+ this.use_markup = true;
1366+ }
1367+ public LLabel.right (string label){
1368+ this.set_halign (Align.END);
1369+ this.label = label;
1370+ }
1371+ public LLabel.right_with_markup (string label){
1372+ this.set_halign (Align.END);
1373+ this.use_markup = true;
1374+ this.label = label;
1375+ }
1376+ }
1377+
1378+public class Write : Granite.Application{
1379+
1380+
1381+
1382+ public Gtk.Window main_window;
1383+ //public ElementaryWidgets.SideBar sidebar;
1384+ //public ContextView contextview;
1385+ public Widgets.TextEditor text;
1386+ public signal void right_click ();
1387+ public Gtk.ActionGroup main_actions;
1388+ private Gtk.UIManager ui;
1389+
1390+
1391+ construct{
1392+
1393+ program_name = "Write"; //the name of your program
1394+
1395+ exec_name = "write"; //the name of the executable, usually the name in lower case
1396+
1397+
1398+
1399+ /*
1400+
1401+ //those will be defined in a separate constants file, don't care about them here
1402+
1403+ build_data_dir = Constants.DATADIR;
1404+
1405+ build_pkg_data_dir = Constants.PKGDATADIR;
1406+
1407+ build_release_name = Constants.RELEASE_NAME;
1408+
1409+ build_version = Constants.VERSION;
1410+
1411+ build_version_info = Constants.VERSION_INFO;
1412+
1413+ */
1414+
1415+
1416+
1417+ app_years = "2012";
1418+
1419+ app_icon = "Abiword"; //the icon for your app. you normally ship it with your project in the data directory and copy it to the icon dire ctory. You don't include file endings here (you can also use one of the default icons as I'm doing here)
1420+
1421+ app_launcher = "Write.desktop"; //the .desktop file for your app, also in data directory
1422+
1423+ application_id = "org.elementary.write"; //an unique id which will identify your application
1424+
1425+
1426+
1427+ //those urls will be shown in the automatically generated about dialog
1428+
1429+ main_url = "https://code.launchpad.net/Write";
1430+
1431+ bug_url = "https://bugs.launchpad.net/Write";
1432+
1433+ help_url = "https://code.launchpad.net/Write";
1434+
1435+ translate_url = "https://translations.launchpad.net/Write";
1436+
1437+
1438+
1439+ //here you can proudly list your own name and the names of those who helped you
1440+
1441+ about_authors = {"Gaurav Pareek <gaurav.conetfun@gmail.com>"};
1442+
1443+ about_documenters = {"Gaurav Pareek <gaurav.conetfun@gmail.com>"};
1444+
1445+ about_artists = {"Gaurav Pareek <gaurav.conetfun@gmail.com>"}; //if you got an icon or a nice mockup from someone you can list him here
1446+
1447+ about_comments = "A simple Word processor for elementary"; //a short comment on the app
1448+
1449+ about_translators = "";
1450+
1451+ about_license_type = License.GPL_3_0; //this should be one of <a href="http://www.valadoc.org/gtk+-3.0/Gtk.License.html">these</a>. For elementary GPL3 is the default one, it’s a good idea to use it
1452+
1453+ }
1454+
1455+
1456+ public Write (){
1457+
1458+ this.set_flags (ApplicationFlags.HANDLES_OPEN);
1459+
1460+ Gtk.Settings.get_default ().gtk_application_prefer_dark_theme = true;
1461+
1462+ }
1463+
1464+
1465+
1466+ public override void activate (){
1467+
1468+ if (this.main_window == null)
1469+
1470+ build_and_run ();
1471+
1472+ }
1473+
1474+
1475+ public void build_and_run (){
1476+
1477+ this.main_window = new Gtk.Window ();
1478+
1479+ this.main_window.set_default_size (1000, 480);
1480+
1481+ this.main_window.set_application (this);
1482+
1483+
1484+
1485+
1486+
1487+ var main = new Box (Orientation.VERTICAL, 0);
1488+ var menu = new Gtk.Menu ();
1489+
1490+
1491+
1492+ var toolbar = new Toolbar ();
1493+ var newdoc = new ToolButton (new Image.from_stock (Stock.NEW, IconSize.BUTTON), "");
1494+ var opendoc = new ToolButton (new Image.from_stock (Stock.OPEN, IconSize.BUTTON), "");
1495+ var savedoc = new ToolButton (new Image.from_stock (Stock.SAVE, IconSize.BUTTON), "");
1496+
1497+ var undo_tb = new ToolButton.from_stock (Stock.UNDO);
1498+ var redo_tb = new ToolButton.from_stock (Stock.REDO);
1499+ var style_tb = new ToolButton (new Image.from_icon_name ("font-x-generic", IconSize.SMALL_TOOLBAR), "Style");
1500+
1501+ var font_item = new Gtk.ToolItem ();
1502+ var font = new Gtk.FontButton ();
1503+ font_item.add (font);
1504+
1505+ var slider = new ToolItem ();
1506+ var export = new ToolButton (new Image.from_icon_name ("document-export", IconSize.BUTTON), "");
1507+ var setup_tb = new ToggleToolButton.from_stock (Stock.PAGE_SETUP);
1508+ var appmenu = this.create_appmenu (menu);
1509+ var fullscreen = new Gtk.MenuItem.with_label ("Fullscreen");
1510+ var print_menu = new Gtk.MenuItem.with_label ("Print");
1511+
1512+ menu.prepend (new Gtk.SeparatorMenuItem ());
1513+ menu.prepend (print_menu);
1514+ menu.prepend (fullscreen);
1515+
1516+
1517+ slider.set_expand (true);
1518+ toolbar.insert (newdoc, 0);
1519+ toolbar.insert (opendoc, 1);
1520+ toolbar.insert (savedoc, 2);
1521+ toolbar.insert (undo_tb, 3);
1522+ toolbar.insert (redo_tb, 4);
1523+ toolbar.insert (style_tb, 5);
1524+ toolbar.insert (font_item, 6);
1525+ toolbar.insert (slider, 7);
1526+
1527+ //toolbar.insert (setup_tb, -1);
1528+ toolbar.insert (export, -1);
1529+ toolbar.insert (appmenu, -1);
1530+ toolbar.get_style_context ().add_class ("primary-toolbar");
1531+
1532+
1533+
1534+ /*
1535+ *pagesetup
1536+ */
1537+ var setup_tabs = new Granite.Widgets.StaticNotebook ();
1538+
1539+ //page layout
1540+ var layout_grid = new Grid ();
1541+ var orientation = new Granite.Widgets.ModeButton ();
1542+ var margin_lbl = new LLabel.markup ("<b>"+"Margin"+"</b>");
1543+ var left_margin = new SpinButton.with_range (0, 100, 1);
1544+ var right_margin = new SpinButton.with_range (0, 100, 1);
1545+ var top_margin = new SpinButton.with_range (0, 100, 1);
1546+ var bottom_margin = new SpinButton.with_range (0, 100, 1);
1547+
1548+ layout_grid.margin = 12;
1549+ layout_grid.row_spacing = 5;
1550+ layout_grid.column_spacing = 12;
1551+
1552+ orientation.halign = Align.START;
1553+ orientation.append (new Label ("Horizontal"));
1554+ orientation.append (new Label ("Vertical"));
1555+ orientation.selected = 0;
1556+
1557+ margin_lbl.hexpand = true;
1558+ top_margin.halign = Align.START;
1559+ bottom_margin.halign = Align.START;
1560+ left_margin.halign = Align.START;
1561+ right_margin.halign = Align.START;
1562+
1563+ layout_grid.attach (new LLabel.right ("Page Orientation"), 0, 0, 1, 1);
1564+ layout_grid.attach (orientation, 1, 0, 1, 1);
1565+ layout_grid.attach (margin_lbl, 0, 1, 2, 1);
1566+ layout_grid.attach (new LLabel.right ("Left"), 0, 2, 1, 1);
1567+ layout_grid.attach (left_margin, 1, 2, 1, 1);
1568+ layout_grid.attach (new LLabel.right ("Right"), 0, 3, 1, 1);
1569+ layout_grid.attach (right_margin, 1, 3, 1, 1);
1570+ layout_grid.attach (new LLabel.right ("Top"), 0, 4, 1, 1);
1571+ layout_grid.attach (top_margin, 1, 4, 1, 1);
1572+ layout_grid.attach (new LLabel.right ("Bottom"), 0, 5, 1, 1);
1573+ layout_grid.attach (bottom_margin, 1, 5, 1, 1);
1574+
1575+ //footer/header
1576+ var footer_grid = new Grid ();
1577+ var footer = new TextView ();
1578+ var header = new TextView ();
1579+ var page_count = new Switch ();
1580+ var chapter_name = new Switch ();
1581+
1582+ footer_grid.margin = 12;
1583+ footer_grid.row_spacing = 5;
1584+ footer_grid.column_spacing = 12;
1585+
1586+ footer.hexpand = true;
1587+ footer.height_request = 60;
1588+ header.height_request = 60;
1589+ page_count.halign = Align.START;
1590+ chapter_name.halign = Align.START;
1591+
1592+ footer_grid.attach (new LLabel ("Footer Content"), 0, 0, 2, 1);
1593+ footer_grid.attach (footer, 0, 1, 2, 1);
1594+ footer_grid.attach (new LLabel ("Header Content"), 0, 2, 2, 1);
1595+ footer_grid.attach (header, 0, 3, 2, 1);
1596+ footer_grid.attach (new LLabel.right ("Show page count"), 0, 4, 1, 1);
1597+ footer_grid.attach (page_count, 1, 4, 1, 1);
1598+ footer_grid.attach (new LLabel.right ("Show Chapter name"), 0, 5, 1, 1);
1599+ footer_grid.attach (chapter_name, 1, 5, 1, 1);
1600+
1601+ setup_tabs.append_page (layout_grid, new Label ("Page Layout"));
1602+ setup_tabs.append_page (footer_grid, new Label ("Footer/Header"));
1603+ setup_tabs.show_all ();
1604+ text = new Widgets.TextEditor ();
1605+ //var contextview = new ContextView ();
1606+ var scrolled_window = new ScrolledWindow (null, null);
1607+ scrolled_window.set_policy (PolicyType.AUTOMATIC, PolicyType.AUTOMATIC);
1608+ scrolled_window.add (text);
1609+ var status_bar = new Label ("Welcome");
1610+ status_bar.xalign = 0;
1611+ //events
1612+
1613+ text.right_click.connect ( () => {
1614+ int x, y;
1615+ Gdk.Display.get_default ().get_device_manager ().get_client_pointer ().
1616+ get_position (null, out x, out y);
1617+ var style = show_style ();
1618+ style.move_to_coords (x, y+10);
1619+ style.set_parent_pop (main_window);
1620+ //style.show_all();
1621+ style.present();
1622+ style.run ();
1623+ style.destroy ();
1624+ });
1625+ style_tb.clicked.connect ( () => {
1626+ var style_popover = show_style ();
1627+ style_popover.move_to_widget (style_tb);
1628+ style_popover.set_parent_pop (main_window);
1629+ style_popover.show_all();
1630+ style_popover.present();
1631+ style_popover.run ();
1632+ style_popover.destroy ();
1633+ });
1634+
1635+ setup_tb.toggled.connect ( () => {
1636+ if (setup_tb.active){
1637+ main.remove (scrolled_window);
1638+ main.remove (status_bar);
1639+ main.pack_start (setup_tabs);
1640+ }else{
1641+ main.remove (setup_tabs);
1642+ main.pack_start (scrolled_window);
1643+ main.pack_start (status_bar, false, true, 0);
1644+ }
1645+ });
1646+ font.font_set.connect ( () => {
1647+ //var f = font.get_font_name ();
1648+ //var fsize = font.get_font_size ();
1649+ //text.apply ("fontName", fname);
1650+ //text.apply ("fontsize\", fsize );
1651+ });
1652+ print_menu.activate.connect ( () => {
1653+ text.printPage ();
1654+ });
1655+
1656+ //contextview.set_context (toolbar);
1657+
1658+
1659+
1660+ main.pack_start (toolbar, false);
1661+ main.pack_start (scrolled_window);
1662+ main.pack_start (status_bar, false, true, 0);
1663+
1664+
1665+
1666+ this.main_window.add (main);
1667+ this.main_window.show_all ();
1668+
1669+ }
1670+
1671+ public Granite.Widgets.PopOver show_style (){
1672+ var style = new Granite.Widgets.PopOver ();
1673+ var style_grid = new Grid ();
1674+ var copy = new Button ();
1675+ var paste = new Button ();
1676+ var cut = new Button ();
1677+ var del = new Button ();
1678+ var bold = new ToggleButton ();
1679+ var italic = new ToggleButton ();
1680+ var underline = new ToggleButton ();
1681+ var strikethrough = new ToggleButton ();
1682+ var left = new Image.from_stock (Stock.JUSTIFY_LEFT, IconSize.SMALL_TOOLBAR);
1683+ var center = new Image.from_stock (Stock.JUSTIFY_CENTER, IconSize.SMALL_TOOLBAR);
1684+ var right = new Image.from_stock (Stock.JUSTIFY_RIGHT, IconSize.SMALL_TOOLBAR);
1685+ var block = new Image.from_stock (Stock.JUSTIFY_FILL, IconSize.SMALL_TOOLBAR);
1686+ var justify = new Granite.Widgets.ModeButton ();
1687+ //var color_img = new Image.from_icon_name ("font-x-generic", IconSize.SMALL_TOOLBAR);
1688+ //var bg_color_img = new Image.from_icon_name ("preferences-desktop-theme", IconSize.SMALL_TOOLBAR);
1689+ //var color_box = new Box (Orientation.HORIZONTAL, 0);
1690+ //var color = new ColorButton ();
1691+ //var bg_color = new ColorButton ();
1692+
1693+ copy.image = new Image.from_stock (Stock.COPY, IconSize.SMALL_TOOLBAR);
1694+ paste.image = new Image.from_stock (Stock.PASTE, IconSize.SMALL_TOOLBAR);
1695+ cut.image = new Image.from_stock (Stock.CUT, IconSize.SMALL_TOOLBAR);
1696+ del.image = new Image.from_stock (Stock.DELETE, IconSize.SMALL_TOOLBAR);
1697+ bold.image = new Image.from_stock (Stock.BOLD, IconSize.SMALL_TOOLBAR);
1698+ italic.image = new Image.from_stock (Stock.ITALIC, IconSize.SMALL_TOOLBAR);
1699+ underline.image = new Image.from_stock (Stock.UNDERLINE, IconSize.SMALL_TOOLBAR);
1700+ strikethrough.image = new Image.from_stock (Stock.STRIKETHROUGH, IconSize.SMALL_TOOLBAR);
1701+
1702+ justify.append (left);
1703+ justify.append (center);
1704+ justify.append (right);
1705+ justify.append (block);
1706+ justify.selected = 0;
1707+
1708+ //color_box.pack_start (color_img);
1709+ //color_box.pack_start (color);
1710+ //color_box.pack_start (bg_color_img);
1711+ //color_box.pack_start (bg_color);
1712+ //bg_color.rgba = {1.0, 1.0, 1.0, 1.0};
1713+
1714+ style_grid.row_spacing = 5;
1715+ style_grid.attach (copy, 0, 0, 1, 1);
1716+ style_grid.attach (paste, 1, 0, 1, 1);
1717+ style_grid.attach (cut, 2, 0, 1, 1);
1718+ style_grid.attach (del, 3, 0, 1, 1);
1719+ style_grid.attach (bold, 0, 1, 1, 1);
1720+ style_grid.attach (italic, 1, 1, 1, 1);
1721+ style_grid.attach (underline, 2, 1, 1, 1);
1722+ style_grid.attach (strikethrough, 3, 1, 1, 1);
1723+ style_grid.attach (justify, 0, 2, 4, 1);
1724+ //style_grid.attach (color_box, 0, 3, 4, 1);
1725+
1726+ ((Box)style.get_content_area ()).add (style_grid);
1727+ /*
1728+ * Events
1729+ */
1730+ bold.toggled.connect ( () => {text.apply ("bold");});
1731+ italic.toggled.connect ( () => {text.apply ("italic");});
1732+ underline.toggled.connect ( () => {text.apply ("underline");});
1733+ strikethrough.toggled.connect ( () => {text.apply ("strikeThrough");});
1734+ copy.clicked.connect ( () => {text.apply ("copy");});
1735+ paste.clicked.connect ( () => {text.apply ("paste");});
1736+ cut.clicked.connect ( () => {text.apply ("cut");});
1737+ del.clicked.connect ( () => {text.apply ("delete");});
1738+ /*color.color_set.connect ( () => {
1739+ text.apply ("forecolor", color.rgba.to_string ());
1740+ });
1741+ bg_color.color_set.connect ( () => {
1742+ text.apply ("hilitecolor", bg_color.rgba.to_string ());
1743+ }); */
1744+ justify.mode_changed.connect ( () => {
1745+ string [] j = {"justifyLeft", "justifyCenter", "justifyRight", "justifyFull"};
1746+ text.apply (j[justify.selected]);
1747+ });
1748+
1749+ return style;
1750+ }
1751+
1752+
1753+ public static int main (string [] args){
1754+ Gtk.init (ref args);
1755+ var write = new Write ();
1756+ return write.run (args);
1757+ }
1758+
1759+ }//end class
1760+
1761+}//end namespace
1762+
1763+
1764
1765=== added directory 'src/vapi'
1766=== added file 'src/vapi/webkitgtk-3.0.deps'
1767--- src/vapi/webkitgtk-3.0.deps 1970-01-01 00:00:00 +0000
1768+++ src/vapi/webkitgtk-3.0.deps 2012-07-10 06:05:20 +0000
1769@@ -0,0 +1,8 @@
1770+atk
1771+gio-2.0
1772+cairo
1773+pango
1774+gdk-pixbuf-2.0
1775+gdk-3.0
1776+gtk+-3.0
1777+libsoup-2.4
1778
1779=== added file 'src/vapi/webkitgtk-3.0.vapi'
1780--- src/vapi/webkitgtk-3.0.vapi 1970-01-01 00:00:00 +0000
1781+++ src/vapi/webkitgtk-3.0.vapi 2012-07-10 06:05:20 +0000
1782@@ -0,0 +1,4817 @@
1783+/* webkitgtk-3.0.vapi generated by vapigen, do not modify. */
1784+
1785+[CCode (lower_case_cprefix = "webkit_")]
1786+namespace WebKit {
1787+ [CCode (cheader_filename = "webkit/webkit.h")]
1788+ public class DOMAttr : WebKit.DOMNode, WebKit.DOMEventTarget {
1789+ [CCode (has_construct_function = false)]
1790+ protected DOMAttr ();
1791+ public bool get_is_id ();
1792+ public unowned string get_name ();
1793+ public unowned WebKit.DOMElement get_owner_element ();
1794+ public bool get_specified ();
1795+ public unowned string get_value ();
1796+ public void set_value (string value) throws GLib.Error;
1797+ public bool is_id { get; }
1798+ public string name { get; }
1799+ public WebKit.DOMElement owner_element { get; }
1800+ public bool specified { get; }
1801+ public string value { get; set; }
1802+ }
1803+ [CCode (cheader_filename = "webkit/webkit.h")]
1804+ public class DOMBarInfo : WebKit.DOMObject {
1805+ [CCode (has_construct_function = false)]
1806+ protected DOMBarInfo ();
1807+ public bool get_visible ();
1808+ public bool visible { get; }
1809+ }
1810+ [CCode (cheader_filename = "webkit/webkit.h")]
1811+ public class DOMBlob : WebKit.DOMObject {
1812+ [CCode (has_construct_function = false)]
1813+ protected DOMBlob ();
1814+ public uint64 get_size ();
1815+ public unowned WebKit.DOMBlob slice (int64 start, int64 end, string content_type);
1816+ public unowned WebKit.DOMBlob webkit_slice (int64 start, int64 end, string content_type);
1817+ public uint64 size { get; }
1818+ [NoAccessorMethod]
1819+ public string type { owned get; }
1820+ }
1821+ [CCode (cheader_filename = "webkit/webkit.h")]
1822+ public class DOMCDATASection : WebKit.DOMText, WebKit.DOMEventTarget {
1823+ [CCode (has_construct_function = false)]
1824+ protected DOMCDATASection ();
1825+ }
1826+ [CCode (cheader_filename = "webkit/webkit.h")]
1827+ public class DOMCSSRule : WebKit.DOMObject {
1828+ [CCode (has_construct_function = false)]
1829+ protected DOMCSSRule ();
1830+ [CCode (cname = "webkit_dom_css_rule_get_css_text")]
1831+ public unowned string get_css_text ();
1832+ [CCode (cname = "webkit_dom_css_rule_get_parent_rule")]
1833+ public unowned WebKit.DOMCSSRule get_parent_rule ();
1834+ [CCode (cname = "webkit_dom_css_rule_get_parent_style_sheet")]
1835+ public unowned WebKit.DOMCSSStyleSheet get_parent_style_sheet ();
1836+ [CCode (cname = "webkit_dom_css_rule_set_css_text")]
1837+ public void set_css_text (string value) throws GLib.Error;
1838+ public string css_text { get; set; }
1839+ public WebKit.DOMCSSRule parent_rule { get; }
1840+ public WebKit.DOMCSSStyleSheet parent_style_sheet { get; }
1841+ [NoAccessorMethod]
1842+ public uint type { get; }
1843+ }
1844+ [CCode (cheader_filename = "webkit/webkit.h")]
1845+ public class DOMCSSRuleList : WebKit.DOMObject {
1846+ [CCode (has_construct_function = false)]
1847+ protected DOMCSSRuleList ();
1848+ [CCode (cname = "webkit_dom_css_rule_list_get_length")]
1849+ public ulong get_length ();
1850+ [CCode (cname = "webkit_dom_css_rule_list_item")]
1851+ public unowned WebKit.DOMCSSRule item (ulong index);
1852+ public ulong length { get; }
1853+ }
1854+ [CCode (cheader_filename = "webkit/webkit.h")]
1855+ public class DOMCSSStyleDeclaration : WebKit.DOMObject {
1856+ [CCode (has_construct_function = false)]
1857+ protected DOMCSSStyleDeclaration ();
1858+ [CCode (cname = "webkit_dom_css_style_declaration_get_css_text")]
1859+ public unowned string get_css_text ();
1860+ [CCode (cname = "webkit_dom_css_style_declaration_get_length")]
1861+ public ulong get_length ();
1862+ [CCode (cname = "webkit_dom_css_style_declaration_get_parent_rule")]
1863+ public unowned WebKit.DOMCSSRule get_parent_rule ();
1864+ [CCode (cname = "webkit_dom_css_style_declaration_get_property_css_value")]
1865+ public unowned WebKit.DOMCSSValue get_property_css_value (string property_name);
1866+ [CCode (cname = "webkit_dom_css_style_declaration_get_property_priority")]
1867+ public unowned string get_property_priority (string property_name);
1868+ [CCode (cname = "webkit_dom_css_style_declaration_get_property_shorthand")]
1869+ public unowned string get_property_shorthand (string property_name);
1870+ [CCode (cname = "webkit_dom_css_style_declaration_get_property_value")]
1871+ public unowned string get_property_value (string property_name);
1872+ [CCode (cname = "webkit_dom_css_style_declaration_is_property_implicit")]
1873+ public bool is_property_implicit (string property_name);
1874+ [CCode (cname = "webkit_dom_css_style_declaration_item")]
1875+ public unowned string item (ulong index);
1876+ [CCode (cname = "webkit_dom_css_style_declaration_remove_property")]
1877+ public unowned string remove_property (string property_name) throws GLib.Error;
1878+ [CCode (cname = "webkit_dom_css_style_declaration_set_css_text")]
1879+ public void set_css_text (string value) throws GLib.Error;
1880+ [CCode (cname = "webkit_dom_css_style_declaration_set_property")]
1881+ public void set_property (string property_name, string value, string priority) throws GLib.Error;
1882+ public string css_text { get; set; }
1883+ public ulong length { get; }
1884+ public WebKit.DOMCSSRule parent_rule { get; }
1885+ }
1886+ [CCode (cheader_filename = "webkit/webkit.h")]
1887+ public class DOMCSSStyleSheet : WebKit.DOMStyleSheet {
1888+ [CCode (has_construct_function = false)]
1889+ protected DOMCSSStyleSheet ();
1890+ [CCode (cname = "webkit_dom_css_style_sheet_add_rule")]
1891+ public long add_rule (string selector, string style, ulong index) throws GLib.Error;
1892+ [CCode (cname = "webkit_dom_css_style_sheet_delete_rule")]
1893+ public void delete_rule (ulong index) throws GLib.Error;
1894+ [CCode (cname = "webkit_dom_css_style_sheet_get_css_rules")]
1895+ public unowned WebKit.DOMCSSRuleList get_css_rules ();
1896+ [CCode (cname = "webkit_dom_css_style_sheet_get_owner_rule")]
1897+ public unowned WebKit.DOMCSSRule get_owner_rule ();
1898+ [CCode (cname = "webkit_dom_css_style_sheet_get_rules")]
1899+ public unowned WebKit.DOMCSSRuleList get_rules ();
1900+ [CCode (cname = "webkit_dom_css_style_sheet_insert_rule")]
1901+ public ulong insert_rule (string rule, ulong index) throws GLib.Error;
1902+ [CCode (cname = "webkit_dom_css_style_sheet_remove_rule")]
1903+ public void remove_rule (ulong index) throws GLib.Error;
1904+ public WebKit.DOMCSSRuleList css_rules { get; }
1905+ public WebKit.DOMCSSRule owner_rule { get; }
1906+ public WebKit.DOMCSSRuleList rules { get; }
1907+ }
1908+ [CCode (cheader_filename = "webkit/webkit.h")]
1909+ public class DOMCSSValue : WebKit.DOMObject {
1910+ [CCode (has_construct_function = false)]
1911+ protected DOMCSSValue ();
1912+ [CCode (cname = "webkit_dom_css_value_get_css_text")]
1913+ public unowned string get_css_text ();
1914+ [CCode (cname = "webkit_dom_css_value_get_css_value_type")]
1915+ public ushort get_css_value_type ();
1916+ [CCode (cname = "webkit_dom_css_value_set_css_text")]
1917+ public void set_css_text (string value) throws GLib.Error;
1918+ public string css_text { get; set; }
1919+ public uint css_value_type { get; }
1920+ }
1921+ [CCode (cheader_filename = "webkit/webkit.h")]
1922+ public class DOMCharacterData : WebKit.DOMNode, WebKit.DOMEventTarget {
1923+ [CCode (has_construct_function = false)]
1924+ protected DOMCharacterData ();
1925+ public void append_data (string data) throws GLib.Error;
1926+ public void delete_data (ulong offset, ulong length) throws GLib.Error;
1927+ public unowned string get_data ();
1928+ public ulong get_length ();
1929+ public void insert_data (ulong offset, string data) throws GLib.Error;
1930+ public void replace_data (ulong offset, ulong length, string data) throws GLib.Error;
1931+ public void set_data (string value) throws GLib.Error;
1932+ public unowned string substring_data (ulong offset, ulong length) throws GLib.Error;
1933+ public string data { get; set; }
1934+ public ulong length { get; }
1935+ }
1936+ [CCode (cheader_filename = "webkit/webkit.h")]
1937+ public class DOMComment : WebKit.DOMCharacterData, WebKit.DOMEventTarget {
1938+ [CCode (has_construct_function = false)]
1939+ protected DOMComment ();
1940+ }
1941+ [CCode (cheader_filename = "webkit/webkit.h")]
1942+ public class DOMConsole : WebKit.DOMObject {
1943+ [CCode (has_construct_function = false)]
1944+ protected DOMConsole ();
1945+ public unowned WebKit.DOMMemoryInfo get_memory ();
1946+ public void group_end ();
1947+ public void time (string title);
1948+ public WebKit.DOMMemoryInfo memory { get; }
1949+ }
1950+ [CCode (cheader_filename = "webkit/webkit.h")]
1951+ [Compact]
1952+ public class DOMCustom {
1953+ }
1954+ [CCode (cheader_filename = "webkit/webkit.h")]
1955+ [Compact]
1956+ public class DOMCustomClass {
1957+ }
1958+ [CCode (cheader_filename = "webkit/webkit.h")]
1959+ public class DOMDOMApplicationCache : WebKit.DOMObject, WebKit.DOMEventTarget {
1960+ [CCode (has_construct_function = false)]
1961+ protected DOMDOMApplicationCache ();
1962+ [CCode (cname = "webkit_dom_dom_application_cache_get_status")]
1963+ public ushort get_status ();
1964+ [CCode (cname = "webkit_dom_dom_application_cache_swap_cache")]
1965+ public void swap_cache () throws GLib.Error;
1966+ [CCode (cname = "webkit_dom_dom_application_cache_update")]
1967+ public void update () throws GLib.Error;
1968+ public uint status { get; }
1969+ }
1970+ [CCode (cheader_filename = "webkit/webkit.h")]
1971+ public class DOMDOMImplementation : WebKit.DOMObject {
1972+ [CCode (has_construct_function = false)]
1973+ protected DOMDOMImplementation ();
1974+ [CCode (cname = "webkit_dom_dom_implementation_create_css_style_sheet")]
1975+ public unowned WebKit.DOMCSSStyleSheet create_css_style_sheet (string title, string media) throws GLib.Error;
1976+ [CCode (cname = "webkit_dom_dom_implementation_create_document")]
1977+ public unowned WebKit.DOMDocument create_document (string namespace_uri, string qualified_name, WebKit.DOMDocumentType doctype) throws GLib.Error;
1978+ [CCode (cname = "webkit_dom_dom_implementation_create_document_type")]
1979+ public unowned WebKit.DOMDocumentType create_document_type (string qualified_name, string public_id, string system_id) throws GLib.Error;
1980+ [CCode (cname = "webkit_dom_dom_implementation_create_html_document")]
1981+ public unowned WebKit.DOMHTMLDocument create_html_document (string title);
1982+ [CCode (cname = "webkit_dom_dom_implementation_has_feature")]
1983+ public bool has_feature (string feature, string version);
1984+ }
1985+ [CCode (cheader_filename = "webkit/webkit.h")]
1986+ public class DOMDOMMimeType : WebKit.DOMObject {
1987+ [CCode (has_construct_function = false)]
1988+ protected DOMDOMMimeType ();
1989+ [CCode (cname = "webkit_dom_dom_mime_type_get_description")]
1990+ public unowned string get_description ();
1991+ [CCode (cname = "webkit_dom_dom_mime_type_get_enabled_plugin")]
1992+ public unowned WebKit.DOMDOMPlugin get_enabled_plugin ();
1993+ [CCode (cname = "webkit_dom_dom_mime_type_get_suffixes")]
1994+ public unowned string get_suffixes ();
1995+ public string description { get; }
1996+ public WebKit.DOMDOMPlugin enabled_plugin { get; }
1997+ public string suffixes { get; }
1998+ [NoAccessorMethod]
1999+ public string type { owned get; }
2000+ }
2001+ [CCode (cheader_filename = "webkit/webkit.h")]
2002+ public class DOMDOMMimeTypeArray : WebKit.DOMObject {
2003+ [CCode (has_construct_function = false)]
2004+ protected DOMDOMMimeTypeArray ();
2005+ [CCode (cname = "webkit_dom_dom_mime_type_array_get_length")]
2006+ public ulong get_length ();
2007+ [CCode (cname = "webkit_dom_dom_mime_type_array_item")]
2008+ public unowned WebKit.DOMDOMMimeType item (ulong index);
2009+ [CCode (cname = "webkit_dom_dom_mime_type_array_named_item")]
2010+ public unowned WebKit.DOMDOMMimeType named_item (string name);
2011+ public ulong length { get; }
2012+ }
2013+ [CCode (cheader_filename = "webkit/webkit.h")]
2014+ public class DOMDOMPlugin : WebKit.DOMObject {
2015+ [CCode (has_construct_function = false)]
2016+ protected DOMDOMPlugin ();
2017+ [CCode (cname = "webkit_dom_dom_plugin_get_description")]
2018+ public unowned string get_description ();
2019+ [CCode (cname = "webkit_dom_dom_plugin_get_filename")]
2020+ public unowned string get_filename ();
2021+ [CCode (cname = "webkit_dom_dom_plugin_get_length")]
2022+ public ulong get_length ();
2023+ [CCode (cname = "webkit_dom_dom_plugin_get_name")]
2024+ public unowned string get_name ();
2025+ [CCode (cname = "webkit_dom_dom_plugin_item")]
2026+ public unowned WebKit.DOMDOMMimeType item (ulong index);
2027+ [CCode (cname = "webkit_dom_dom_plugin_named_item")]
2028+ public unowned WebKit.DOMDOMMimeType named_item (string name);
2029+ public string description { get; }
2030+ public string filename { get; }
2031+ public ulong length { get; }
2032+ public string name { get; }
2033+ }
2034+ [CCode (cheader_filename = "webkit/webkit.h")]
2035+ public class DOMDOMPluginArray : WebKit.DOMObject {
2036+ [CCode (has_construct_function = false)]
2037+ protected DOMDOMPluginArray ();
2038+ [CCode (cname = "webkit_dom_dom_plugin_array_get_length")]
2039+ public ulong get_length ();
2040+ [CCode (cname = "webkit_dom_dom_plugin_array_item")]
2041+ public unowned WebKit.DOMDOMPlugin item (ulong index);
2042+ [CCode (cname = "webkit_dom_dom_plugin_array_named_item")]
2043+ public unowned WebKit.DOMDOMPlugin named_item (string name);
2044+ [CCode (cname = "webkit_dom_dom_plugin_array_refresh")]
2045+ public void refresh (bool reload);
2046+ public ulong length { get; }
2047+ }
2048+ [CCode (cheader_filename = "webkit/webkit.h")]
2049+ public class DOMDOMSelection : WebKit.DOMObject {
2050+ [CCode (has_construct_function = false)]
2051+ protected DOMDOMSelection ();
2052+ [CCode (cname = "webkit_dom_dom_selection_add_range")]
2053+ public void add_range (WebKit.DOMRange range);
2054+ [CCode (cname = "webkit_dom_dom_selection_collapse")]
2055+ public void collapse (WebKit.DOMNode node, long index) throws GLib.Error;
2056+ [CCode (cname = "webkit_dom_dom_selection_collapse_to_end")]
2057+ public void collapse_to_end () throws GLib.Error;
2058+ [CCode (cname = "webkit_dom_dom_selection_collapse_to_start")]
2059+ public void collapse_to_start () throws GLib.Error;
2060+ [CCode (cname = "webkit_dom_dom_selection_contains_node")]
2061+ public bool contains_node (WebKit.DOMNode node, bool allow_partial);
2062+ [CCode (cname = "webkit_dom_dom_selection_delete_from_document")]
2063+ public void delete_from_document ();
2064+ [CCode (cname = "webkit_dom_dom_selection_empty")]
2065+ public void empty ();
2066+ [CCode (cname = "webkit_dom_dom_selection_extend")]
2067+ public void extend (WebKit.DOMNode node, long offset) throws GLib.Error;
2068+ [CCode (cname = "webkit_dom_dom_selection_get_anchor_node")]
2069+ public unowned WebKit.DOMNode get_anchor_node ();
2070+ [CCode (cname = "webkit_dom_dom_selection_get_anchor_offset")]
2071+ public long get_anchor_offset ();
2072+ [CCode (cname = "webkit_dom_dom_selection_get_base_node")]
2073+ public unowned WebKit.DOMNode get_base_node ();
2074+ [CCode (cname = "webkit_dom_dom_selection_get_base_offset")]
2075+ public long get_base_offset ();
2076+ [CCode (cname = "webkit_dom_dom_selection_get_extent_node")]
2077+ public unowned WebKit.DOMNode get_extent_node ();
2078+ [CCode (cname = "webkit_dom_dom_selection_get_extent_offset")]
2079+ public long get_extent_offset ();
2080+ [CCode (cname = "webkit_dom_dom_selection_get_focus_node")]
2081+ public unowned WebKit.DOMNode get_focus_node ();
2082+ [CCode (cname = "webkit_dom_dom_selection_get_focus_offset")]
2083+ public long get_focus_offset ();
2084+ [CCode (cname = "webkit_dom_dom_selection_get_is_collapsed")]
2085+ public bool get_is_collapsed ();
2086+ [CCode (cname = "webkit_dom_dom_selection_get_range_at")]
2087+ public unowned WebKit.DOMRange get_range_at (long index) throws GLib.Error;
2088+ [CCode (cname = "webkit_dom_dom_selection_get_range_count")]
2089+ public long get_range_count ();
2090+ [CCode (cname = "webkit_dom_dom_selection_modify")]
2091+ public void modify (string alter, string direction, string granularity);
2092+ [CCode (cname = "webkit_dom_dom_selection_remove_all_ranges")]
2093+ public void remove_all_ranges ();
2094+ [CCode (cname = "webkit_dom_dom_selection_select_all_children")]
2095+ public void select_all_children (WebKit.DOMNode node) throws GLib.Error;
2096+ [CCode (cname = "webkit_dom_dom_selection_set_base_and_extent")]
2097+ public void set_base_and_extent (WebKit.DOMNode base_node, long base_offset, WebKit.DOMNode extent_node, long extent_offset) throws GLib.Error;
2098+ [CCode (cname = "webkit_dom_dom_selection_set_position")]
2099+ public void set_position (WebKit.DOMNode node, long offset) throws GLib.Error;
2100+ public WebKit.DOMNode anchor_node { get; }
2101+ public long anchor_offset { get; }
2102+ public WebKit.DOMNode base_node { get; }
2103+ public long base_offset { get; }
2104+ public WebKit.DOMNode extent_node { get; }
2105+ public long extent_offset { get; }
2106+ public WebKit.DOMNode focus_node { get; }
2107+ public long focus_offset { get; }
2108+ public bool is_collapsed { get; }
2109+ public long range_count { get; }
2110+ [NoAccessorMethod]
2111+ public string type { owned get; }
2112+ }
2113+ [CCode (cheader_filename = "webkit/webkit.h")]
2114+ public class DOMDOMSettableTokenList : WebKit.DOMDOMTokenList {
2115+ [CCode (has_construct_function = false)]
2116+ protected DOMDOMSettableTokenList ();
2117+ [CCode (cname = "webkit_dom_dom_settable_token_list_get_value")]
2118+ public unowned string get_value ();
2119+ [CCode (cname = "webkit_dom_dom_settable_token_list_set_value")]
2120+ public void set_value (string value);
2121+ public string value { get; set; }
2122+ }
2123+ [CCode (cheader_filename = "webkit/webkit.h")]
2124+ public class DOMDOMStringList : WebKit.DOMObject {
2125+ [CCode (has_construct_function = false)]
2126+ protected DOMDOMStringList ();
2127+ [CCode (cname = "webkit_dom_dom_string_list_contains")]
2128+ public bool contains (string str);
2129+ [CCode (cname = "webkit_dom_dom_string_list_get_length")]
2130+ public ulong get_length ();
2131+ [CCode (cname = "webkit_dom_dom_string_list_item")]
2132+ public unowned string item (ulong index);
2133+ public ulong length { get; }
2134+ }
2135+ [CCode (cheader_filename = "webkit/webkit.h")]
2136+ public class DOMDOMStringMap : WebKit.DOMObject {
2137+ [CCode (has_construct_function = false)]
2138+ protected DOMDOMStringMap ();
2139+ }
2140+ [CCode (cheader_filename = "webkit/webkit.h")]
2141+ public class DOMDOMTokenList : WebKit.DOMObject {
2142+ [CCode (has_construct_function = false)]
2143+ protected DOMDOMTokenList ();
2144+ [CCode (cname = "webkit_dom_dom_token_list_add")]
2145+ public void add (string token) throws GLib.Error;
2146+ [CCode (cname = "webkit_dom_dom_token_list_contains")]
2147+ public bool contains (string token) throws GLib.Error;
2148+ [CCode (cname = "webkit_dom_dom_token_list_get_length")]
2149+ public ulong get_length ();
2150+ [CCode (cname = "webkit_dom_dom_token_list_item")]
2151+ public unowned string item (ulong index);
2152+ [CCode (cname = "webkit_dom_dom_token_list_remove")]
2153+ public void remove (string token) throws GLib.Error;
2154+ [CCode (cname = "webkit_dom_dom_token_list_toggle")]
2155+ public bool toggle (string token) throws GLib.Error;
2156+ public ulong length { get; }
2157+ }
2158+ [CCode (cheader_filename = "webkit/webkit.h")]
2159+ public class DOMDOMWindow : WebKit.DOMObject, WebKit.DOMEventTarget {
2160+ [CCode (has_construct_function = false)]
2161+ protected DOMDOMWindow ();
2162+ [CCode (cname = "webkit_dom_dom_window_alert")]
2163+ public void alert (string message);
2164+ [CCode (cname = "webkit_dom_dom_window_atob")]
2165+ public unowned string atob (string str) throws GLib.Error;
2166+ [CCode (cname = "webkit_dom_dom_window_blur")]
2167+ public void blur ();
2168+ [CCode (cname = "webkit_dom_dom_window_btoa")]
2169+ public unowned string btoa (string str) throws GLib.Error;
2170+ [CCode (cname = "webkit_dom_dom_window_capture_events")]
2171+ public void capture_events ();
2172+ [CCode (cname = "webkit_dom_dom_window_clear_interval")]
2173+ public void clear_interval (long handle);
2174+ [CCode (cname = "webkit_dom_dom_window_clear_timeout")]
2175+ public void clear_timeout (long handle);
2176+ [CCode (cname = "webkit_dom_dom_window_close")]
2177+ public void close ();
2178+ [CCode (cname = "webkit_dom_dom_window_confirm")]
2179+ public bool confirm (string message);
2180+ [CCode (cname = "webkit_dom_dom_window_find")]
2181+ public bool find (string str, bool case_sensitive, bool backwards, bool wrap, bool whole_word, bool search_in_frames, bool show_dialog);
2182+ [CCode (cname = "webkit_dom_dom_window_focus")]
2183+ public void focus ();
2184+ [CCode (cname = "webkit_dom_dom_window_get_application_cache")]
2185+ public unowned WebKit.DOMDOMApplicationCache get_application_cache ();
2186+ [CCode (cname = "webkit_dom_dom_window_get_client_information")]
2187+ public unowned WebKit.DOMNavigator get_client_information ();
2188+ [CCode (cname = "webkit_dom_dom_window_get_closed")]
2189+ public bool get_closed ();
2190+ [CCode (cname = "webkit_dom_dom_window_get_computed_style")]
2191+ public unowned WebKit.DOMCSSStyleDeclaration get_computed_style (WebKit.DOMElement element, string pseudo_element);
2192+ [CCode (cname = "webkit_dom_dom_window_get_console")]
2193+ public unowned WebKit.DOMConsole get_console ();
2194+ [CCode (cname = "webkit_dom_dom_window_get_default_status")]
2195+ public unowned string get_default_status ();
2196+ [CCode (cname = "webkit_dom_dom_window_get_device_pixel_ratio")]
2197+ public double get_device_pixel_ratio ();
2198+ [CCode (cname = "webkit_dom_dom_window_get_document")]
2199+ public unowned WebKit.DOMDocument get_document ();
2200+ [CCode (cname = "webkit_dom_dom_window_get_frame_element")]
2201+ public unowned WebKit.DOMElement get_frame_element ();
2202+ [CCode (cname = "webkit_dom_dom_window_get_frames")]
2203+ public unowned WebKit.DOMDOMWindow get_frames ();
2204+ [CCode (cname = "webkit_dom_dom_window_get_history")]
2205+ public unowned WebKit.DOMHistory get_history ();
2206+ [CCode (cname = "webkit_dom_dom_window_get_inner_height")]
2207+ public long get_inner_height ();
2208+ [CCode (cname = "webkit_dom_dom_window_get_inner_width")]
2209+ public long get_inner_width ();
2210+ [CCode (cname = "webkit_dom_dom_window_get_length")]
2211+ public ulong get_length ();
2212+ [CCode (cname = "webkit_dom_dom_window_get_local_storage")]
2213+ public unowned WebKit.DOMStorage get_local_storage () throws GLib.Error;
2214+ [CCode (cname = "webkit_dom_dom_window_get_locationbar")]
2215+ public unowned WebKit.DOMBarInfo get_locationbar ();
2216+ [CCode (cname = "webkit_dom_dom_window_get_menubar")]
2217+ public unowned WebKit.DOMBarInfo get_menubar ();
2218+ [CCode (cname = "webkit_dom_dom_window_get_name")]
2219+ public unowned string get_name ();
2220+ [CCode (cname = "webkit_dom_dom_window_get_navigator")]
2221+ public unowned WebKit.DOMNavigator get_navigator ();
2222+ [CCode (cname = "webkit_dom_dom_window_get_offscreen_buffering")]
2223+ public bool get_offscreen_buffering ();
2224+ [CCode (cname = "webkit_dom_dom_window_get_opener")]
2225+ public unowned WebKit.DOMDOMWindow get_opener ();
2226+ [CCode (cname = "webkit_dom_dom_window_get_outer_height")]
2227+ public long get_outer_height ();
2228+ [CCode (cname = "webkit_dom_dom_window_get_outer_width")]
2229+ public long get_outer_width ();
2230+ [CCode (cname = "webkit_dom_dom_window_get_page_x_offset")]
2231+ public long get_page_x_offset ();
2232+ [CCode (cname = "webkit_dom_dom_window_get_page_y_offset")]
2233+ public long get_page_y_offset ();
2234+ [CCode (cname = "webkit_dom_dom_window_get_parent")]
2235+ public unowned WebKit.DOMDOMWindow get_parent ();
2236+ [CCode (cname = "webkit_dom_dom_window_get_personalbar")]
2237+ public unowned WebKit.DOMBarInfo get_personalbar ();
2238+ [CCode (cname = "webkit_dom_dom_window_get_screen")]
2239+ public unowned WebKit.DOMScreen get_screen ();
2240+ [CCode (cname = "webkit_dom_dom_window_get_screen_left")]
2241+ public long get_screen_left ();
2242+ [CCode (cname = "webkit_dom_dom_window_get_screen_top")]
2243+ public long get_screen_top ();
2244+ [CCode (cname = "webkit_dom_dom_window_get_screen_x")]
2245+ public long get_screen_x ();
2246+ [CCode (cname = "webkit_dom_dom_window_get_screen_y")]
2247+ public long get_screen_y ();
2248+ [CCode (cname = "webkit_dom_dom_window_get_scroll_x")]
2249+ public long get_scroll_x ();
2250+ [CCode (cname = "webkit_dom_dom_window_get_scroll_y")]
2251+ public long get_scroll_y ();
2252+ [CCode (cname = "webkit_dom_dom_window_get_scrollbars")]
2253+ public unowned WebKit.DOMBarInfo get_scrollbars ();
2254+ [CCode (cname = "webkit_dom_dom_window_get_selection")]
2255+ public unowned WebKit.DOMDOMSelection get_selection ();
2256+ [CCode (cname = "webkit_dom_dom_window_get_self")]
2257+ public unowned WebKit.DOMDOMWindow get_self ();
2258+ [CCode (cname = "webkit_dom_dom_window_get_session_storage")]
2259+ public unowned WebKit.DOMStorage get_session_storage () throws GLib.Error;
2260+ [CCode (cname = "webkit_dom_dom_window_get_status")]
2261+ public unowned string get_status ();
2262+ [CCode (cname = "webkit_dom_dom_window_get_statusbar")]
2263+ public unowned WebKit.DOMBarInfo get_statusbar ();
2264+ [CCode (cname = "webkit_dom_dom_window_get_style_media")]
2265+ public unowned WebKit.DOMStyleMedia get_style_media ();
2266+ [CCode (cname = "webkit_dom_dom_window_get_toolbar")]
2267+ public unowned WebKit.DOMBarInfo get_toolbar ();
2268+ [CCode (cname = "webkit_dom_dom_window_get_top")]
2269+ public unowned WebKit.DOMDOMWindow get_top ();
2270+ [CCode (cname = "webkit_dom_dom_window_get_window")]
2271+ public unowned WebKit.DOMDOMWindow get_window ();
2272+ [CCode (cname = "webkit_dom_dom_window_match_media")]
2273+ public unowned WebKit.DOMMediaQueryList match_media (string query);
2274+ [CCode (cname = "webkit_dom_dom_window_move_by")]
2275+ public void move_by (float x, float y);
2276+ [CCode (cname = "webkit_dom_dom_window_move_to")]
2277+ public void move_to (float x, float y);
2278+ [CCode (cname = "webkit_dom_dom_window_print")]
2279+ public void print ();
2280+ [CCode (cname = "webkit_dom_dom_window_prompt")]
2281+ public unowned string prompt (string message, string default_value);
2282+ [CCode (cname = "webkit_dom_dom_window_release_events")]
2283+ public void release_events ();
2284+ [CCode (cname = "webkit_dom_dom_window_resize_by")]
2285+ public void resize_by (float x, float y);
2286+ [CCode (cname = "webkit_dom_dom_window_resize_to")]
2287+ public void resize_to (float width, float height);
2288+ [CCode (cname = "webkit_dom_dom_window_scroll")]
2289+ public void scroll (long x, long y);
2290+ [CCode (cname = "webkit_dom_dom_window_scroll_by")]
2291+ public void scroll_by (long x, long y);
2292+ [CCode (cname = "webkit_dom_dom_window_scroll_to")]
2293+ public void scroll_to (long x, long y);
2294+ [CCode (cname = "webkit_dom_dom_window_set_default_status")]
2295+ public void set_default_status (string value);
2296+ [CCode (cname = "webkit_dom_dom_window_set_name")]
2297+ public void set_name (string value);
2298+ [CCode (cname = "webkit_dom_dom_window_set_status")]
2299+ public void set_status (string value);
2300+ [CCode (cname = "webkit_dom_dom_window_stop")]
2301+ public void stop ();
2302+ [CCode (cname = "webkit_dom_dom_window_webkit_convert_point_from_node_to_page")]
2303+ public unowned WebKit.DOMWebKitPoint webkit_convert_point_from_node_to_page (WebKit.DOMNode node, WebKit.DOMWebKitPoint p);
2304+ [CCode (cname = "webkit_dom_dom_window_webkit_convert_point_from_page_to_node")]
2305+ public unowned WebKit.DOMWebKitPoint webkit_convert_point_from_page_to_node (WebKit.DOMNode node, WebKit.DOMWebKitPoint p);
2306+ public WebKit.DOMDOMApplicationCache application_cache { get; }
2307+ [NoAccessorMethod]
2308+ public WebKit.DOMNavigator client_information { owned get; set; }
2309+ public bool closed { get; }
2310+ [NoAccessorMethod]
2311+ public WebKit.DOMConsole console { owned get; set; }
2312+ public string default_status { get; set; }
2313+ [NoAccessorMethod]
2314+ public double device_pixel_ratio { get; set; }
2315+ public WebKit.DOMDocument document { get; }
2316+ public WebKit.DOMElement frame_element { get; }
2317+ [NoAccessorMethod]
2318+ public WebKit.DOMDOMWindow frames { owned get; set; }
2319+ [NoAccessorMethod]
2320+ public WebKit.DOMHistory history { owned get; set; }
2321+ [NoAccessorMethod]
2322+ public long inner_height { get; set; }
2323+ [NoAccessorMethod]
2324+ public long inner_width { get; set; }
2325+ [NoAccessorMethod]
2326+ public ulong length { get; set; }
2327+ public WebKit.DOMStorage local_storage { get; }
2328+ [NoAccessorMethod]
2329+ public WebKit.DOMBarInfo locationbar { owned get; set; }
2330+ [NoAccessorMethod]
2331+ public WebKit.DOMBarInfo menubar { owned get; set; }
2332+ public string name { get; set; }
2333+ [NoAccessorMethod]
2334+ public WebKit.DOMNavigator navigator { owned get; set; }
2335+ [NoAccessorMethod]
2336+ public bool offscreen_buffering { get; set; }
2337+ [NoAccessorMethod]
2338+ public WebKit.DOMDOMWindow opener { owned get; set; }
2339+ [NoAccessorMethod]
2340+ public long outer_height { get; set; }
2341+ [NoAccessorMethod]
2342+ public long outer_width { get; set; }
2343+ public long page_x_offset { get; }
2344+ public long page_y_offset { get; }
2345+ [NoAccessorMethod]
2346+ public WebKit.DOMDOMWindow parent { owned get; set; }
2347+ [NoAccessorMethod]
2348+ public WebKit.DOMBarInfo personalbar { owned get; set; }
2349+ [NoAccessorMethod]
2350+ public WebKit.DOMScreen screen { owned get; set; }
2351+ [NoAccessorMethod]
2352+ public long screen_left { get; set; }
2353+ [NoAccessorMethod]
2354+ public long screen_top { get; set; }
2355+ [NoAccessorMethod]
2356+ public long screen_x { get; set; }
2357+ [NoAccessorMethod]
2358+ public long screen_y { get; set; }
2359+ [NoAccessorMethod]
2360+ public long scroll_x { get; set; }
2361+ [NoAccessorMethod]
2362+ public long scroll_y { get; set; }
2363+ [NoAccessorMethod]
2364+ public WebKit.DOMBarInfo scrollbars { owned get; set; }
2365+ [NoAccessorMethod]
2366+ public WebKit.DOMDOMWindow self { owned get; set; }
2367+ public WebKit.DOMStorage session_storage { get; }
2368+ public string status { get; set; }
2369+ [NoAccessorMethod]
2370+ public WebKit.DOMBarInfo statusbar { owned get; set; }
2371+ public WebKit.DOMStyleMedia style_media { get; }
2372+ [NoAccessorMethod]
2373+ public WebKit.DOMBarInfo toolbar { owned get; set; }
2374+ [NoAccessorMethod]
2375+ public WebKit.DOMDOMWindow top { owned get; set; }
2376+ public WebKit.DOMDOMWindow window { get; }
2377+ }
2378+ [CCode (cheader_filename = "webkit/webkit.h")]
2379+ public class DOMDatabase : WebKit.DOMObject {
2380+ [CCode (has_construct_function = false)]
2381+ protected DOMDatabase ();
2382+ public unowned string get_version ();
2383+ public string version { get; }
2384+ }
2385+ [CCode (cheader_filename = "webkit/webkit.h")]
2386+ public class DOMDocument : WebKit.DOMNode, WebKit.DOMEventTarget {
2387+ [CCode (has_construct_function = false)]
2388+ protected DOMDocument ();
2389+ public unowned WebKit.DOMNode adopt_node (WebKit.DOMNode source) throws GLib.Error;
2390+ public unowned WebKit.DOMRange caret_range_from_point (long x, long y);
2391+ public unowned WebKit.DOMAttr create_attribute (string name) throws GLib.Error;
2392+ public unowned WebKit.DOMAttr create_attribute_ns (string namespace_uri, string qualified_name) throws GLib.Error;
2393+ public unowned WebKit.DOMCDATASection create_cdata_section (string data) throws GLib.Error;
2394+ public unowned WebKit.DOMComment create_comment (string data);
2395+ public unowned WebKit.DOMCSSStyleDeclaration create_css_style_declaration ();
2396+ public unowned WebKit.DOMDocumentFragment create_document_fragment ();
2397+ public unowned WebKit.DOMElement create_element (string tag_name) throws GLib.Error;
2398+ public unowned WebKit.DOMElement create_element_ns (string namespace_uri, string qualified_name) throws GLib.Error;
2399+ public unowned WebKit.DOMEntityReference create_entity_reference (string name) throws GLib.Error;
2400+ public unowned WebKit.DOMEvent create_event (string event_type) throws GLib.Error;
2401+ public unowned WebKit.DOMXPathExpression create_expression (string expression, WebKit.DOMXPathNSResolver resolver) throws GLib.Error;
2402+ public unowned WebKit.DOMNodeIterator create_node_iterator (WebKit.DOMNode root, ulong what_to_show, WebKit.DOMNodeFilter filter, bool expand_entity_references) throws GLib.Error;
2403+ public unowned WebKit.DOMXPathNSResolver create_ns_resolver (WebKit.DOMNode node_resolver);
2404+ public unowned WebKit.DOMProcessingInstruction create_processing_instruction (string target, string data) throws GLib.Error;
2405+ public unowned WebKit.DOMRange create_range ();
2406+ public unowned WebKit.DOMText create_text_node (string data);
2407+ public unowned WebKit.DOMTreeWalker create_tree_walker (WebKit.DOMNode root, ulong what_to_show, WebKit.DOMNodeFilter filter, bool expand_entity_references) throws GLib.Error;
2408+ public unowned WebKit.DOMElement element_from_point (long x, long y);
2409+ public unowned WebKit.DOMXPathResult evaluate (string expression, WebKit.DOMNode context_node, WebKit.DOMXPathNSResolver resolver, ushort type, WebKit.DOMXPathResult in_result) throws GLib.Error;
2410+ public bool exec_command (string command, bool user_interface, string value);
2411+ public unowned WebKit.DOMHTMLCollection get_anchors ();
2412+ public unowned WebKit.DOMHTMLCollection get_applets ();
2413+ public unowned WebKit.DOMHTMLElement get_body ();
2414+ public unowned string get_character_set ();
2415+ public unowned string get_charset ();
2416+ public unowned string get_compat_mode ();
2417+ public unowned string get_cookie () throws GLib.Error;
2418+ public unowned string get_default_charset ();
2419+ public unowned WebKit.DOMDOMWindow get_default_view ();
2420+ public unowned WebKit.DOMDocumentType get_doctype ();
2421+ public unowned WebKit.DOMElement get_document_element ();
2422+ public unowned string get_document_uri ();
2423+ public unowned string get_domain ();
2424+ public unowned WebKit.DOMElement get_element_by_id (string element_id);
2425+ public unowned WebKit.DOMNodeList get_elements_by_class_name (string tagname);
2426+ public unowned WebKit.DOMNodeList get_elements_by_name (string element_name);
2427+ public unowned WebKit.DOMNodeList get_elements_by_tag_name (string tagname);
2428+ public unowned WebKit.DOMNodeList get_elements_by_tag_name_ns (string namespace_uri, string local_name);
2429+ public unowned WebKit.DOMHTMLCollection get_forms ();
2430+ public unowned WebKit.DOMHTMLHeadElement get_head ();
2431+ public unowned WebKit.DOMHTMLCollection get_images ();
2432+ public unowned WebKit.DOMDOMImplementation get_implementation ();
2433+ public unowned string get_input_encoding ();
2434+ public unowned string get_last_modified ();
2435+ public unowned WebKit.DOMHTMLCollection get_links ();
2436+ public unowned WebKit.DOMCSSStyleDeclaration get_override_style (WebKit.DOMElement element, string pseudo_element);
2437+ public unowned string get_preferred_stylesheet_set ();
2438+ public unowned string get_ready_state ();
2439+ public unowned string get_referrer ();
2440+ public unowned string get_selected_stylesheet_set ();
2441+ public unowned WebKit.DOMStyleSheetList get_style_sheets ();
2442+ public unowned string get_title ();
2443+ public unowned WebKit.DOMElement get_webkit_current_full_screen_element ();
2444+ public bool get_webkit_full_screen_keyboard_input_allowed ();
2445+ public bool get_webkit_hidden ();
2446+ public bool get_webkit_is_full_screen ();
2447+ public unowned string get_webkit_visibility_state ();
2448+ public unowned string get_xml_encoding ();
2449+ public bool get_xml_standalone ();
2450+ public unowned string get_xml_version ();
2451+ public unowned WebKit.DOMNode import_node (WebKit.DOMNode imported_node, bool deep) throws GLib.Error;
2452+ public bool query_command_enabled (string command);
2453+ public bool query_command_indeterm (string command);
2454+ public bool query_command_state (string command);
2455+ public bool query_command_supported (string command);
2456+ public unowned string query_command_value (string command);
2457+ public unowned WebKit.DOMElement query_selector (string selectors) throws GLib.Error;
2458+ public unowned WebKit.DOMNodeList query_selector_all (string selectors) throws GLib.Error;
2459+ public void set_body (WebKit.DOMHTMLElement value) throws GLib.Error;
2460+ public void set_charset (string value);
2461+ public void set_cookie (string value) throws GLib.Error;
2462+ public void set_document_uri (string value);
2463+ public void set_selected_stylesheet_set (string value);
2464+ public void set_title (string value);
2465+ public void set_xml_standalone (bool value) throws GLib.Error;
2466+ public void set_xml_version (string value) throws GLib.Error;
2467+ public void webkit_cancel_full_screen ();
2468+ public WebKit.DOMHTMLCollection anchors { get; }
2469+ public WebKit.DOMHTMLCollection applets { get; }
2470+ public WebKit.DOMHTMLElement body { get; set; }
2471+ public string character_set { get; }
2472+ public string charset { get; set; }
2473+ public string compat_mode { get; }
2474+ public string cookie { get; set; }
2475+ public string default_charset { get; }
2476+ public WebKit.DOMDOMWindow default_view { get; }
2477+ public WebKit.DOMDocumentType doctype { get; }
2478+ public WebKit.DOMElement document_element { get; }
2479+ public string document_uri { get; set; }
2480+ public string domain { get; }
2481+ public WebKit.DOMHTMLCollection forms { get; }
2482+ public WebKit.DOMHTMLHeadElement head { get; }
2483+ public WebKit.DOMHTMLCollection images { get; }
2484+ public WebKit.DOMDOMImplementation implementation { get; }
2485+ public string input_encoding { get; }
2486+ public string last_modified { get; }
2487+ public WebKit.DOMHTMLCollection links { get; }
2488+ public string preferred_stylesheet_set { get; }
2489+ public string ready_state { get; }
2490+ public string referrer { get; }
2491+ public string selected_stylesheet_set { get; set; }
2492+ public WebKit.DOMStyleSheetList style_sheets { get; }
2493+ public string title { get; set; }
2494+ [NoAccessorMethod]
2495+ public string url { owned get; }
2496+ public WebKit.DOMElement webkit_current_full_screen_element { get; }
2497+ public bool webkit_full_screen_keyboard_input_allowed { get; }
2498+ public bool webkit_is_full_screen { get; }
2499+ public string xml_encoding { get; }
2500+ public bool xml_standalone { get; set; }
2501+ public string xml_version { get; set; }
2502+ }
2503+ [CCode (cheader_filename = "webkit/webkit.h")]
2504+ public class DOMDocumentFragment : WebKit.DOMNode, WebKit.DOMEventTarget {
2505+ [CCode (has_construct_function = false)]
2506+ protected DOMDocumentFragment ();
2507+ public unowned WebKit.DOMElement query_selector (string selectors) throws GLib.Error;
2508+ public unowned WebKit.DOMNodeList query_selector_all (string selectors) throws GLib.Error;
2509+ }
2510+ [CCode (cheader_filename = "webkit/webkit.h")]
2511+ public class DOMDocumentType : WebKit.DOMNode, WebKit.DOMEventTarget {
2512+ [CCode (has_construct_function = false)]
2513+ protected DOMDocumentType ();
2514+ public unowned WebKit.DOMNamedNodeMap get_entities ();
2515+ public unowned string get_internal_subset ();
2516+ public unowned string get_name ();
2517+ public unowned WebKit.DOMNamedNodeMap get_notations ();
2518+ public unowned string get_public_id ();
2519+ public unowned string get_system_id ();
2520+ public WebKit.DOMNamedNodeMap entities { get; }
2521+ public string internal_subset { get; }
2522+ public string name { get; }
2523+ public WebKit.DOMNamedNodeMap notations { get; }
2524+ public string public_id { get; }
2525+ public string system_id { get; }
2526+ }
2527+ [CCode (cheader_filename = "webkit/webkit.h")]
2528+ public class DOMElement : WebKit.DOMNode, WebKit.DOMEventTarget {
2529+ [CCode (has_construct_function = false)]
2530+ protected DOMElement ();
2531+ public void blur ();
2532+ public void focus ();
2533+ public unowned string get_attribute (string name);
2534+ public unowned WebKit.DOMAttr get_attribute_node (string name);
2535+ public unowned WebKit.DOMAttr get_attribute_node_ns (string namespace_uri, string local_name);
2536+ public unowned string get_attribute_ns (string namespace_uri, string local_name);
2537+ public ulong get_child_element_count ();
2538+ public long get_client_height ();
2539+ public long get_client_left ();
2540+ public long get_client_top ();
2541+ public long get_client_width ();
2542+ public unowned WebKit.DOMNodeList get_elements_by_class_name (string name);
2543+ public unowned WebKit.DOMNodeList get_elements_by_tag_name (string name);
2544+ public unowned WebKit.DOMNodeList get_elements_by_tag_name_ns (string namespace_uri, string local_name);
2545+ public unowned WebKit.DOMElement get_first_element_child ();
2546+ public unowned WebKit.DOMElement get_last_element_child ();
2547+ public unowned WebKit.DOMElement get_next_element_sibling ();
2548+ public long get_offset_height ();
2549+ public long get_offset_left ();
2550+ public unowned WebKit.DOMElement get_offset_parent ();
2551+ public long get_offset_top ();
2552+ public long get_offset_width ();
2553+ public unowned WebKit.DOMElement get_previous_element_sibling ();
2554+ public long get_scroll_height ();
2555+ public long get_scroll_left ();
2556+ public long get_scroll_top ();
2557+ public long get_scroll_width ();
2558+ public unowned WebKit.DOMCSSStyleDeclaration get_style ();
2559+ public unowned string get_tag_name ();
2560+ public bool has_attribute (string name);
2561+ public bool has_attribute_ns (string namespace_uri, string local_name);
2562+ public unowned WebKit.DOMElement query_selector (string selectors) throws GLib.Error;
2563+ public unowned WebKit.DOMNodeList query_selector_all (string selectors) throws GLib.Error;
2564+ public void remove_attribute (string name) throws GLib.Error;
2565+ public unowned WebKit.DOMAttr remove_attribute_node (WebKit.DOMAttr old_attr) throws GLib.Error;
2566+ public void remove_attribute_ns (string namespace_uri, string local_name) throws GLib.Error;
2567+ public void scroll_by_lines (long lines);
2568+ public void scroll_by_pages (long pages);
2569+ public void scroll_into_view (bool align_with_top);
2570+ public void scroll_into_view_if_needed (bool center_if_needed);
2571+ public void set_attribute (string name, string value) throws GLib.Error;
2572+ public unowned WebKit.DOMAttr set_attribute_node (WebKit.DOMAttr new_attr) throws GLib.Error;
2573+ public unowned WebKit.DOMAttr set_attribute_node_ns (WebKit.DOMAttr new_attr) throws GLib.Error;
2574+ public void set_attribute_ns (string namespace_uri, string qualified_name, string value) throws GLib.Error;
2575+ public void set_scroll_left (long value);
2576+ public void set_scroll_top (long value);
2577+ public bool webkit_matches_selector (string selectors) throws GLib.Error;
2578+ public void webkit_request_full_screen (ushort flags);
2579+ public ulong child_element_count { get; }
2580+ public long client_height { get; }
2581+ public long client_left { get; }
2582+ public long client_top { get; }
2583+ public long client_width { get; }
2584+ public WebKit.DOMElement first_element_child { get; }
2585+ public WebKit.DOMElement last_element_child { get; }
2586+ public WebKit.DOMElement next_element_sibling { get; }
2587+ public long offset_height { get; }
2588+ public long offset_left { get; }
2589+ public WebKit.DOMElement offset_parent { get; }
2590+ public long offset_top { get; }
2591+ public long offset_width { get; }
2592+ public WebKit.DOMElement previous_element_sibling { get; }
2593+ public long scroll_height { get; }
2594+ public long scroll_left { get; set; }
2595+ public long scroll_top { get; set; }
2596+ public long scroll_width { get; }
2597+ public WebKit.DOMCSSStyleDeclaration style { get; }
2598+ public string tag_name { get; }
2599+ }
2600+ [CCode (cheader_filename = "webkit/webkit.h")]
2601+ public class DOMEntityReference : WebKit.DOMNode, WebKit.DOMEventTarget {
2602+ [CCode (has_construct_function = false)]
2603+ protected DOMEntityReference ();
2604+ }
2605+ [CCode (cheader_filename = "webkit/webkit.h")]
2606+ public class DOMEvent : WebKit.DOMObject {
2607+ [CCode (has_construct_function = false)]
2608+ protected DOMEvent ();
2609+ public bool get_bubbles ();
2610+ public bool get_cancel_bubble ();
2611+ public bool get_cancelable ();
2612+ public unowned WebKit.DOMEventTarget get_current_target ();
2613+ public bool get_default_prevented ();
2614+ public ushort get_event_phase ();
2615+ public bool get_return_value ();
2616+ public unowned WebKit.DOMEventTarget get_src_element ();
2617+ public unowned WebKit.DOMEventTarget get_target ();
2618+ public uint32 get_time_stamp ();
2619+ public void init_event (string event_type_arg, bool can_bubble_arg, bool cancelable_arg);
2620+ public void prevent_default ();
2621+ public void set_cancel_bubble (bool value);
2622+ public void set_return_value (bool value);
2623+ public void stop_immediate_propagation ();
2624+ public void stop_propagation ();
2625+ public bool bubbles { get; }
2626+ public bool cancel_bubble { get; set; }
2627+ public bool cancelable { get; }
2628+ public WebKit.DOMEventTarget current_target { get; }
2629+ public bool default_prevented { get; }
2630+ public uint event_phase { get; }
2631+ public bool return_value { get; set; }
2632+ public WebKit.DOMEventTarget src_element { get; }
2633+ public WebKit.DOMEventTarget target { get; }
2634+ public uint time_stamp { get; }
2635+ [NoAccessorMethod]
2636+ public string type { owned get; }
2637+ }
2638+ [CCode (cheader_filename = "webkit/webkit.h")]
2639+ [Compact]
2640+ public class DOMEventTargetClass {
2641+ }
2642+ [CCode (cheader_filename = "webkit/webkit.h")]
2643+ public class DOMFile : WebKit.DOMBlob {
2644+ [CCode (has_construct_function = false)]
2645+ protected DOMFile ();
2646+ public unowned string get_file_name ();
2647+ public uint64 get_file_size ();
2648+ public unowned string get_name ();
2649+ public string file_name { get; }
2650+ public uint64 file_size { get; }
2651+ public string name { get; }
2652+ }
2653+ [CCode (cheader_filename = "webkit/webkit.h")]
2654+ public class DOMFileList : WebKit.DOMObject {
2655+ [CCode (has_construct_function = false)]
2656+ protected DOMFileList ();
2657+ public ulong get_length ();
2658+ public unowned WebKit.DOMFile item (ulong index);
2659+ public ulong length { get; }
2660+ }
2661+ [CCode (cheader_filename = "webkit/webkit.h")]
2662+ public class DOMGeolocation : WebKit.DOMObject {
2663+ [CCode (has_construct_function = false)]
2664+ protected DOMGeolocation ();
2665+ public void clear_watch (long watch_id);
2666+ }
2667+ [CCode (cheader_filename = "webkit/webkit.h")]
2668+ public class DOMHTMLAnchorElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
2669+ [CCode (has_construct_function = false)]
2670+ protected DOMHTMLAnchorElement ();
2671+ [CCode (cname = "webkit_dom_html_anchor_element_get_access_key")]
2672+ public unowned string get_access_key ();
2673+ [CCode (cname = "webkit_dom_html_anchor_element_get_charset")]
2674+ public unowned string get_charset ();
2675+ [CCode (cname = "webkit_dom_html_anchor_element_get_coords")]
2676+ public unowned string get_coords ();
2677+ [CCode (cname = "webkit_dom_html_anchor_element_get_download")]
2678+ public unowned string get_download ();
2679+ [CCode (cname = "webkit_dom_html_anchor_element_get_hash")]
2680+ public unowned string get_hash ();
2681+ [CCode (cname = "webkit_dom_html_anchor_element_get_host")]
2682+ public unowned string get_host ();
2683+ [CCode (cname = "webkit_dom_html_anchor_element_get_hostname")]
2684+ public unowned string get_hostname ();
2685+ [CCode (cname = "webkit_dom_html_anchor_element_get_href")]
2686+ public unowned string get_href ();
2687+ [CCode (cname = "webkit_dom_html_anchor_element_get_hreflang")]
2688+ public unowned string get_hreflang ();
2689+ [CCode (cname = "webkit_dom_html_anchor_element_get_name")]
2690+ public unowned string get_name ();
2691+ [CCode (cname = "webkit_dom_html_anchor_element_get_origin")]
2692+ public unowned string get_origin ();
2693+ [CCode (cname = "webkit_dom_html_anchor_element_get_parameter")]
2694+ public unowned string get_parameter (string name);
2695+ [CCode (cname = "webkit_dom_html_anchor_element_get_pathname")]
2696+ public unowned string get_pathname ();
2697+ [CCode (cname = "webkit_dom_html_anchor_element_get_ping")]
2698+ public unowned string get_ping ();
2699+ [CCode (cname = "webkit_dom_html_anchor_element_get_port")]
2700+ public unowned string get_port ();
2701+ [CCode (cname = "webkit_dom_html_anchor_element_get_protocol")]
2702+ public unowned string get_protocol ();
2703+ [CCode (cname = "webkit_dom_html_anchor_element_get_rel")]
2704+ public unowned string get_rel ();
2705+ [CCode (cname = "webkit_dom_html_anchor_element_get_rev")]
2706+ public unowned string get_rev ();
2707+ [CCode (cname = "webkit_dom_html_anchor_element_get_search")]
2708+ public unowned string get_search ();
2709+ [CCode (cname = "webkit_dom_html_anchor_element_get_shape")]
2710+ public unowned string get_shape ();
2711+ [CCode (cname = "webkit_dom_html_anchor_element_get_target")]
2712+ public unowned string get_target ();
2713+ [CCode (cname = "webkit_dom_html_anchor_element_get_text")]
2714+ public unowned string get_text ();
2715+ [CCode (cname = "webkit_dom_html_anchor_element_set_access_key")]
2716+ public void set_access_key (string value);
2717+ [CCode (cname = "webkit_dom_html_anchor_element_set_charset")]
2718+ public void set_charset (string value);
2719+ [CCode (cname = "webkit_dom_html_anchor_element_set_coords")]
2720+ public void set_coords (string value);
2721+ [CCode (cname = "webkit_dom_html_anchor_element_set_download")]
2722+ public void set_download (string value);
2723+ [CCode (cname = "webkit_dom_html_anchor_element_set_hash")]
2724+ public void set_hash (string value);
2725+ [CCode (cname = "webkit_dom_html_anchor_element_set_host")]
2726+ public void set_host (string value);
2727+ [CCode (cname = "webkit_dom_html_anchor_element_set_hostname")]
2728+ public void set_hostname (string value);
2729+ [CCode (cname = "webkit_dom_html_anchor_element_set_href")]
2730+ public void set_href (string value);
2731+ [CCode (cname = "webkit_dom_html_anchor_element_set_hreflang")]
2732+ public void set_hreflang (string value);
2733+ [CCode (cname = "webkit_dom_html_anchor_element_set_name")]
2734+ public void set_name (string value);
2735+ [CCode (cname = "webkit_dom_html_anchor_element_set_pathname")]
2736+ public void set_pathname (string value);
2737+ [CCode (cname = "webkit_dom_html_anchor_element_set_ping")]
2738+ public void set_ping (string value);
2739+ [CCode (cname = "webkit_dom_html_anchor_element_set_port")]
2740+ public void set_port (string value);
2741+ [CCode (cname = "webkit_dom_html_anchor_element_set_protocol")]
2742+ public void set_protocol (string value);
2743+ [CCode (cname = "webkit_dom_html_anchor_element_set_rel")]
2744+ public void set_rel (string value);
2745+ [CCode (cname = "webkit_dom_html_anchor_element_set_rev")]
2746+ public void set_rev (string value);
2747+ [CCode (cname = "webkit_dom_html_anchor_element_set_search")]
2748+ public void set_search (string value);
2749+ [CCode (cname = "webkit_dom_html_anchor_element_set_shape")]
2750+ public void set_shape (string value);
2751+ [CCode (cname = "webkit_dom_html_anchor_element_set_target")]
2752+ public void set_target (string value);
2753+ public string access_key { get; set; }
2754+ public string charset { get; set; }
2755+ public string coords { get; set; }
2756+ public string hash { get; set; }
2757+ public string host { get; set; }
2758+ public string hostname { get; set; }
2759+ public string href { get; set; }
2760+ public string hreflang { get; set; }
2761+ public string name { get; set; }
2762+ public string origin { get; }
2763+ public string pathname { get; set; }
2764+ public string ping { get; set; }
2765+ public string port { get; set; }
2766+ public string protocol { get; set; }
2767+ public string rel { get; set; }
2768+ public string rev { get; set; }
2769+ public string search { get; set; }
2770+ public string shape { get; set; }
2771+ public string target { get; set; }
2772+ public string text { get; }
2773+ [NoAccessorMethod]
2774+ public string type { owned get; set; }
2775+ }
2776+ [CCode (cheader_filename = "webkit/webkit.h")]
2777+ public class DOMHTMLAppletElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
2778+ [CCode (has_construct_function = false)]
2779+ protected DOMHTMLAppletElement ();
2780+ [CCode (cname = "webkit_dom_html_applet_element_get_align")]
2781+ public unowned string get_align ();
2782+ [CCode (cname = "webkit_dom_html_applet_element_get_alt")]
2783+ public unowned string get_alt ();
2784+ [CCode (cname = "webkit_dom_html_applet_element_get_archive")]
2785+ public unowned string get_archive ();
2786+ [CCode (cname = "webkit_dom_html_applet_element_get_code")]
2787+ public unowned string get_code ();
2788+ [CCode (cname = "webkit_dom_html_applet_element_get_code_base")]
2789+ public unowned string get_code_base ();
2790+ [CCode (cname = "webkit_dom_html_applet_element_get_height")]
2791+ public unowned string get_height ();
2792+ [CCode (cname = "webkit_dom_html_applet_element_get_hspace")]
2793+ public long get_hspace ();
2794+ [CCode (cname = "webkit_dom_html_applet_element_get_name")]
2795+ public unowned string get_name ();
2796+ [CCode (cname = "webkit_dom_html_applet_element_get_object")]
2797+ public unowned string get_object ();
2798+ [CCode (cname = "webkit_dom_html_applet_element_get_vspace")]
2799+ public long get_vspace ();
2800+ [CCode (cname = "webkit_dom_html_applet_element_get_width")]
2801+ public unowned string get_width ();
2802+ [CCode (cname = "webkit_dom_html_applet_element_set_align")]
2803+ public void set_align (string value);
2804+ [CCode (cname = "webkit_dom_html_applet_element_set_alt")]
2805+ public void set_alt (string value);
2806+ [CCode (cname = "webkit_dom_html_applet_element_set_archive")]
2807+ public void set_archive (string value);
2808+ [CCode (cname = "webkit_dom_html_applet_element_set_code")]
2809+ public void set_code (string value);
2810+ [CCode (cname = "webkit_dom_html_applet_element_set_code_base")]
2811+ public void set_code_base (string value);
2812+ [CCode (cname = "webkit_dom_html_applet_element_set_height")]
2813+ public void set_height (string value);
2814+ [CCode (cname = "webkit_dom_html_applet_element_set_hspace")]
2815+ public void set_hspace (long value);
2816+ [CCode (cname = "webkit_dom_html_applet_element_set_name")]
2817+ public void set_name (string value);
2818+ [CCode (cname = "webkit_dom_html_applet_element_set_object")]
2819+ public void set_object (string value);
2820+ [CCode (cname = "webkit_dom_html_applet_element_set_vspace")]
2821+ public void set_vspace (long value);
2822+ [CCode (cname = "webkit_dom_html_applet_element_set_width")]
2823+ public void set_width (string value);
2824+ public string align { get; set; }
2825+ public string alt { get; set; }
2826+ public string archive { get; set; }
2827+ public string code { get; set; }
2828+ public string code_base { get; set; }
2829+ public string height { get; set; }
2830+ public long hspace { get; set; }
2831+ public string name { get; set; }
2832+ public string object { get; set; }
2833+ public long vspace { get; set; }
2834+ public string width { get; set; }
2835+ }
2836+ [CCode (cheader_filename = "webkit/webkit.h")]
2837+ public class DOMHTMLAreaElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
2838+ [CCode (has_construct_function = false)]
2839+ protected DOMHTMLAreaElement ();
2840+ [CCode (cname = "webkit_dom_html_area_element_get_access_key")]
2841+ public unowned string get_access_key ();
2842+ [CCode (cname = "webkit_dom_html_area_element_get_alt")]
2843+ public unowned string get_alt ();
2844+ [CCode (cname = "webkit_dom_html_area_element_get_coords")]
2845+ public unowned string get_coords ();
2846+ [CCode (cname = "webkit_dom_html_area_element_get_hash")]
2847+ public unowned string get_hash ();
2848+ [CCode (cname = "webkit_dom_html_area_element_get_host")]
2849+ public unowned string get_host ();
2850+ [CCode (cname = "webkit_dom_html_area_element_get_hostname")]
2851+ public unowned string get_hostname ();
2852+ [CCode (cname = "webkit_dom_html_area_element_get_href")]
2853+ public unowned string get_href ();
2854+ [CCode (cname = "webkit_dom_html_area_element_get_no_href")]
2855+ public bool get_no_href ();
2856+ [CCode (cname = "webkit_dom_html_area_element_get_pathname")]
2857+ public unowned string get_pathname ();
2858+ [CCode (cname = "webkit_dom_html_area_element_get_ping")]
2859+ public unowned string get_ping ();
2860+ [CCode (cname = "webkit_dom_html_area_element_get_port")]
2861+ public unowned string get_port ();
2862+ [CCode (cname = "webkit_dom_html_area_element_get_protocol")]
2863+ public unowned string get_protocol ();
2864+ [CCode (cname = "webkit_dom_html_area_element_get_search")]
2865+ public unowned string get_search ();
2866+ [CCode (cname = "webkit_dom_html_area_element_get_shape")]
2867+ public unowned string get_shape ();
2868+ [CCode (cname = "webkit_dom_html_area_element_get_target")]
2869+ public unowned string get_target ();
2870+ [CCode (cname = "webkit_dom_html_area_element_set_access_key")]
2871+ public void set_access_key (string value);
2872+ [CCode (cname = "webkit_dom_html_area_element_set_alt")]
2873+ public void set_alt (string value);
2874+ [CCode (cname = "webkit_dom_html_area_element_set_coords")]
2875+ public void set_coords (string value);
2876+ [CCode (cname = "webkit_dom_html_area_element_set_href")]
2877+ public void set_href (string value);
2878+ [CCode (cname = "webkit_dom_html_area_element_set_no_href")]
2879+ public void set_no_href (bool value);
2880+ [CCode (cname = "webkit_dom_html_area_element_set_ping")]
2881+ public void set_ping (string value);
2882+ [CCode (cname = "webkit_dom_html_area_element_set_shape")]
2883+ public void set_shape (string value);
2884+ [CCode (cname = "webkit_dom_html_area_element_set_target")]
2885+ public void set_target (string value);
2886+ public string access_key { get; set; }
2887+ public string alt { get; set; }
2888+ public string coords { get; set; }
2889+ public string hash { get; }
2890+ public string host { get; }
2891+ public string hostname { get; }
2892+ public string href { get; set; }
2893+ public bool no_href { get; set; }
2894+ public string pathname { get; }
2895+ public string ping { get; set; }
2896+ public string port { get; }
2897+ public string protocol { get; }
2898+ public string search { get; }
2899+ public string shape { get; set; }
2900+ public string target { get; set; }
2901+ }
2902+ [CCode (cheader_filename = "webkit/webkit.h")]
2903+ public class DOMHTMLAudioElement : WebKit.DOMHTMLMediaElement, WebKit.DOMEventTarget {
2904+ [CCode (has_construct_function = false)]
2905+ protected DOMHTMLAudioElement ();
2906+ }
2907+ [CCode (cheader_filename = "webkit/webkit.h")]
2908+ public class DOMHTMLBRElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
2909+ [CCode (has_construct_function = false)]
2910+ protected DOMHTMLBRElement ();
2911+ [CCode (cname = "webkit_dom_htmlbr_element_get_clear")]
2912+ public unowned string get_clear ();
2913+ [CCode (cname = "webkit_dom_htmlbr_element_set_clear")]
2914+ public void set_clear (string value);
2915+ public string clear { get; set; }
2916+ }
2917+ [CCode (cheader_filename = "webkit/webkit.h")]
2918+ public class DOMHTMLBaseElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
2919+ [CCode (has_construct_function = false)]
2920+ protected DOMHTMLBaseElement ();
2921+ [CCode (cname = "webkit_dom_html_base_element_get_href")]
2922+ public unowned string get_href ();
2923+ [CCode (cname = "webkit_dom_html_base_element_get_target")]
2924+ public unowned string get_target ();
2925+ [CCode (cname = "webkit_dom_html_base_element_set_href")]
2926+ public void set_href (string value);
2927+ [CCode (cname = "webkit_dom_html_base_element_set_target")]
2928+ public void set_target (string value);
2929+ public string href { get; set; }
2930+ public string target { get; set; }
2931+ }
2932+ [CCode (cheader_filename = "webkit/webkit.h")]
2933+ public class DOMHTMLBaseFontElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
2934+ [CCode (has_construct_function = false)]
2935+ protected DOMHTMLBaseFontElement ();
2936+ [CCode (cname = "webkit_dom_html_base_font_element_get_color")]
2937+ public unowned string get_color ();
2938+ [CCode (cname = "webkit_dom_html_base_font_element_get_face")]
2939+ public unowned string get_face ();
2940+ [CCode (cname = "webkit_dom_html_base_font_element_get_size")]
2941+ public long get_size ();
2942+ [CCode (cname = "webkit_dom_html_base_font_element_set_color")]
2943+ public void set_color (string value);
2944+ [CCode (cname = "webkit_dom_html_base_font_element_set_face")]
2945+ public void set_face (string value);
2946+ [CCode (cname = "webkit_dom_html_base_font_element_set_size")]
2947+ public void set_size (long value);
2948+ public string color { get; set; }
2949+ public string face { get; set; }
2950+ public long size { get; set; }
2951+ }
2952+ [CCode (cheader_filename = "webkit/webkit.h")]
2953+ public class DOMHTMLBodyElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
2954+ [CCode (has_construct_function = false)]
2955+ protected DOMHTMLBodyElement ();
2956+ [CCode (cname = "webkit_dom_html_body_element_get_a_link")]
2957+ public unowned string get_a_link ();
2958+ [CCode (cname = "webkit_dom_html_body_element_get_background")]
2959+ public unowned string get_background ();
2960+ [CCode (cname = "webkit_dom_html_body_element_get_bg_color")]
2961+ public unowned string get_bg_color ();
2962+ [CCode (cname = "webkit_dom_html_body_element_get_link")]
2963+ public unowned string get_link ();
2964+ [CCode (cname = "webkit_dom_html_body_element_get_text")]
2965+ public unowned string get_text ();
2966+ [CCode (cname = "webkit_dom_html_body_element_get_v_link")]
2967+ public unowned string get_v_link ();
2968+ [CCode (cname = "webkit_dom_html_body_element_set_a_link")]
2969+ public void set_a_link (string value);
2970+ [CCode (cname = "webkit_dom_html_body_element_set_background")]
2971+ public void set_background (string value);
2972+ [CCode (cname = "webkit_dom_html_body_element_set_bg_color")]
2973+ public void set_bg_color (string value);
2974+ [CCode (cname = "webkit_dom_html_body_element_set_link")]
2975+ public void set_link (string value);
2976+ [CCode (cname = "webkit_dom_html_body_element_set_text")]
2977+ public void set_text (string value);
2978+ [CCode (cname = "webkit_dom_html_body_element_set_v_link")]
2979+ public void set_v_link (string value);
2980+ public string a_link { get; set; }
2981+ public string background { get; set; }
2982+ public string bg_color { get; set; }
2983+ public string link { get; set; }
2984+ public string text { get; set; }
2985+ public string v_link { get; set; }
2986+ }
2987+ [CCode (cheader_filename = "webkit/webkit.h")]
2988+ public class DOMHTMLButtonElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
2989+ [CCode (has_construct_function = false)]
2990+ protected DOMHTMLButtonElement ();
2991+ [CCode (cname = "webkit_dom_html_button_element_check_validity")]
2992+ public bool check_validity ();
2993+ [CCode (cname = "webkit_dom_html_button_element_click")]
2994+ public void click ();
2995+ [CCode (cname = "webkit_dom_html_button_element_get_access_key")]
2996+ public unowned string get_access_key ();
2997+ [CCode (cname = "webkit_dom_html_button_element_get_autofocus")]
2998+ public bool get_autofocus ();
2999+ [CCode (cname = "webkit_dom_html_button_element_get_disabled")]
3000+ public bool get_disabled ();
3001+ [CCode (cname = "webkit_dom_html_button_element_get_form")]
3002+ public unowned WebKit.DOMHTMLFormElement get_form ();
3003+ [CCode (cname = "webkit_dom_html_button_element_get_form_action")]
3004+ public unowned string get_form_action ();
3005+ [CCode (cname = "webkit_dom_html_button_element_get_form_enctype")]
3006+ public unowned string get_form_enctype ();
3007+ [CCode (cname = "webkit_dom_html_button_element_get_form_method")]
3008+ public unowned string get_form_method ();
3009+ [CCode (cname = "webkit_dom_html_button_element_get_form_no_validate")]
3010+ public bool get_form_no_validate ();
3011+ [CCode (cname = "webkit_dom_html_button_element_get_form_target")]
3012+ public unowned string get_form_target ();
3013+ [CCode (cname = "webkit_dom_html_button_element_get_labels")]
3014+ public unowned WebKit.DOMNodeList get_labels ();
3015+ [CCode (cname = "webkit_dom_html_button_element_get_name")]
3016+ public unowned string get_name ();
3017+ [CCode (cname = "webkit_dom_html_button_element_get_validation_message")]
3018+ public unowned string get_validation_message ();
3019+ [CCode (cname = "webkit_dom_html_button_element_get_validity")]
3020+ public unowned WebKit.DOMValidityState get_validity ();
3021+ [CCode (cname = "webkit_dom_html_button_element_get_value")]
3022+ public unowned string get_value ();
3023+ [CCode (cname = "webkit_dom_html_button_element_get_will_validate")]
3024+ public bool get_will_validate ();
3025+ [CCode (cname = "webkit_dom_html_button_element_set_access_key")]
3026+ public void set_access_key (string value);
3027+ [CCode (cname = "webkit_dom_html_button_element_set_autofocus")]
3028+ public void set_autofocus (bool value);
3029+ [CCode (cname = "webkit_dom_html_button_element_set_custom_validity")]
3030+ public void set_custom_validity (string error);
3031+ [CCode (cname = "webkit_dom_html_button_element_set_disabled")]
3032+ public void set_disabled (bool value);
3033+ [CCode (cname = "webkit_dom_html_button_element_set_form_action")]
3034+ public void set_form_action (string value);
3035+ [CCode (cname = "webkit_dom_html_button_element_set_form_enctype")]
3036+ public void set_form_enctype (string value);
3037+ [CCode (cname = "webkit_dom_html_button_element_set_form_method")]
3038+ public void set_form_method (string value);
3039+ [CCode (cname = "webkit_dom_html_button_element_set_form_no_validate")]
3040+ public void set_form_no_validate (bool value);
3041+ [CCode (cname = "webkit_dom_html_button_element_set_form_target")]
3042+ public void set_form_target (string value);
3043+ [CCode (cname = "webkit_dom_html_button_element_set_name")]
3044+ public void set_name (string value);
3045+ [CCode (cname = "webkit_dom_html_button_element_set_value")]
3046+ public void set_value (string value);
3047+ public string access_key { get; set; }
3048+ public bool autofocus { get; set; }
3049+ public bool disabled { get; set; }
3050+ public WebKit.DOMHTMLFormElement form { get; }
3051+ public string form_action { get; set; }
3052+ public string form_enctype { get; set; }
3053+ public string form_method { get; set; }
3054+ public bool form_no_validate { get; set; }
3055+ public string form_target { get; set; }
3056+ public WebKit.DOMNodeList labels { get; }
3057+ public string name { get; set; }
3058+ [NoAccessorMethod]
3059+ public string type { owned get; }
3060+ public string validation_message { get; }
3061+ public WebKit.DOMValidityState validity { get; }
3062+ public string value { get; set; }
3063+ public bool will_validate { get; }
3064+ }
3065+ [CCode (cheader_filename = "webkit/webkit.h")]
3066+ public class DOMHTMLCanvasElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3067+ [CCode (has_construct_function = false)]
3068+ protected DOMHTMLCanvasElement ();
3069+ [CCode (cname = "webkit_dom_html_canvas_element_get_height")]
3070+ public long get_height ();
3071+ [CCode (cname = "webkit_dom_html_canvas_element_get_width")]
3072+ public long get_width ();
3073+ [CCode (cname = "webkit_dom_html_canvas_element_set_height")]
3074+ public void set_height (long value);
3075+ [CCode (cname = "webkit_dom_html_canvas_element_set_width")]
3076+ public void set_width (long value);
3077+ public long height { get; set; }
3078+ public long width { get; set; }
3079+ }
3080+ [CCode (cheader_filename = "webkit/webkit.h")]
3081+ public class DOMHTMLCollection : WebKit.DOMObject {
3082+ [CCode (has_construct_function = false)]
3083+ protected DOMHTMLCollection ();
3084+ [CCode (cname = "webkit_dom_html_collection_get_length")]
3085+ public ulong get_length ();
3086+ [CCode (cname = "webkit_dom_html_collection_item")]
3087+ public unowned WebKit.DOMNode item (ulong index);
3088+ [CCode (cname = "webkit_dom_html_collection_named_item")]
3089+ public unowned WebKit.DOMNode named_item (string name);
3090+ public ulong length { get; }
3091+ }
3092+ [CCode (cheader_filename = "webkit/webkit.h")]
3093+ public class DOMHTMLDListElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3094+ [CCode (has_construct_function = false)]
3095+ protected DOMHTMLDListElement ();
3096+ [CCode (cname = "webkit_dom_htmld_list_element_get_compact")]
3097+ public bool get_compact ();
3098+ [CCode (cname = "webkit_dom_htmld_list_element_set_compact")]
3099+ public void set_compact (bool value);
3100+ public bool compact { get; set; }
3101+ }
3102+ [CCode (cheader_filename = "webkit/webkit.h")]
3103+ public class DOMHTMLDetailsElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3104+ [CCode (has_construct_function = false)]
3105+ protected DOMHTMLDetailsElement ();
3106+ [CCode (cname = "webkit_dom_html_details_element_get_open")]
3107+ public bool get_open ();
3108+ [CCode (cname = "webkit_dom_html_details_element_set_open")]
3109+ public void set_open (bool value);
3110+ public bool open { get; set; }
3111+ }
3112+ [CCode (cheader_filename = "webkit/webkit.h")]
3113+ public class DOMHTMLDirectoryElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3114+ [CCode (has_construct_function = false)]
3115+ protected DOMHTMLDirectoryElement ();
3116+ [CCode (cname = "webkit_dom_html_directory_element_get_compact")]
3117+ public bool get_compact ();
3118+ [CCode (cname = "webkit_dom_html_directory_element_set_compact")]
3119+ public void set_compact (bool value);
3120+ public bool compact { get; set; }
3121+ }
3122+ [CCode (cheader_filename = "webkit/webkit.h")]
3123+ public class DOMHTMLDivElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3124+ [CCode (has_construct_function = false)]
3125+ protected DOMHTMLDivElement ();
3126+ [CCode (cname = "webkit_dom_html_div_element_get_align")]
3127+ public unowned string get_align ();
3128+ [CCode (cname = "webkit_dom_html_div_element_set_align")]
3129+ public void set_align (string value);
3130+ public string align { get; set; }
3131+ }
3132+ [CCode (cheader_filename = "webkit/webkit.h")]
3133+ public class DOMHTMLDocument : WebKit.DOMDocument, WebKit.DOMEventTarget {
3134+ [CCode (has_construct_function = false)]
3135+ protected DOMHTMLDocument ();
3136+ [CCode (cname = "webkit_dom_html_document_capture_events")]
3137+ public void capture_events ();
3138+ [CCode (cname = "webkit_dom_html_document_clear")]
3139+ public void clear ();
3140+ [CCode (cname = "webkit_dom_html_document_close")]
3141+ public void close ();
3142+ [CCode (cname = "webkit_dom_html_document_get_active_element")]
3143+ public unowned WebKit.DOMElement get_active_element ();
3144+ [CCode (cname = "webkit_dom_html_document_get_alink_color")]
3145+ public unowned string get_alink_color ();
3146+ [CCode (cname = "webkit_dom_html_document_get_bg_color")]
3147+ public unowned string get_bg_color ();
3148+ [CCode (cname = "webkit_dom_html_document_get_compat_mode")]
3149+ public unowned string get_compat_mode ();
3150+ [CCode (cname = "webkit_dom_html_document_get_design_mode")]
3151+ public unowned string get_design_mode ();
3152+ [CCode (cname = "webkit_dom_html_document_get_dir")]
3153+ public unowned string get_dir ();
3154+ [CCode (cname = "webkit_dom_html_document_get_embeds")]
3155+ public unowned WebKit.DOMHTMLCollection get_embeds ();
3156+ [CCode (cname = "webkit_dom_html_document_get_fg_color")]
3157+ public unowned string get_fg_color ();
3158+ [CCode (cname = "webkit_dom_html_document_get_height")]
3159+ public long get_height ();
3160+ [CCode (cname = "webkit_dom_html_document_get_link_color")]
3161+ public unowned string get_link_color ();
3162+ [CCode (cname = "webkit_dom_html_document_get_plugins")]
3163+ public unowned WebKit.DOMHTMLCollection get_plugins ();
3164+ [CCode (cname = "webkit_dom_html_document_get_scripts")]
3165+ public unowned WebKit.DOMHTMLCollection get_scripts ();
3166+ [CCode (cname = "webkit_dom_html_document_get_vlink_color")]
3167+ public unowned string get_vlink_color ();
3168+ [CCode (cname = "webkit_dom_html_document_get_width")]
3169+ public long get_width ();
3170+ [CCode (cname = "webkit_dom_html_document_has_focus")]
3171+ public bool has_focus ();
3172+ [CCode (cname = "webkit_dom_html_document_release_events")]
3173+ public void release_events ();
3174+ [CCode (cname = "webkit_dom_html_document_set_alink_color")]
3175+ public void set_alink_color (string value);
3176+ [CCode (cname = "webkit_dom_html_document_set_bg_color")]
3177+ public void set_bg_color (string value);
3178+ [CCode (cname = "webkit_dom_html_document_set_design_mode")]
3179+ public void set_design_mode (string value);
3180+ [CCode (cname = "webkit_dom_html_document_set_dir")]
3181+ public void set_dir (string value);
3182+ [CCode (cname = "webkit_dom_html_document_set_fg_color")]
3183+ public void set_fg_color (string value);
3184+ [CCode (cname = "webkit_dom_html_document_set_link_color")]
3185+ public void set_link_color (string value);
3186+ [CCode (cname = "webkit_dom_html_document_set_vlink_color")]
3187+ public void set_vlink_color (string value);
3188+ public WebKit.DOMElement active_element { get; }
3189+ public string alink_color { get; set; }
3190+ public string bg_color { get; set; }
3191+ public string compat_mode { get; }
3192+ public string design_mode { get; set; }
3193+ public string dir { get; set; }
3194+ public WebKit.DOMHTMLCollection embeds { get; }
3195+ public string fg_color { get; set; }
3196+ public long height { get; }
3197+ public string link_color { get; set; }
3198+ public WebKit.DOMHTMLCollection plugins { get; }
3199+ public WebKit.DOMHTMLCollection scripts { get; }
3200+ public string vlink_color { get; set; }
3201+ public long width { get; }
3202+ }
3203+ [CCode (cheader_filename = "webkit/webkit.h")]
3204+ public class DOMHTMLElement : WebKit.DOMElement, WebKit.DOMEventTarget {
3205+ [CCode (has_construct_function = false)]
3206+ protected DOMHTMLElement ();
3207+ [CCode (cname = "webkit_dom_html_element_get_children")]
3208+ public unowned WebKit.DOMHTMLCollection get_children ();
3209+ [CCode (cname = "webkit_dom_html_element_get_class_list")]
3210+ public unowned WebKit.DOMDOMTokenList get_class_list ();
3211+ [CCode (cname = "webkit_dom_html_element_get_class_name")]
3212+ public unowned string get_class_name ();
3213+ [CCode (cname = "webkit_dom_html_element_get_content_editable")]
3214+ public unowned string get_content_editable ();
3215+ [CCode (cname = "webkit_dom_html_element_get_dir")]
3216+ public unowned string get_dir ();
3217+ [CCode (cname = "webkit_dom_html_element_get_draggable")]
3218+ public bool get_draggable ();
3219+ [CCode (cname = "webkit_dom_html_element_get_hidden")]
3220+ public bool get_hidden ();
3221+ [CCode (cname = "webkit_dom_html_element_get_id")]
3222+ public unowned string get_id ();
3223+ [CCode (cname = "webkit_dom_html_element_get_inner_html")]
3224+ public unowned string get_inner_html ();
3225+ [CCode (cname = "webkit_dom_html_element_get_inner_text")]
3226+ public unowned string get_inner_text ();
3227+ [CCode (cname = "webkit_dom_html_element_get_is_content_editable")]
3228+ public bool get_is_content_editable ();
3229+ [CCode (cname = "webkit_dom_html_element_get_lang")]
3230+ public unowned string get_lang ();
3231+ [CCode (cname = "webkit_dom_html_element_get_outer_html")]
3232+ public unowned string get_outer_html ();
3233+ [CCode (cname = "webkit_dom_html_element_get_outer_text")]
3234+ public unowned string get_outer_text ();
3235+ [CCode (cname = "webkit_dom_html_element_get_spellcheck")]
3236+ public bool get_spellcheck ();
3237+ [CCode (cname = "webkit_dom_html_element_get_tab_index")]
3238+ public long get_tab_index ();
3239+ [CCode (cname = "webkit_dom_html_element_get_title")]
3240+ public unowned string get_title ();
3241+ [CCode (cname = "webkit_dom_html_element_get_webkitdropzone")]
3242+ public unowned string get_webkitdropzone ();
3243+ [CCode (cname = "webkit_dom_html_element_insert_adjacent_element")]
3244+ public unowned WebKit.DOMElement insert_adjacent_element (string where, WebKit.DOMElement element) throws GLib.Error;
3245+ [CCode (cname = "webkit_dom_html_element_insert_adjacent_html")]
3246+ public void insert_adjacent_html (string where, string html) throws GLib.Error;
3247+ [CCode (cname = "webkit_dom_html_element_insert_adjacent_text")]
3248+ public void insert_adjacent_text (string where, string text) throws GLib.Error;
3249+ [CCode (cname = "webkit_dom_html_element_set_class_name")]
3250+ public void set_class_name (string value);
3251+ [CCode (cname = "webkit_dom_html_element_set_content_editable")]
3252+ public void set_content_editable (string value) throws GLib.Error;
3253+ [CCode (cname = "webkit_dom_html_element_set_dir")]
3254+ public void set_dir (string value);
3255+ [CCode (cname = "webkit_dom_html_element_set_draggable")]
3256+ public void set_draggable (bool value);
3257+ [CCode (cname = "webkit_dom_html_element_set_hidden")]
3258+ public void set_hidden (bool value);
3259+ [CCode (cname = "webkit_dom_html_element_set_id")]
3260+ public void set_id (string value);
3261+ [CCode (cname = "webkit_dom_html_element_set_inner_html")]
3262+ public void set_inner_html (string value) throws GLib.Error;
3263+ [CCode (cname = "webkit_dom_html_element_set_inner_text")]
3264+ public void set_inner_text (string value) throws GLib.Error;
3265+ [CCode (cname = "webkit_dom_html_element_set_lang")]
3266+ public void set_lang (string value);
3267+ [CCode (cname = "webkit_dom_html_element_set_outer_html")]
3268+ public void set_outer_html (string value) throws GLib.Error;
3269+ [CCode (cname = "webkit_dom_html_element_set_outer_text")]
3270+ public void set_outer_text (string value) throws GLib.Error;
3271+ [CCode (cname = "webkit_dom_html_element_set_spellcheck")]
3272+ public void set_spellcheck (bool value);
3273+ [CCode (cname = "webkit_dom_html_element_set_tab_index")]
3274+ public void set_tab_index (long value);
3275+ [CCode (cname = "webkit_dom_html_element_set_title")]
3276+ public void set_title (string value);
3277+ [CCode (cname = "webkit_dom_html_element_set_webkitdropzone")]
3278+ public void set_webkitdropzone (string value);
3279+ public WebKit.DOMHTMLCollection children { get; }
3280+ public WebKit.DOMDOMTokenList class_list { get; }
3281+ public string class_name { get; set; }
3282+ public string content_editable { get; set; }
3283+ public string dir { get; set; }
3284+ public bool draggable { get; set; }
3285+ public bool hidden { get; set; }
3286+ public string id { get; set; }
3287+ public string inner_html { get; set; }
3288+ public string inner_text { get; set; }
3289+ public bool is_content_editable { get; }
3290+ public string lang { get; set; }
3291+ public string outer_html { get; set; }
3292+ public string outer_text { get; set; }
3293+ public bool spellcheck { get; set; }
3294+ public long tab_index { get; set; }
3295+ public string title { get; set; }
3296+ public string webkitdropzone { get; set; }
3297+ }
3298+ [CCode (cheader_filename = "webkit/webkit.h")]
3299+ public class DOMHTMLEmbedElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3300+ [CCode (has_construct_function = false)]
3301+ protected DOMHTMLEmbedElement ();
3302+ [CCode (cname = "webkit_dom_html_embed_element_get_align")]
3303+ public unowned string get_align ();
3304+ [CCode (cname = "webkit_dom_html_embed_element_get_height")]
3305+ public long get_height ();
3306+ [CCode (cname = "webkit_dom_html_embed_element_get_name")]
3307+ public unowned string get_name ();
3308+ [CCode (cname = "webkit_dom_html_embed_element_get_src")]
3309+ public unowned string get_src ();
3310+ [CCode (cname = "webkit_dom_html_embed_element_get_width")]
3311+ public long get_width ();
3312+ [CCode (cname = "webkit_dom_html_embed_element_set_align")]
3313+ public void set_align (string value);
3314+ [CCode (cname = "webkit_dom_html_embed_element_set_height")]
3315+ public void set_height (long value);
3316+ [CCode (cname = "webkit_dom_html_embed_element_set_name")]
3317+ public void set_name (string value);
3318+ [CCode (cname = "webkit_dom_html_embed_element_set_src")]
3319+ public void set_src (string value);
3320+ [CCode (cname = "webkit_dom_html_embed_element_set_width")]
3321+ public void set_width (long value);
3322+ public string align { get; set; }
3323+ public long height { get; set; }
3324+ public string name { get; set; }
3325+ public string src { get; set; }
3326+ [NoAccessorMethod]
3327+ public string type { owned get; set; }
3328+ public long width { get; set; }
3329+ }
3330+ [CCode (cheader_filename = "webkit/webkit.h")]
3331+ public class DOMHTMLFieldSetElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3332+ [CCode (has_construct_function = false)]
3333+ protected DOMHTMLFieldSetElement ();
3334+ [CCode (cname = "webkit_dom_html_field_set_element_check_validity")]
3335+ public bool check_validity ();
3336+ [CCode (cname = "webkit_dom_html_field_set_element_get_form")]
3337+ public unowned WebKit.DOMHTMLFormElement get_form ();
3338+ [CCode (cname = "webkit_dom_html_field_set_element_get_validation_message")]
3339+ public unowned string get_validation_message ();
3340+ [CCode (cname = "webkit_dom_html_field_set_element_get_validity")]
3341+ public unowned WebKit.DOMValidityState get_validity ();
3342+ [CCode (cname = "webkit_dom_html_field_set_element_get_will_validate")]
3343+ public bool get_will_validate ();
3344+ [CCode (cname = "webkit_dom_html_field_set_element_set_custom_validity")]
3345+ public void set_custom_validity (string error);
3346+ public WebKit.DOMHTMLFormElement form { get; }
3347+ public string validation_message { get; }
3348+ public WebKit.DOMValidityState validity { get; }
3349+ public bool will_validate { get; }
3350+ }
3351+ [CCode (cheader_filename = "webkit/webkit.h")]
3352+ public class DOMHTMLFontElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3353+ [CCode (has_construct_function = false)]
3354+ protected DOMHTMLFontElement ();
3355+ [CCode (cname = "webkit_dom_html_font_element_get_color")]
3356+ public unowned string get_color ();
3357+ [CCode (cname = "webkit_dom_html_font_element_get_face")]
3358+ public unowned string get_face ();
3359+ [CCode (cname = "webkit_dom_html_font_element_get_size")]
3360+ public unowned string get_size ();
3361+ [CCode (cname = "webkit_dom_html_font_element_set_color")]
3362+ public void set_color (string value);
3363+ [CCode (cname = "webkit_dom_html_font_element_set_face")]
3364+ public void set_face (string value);
3365+ [CCode (cname = "webkit_dom_html_font_element_set_size")]
3366+ public void set_size (string value);
3367+ public string color { get; set; }
3368+ public string face { get; set; }
3369+ public string size { get; set; }
3370+ }
3371+ [CCode (cheader_filename = "webkit/webkit.h")]
3372+ public class DOMHTMLFormElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3373+ [CCode (has_construct_function = false)]
3374+ protected DOMHTMLFormElement ();
3375+ [CCode (cname = "webkit_dom_html_form_element_check_validity")]
3376+ public bool check_validity ();
3377+ [CCode (cname = "webkit_dom_html_form_element_dispatch_form_change")]
3378+ public void dispatch_form_change ();
3379+ [CCode (cname = "webkit_dom_html_form_element_dispatch_form_input")]
3380+ public void dispatch_form_input ();
3381+ [CCode (cname = "webkit_dom_html_form_element_get_accept_charset")]
3382+ public unowned string get_accept_charset ();
3383+ [CCode (cname = "webkit_dom_html_form_element_get_action")]
3384+ public unowned string get_action ();
3385+ [CCode (cname = "webkit_dom_html_form_element_get_autocomplete")]
3386+ public unowned string get_autocomplete ();
3387+ [CCode (cname = "webkit_dom_html_form_element_get_elements")]
3388+ public unowned WebKit.DOMHTMLCollection get_elements ();
3389+ [CCode (cname = "webkit_dom_html_form_element_get_encoding")]
3390+ public unowned string get_encoding ();
3391+ [CCode (cname = "webkit_dom_html_form_element_get_enctype")]
3392+ public unowned string get_enctype ();
3393+ [CCode (cname = "webkit_dom_html_form_element_get_length")]
3394+ public long get_length ();
3395+ [CCode (cname = "webkit_dom_html_form_element_get_method")]
3396+ public unowned string get_method ();
3397+ [CCode (cname = "webkit_dom_html_form_element_get_name")]
3398+ public unowned string get_name ();
3399+ [CCode (cname = "webkit_dom_html_form_element_get_no_validate")]
3400+ public bool get_no_validate ();
3401+ [CCode (cname = "webkit_dom_html_form_element_get_target")]
3402+ public unowned string get_target ();
3403+ [CCode (cname = "webkit_dom_html_form_element_reset")]
3404+ public void reset ();
3405+ [CCode (cname = "webkit_dom_html_form_element_set_accept_charset")]
3406+ public void set_accept_charset (string value);
3407+ [CCode (cname = "webkit_dom_html_form_element_set_action")]
3408+ public void set_action (string value);
3409+ [CCode (cname = "webkit_dom_html_form_element_set_autocomplete")]
3410+ public void set_autocomplete (string value);
3411+ [CCode (cname = "webkit_dom_html_form_element_set_encoding")]
3412+ public void set_encoding (string value);
3413+ [CCode (cname = "webkit_dom_html_form_element_set_enctype")]
3414+ public void set_enctype (string value);
3415+ [CCode (cname = "webkit_dom_html_form_element_set_method")]
3416+ public void set_method (string value);
3417+ [CCode (cname = "webkit_dom_html_form_element_set_name")]
3418+ public void set_name (string value);
3419+ [CCode (cname = "webkit_dom_html_form_element_set_no_validate")]
3420+ public void set_no_validate (bool value);
3421+ [CCode (cname = "webkit_dom_html_form_element_set_target")]
3422+ public void set_target (string value);
3423+ [CCode (cname = "webkit_dom_html_form_element_submit")]
3424+ public void submit ();
3425+ public string accept_charset { get; set; }
3426+ public string action { get; set; }
3427+ public string autocomplete { get; set; }
3428+ public WebKit.DOMHTMLCollection elements { get; }
3429+ public string encoding { get; set; }
3430+ public string enctype { get; set; }
3431+ public long length { get; }
3432+ public string method { get; set; }
3433+ public string name { get; set; }
3434+ public bool no_validate { get; set; }
3435+ public string target { get; set; }
3436+ }
3437+ [CCode (cheader_filename = "webkit/webkit.h")]
3438+ public class DOMHTMLFrameElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3439+ [CCode (has_construct_function = false)]
3440+ protected DOMHTMLFrameElement ();
3441+ [CCode (cname = "webkit_dom_html_frame_element_get_content_document")]
3442+ public unowned WebKit.DOMDocument get_content_document ();
3443+ [CCode (cname = "webkit_dom_html_frame_element_get_content_window")]
3444+ public unowned WebKit.DOMDOMWindow get_content_window ();
3445+ [CCode (cname = "webkit_dom_html_frame_element_get_frame_border")]
3446+ public unowned string get_frame_border ();
3447+ [CCode (cname = "webkit_dom_html_frame_element_get_height")]
3448+ public long get_height ();
3449+ [CCode (cname = "webkit_dom_html_frame_element_get_long_desc")]
3450+ public unowned string get_long_desc ();
3451+ [CCode (cname = "webkit_dom_html_frame_element_get_margin_height")]
3452+ public unowned string get_margin_height ();
3453+ [CCode (cname = "webkit_dom_html_frame_element_get_margin_width")]
3454+ public unowned string get_margin_width ();
3455+ [CCode (cname = "webkit_dom_html_frame_element_get_name")]
3456+ public unowned string get_name ();
3457+ [CCode (cname = "webkit_dom_html_frame_element_get_no_resize")]
3458+ public bool get_no_resize ();
3459+ [CCode (cname = "webkit_dom_html_frame_element_get_scrolling")]
3460+ public unowned string get_scrolling ();
3461+ [CCode (cname = "webkit_dom_html_frame_element_get_src")]
3462+ public unowned string get_src ();
3463+ [CCode (cname = "webkit_dom_html_frame_element_get_width")]
3464+ public long get_width ();
3465+ [CCode (cname = "webkit_dom_html_frame_element_set_frame_border")]
3466+ public void set_frame_border (string value);
3467+ [CCode (cname = "webkit_dom_html_frame_element_set_long_desc")]
3468+ public void set_long_desc (string value);
3469+ [CCode (cname = "webkit_dom_html_frame_element_set_margin_height")]
3470+ public void set_margin_height (string value);
3471+ [CCode (cname = "webkit_dom_html_frame_element_set_margin_width")]
3472+ public void set_margin_width (string value);
3473+ [CCode (cname = "webkit_dom_html_frame_element_set_name")]
3474+ public void set_name (string value);
3475+ [CCode (cname = "webkit_dom_html_frame_element_set_no_resize")]
3476+ public void set_no_resize (bool value);
3477+ [CCode (cname = "webkit_dom_html_frame_element_set_scrolling")]
3478+ public void set_scrolling (string value);
3479+ [CCode (cname = "webkit_dom_html_frame_element_set_src")]
3480+ public void set_src (string value);
3481+ public WebKit.DOMDocument content_document { get; }
3482+ public WebKit.DOMDOMWindow content_window { get; }
3483+ public string frame_border { get; set; }
3484+ public long height { get; }
3485+ public string long_desc { get; set; }
3486+ public string margin_height { get; set; }
3487+ public string margin_width { get; set; }
3488+ public string name { get; set; }
3489+ public bool no_resize { get; set; }
3490+ public string scrolling { get; set; }
3491+ public string src { get; set; }
3492+ public long width { get; }
3493+ }
3494+ [CCode (cheader_filename = "webkit/webkit.h")]
3495+ public class DOMHTMLFrameSetElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3496+ [CCode (has_construct_function = false)]
3497+ protected DOMHTMLFrameSetElement ();
3498+ [CCode (cname = "webkit_dom_html_frame_set_element_get_cols")]
3499+ public unowned string get_cols ();
3500+ [CCode (cname = "webkit_dom_html_frame_set_element_get_rows")]
3501+ public unowned string get_rows ();
3502+ [CCode (cname = "webkit_dom_html_frame_set_element_set_cols")]
3503+ public void set_cols (string value);
3504+ [CCode (cname = "webkit_dom_html_frame_set_element_set_rows")]
3505+ public void set_rows (string value);
3506+ public string cols { get; set; }
3507+ public string rows { get; set; }
3508+ }
3509+ [CCode (cheader_filename = "webkit/webkit.h")]
3510+ public class DOMHTMLHRElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3511+ [CCode (has_construct_function = false)]
3512+ protected DOMHTMLHRElement ();
3513+ [CCode (cname = "webkit_dom_htmlhr_element_get_align")]
3514+ public unowned string get_align ();
3515+ [CCode (cname = "webkit_dom_htmlhr_element_get_no_shade")]
3516+ public bool get_no_shade ();
3517+ [CCode (cname = "webkit_dom_htmlhr_element_get_size")]
3518+ public unowned string get_size ();
3519+ [CCode (cname = "webkit_dom_htmlhr_element_get_width")]
3520+ public unowned string get_width ();
3521+ [CCode (cname = "webkit_dom_htmlhr_element_set_align")]
3522+ public void set_align (string value);
3523+ [CCode (cname = "webkit_dom_htmlhr_element_set_no_shade")]
3524+ public void set_no_shade (bool value);
3525+ [CCode (cname = "webkit_dom_htmlhr_element_set_size")]
3526+ public void set_size (string value);
3527+ [CCode (cname = "webkit_dom_htmlhr_element_set_width")]
3528+ public void set_width (string value);
3529+ public string align { get; set; }
3530+ public bool no_shade { get; set; }
3531+ public string size { get; set; }
3532+ public string width { get; set; }
3533+ }
3534+ [CCode (cheader_filename = "webkit/webkit.h")]
3535+ public class DOMHTMLHeadElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3536+ [CCode (has_construct_function = false)]
3537+ protected DOMHTMLHeadElement ();
3538+ [CCode (cname = "webkit_dom_html_head_element_get_profile")]
3539+ public unowned string get_profile ();
3540+ [CCode (cname = "webkit_dom_html_head_element_set_profile")]
3541+ public void set_profile (string value);
3542+ public string profile { get; set; }
3543+ }
3544+ [CCode (cheader_filename = "webkit/webkit.h")]
3545+ public class DOMHTMLHeadingElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3546+ [CCode (has_construct_function = false)]
3547+ protected DOMHTMLHeadingElement ();
3548+ [CCode (cname = "webkit_dom_html_heading_element_get_align")]
3549+ public unowned string get_align ();
3550+ [CCode (cname = "webkit_dom_html_heading_element_set_align")]
3551+ public void set_align (string value);
3552+ public string align { get; set; }
3553+ }
3554+ [CCode (cheader_filename = "webkit/webkit.h")]
3555+ public class DOMHTMLHtmlElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3556+ [CCode (has_construct_function = false)]
3557+ protected DOMHTMLHtmlElement ();
3558+ [CCode (cname = "webkit_dom_html_html_element_get_manifest")]
3559+ public unowned string get_manifest ();
3560+ [CCode (cname = "webkit_dom_html_html_element_get_version")]
3561+ public unowned string get_version ();
3562+ [CCode (cname = "webkit_dom_html_html_element_set_manifest")]
3563+ public void set_manifest (string value);
3564+ [CCode (cname = "webkit_dom_html_html_element_set_version")]
3565+ public void set_version (string value);
3566+ public string manifest { get; set; }
3567+ public string version { get; set; }
3568+ }
3569+ [CCode (cheader_filename = "webkit/webkit.h")]
3570+ public class DOMHTMLIFrameElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3571+ [CCode (has_construct_function = false)]
3572+ protected DOMHTMLIFrameElement ();
3573+ [CCode (cname = "webkit_dom_html_iframe_element_get_align")]
3574+ public unowned string get_align ();
3575+ [CCode (cname = "webkit_dom_html_iframe_element_get_content_document")]
3576+ public unowned WebKit.DOMDocument get_content_document ();
3577+ [CCode (cname = "webkit_dom_html_iframe_element_get_content_window")]
3578+ public unowned WebKit.DOMDOMWindow get_content_window ();
3579+ [CCode (cname = "webkit_dom_html_iframe_element_get_frame_border")]
3580+ public unowned string get_frame_border ();
3581+ [CCode (cname = "webkit_dom_html_iframe_element_get_height")]
3582+ public unowned string get_height ();
3583+ [CCode (cname = "webkit_dom_html_iframe_element_get_long_desc")]
3584+ public unowned string get_long_desc ();
3585+ [CCode (cname = "webkit_dom_html_iframe_element_get_margin_height")]
3586+ public unowned string get_margin_height ();
3587+ [CCode (cname = "webkit_dom_html_iframe_element_get_margin_width")]
3588+ public unowned string get_margin_width ();
3589+ [CCode (cname = "webkit_dom_html_iframe_element_get_name")]
3590+ public unowned string get_name ();
3591+ [CCode (cname = "webkit_dom_html_iframe_element_get_sandbox")]
3592+ public unowned string get_sandbox ();
3593+ [CCode (cname = "webkit_dom_html_iframe_element_get_scrolling")]
3594+ public unowned string get_scrolling ();
3595+ [CCode (cname = "webkit_dom_html_iframe_element_get_src")]
3596+ public unowned string get_src ();
3597+ [CCode (cname = "webkit_dom_html_iframe_element_get_width")]
3598+ public unowned string get_width ();
3599+ [CCode (cname = "webkit_dom_html_iframe_element_set_align")]
3600+ public void set_align (string value);
3601+ [CCode (cname = "webkit_dom_html_iframe_element_set_frame_border")]
3602+ public void set_frame_border (string value);
3603+ [CCode (cname = "webkit_dom_html_iframe_element_set_height")]
3604+ public void set_height (string value);
3605+ [CCode (cname = "webkit_dom_html_iframe_element_set_long_desc")]
3606+ public void set_long_desc (string value);
3607+ [CCode (cname = "webkit_dom_html_iframe_element_set_margin_height")]
3608+ public void set_margin_height (string value);
3609+ [CCode (cname = "webkit_dom_html_iframe_element_set_margin_width")]
3610+ public void set_margin_width (string value);
3611+ [CCode (cname = "webkit_dom_html_iframe_element_set_name")]
3612+ public void set_name (string value);
3613+ [CCode (cname = "webkit_dom_html_iframe_element_set_sandbox")]
3614+ public void set_sandbox (string value);
3615+ [CCode (cname = "webkit_dom_html_iframe_element_set_scrolling")]
3616+ public void set_scrolling (string value);
3617+ [CCode (cname = "webkit_dom_html_iframe_element_set_src")]
3618+ public void set_src (string value);
3619+ [CCode (cname = "webkit_dom_html_iframe_element_set_width")]
3620+ public void set_width (string value);
3621+ public string align { get; set; }
3622+ public WebKit.DOMDocument content_document { get; }
3623+ public WebKit.DOMDOMWindow content_window { get; }
3624+ public string frame_border { get; set; }
3625+ public string height { get; set; }
3626+ public string long_desc { get; set; }
3627+ public string margin_height { get; set; }
3628+ public string margin_width { get; set; }
3629+ public string name { get; set; }
3630+ public string sandbox { get; set; }
3631+ public string scrolling { get; set; }
3632+ public string src { get; set; }
3633+ public string width { get; set; }
3634+ }
3635+ [CCode (cheader_filename = "webkit/webkit.h")]
3636+ public class DOMHTMLImageElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3637+ [CCode (has_construct_function = false)]
3638+ protected DOMHTMLImageElement ();
3639+ [CCode (cname = "webkit_dom_html_image_element_get_align")]
3640+ public unowned string get_align ();
3641+ [CCode (cname = "webkit_dom_html_image_element_get_alt")]
3642+ public unowned string get_alt ();
3643+ [CCode (cname = "webkit_dom_html_image_element_get_border")]
3644+ public unowned string get_border ();
3645+ [CCode (cname = "webkit_dom_html_image_element_get_complete")]
3646+ public bool get_complete ();
3647+ [CCode (cname = "webkit_dom_html_image_element_get_cross_origin")]
3648+ public unowned string get_cross_origin ();
3649+ [CCode (cname = "webkit_dom_html_image_element_get_height")]
3650+ public long get_height ();
3651+ [CCode (cname = "webkit_dom_html_image_element_get_hspace")]
3652+ public long get_hspace ();
3653+ [CCode (cname = "webkit_dom_html_image_element_get_is_map")]
3654+ public bool get_is_map ();
3655+ [CCode (cname = "webkit_dom_html_image_element_get_long_desc")]
3656+ public unowned string get_long_desc ();
3657+ [CCode (cname = "webkit_dom_html_image_element_get_lowsrc")]
3658+ public unowned string get_lowsrc ();
3659+ [CCode (cname = "webkit_dom_html_image_element_get_name")]
3660+ public unowned string get_name ();
3661+ [CCode (cname = "webkit_dom_html_image_element_get_natural_height")]
3662+ public long get_natural_height ();
3663+ [CCode (cname = "webkit_dom_html_image_element_get_natural_width")]
3664+ public long get_natural_width ();
3665+ [CCode (cname = "webkit_dom_html_image_element_get_src")]
3666+ public unowned string get_src ();
3667+ [CCode (cname = "webkit_dom_html_image_element_get_use_map")]
3668+ public unowned string get_use_map ();
3669+ [CCode (cname = "webkit_dom_html_image_element_get_vspace")]
3670+ public long get_vspace ();
3671+ [CCode (cname = "webkit_dom_html_image_element_get_width")]
3672+ public long get_width ();
3673+ [CCode (cname = "webkit_dom_html_image_element_get_x")]
3674+ public long get_x ();
3675+ [CCode (cname = "webkit_dom_html_image_element_get_y")]
3676+ public long get_y ();
3677+ [CCode (cname = "webkit_dom_html_image_element_set_align")]
3678+ public void set_align (string value);
3679+ [CCode (cname = "webkit_dom_html_image_element_set_alt")]
3680+ public void set_alt (string value);
3681+ [CCode (cname = "webkit_dom_html_image_element_set_border")]
3682+ public void set_border (string value);
3683+ [CCode (cname = "webkit_dom_html_image_element_set_cross_origin")]
3684+ public void set_cross_origin (string value);
3685+ [CCode (cname = "webkit_dom_html_image_element_set_height")]
3686+ public void set_height (long value);
3687+ [CCode (cname = "webkit_dom_html_image_element_set_hspace")]
3688+ public void set_hspace (long value);
3689+ [CCode (cname = "webkit_dom_html_image_element_set_is_map")]
3690+ public void set_is_map (bool value);
3691+ [CCode (cname = "webkit_dom_html_image_element_set_long_desc")]
3692+ public void set_long_desc (string value);
3693+ [CCode (cname = "webkit_dom_html_image_element_set_lowsrc")]
3694+ public void set_lowsrc (string value);
3695+ [CCode (cname = "webkit_dom_html_image_element_set_name")]
3696+ public void set_name (string value);
3697+ [CCode (cname = "webkit_dom_html_image_element_set_src")]
3698+ public void set_src (string value);
3699+ [CCode (cname = "webkit_dom_html_image_element_set_use_map")]
3700+ public void set_use_map (string value);
3701+ [CCode (cname = "webkit_dom_html_image_element_set_vspace")]
3702+ public void set_vspace (long value);
3703+ [CCode (cname = "webkit_dom_html_image_element_set_width")]
3704+ public void set_width (long value);
3705+ public string align { get; set; }
3706+ public string alt { get; set; }
3707+ public string border { get; set; }
3708+ public bool complete { get; }
3709+ public string cross_origin { get; set; }
3710+ public long height { get; set; }
3711+ public long hspace { get; set; }
3712+ public bool is_map { get; set; }
3713+ public string long_desc { get; set; }
3714+ public string lowsrc { get; set; }
3715+ public string name { get; set; }
3716+ public long natural_height { get; }
3717+ public long natural_width { get; }
3718+ public string src { get; set; }
3719+ public string use_map { get; set; }
3720+ public long vspace { get; set; }
3721+ public long width { get; set; }
3722+ public long x { get; }
3723+ public long y { get; }
3724+ }
3725+ [CCode (cheader_filename = "webkit/webkit.h")]
3726+ public class DOMHTMLInputElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3727+ [CCode (has_construct_function = false)]
3728+ protected DOMHTMLInputElement ();
3729+ [CCode (cname = "webkit_dom_html_input_element_check_validity")]
3730+ public bool check_validity ();
3731+ [CCode (cname = "webkit_dom_html_input_element_click")]
3732+ public void click ();
3733+ [CCode (cname = "webkit_dom_html_input_element_get_accept")]
3734+ public unowned string get_accept ();
3735+ [CCode (cname = "webkit_dom_html_input_element_get_access_key")]
3736+ public unowned string get_access_key ();
3737+ [CCode (cname = "webkit_dom_html_input_element_get_align")]
3738+ public unowned string get_align ();
3739+ [CCode (cname = "webkit_dom_html_input_element_get_alt")]
3740+ public unowned string get_alt ();
3741+ [CCode (cname = "webkit_dom_html_input_element_get_autocomplete")]
3742+ public unowned string get_autocomplete ();
3743+ [CCode (cname = "webkit_dom_html_input_element_get_autofocus")]
3744+ public bool get_autofocus ();
3745+ [CCode (cname = "webkit_dom_html_input_element_get_checked")]
3746+ public bool get_checked ();
3747+ [CCode (cname = "webkit_dom_html_input_element_get_default_checked")]
3748+ public bool get_default_checked ();
3749+ [CCode (cname = "webkit_dom_html_input_element_get_default_value")]
3750+ public unowned string get_default_value ();
3751+ [CCode (cname = "webkit_dom_html_input_element_get_disabled")]
3752+ public bool get_disabled ();
3753+ [CCode (cname = "webkit_dom_html_input_element_get_files")]
3754+ public unowned WebKit.DOMFileList get_files ();
3755+ [CCode (cname = "webkit_dom_html_input_element_get_form")]
3756+ public unowned WebKit.DOMHTMLFormElement get_form ();
3757+ [CCode (cname = "webkit_dom_html_input_element_get_form_action")]
3758+ public unowned string get_form_action ();
3759+ [CCode (cname = "webkit_dom_html_input_element_get_form_enctype")]
3760+ public unowned string get_form_enctype ();
3761+ [CCode (cname = "webkit_dom_html_input_element_get_form_method")]
3762+ public unowned string get_form_method ();
3763+ [CCode (cname = "webkit_dom_html_input_element_get_form_no_validate")]
3764+ public bool get_form_no_validate ();
3765+ [CCode (cname = "webkit_dom_html_input_element_get_form_target")]
3766+ public unowned string get_form_target ();
3767+ [CCode (cname = "webkit_dom_html_input_element_get_incremental")]
3768+ public bool get_incremental ();
3769+ [CCode (cname = "webkit_dom_html_input_element_get_indeterminate")]
3770+ public bool get_indeterminate ();
3771+ [CCode (cname = "webkit_dom_html_input_element_get_labels")]
3772+ public unowned WebKit.DOMNodeList get_labels ();
3773+ [CCode (cname = "webkit_dom_html_input_element_get_list")]
3774+ public unowned WebKit.DOMHTMLElement get_list ();
3775+ [CCode (cname = "webkit_dom_html_input_element_get_max")]
3776+ public unowned string get_max ();
3777+ [CCode (cname = "webkit_dom_html_input_element_get_max_length")]
3778+ public long get_max_length ();
3779+ [CCode (cname = "webkit_dom_html_input_element_get_min")]
3780+ public unowned string get_min ();
3781+ [CCode (cname = "webkit_dom_html_input_element_get_multiple")]
3782+ public bool get_multiple ();
3783+ [CCode (cname = "webkit_dom_html_input_element_get_name")]
3784+ public unowned string get_name ();
3785+ [CCode (cname = "webkit_dom_html_input_element_get_pattern")]
3786+ public unowned string get_pattern ();
3787+ [CCode (cname = "webkit_dom_html_input_element_get_placeholder")]
3788+ public unowned string get_placeholder ();
3789+ [CCode (cname = "webkit_dom_html_input_element_get_read_only")]
3790+ public bool get_read_only ();
3791+ [CCode (cname = "webkit_dom_html_input_element_get_required")]
3792+ public bool get_required ();
3793+ [CCode (cname = "webkit_dom_html_input_element_get_selected_option")]
3794+ public unowned WebKit.DOMHTMLOptionElement get_selected_option ();
3795+ [CCode (cname = "webkit_dom_html_input_element_get_size")]
3796+ public ulong get_size ();
3797+ [CCode (cname = "webkit_dom_html_input_element_get_src")]
3798+ public unowned string get_src ();
3799+ [CCode (cname = "webkit_dom_html_input_element_get_step")]
3800+ public unowned string get_step ();
3801+ [CCode (cname = "webkit_dom_html_input_element_get_use_map")]
3802+ public unowned string get_use_map ();
3803+ [CCode (cname = "webkit_dom_html_input_element_get_validation_message")]
3804+ public unowned string get_validation_message ();
3805+ [CCode (cname = "webkit_dom_html_input_element_get_validity")]
3806+ public unowned WebKit.DOMValidityState get_validity ();
3807+ [CCode (cname = "webkit_dom_html_input_element_get_value")]
3808+ public unowned string get_value ();
3809+ [CCode (cname = "webkit_dom_html_input_element_get_value_as_number")]
3810+ public double get_value_as_number ();
3811+ [CCode (cname = "webkit_dom_html_input_element_get_webkit_grammar")]
3812+ public bool get_webkit_grammar ();
3813+ [CCode (cname = "webkit_dom_html_input_element_get_webkit_speech")]
3814+ public bool get_webkit_speech ();
3815+ [CCode (cname = "webkit_dom_html_input_element_get_webkitdirectory")]
3816+ public bool get_webkitdirectory ();
3817+ [CCode (cname = "webkit_dom_html_input_element_get_will_validate")]
3818+ public bool get_will_validate ();
3819+ [CCode (cname = "webkit_dom_html_input_element_is_edited")]
3820+ public bool is_edited ();
3821+ [CCode (cname = "webkit_dom_html_input_element_select")]
3822+ public void select ();
3823+ [CCode (cname = "webkit_dom_html_input_element_set_accept")]
3824+ public void set_accept (string value);
3825+ [CCode (cname = "webkit_dom_html_input_element_set_access_key")]
3826+ public void set_access_key (string value);
3827+ [CCode (cname = "webkit_dom_html_input_element_set_align")]
3828+ public void set_align (string value);
3829+ [CCode (cname = "webkit_dom_html_input_element_set_alt")]
3830+ public void set_alt (string value);
3831+ [CCode (cname = "webkit_dom_html_input_element_set_autocomplete")]
3832+ public void set_autocomplete (string value);
3833+ [CCode (cname = "webkit_dom_html_input_element_set_autofocus")]
3834+ public void set_autofocus (bool value);
3835+ [CCode (cname = "webkit_dom_html_input_element_set_checked")]
3836+ public void set_checked (bool value);
3837+ [CCode (cname = "webkit_dom_html_input_element_set_custom_validity")]
3838+ public void set_custom_validity (string error);
3839+ [CCode (cname = "webkit_dom_html_input_element_set_default_checked")]
3840+ public void set_default_checked (bool value);
3841+ [CCode (cname = "webkit_dom_html_input_element_set_default_value")]
3842+ public void set_default_value (string value);
3843+ [CCode (cname = "webkit_dom_html_input_element_set_disabled")]
3844+ public void set_disabled (bool value);
3845+ [CCode (cname = "webkit_dom_html_input_element_set_form_action")]
3846+ public void set_form_action (string value);
3847+ [CCode (cname = "webkit_dom_html_input_element_set_form_enctype")]
3848+ public void set_form_enctype (string value);
3849+ [CCode (cname = "webkit_dom_html_input_element_set_form_method")]
3850+ public void set_form_method (string value);
3851+ [CCode (cname = "webkit_dom_html_input_element_set_form_no_validate")]
3852+ public void set_form_no_validate (bool value);
3853+ [CCode (cname = "webkit_dom_html_input_element_set_form_target")]
3854+ public void set_form_target (string value);
3855+ [CCode (cname = "webkit_dom_html_input_element_set_incremental")]
3856+ public void set_incremental (bool value);
3857+ [CCode (cname = "webkit_dom_html_input_element_set_indeterminate")]
3858+ public void set_indeterminate (bool value);
3859+ [CCode (cname = "webkit_dom_html_input_element_set_max")]
3860+ public void set_max (string value);
3861+ [CCode (cname = "webkit_dom_html_input_element_set_max_length")]
3862+ public void set_max_length (long value) throws GLib.Error;
3863+ [CCode (cname = "webkit_dom_html_input_element_set_min")]
3864+ public void set_min (string value);
3865+ [CCode (cname = "webkit_dom_html_input_element_set_multiple")]
3866+ public void set_multiple (bool value);
3867+ [CCode (cname = "webkit_dom_html_input_element_set_name")]
3868+ public void set_name (string value);
3869+ [CCode (cname = "webkit_dom_html_input_element_set_pattern")]
3870+ public void set_pattern (string value);
3871+ [CCode (cname = "webkit_dom_html_input_element_set_placeholder")]
3872+ public void set_placeholder (string value);
3873+ [CCode (cname = "webkit_dom_html_input_element_set_read_only")]
3874+ public void set_read_only (bool value);
3875+ [CCode (cname = "webkit_dom_html_input_element_set_required")]
3876+ public void set_required (bool value);
3877+ [CCode (cname = "webkit_dom_html_input_element_set_size")]
3878+ public void set_size (ulong value);
3879+ [CCode (cname = "webkit_dom_html_input_element_set_src")]
3880+ public void set_src (string value);
3881+ [CCode (cname = "webkit_dom_html_input_element_set_step")]
3882+ public void set_step (string value);
3883+ [CCode (cname = "webkit_dom_html_input_element_set_use_map")]
3884+ public void set_use_map (string value);
3885+ [CCode (cname = "webkit_dom_html_input_element_set_value")]
3886+ public void set_value (string value);
3887+ [CCode (cname = "webkit_dom_html_input_element_set_value_as_number")]
3888+ public void set_value_as_number (double value) throws GLib.Error;
3889+ [CCode (cname = "webkit_dom_html_input_element_set_value_for_user")]
3890+ public void set_value_for_user (string value);
3891+ [CCode (cname = "webkit_dom_html_input_element_set_webkit_grammar")]
3892+ public void set_webkit_grammar (bool value);
3893+ [CCode (cname = "webkit_dom_html_input_element_set_webkit_speech")]
3894+ public void set_webkit_speech (bool value);
3895+ [CCode (cname = "webkit_dom_html_input_element_set_webkitdirectory")]
3896+ public void set_webkitdirectory (bool value);
3897+ [CCode (cname = "webkit_dom_html_input_element_step_down")]
3898+ public void step_down (long n) throws GLib.Error;
3899+ [CCode (cname = "webkit_dom_html_input_element_step_up")]
3900+ public void step_up (long n) throws GLib.Error;
3901+ public string accept { get; set; }
3902+ public string access_key { get; set; }
3903+ public string align { get; set; }
3904+ public string alt { get; set; }
3905+ public string autocomplete { get; set; }
3906+ public bool autofocus { get; set; }
3907+ public bool checked { get; set; }
3908+ public bool default_checked { get; set; }
3909+ public string default_value { get; set; }
3910+ public bool disabled { get; set; }
3911+ public WebKit.DOMFileList files { get; }
3912+ public WebKit.DOMHTMLFormElement form { get; }
3913+ public string form_action { get; set; }
3914+ public string form_enctype { get; set; }
3915+ public string form_method { get; set; }
3916+ public bool form_no_validate { get; set; }
3917+ public string form_target { get; set; }
3918+ public bool incremental { get; set; }
3919+ public bool indeterminate { get; set; }
3920+ public WebKit.DOMNodeList labels { get; }
3921+ public WebKit.DOMHTMLElement list { get; }
3922+ public string max { get; set; }
3923+ public long max_length { get; set; }
3924+ public string min { get; set; }
3925+ public bool multiple { get; set; }
3926+ public string name { get; set; }
3927+ public string pattern { get; set; }
3928+ public string placeholder { get; set; }
3929+ public bool read_only { get; set; }
3930+ public bool required { get; set; }
3931+ public WebKit.DOMHTMLOptionElement selected_option { get; }
3932+ public ulong size { get; set; }
3933+ public string src { get; set; }
3934+ public string step { get; set; }
3935+ [NoAccessorMethod]
3936+ public string type { owned get; set; }
3937+ public string use_map { get; set; }
3938+ public string validation_message { get; }
3939+ public WebKit.DOMValidityState validity { get; }
3940+ public string value { get; set; }
3941+ public double value_as_number { get; set; }
3942+ public bool will_validate { get; }
3943+ }
3944+ [CCode (cheader_filename = "webkit/webkit.h")]
3945+ public class DOMHTMLIsIndexElement : WebKit.DOMHTMLInputElement, WebKit.DOMEventTarget {
3946+ [CCode (has_construct_function = false)]
3947+ protected DOMHTMLIsIndexElement ();
3948+ [CCode (cname = "webkit_dom_html_is_index_element_get_form")]
3949+ public unowned WebKit.DOMHTMLFormElement get_form ();
3950+ [CCode (cname = "webkit_dom_html_is_index_element_get_prompt")]
3951+ public unowned string get_prompt ();
3952+ [CCode (cname = "webkit_dom_html_is_index_element_set_prompt")]
3953+ public void set_prompt (string value);
3954+ public WebKit.DOMHTMLFormElement form { get; }
3955+ public string prompt { get; set; }
3956+ }
3957+ [CCode (cheader_filename = "webkit/webkit.h")]
3958+ public class DOMHTMLKeygenElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
3959+ [CCode (has_construct_function = false)]
3960+ protected DOMHTMLKeygenElement ();
3961+ [CCode (cname = "webkit_dom_html_keygen_element_check_validity")]
3962+ public bool check_validity ();
3963+ [CCode (cname = "webkit_dom_html_keygen_element_get_autofocus")]
3964+ public bool get_autofocus ();
3965+ [CCode (cname = "webkit_dom_html_keygen_element_get_challenge")]
3966+ public unowned string get_challenge ();
3967+ [CCode (cname = "webkit_dom_html_keygen_element_get_disabled")]
3968+ public bool get_disabled ();
3969+ [CCode (cname = "webkit_dom_html_keygen_element_get_form")]
3970+ public unowned WebKit.DOMHTMLFormElement get_form ();
3971+ [CCode (cname = "webkit_dom_html_keygen_element_get_keytype")]
3972+ public unowned string get_keytype ();
3973+ [CCode (cname = "webkit_dom_html_keygen_element_get_labels")]
3974+ public unowned WebKit.DOMNodeList get_labels ();
3975+ [CCode (cname = "webkit_dom_html_keygen_element_get_name")]
3976+ public unowned string get_name ();
3977+ [CCode (cname = "webkit_dom_html_keygen_element_get_validation_message")]
3978+ public unowned string get_validation_message ();
3979+ [CCode (cname = "webkit_dom_html_keygen_element_get_validity")]
3980+ public unowned WebKit.DOMValidityState get_validity ();
3981+ [CCode (cname = "webkit_dom_html_keygen_element_get_will_validate")]
3982+ public bool get_will_validate ();
3983+ [CCode (cname = "webkit_dom_html_keygen_element_set_autofocus")]
3984+ public void set_autofocus (bool value);
3985+ [CCode (cname = "webkit_dom_html_keygen_element_set_challenge")]
3986+ public void set_challenge (string value);
3987+ [CCode (cname = "webkit_dom_html_keygen_element_set_custom_validity")]
3988+ public void set_custom_validity (string error);
3989+ [CCode (cname = "webkit_dom_html_keygen_element_set_disabled")]
3990+ public void set_disabled (bool value);
3991+ [CCode (cname = "webkit_dom_html_keygen_element_set_keytype")]
3992+ public void set_keytype (string value);
3993+ [CCode (cname = "webkit_dom_html_keygen_element_set_name")]
3994+ public void set_name (string value);
3995+ public bool autofocus { get; set; }
3996+ public string challenge { get; set; }
3997+ public bool disabled { get; set; }
3998+ public WebKit.DOMHTMLFormElement form { get; }
3999+ public string keytype { get; set; }
4000+ public WebKit.DOMNodeList labels { get; }
4001+ public string name { get; set; }
4002+ [NoAccessorMethod]
4003+ public string type { owned get; }
4004+ public string validation_message { get; }
4005+ public WebKit.DOMValidityState validity { get; }
4006+ public bool will_validate { get; }
4007+ }
4008+ [CCode (cheader_filename = "webkit/webkit.h")]
4009+ public class DOMHTMLLIElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4010+ [CCode (has_construct_function = false)]
4011+ protected DOMHTMLLIElement ();
4012+ [CCode (cname = "webkit_dom_htmlli_element_get_value")]
4013+ public long get_value ();
4014+ [CCode (cname = "webkit_dom_htmlli_element_set_value")]
4015+ public void set_value (long value);
4016+ [NoAccessorMethod]
4017+ public string type { owned get; set; }
4018+ public long value { get; set; }
4019+ }
4020+ [CCode (cheader_filename = "webkit/webkit.h")]
4021+ public class DOMHTMLLabelElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4022+ [CCode (has_construct_function = false)]
4023+ protected DOMHTMLLabelElement ();
4024+ [CCode (cname = "webkit_dom_html_label_element_get_access_key")]
4025+ public unowned string get_access_key ();
4026+ [CCode (cname = "webkit_dom_html_label_element_get_control")]
4027+ public unowned WebKit.DOMHTMLElement get_control ();
4028+ [CCode (cname = "webkit_dom_html_label_element_get_form")]
4029+ public unowned WebKit.DOMHTMLFormElement get_form ();
4030+ [CCode (cname = "webkit_dom_html_label_element_get_html_for")]
4031+ public unowned string get_html_for ();
4032+ [CCode (cname = "webkit_dom_html_label_element_set_access_key")]
4033+ public void set_access_key (string value);
4034+ [CCode (cname = "webkit_dom_html_label_element_set_html_for")]
4035+ public void set_html_for (string value);
4036+ public string access_key { get; set; }
4037+ public WebKit.DOMHTMLElement control { get; }
4038+ public WebKit.DOMHTMLFormElement form { get; }
4039+ public string html_for { get; set; }
4040+ }
4041+ [CCode (cheader_filename = "webkit/webkit.h")]
4042+ public class DOMHTMLLegendElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4043+ [CCode (has_construct_function = false)]
4044+ protected DOMHTMLLegendElement ();
4045+ [CCode (cname = "webkit_dom_html_legend_element_get_access_key")]
4046+ public unowned string get_access_key ();
4047+ [CCode (cname = "webkit_dom_html_legend_element_get_align")]
4048+ public unowned string get_align ();
4049+ [CCode (cname = "webkit_dom_html_legend_element_get_form")]
4050+ public unowned WebKit.DOMHTMLFormElement get_form ();
4051+ [CCode (cname = "webkit_dom_html_legend_element_set_access_key")]
4052+ public void set_access_key (string value);
4053+ [CCode (cname = "webkit_dom_html_legend_element_set_align")]
4054+ public void set_align (string value);
4055+ public string access_key { get; set; }
4056+ public string align { get; set; }
4057+ public WebKit.DOMHTMLFormElement form { get; }
4058+ }
4059+ [CCode (cheader_filename = "webkit/webkit.h")]
4060+ public class DOMHTMLLinkElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4061+ [CCode (has_construct_function = false)]
4062+ protected DOMHTMLLinkElement ();
4063+ [CCode (cname = "webkit_dom_html_link_element_get_charset")]
4064+ public unowned string get_charset ();
4065+ [CCode (cname = "webkit_dom_html_link_element_get_disabled")]
4066+ public bool get_disabled ();
4067+ [CCode (cname = "webkit_dom_html_link_element_get_href")]
4068+ public unowned string get_href ();
4069+ [CCode (cname = "webkit_dom_html_link_element_get_hreflang")]
4070+ public unowned string get_hreflang ();
4071+ [CCode (cname = "webkit_dom_html_link_element_get_media")]
4072+ public unowned string get_media ();
4073+ [CCode (cname = "webkit_dom_html_link_element_get_rel")]
4074+ public unowned string get_rel ();
4075+ [CCode (cname = "webkit_dom_html_link_element_get_rev")]
4076+ public unowned string get_rev ();
4077+ [CCode (cname = "webkit_dom_html_link_element_get_sheet")]
4078+ public unowned WebKit.DOMStyleSheet get_sheet ();
4079+ [CCode (cname = "webkit_dom_html_link_element_get_target")]
4080+ public unowned string get_target ();
4081+ [CCode (cname = "webkit_dom_html_link_element_set_charset")]
4082+ public void set_charset (string value);
4083+ [CCode (cname = "webkit_dom_html_link_element_set_disabled")]
4084+ public void set_disabled (bool value);
4085+ [CCode (cname = "webkit_dom_html_link_element_set_href")]
4086+ public void set_href (string value);
4087+ [CCode (cname = "webkit_dom_html_link_element_set_hreflang")]
4088+ public void set_hreflang (string value);
4089+ [CCode (cname = "webkit_dom_html_link_element_set_media")]
4090+ public void set_media (string value);
4091+ [CCode (cname = "webkit_dom_html_link_element_set_rel")]
4092+ public void set_rel (string value);
4093+ [CCode (cname = "webkit_dom_html_link_element_set_rev")]
4094+ public void set_rev (string value);
4095+ [CCode (cname = "webkit_dom_html_link_element_set_target")]
4096+ public void set_target (string value);
4097+ public string charset { get; set; }
4098+ public bool disabled { get; set; }
4099+ public string href { get; set; }
4100+ public string hreflang { get; set; }
4101+ public string media { get; set; }
4102+ public string rel { get; set; }
4103+ public string rev { get; set; }
4104+ public WebKit.DOMStyleSheet sheet { get; }
4105+ public string target { get; set; }
4106+ [NoAccessorMethod]
4107+ public string type { owned get; set; }
4108+ }
4109+ [CCode (cheader_filename = "webkit/webkit.h")]
4110+ public class DOMHTMLMapElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4111+ [CCode (has_construct_function = false)]
4112+ protected DOMHTMLMapElement ();
4113+ [CCode (cname = "webkit_dom_html_map_element_get_areas")]
4114+ public unowned WebKit.DOMHTMLCollection get_areas ();
4115+ [CCode (cname = "webkit_dom_html_map_element_get_name")]
4116+ public unowned string get_name ();
4117+ [CCode (cname = "webkit_dom_html_map_element_set_name")]
4118+ public void set_name (string value);
4119+ public WebKit.DOMHTMLCollection areas { get; }
4120+ public string name { get; set; }
4121+ }
4122+ [CCode (cheader_filename = "webkit/webkit.h")]
4123+ public class DOMHTMLMarqueeElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4124+ [CCode (has_construct_function = false)]
4125+ protected DOMHTMLMarqueeElement ();
4126+ [CCode (cname = "webkit_dom_html_marquee_element_get_behavior")]
4127+ public unowned string get_behavior ();
4128+ [CCode (cname = "webkit_dom_html_marquee_element_get_bg_color")]
4129+ public unowned string get_bg_color ();
4130+ [CCode (cname = "webkit_dom_html_marquee_element_get_direction")]
4131+ public unowned string get_direction ();
4132+ [CCode (cname = "webkit_dom_html_marquee_element_get_height")]
4133+ public unowned string get_height ();
4134+ [CCode (cname = "webkit_dom_html_marquee_element_get_hspace")]
4135+ public ulong get_hspace ();
4136+ [CCode (cname = "webkit_dom_html_marquee_element_get_loop")]
4137+ public long get_loop ();
4138+ [CCode (cname = "webkit_dom_html_marquee_element_get_scroll_amount")]
4139+ public long get_scroll_amount ();
4140+ [CCode (cname = "webkit_dom_html_marquee_element_get_scroll_delay")]
4141+ public long get_scroll_delay ();
4142+ [CCode (cname = "webkit_dom_html_marquee_element_get_true_speed")]
4143+ public bool get_true_speed ();
4144+ [CCode (cname = "webkit_dom_html_marquee_element_get_vspace")]
4145+ public ulong get_vspace ();
4146+ [CCode (cname = "webkit_dom_html_marquee_element_get_width")]
4147+ public unowned string get_width ();
4148+ [CCode (cname = "webkit_dom_html_marquee_element_set_behavior")]
4149+ public void set_behavior (string value);
4150+ [CCode (cname = "webkit_dom_html_marquee_element_set_bg_color")]
4151+ public void set_bg_color (string value);
4152+ [CCode (cname = "webkit_dom_html_marquee_element_set_direction")]
4153+ public void set_direction (string value);
4154+ [CCode (cname = "webkit_dom_html_marquee_element_set_height")]
4155+ public void set_height (string value);
4156+ [CCode (cname = "webkit_dom_html_marquee_element_set_hspace")]
4157+ public void set_hspace (ulong value);
4158+ [CCode (cname = "webkit_dom_html_marquee_element_set_loop")]
4159+ public void set_loop (long value) throws GLib.Error;
4160+ [CCode (cname = "webkit_dom_html_marquee_element_set_scroll_amount")]
4161+ public void set_scroll_amount (long value) throws GLib.Error;
4162+ [CCode (cname = "webkit_dom_html_marquee_element_set_scroll_delay")]
4163+ public void set_scroll_delay (long value) throws GLib.Error;
4164+ [CCode (cname = "webkit_dom_html_marquee_element_set_true_speed")]
4165+ public void set_true_speed (bool value);
4166+ [CCode (cname = "webkit_dom_html_marquee_element_set_vspace")]
4167+ public void set_vspace (ulong value);
4168+ [CCode (cname = "webkit_dom_html_marquee_element_set_width")]
4169+ public void set_width (string value);
4170+ [CCode (cname = "webkit_dom_html_marquee_element_start")]
4171+ public void start ();
4172+ [CCode (cname = "webkit_dom_html_marquee_element_stop")]
4173+ public void stop ();
4174+ public string behavior { get; set; }
4175+ public string bg_color { get; set; }
4176+ public string direction { get; set; }
4177+ public string height { get; set; }
4178+ public ulong hspace { get; set; }
4179+ public long loop { get; set; }
4180+ public long scroll_amount { get; set; }
4181+ public long scroll_delay { get; set; }
4182+ public bool true_speed { get; set; }
4183+ public ulong vspace { get; set; }
4184+ public string width { get; set; }
4185+ }
4186+ [CCode (cheader_filename = "webkit/webkit.h")]
4187+ public class DOMHTMLMediaElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4188+ [CCode (has_construct_function = false)]
4189+ protected DOMHTMLMediaElement ();
4190+ [CCode (cname = "webkit_dom_html_media_element_can_play_type")]
4191+ public unowned string can_play_type (string type);
4192+ [CCode (cname = "webkit_dom_html_media_element_get_autoplay")]
4193+ public bool get_autoplay ();
4194+ [CCode (cname = "webkit_dom_html_media_element_get_buffered")]
4195+ public unowned WebKit.DOMTimeRanges get_buffered ();
4196+ [CCode (cname = "webkit_dom_html_media_element_get_controls")]
4197+ public bool get_controls ();
4198+ [CCode (cname = "webkit_dom_html_media_element_get_current_src")]
4199+ public unowned string get_current_src ();
4200+ [CCode (cname = "webkit_dom_html_media_element_get_current_time")]
4201+ public float get_current_time ();
4202+ [CCode (cname = "webkit_dom_html_media_element_get_default_muted")]
4203+ public bool get_default_muted ();
4204+ [CCode (cname = "webkit_dom_html_media_element_get_default_playback_rate")]
4205+ public float get_default_playback_rate ();
4206+ [CCode (cname = "webkit_dom_html_media_element_get_duration")]
4207+ public float get_duration ();
4208+ [CCode (cname = "webkit_dom_html_media_element_get_ended")]
4209+ public bool get_ended ();
4210+ [CCode (cname = "webkit_dom_html_media_element_get_error")]
4211+ public unowned WebKit.DOMMediaError get_error ();
4212+ [CCode (cname = "webkit_dom_html_media_element_get_initial_time")]
4213+ public double get_initial_time ();
4214+ [CCode (cname = "webkit_dom_html_media_element_get_loop")]
4215+ public bool get_loop ();
4216+ [CCode (cname = "webkit_dom_html_media_element_get_muted")]
4217+ public bool get_muted ();
4218+ [CCode (cname = "webkit_dom_html_media_element_get_network_state")]
4219+ public ushort get_network_state ();
4220+ [CCode (cname = "webkit_dom_html_media_element_get_paused")]
4221+ public bool get_paused ();
4222+ [CCode (cname = "webkit_dom_html_media_element_get_playback_rate")]
4223+ public float get_playback_rate ();
4224+ [CCode (cname = "webkit_dom_html_media_element_get_played")]
4225+ public unowned WebKit.DOMTimeRanges get_played ();
4226+ [CCode (cname = "webkit_dom_html_media_element_get_preload")]
4227+ public unowned string get_preload ();
4228+ [CCode (cname = "webkit_dom_html_media_element_get_ready_state")]
4229+ public ushort get_ready_state ();
4230+ [CCode (cname = "webkit_dom_html_media_element_get_seekable")]
4231+ public unowned WebKit.DOMTimeRanges get_seekable ();
4232+ [CCode (cname = "webkit_dom_html_media_element_get_seeking")]
4233+ public bool get_seeking ();
4234+ [CCode (cname = "webkit_dom_html_media_element_get_src")]
4235+ public unowned string get_src ();
4236+ [CCode (cname = "webkit_dom_html_media_element_get_start_time")]
4237+ public float get_start_time ();
4238+ [CCode (cname = "webkit_dom_html_media_element_get_volume")]
4239+ public float get_volume ();
4240+ [CCode (cname = "webkit_dom_html_media_element_get_webkit_audio_decoded_byte_count")]
4241+ public ulong get_webkit_audio_decoded_byte_count ();
4242+ [CCode (cname = "webkit_dom_html_media_element_get_webkit_closed_captions_visible")]
4243+ public bool get_webkit_closed_captions_visible ();
4244+ [CCode (cname = "webkit_dom_html_media_element_get_webkit_has_closed_captions")]
4245+ public bool get_webkit_has_closed_captions ();
4246+ [CCode (cname = "webkit_dom_html_media_element_get_webkit_preserves_pitch")]
4247+ public bool get_webkit_preserves_pitch ();
4248+ [CCode (cname = "webkit_dom_html_media_element_get_webkit_video_decoded_byte_count")]
4249+ public ulong get_webkit_video_decoded_byte_count ();
4250+ [CCode (cname = "webkit_dom_html_media_element_load")]
4251+ public void load () throws GLib.Error;
4252+ [CCode (cname = "webkit_dom_html_media_element_pause")]
4253+ public void pause ();
4254+ [CCode (cname = "webkit_dom_html_media_element_play")]
4255+ public void play ();
4256+ [CCode (cname = "webkit_dom_html_media_element_set_autoplay")]
4257+ public void set_autoplay (bool value);
4258+ [CCode (cname = "webkit_dom_html_media_element_set_controls")]
4259+ public void set_controls (bool value);
4260+ [CCode (cname = "webkit_dom_html_media_element_set_current_time")]
4261+ public void set_current_time (float value) throws GLib.Error;
4262+ [CCode (cname = "webkit_dom_html_media_element_set_default_muted")]
4263+ public void set_default_muted (bool value);
4264+ [CCode (cname = "webkit_dom_html_media_element_set_default_playback_rate")]
4265+ public void set_default_playback_rate (float value);
4266+ [CCode (cname = "webkit_dom_html_media_element_set_loop")]
4267+ public void set_loop (bool value);
4268+ [CCode (cname = "webkit_dom_html_media_element_set_muted")]
4269+ public void set_muted (bool value);
4270+ [CCode (cname = "webkit_dom_html_media_element_set_playback_rate")]
4271+ public void set_playback_rate (float value);
4272+ [CCode (cname = "webkit_dom_html_media_element_set_preload")]
4273+ public void set_preload (string value);
4274+ [CCode (cname = "webkit_dom_html_media_element_set_src")]
4275+ public void set_src (string value);
4276+ [CCode (cname = "webkit_dom_html_media_element_set_volume")]
4277+ public void set_volume (float value) throws GLib.Error;
4278+ [CCode (cname = "webkit_dom_html_media_element_set_webkit_closed_captions_visible")]
4279+ public void set_webkit_closed_captions_visible (bool value);
4280+ [CCode (cname = "webkit_dom_html_media_element_set_webkit_preserves_pitch")]
4281+ public void set_webkit_preserves_pitch (bool value);
4282+ public bool autoplay { get; set; }
4283+ public WebKit.DOMTimeRanges buffered { get; }
4284+ public bool controls { get; set; }
4285+ public string current_src { get; }
4286+ public float current_time { get; set; }
4287+ public bool default_muted { get; set; }
4288+ public float default_playback_rate { get; set; }
4289+ public float duration { get; }
4290+ public bool ended { get; }
4291+ public WebKit.DOMMediaError error { get; }
4292+ public double initial_time { get; }
4293+ public bool loop { get; set; }
4294+ public bool muted { get; set; }
4295+ public uint network_state { get; }
4296+ public bool paused { get; }
4297+ public float playback_rate { get; set; }
4298+ public WebKit.DOMTimeRanges played { get; }
4299+ public string preload { get; set; }
4300+ public uint ready_state { get; }
4301+ public WebKit.DOMTimeRanges seekable { get; }
4302+ public bool seeking { get; }
4303+ public string src { get; set; }
4304+ public float start_time { get; }
4305+ public float volume { get; set; }
4306+ public bool webkit_closed_captions_visible { get; set; }
4307+ public bool webkit_has_closed_captions { get; }
4308+ public bool webkit_preserves_pitch { get; set; }
4309+ }
4310+ [CCode (cheader_filename = "webkit/webkit.h")]
4311+ public class DOMHTMLMenuElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4312+ [CCode (has_construct_function = false)]
4313+ protected DOMHTMLMenuElement ();
4314+ [CCode (cname = "webkit_dom_html_menu_element_get_compact")]
4315+ public bool get_compact ();
4316+ [CCode (cname = "webkit_dom_html_menu_element_set_compact")]
4317+ public void set_compact (bool value);
4318+ public bool compact { get; set; }
4319+ }
4320+ [CCode (cheader_filename = "webkit/webkit.h")]
4321+ public class DOMHTMLMetaElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4322+ [CCode (has_construct_function = false)]
4323+ protected DOMHTMLMetaElement ();
4324+ [CCode (cname = "webkit_dom_html_meta_element_get_content")]
4325+ public unowned string get_content ();
4326+ [CCode (cname = "webkit_dom_html_meta_element_get_http_equiv")]
4327+ public unowned string get_http_equiv ();
4328+ [CCode (cname = "webkit_dom_html_meta_element_get_name")]
4329+ public unowned string get_name ();
4330+ [CCode (cname = "webkit_dom_html_meta_element_get_scheme")]
4331+ public unowned string get_scheme ();
4332+ [CCode (cname = "webkit_dom_html_meta_element_set_content")]
4333+ public void set_content (string value);
4334+ [CCode (cname = "webkit_dom_html_meta_element_set_http_equiv")]
4335+ public void set_http_equiv (string value);
4336+ [CCode (cname = "webkit_dom_html_meta_element_set_name")]
4337+ public void set_name (string value);
4338+ [CCode (cname = "webkit_dom_html_meta_element_set_scheme")]
4339+ public void set_scheme (string value);
4340+ public string content { get; set; }
4341+ public string http_equiv { get; set; }
4342+ public string name { get; set; }
4343+ public string scheme { get; set; }
4344+ }
4345+ [CCode (cheader_filename = "webkit/webkit.h")]
4346+ public class DOMHTMLModElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4347+ [CCode (has_construct_function = false)]
4348+ protected DOMHTMLModElement ();
4349+ [CCode (cname = "webkit_dom_html_mod_element_get_cite")]
4350+ public unowned string get_cite ();
4351+ [CCode (cname = "webkit_dom_html_mod_element_get_date_time")]
4352+ public unowned string get_date_time ();
4353+ [CCode (cname = "webkit_dom_html_mod_element_set_cite")]
4354+ public void set_cite (string value);
4355+ [CCode (cname = "webkit_dom_html_mod_element_set_date_time")]
4356+ public void set_date_time (string value);
4357+ public string cite { get; set; }
4358+ public string date_time { get; set; }
4359+ }
4360+ [CCode (cheader_filename = "webkit/webkit.h")]
4361+ public class DOMHTMLOListElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4362+ [CCode (has_construct_function = false)]
4363+ protected DOMHTMLOListElement ();
4364+ [CCode (cname = "webkit_dom_htmlo_list_element_get_compact")]
4365+ public bool get_compact ();
4366+ [CCode (cname = "webkit_dom_htmlo_list_element_get_start")]
4367+ public long get_start ();
4368+ [CCode (cname = "webkit_dom_htmlo_list_element_set_compact")]
4369+ public void set_compact (bool value);
4370+ [CCode (cname = "webkit_dom_htmlo_list_element_set_start")]
4371+ public void set_start (long value);
4372+ public bool compact { get; set; }
4373+ public long start { get; set; }
4374+ [NoAccessorMethod]
4375+ public string type { owned get; set; }
4376+ }
4377+ [CCode (cheader_filename = "webkit/webkit.h")]
4378+ public class DOMHTMLObjectElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4379+ [CCode (has_construct_function = false)]
4380+ protected DOMHTMLObjectElement ();
4381+ [CCode (cname = "webkit_dom_html_object_element_check_validity")]
4382+ public bool check_validity ();
4383+ [CCode (cname = "webkit_dom_html_object_element_get_align")]
4384+ public unowned string get_align ();
4385+ [CCode (cname = "webkit_dom_html_object_element_get_archive")]
4386+ public unowned string get_archive ();
4387+ [CCode (cname = "webkit_dom_html_object_element_get_border")]
4388+ public unowned string get_border ();
4389+ [CCode (cname = "webkit_dom_html_object_element_get_code")]
4390+ public unowned string get_code ();
4391+ [CCode (cname = "webkit_dom_html_object_element_get_code_base")]
4392+ public unowned string get_code_base ();
4393+ [CCode (cname = "webkit_dom_html_object_element_get_code_type")]
4394+ public unowned string get_code_type ();
4395+ [CCode (cname = "webkit_dom_html_object_element_get_content_document")]
4396+ public unowned WebKit.DOMDocument get_content_document ();
4397+ [CCode (cname = "webkit_dom_html_object_element_get_data")]
4398+ public unowned string get_data ();
4399+ [CCode (cname = "webkit_dom_html_object_element_get_declare")]
4400+ public bool get_declare ();
4401+ [CCode (cname = "webkit_dom_html_object_element_get_form")]
4402+ public unowned WebKit.DOMHTMLFormElement get_form ();
4403+ [CCode (cname = "webkit_dom_html_object_element_get_height")]
4404+ public unowned string get_height ();
4405+ [CCode (cname = "webkit_dom_html_object_element_get_hspace")]
4406+ public long get_hspace ();
4407+ [CCode (cname = "webkit_dom_html_object_element_get_name")]
4408+ public unowned string get_name ();
4409+ [CCode (cname = "webkit_dom_html_object_element_get_standby")]
4410+ public unowned string get_standby ();
4411+ [CCode (cname = "webkit_dom_html_object_element_get_use_map")]
4412+ public unowned string get_use_map ();
4413+ [CCode (cname = "webkit_dom_html_object_element_get_validation_message")]
4414+ public unowned string get_validation_message ();
4415+ [CCode (cname = "webkit_dom_html_object_element_get_validity")]
4416+ public unowned WebKit.DOMValidityState get_validity ();
4417+ [CCode (cname = "webkit_dom_html_object_element_get_vspace")]
4418+ public long get_vspace ();
4419+ [CCode (cname = "webkit_dom_html_object_element_get_width")]
4420+ public unowned string get_width ();
4421+ [CCode (cname = "webkit_dom_html_object_element_get_will_validate")]
4422+ public bool get_will_validate ();
4423+ [CCode (cname = "webkit_dom_html_object_element_set_align")]
4424+ public void set_align (string value);
4425+ [CCode (cname = "webkit_dom_html_object_element_set_archive")]
4426+ public void set_archive (string value);
4427+ [CCode (cname = "webkit_dom_html_object_element_set_border")]
4428+ public void set_border (string value);
4429+ [CCode (cname = "webkit_dom_html_object_element_set_code")]
4430+ public void set_code (string value);
4431+ [CCode (cname = "webkit_dom_html_object_element_set_code_base")]
4432+ public void set_code_base (string value);
4433+ [CCode (cname = "webkit_dom_html_object_element_set_code_type")]
4434+ public void set_code_type (string value);
4435+ [CCode (cname = "webkit_dom_html_object_element_set_custom_validity")]
4436+ public void set_custom_validity (string error);
4437+ [CCode (cname = "webkit_dom_html_object_element_set_data")]
4438+ public void set_data (string value);
4439+ [CCode (cname = "webkit_dom_html_object_element_set_declare")]
4440+ public void set_declare (bool value);
4441+ [CCode (cname = "webkit_dom_html_object_element_set_height")]
4442+ public void set_height (string value);
4443+ [CCode (cname = "webkit_dom_html_object_element_set_hspace")]
4444+ public void set_hspace (long value);
4445+ [CCode (cname = "webkit_dom_html_object_element_set_name")]
4446+ public void set_name (string value);
4447+ [CCode (cname = "webkit_dom_html_object_element_set_standby")]
4448+ public void set_standby (string value);
4449+ [CCode (cname = "webkit_dom_html_object_element_set_use_map")]
4450+ public void set_use_map (string value);
4451+ [CCode (cname = "webkit_dom_html_object_element_set_vspace")]
4452+ public void set_vspace (long value);
4453+ [CCode (cname = "webkit_dom_html_object_element_set_width")]
4454+ public void set_width (string value);
4455+ public string align { get; set; }
4456+ public string archive { get; set; }
4457+ public string border { get; set; }
4458+ public string code { get; set; }
4459+ public string code_base { get; set; }
4460+ public string code_type { get; set; }
4461+ public WebKit.DOMDocument content_document { get; }
4462+ public string data { get; set; }
4463+ public bool declare { get; set; }
4464+ public WebKit.DOMHTMLFormElement form { get; }
4465+ public string height { get; set; }
4466+ public long hspace { get; set; }
4467+ public string name { get; set; }
4468+ public string standby { get; set; }
4469+ [NoAccessorMethod]
4470+ public string type { owned get; set; }
4471+ public string use_map { get; set; }
4472+ public string validation_message { get; }
4473+ public WebKit.DOMValidityState validity { get; }
4474+ public long vspace { get; set; }
4475+ public string width { get; set; }
4476+ public bool will_validate { get; }
4477+ }
4478+ [CCode (cheader_filename = "webkit/webkit.h")]
4479+ public class DOMHTMLOptGroupElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4480+ [CCode (has_construct_function = false)]
4481+ protected DOMHTMLOptGroupElement ();
4482+ [CCode (cname = "webkit_dom_html_opt_group_element_get_disabled")]
4483+ public bool get_disabled ();
4484+ [CCode (cname = "webkit_dom_html_opt_group_element_get_label")]
4485+ public unowned string get_label ();
4486+ [CCode (cname = "webkit_dom_html_opt_group_element_set_disabled")]
4487+ public void set_disabled (bool value);
4488+ [CCode (cname = "webkit_dom_html_opt_group_element_set_label")]
4489+ public void set_label (string value);
4490+ public bool disabled { get; set; }
4491+ public string label { get; set; }
4492+ }
4493+ [CCode (cheader_filename = "webkit/webkit.h")]
4494+ public class DOMHTMLOptionElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4495+ [CCode (has_construct_function = false)]
4496+ protected DOMHTMLOptionElement ();
4497+ [CCode (cname = "webkit_dom_html_option_element_get_default_selected")]
4498+ public bool get_default_selected ();
4499+ [CCode (cname = "webkit_dom_html_option_element_get_disabled")]
4500+ public bool get_disabled ();
4501+ [CCode (cname = "webkit_dom_html_option_element_get_form")]
4502+ public unowned WebKit.DOMHTMLFormElement get_form ();
4503+ [CCode (cname = "webkit_dom_html_option_element_get_index")]
4504+ public long get_index ();
4505+ [CCode (cname = "webkit_dom_html_option_element_get_label")]
4506+ public unowned string get_label ();
4507+ [CCode (cname = "webkit_dom_html_option_element_get_selected")]
4508+ public bool get_selected ();
4509+ [CCode (cname = "webkit_dom_html_option_element_get_text")]
4510+ public unowned string get_text ();
4511+ [CCode (cname = "webkit_dom_html_option_element_get_value")]
4512+ public unowned string get_value ();
4513+ [CCode (cname = "webkit_dom_html_option_element_set_default_selected")]
4514+ public void set_default_selected (bool value);
4515+ [CCode (cname = "webkit_dom_html_option_element_set_disabled")]
4516+ public void set_disabled (bool value);
4517+ [CCode (cname = "webkit_dom_html_option_element_set_label")]
4518+ public void set_label (string value);
4519+ [CCode (cname = "webkit_dom_html_option_element_set_selected")]
4520+ public void set_selected (bool value);
4521+ [CCode (cname = "webkit_dom_html_option_element_set_value")]
4522+ public void set_value (string value);
4523+ public bool default_selected { get; set; }
4524+ public bool disabled { get; set; }
4525+ public WebKit.DOMHTMLFormElement form { get; }
4526+ public long index { get; }
4527+ public string label { get; set; }
4528+ public bool selected { get; set; }
4529+ public string text { get; }
4530+ public string value { get; set; }
4531+ }
4532+ [CCode (cheader_filename = "webkit/webkit.h")]
4533+ public class DOMHTMLOptionsCollection : WebKit.DOMHTMLCollection {
4534+ [CCode (has_construct_function = false)]
4535+ protected DOMHTMLOptionsCollection ();
4536+ [CCode (cname = "webkit_dom_html_options_collection_get_selected_index")]
4537+ public long get_selected_index ();
4538+ [CCode (cname = "webkit_dom_html_options_collection_set_selected_index")]
4539+ public void set_selected_index (long value);
4540+ public long selected_index { get; set; }
4541+ }
4542+ [CCode (cheader_filename = "webkit/webkit.h")]
4543+ public class DOMHTMLParagraphElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4544+ [CCode (has_construct_function = false)]
4545+ protected DOMHTMLParagraphElement ();
4546+ [CCode (cname = "webkit_dom_html_paragraph_element_get_align")]
4547+ public unowned string get_align ();
4548+ [CCode (cname = "webkit_dom_html_paragraph_element_set_align")]
4549+ public void set_align (string value);
4550+ public string align { get; set; }
4551+ }
4552+ [CCode (cheader_filename = "webkit/webkit.h")]
4553+ public class DOMHTMLParamElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4554+ [CCode (has_construct_function = false)]
4555+ protected DOMHTMLParamElement ();
4556+ [CCode (cname = "webkit_dom_html_param_element_get_name")]
4557+ public unowned string get_name ();
4558+ [CCode (cname = "webkit_dom_html_param_element_get_value")]
4559+ public unowned string get_value ();
4560+ [CCode (cname = "webkit_dom_html_param_element_get_value_type")]
4561+ public unowned string get_value_type ();
4562+ [CCode (cname = "webkit_dom_html_param_element_set_name")]
4563+ public void set_name (string value);
4564+ [CCode (cname = "webkit_dom_html_param_element_set_value")]
4565+ public void set_value (string value);
4566+ [CCode (cname = "webkit_dom_html_param_element_set_value_type")]
4567+ public void set_value_type (string value);
4568+ public string name { get; set; }
4569+ [NoAccessorMethod]
4570+ public string type { owned get; set; }
4571+ public string value { get; set; }
4572+ public string value_type { get; set; }
4573+ }
4574+ [CCode (cheader_filename = "webkit/webkit.h")]
4575+ public class DOMHTMLPreElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4576+ [CCode (has_construct_function = false)]
4577+ protected DOMHTMLPreElement ();
4578+ [CCode (cname = "webkit_dom_html_pre_element_get_width")]
4579+ public long get_width ();
4580+ [CCode (cname = "webkit_dom_html_pre_element_get_wrap")]
4581+ public bool get_wrap ();
4582+ [CCode (cname = "webkit_dom_html_pre_element_set_width")]
4583+ public void set_width (long value);
4584+ [CCode (cname = "webkit_dom_html_pre_element_set_wrap")]
4585+ public void set_wrap (bool value);
4586+ public long width { get; set; }
4587+ public bool wrap { get; set; }
4588+ }
4589+ [CCode (cheader_filename = "webkit/webkit.h")]
4590+ public class DOMHTMLQuoteElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4591+ [CCode (has_construct_function = false)]
4592+ protected DOMHTMLQuoteElement ();
4593+ [CCode (cname = "webkit_dom_html_quote_element_get_cite")]
4594+ public unowned string get_cite ();
4595+ [CCode (cname = "webkit_dom_html_quote_element_set_cite")]
4596+ public void set_cite (string value);
4597+ public string cite { get; set; }
4598+ }
4599+ [CCode (cheader_filename = "webkit/webkit.h")]
4600+ public class DOMHTMLScriptElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4601+ [CCode (has_construct_function = false)]
4602+ protected DOMHTMLScriptElement ();
4603+ [CCode (cname = "webkit_dom_html_script_element_get_async")]
4604+ public bool get_async ();
4605+ [CCode (cname = "webkit_dom_html_script_element_get_charset")]
4606+ public unowned string get_charset ();
4607+ [CCode (cname = "webkit_dom_html_script_element_get_defer")]
4608+ public bool get_defer ();
4609+ [CCode (cname = "webkit_dom_html_script_element_get_event")]
4610+ public unowned string get_event ();
4611+ [CCode (cname = "webkit_dom_html_script_element_get_html_for")]
4612+ public unowned string get_html_for ();
4613+ [CCode (cname = "webkit_dom_html_script_element_get_src")]
4614+ public unowned string get_src ();
4615+ [CCode (cname = "webkit_dom_html_script_element_get_text")]
4616+ public unowned string get_text ();
4617+ [CCode (cname = "webkit_dom_html_script_element_set_async")]
4618+ public void set_async (bool value);
4619+ [CCode (cname = "webkit_dom_html_script_element_set_charset")]
4620+ public void set_charset (string value);
4621+ [CCode (cname = "webkit_dom_html_script_element_set_defer")]
4622+ public void set_defer (bool value);
4623+ [CCode (cname = "webkit_dom_html_script_element_set_event")]
4624+ public void set_event (string value);
4625+ [CCode (cname = "webkit_dom_html_script_element_set_html_for")]
4626+ public void set_html_for (string value);
4627+ [CCode (cname = "webkit_dom_html_script_element_set_src")]
4628+ public void set_src (string value);
4629+ [CCode (cname = "webkit_dom_html_script_element_set_text")]
4630+ public void set_text (string value);
4631+ public bool @async { get; set; }
4632+ public string charset { get; set; }
4633+ public bool defer { get; set; }
4634+ public string event { get; set; }
4635+ public string html_for { get; set; }
4636+ public string src { get; set; }
4637+ public string text { get; set; }
4638+ [NoAccessorMethod]
4639+ public string type { owned get; set; }
4640+ }
4641+ [CCode (cheader_filename = "webkit/webkit.h")]
4642+ public class DOMHTMLSelectElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4643+ [CCode (has_construct_function = false)]
4644+ protected DOMHTMLSelectElement ();
4645+ [CCode (cname = "webkit_dom_html_select_element_add")]
4646+ public void add (WebKit.DOMHTMLElement element, WebKit.DOMHTMLElement before) throws GLib.Error;
4647+ [CCode (cname = "webkit_dom_html_select_element_check_validity")]
4648+ public bool check_validity ();
4649+ [CCode (cname = "webkit_dom_html_select_element_get_autofocus")]
4650+ public bool get_autofocus ();
4651+ [CCode (cname = "webkit_dom_html_select_element_get_disabled")]
4652+ public bool get_disabled ();
4653+ [CCode (cname = "webkit_dom_html_select_element_get_form")]
4654+ public unowned WebKit.DOMHTMLFormElement get_form ();
4655+ [CCode (cname = "webkit_dom_html_select_element_get_labels")]
4656+ public unowned WebKit.DOMNodeList get_labels ();
4657+ [CCode (cname = "webkit_dom_html_select_element_get_length")]
4658+ public ulong get_length ();
4659+ [CCode (cname = "webkit_dom_html_select_element_get_multiple")]
4660+ public bool get_multiple ();
4661+ [CCode (cname = "webkit_dom_html_select_element_get_name")]
4662+ public unowned string get_name ();
4663+ [CCode (cname = "webkit_dom_html_select_element_get_options")]
4664+ public unowned WebKit.DOMHTMLOptionsCollection get_options ();
4665+ [CCode (cname = "webkit_dom_html_select_element_get_required")]
4666+ public bool get_required ();
4667+ [CCode (cname = "webkit_dom_html_select_element_get_selected_index")]
4668+ public long get_selected_index ();
4669+ [CCode (cname = "webkit_dom_html_select_element_get_size")]
4670+ public long get_size ();
4671+ [CCode (cname = "webkit_dom_html_select_element_get_validation_message")]
4672+ public unowned string get_validation_message ();
4673+ [CCode (cname = "webkit_dom_html_select_element_get_validity")]
4674+ public unowned WebKit.DOMValidityState get_validity ();
4675+ [CCode (cname = "webkit_dom_html_select_element_get_value")]
4676+ public unowned string get_value ();
4677+ [CCode (cname = "webkit_dom_html_select_element_get_will_validate")]
4678+ public bool get_will_validate ();
4679+ [CCode (cname = "webkit_dom_html_select_element_item")]
4680+ public unowned WebKit.DOMNode item (ulong index);
4681+ [CCode (cname = "webkit_dom_html_select_element_named_item")]
4682+ public unowned WebKit.DOMNode named_item (string name);
4683+ [CCode (cname = "webkit_dom_html_select_element_remove")]
4684+ public void remove (long index);
4685+ [CCode (cname = "webkit_dom_html_select_element_set_autofocus")]
4686+ public void set_autofocus (bool value);
4687+ [CCode (cname = "webkit_dom_html_select_element_set_custom_validity")]
4688+ public void set_custom_validity (string error);
4689+ [CCode (cname = "webkit_dom_html_select_element_set_disabled")]
4690+ public void set_disabled (bool value);
4691+ [CCode (cname = "webkit_dom_html_select_element_set_length")]
4692+ public void set_length (ulong value) throws GLib.Error;
4693+ [CCode (cname = "webkit_dom_html_select_element_set_multiple")]
4694+ public void set_multiple (bool value);
4695+ [CCode (cname = "webkit_dom_html_select_element_set_name")]
4696+ public void set_name (string value);
4697+ [CCode (cname = "webkit_dom_html_select_element_set_required")]
4698+ public void set_required (bool value);
4699+ [CCode (cname = "webkit_dom_html_select_element_set_selected_index")]
4700+ public void set_selected_index (long value);
4701+ [CCode (cname = "webkit_dom_html_select_element_set_size")]
4702+ public void set_size (long value);
4703+ [CCode (cname = "webkit_dom_html_select_element_set_value")]
4704+ public void set_value (string value);
4705+ public bool autofocus { get; set; }
4706+ public bool disabled { get; set; }
4707+ public WebKit.DOMHTMLFormElement form { get; }
4708+ public WebKit.DOMNodeList labels { get; }
4709+ public ulong length { get; set; }
4710+ public bool multiple { get; set; }
4711+ public string name { get; set; }
4712+ public WebKit.DOMHTMLOptionsCollection options { get; }
4713+ public bool required { get; set; }
4714+ public long selected_index { get; set; }
4715+ public long size { get; set; }
4716+ [NoAccessorMethod]
4717+ public string type { owned get; }
4718+ public string validation_message { get; }
4719+ public WebKit.DOMValidityState validity { get; }
4720+ public string value { get; set; }
4721+ public bool will_validate { get; }
4722+ }
4723+ [CCode (cheader_filename = "webkit/webkit.h")]
4724+ public class DOMHTMLStyleElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4725+ [CCode (has_construct_function = false)]
4726+ protected DOMHTMLStyleElement ();
4727+ [CCode (cname = "webkit_dom_html_style_element_get_disabled")]
4728+ public bool get_disabled ();
4729+ [CCode (cname = "webkit_dom_html_style_element_get_media")]
4730+ public unowned string get_media ();
4731+ [CCode (cname = "webkit_dom_html_style_element_get_sheet")]
4732+ public unowned WebKit.DOMStyleSheet get_sheet ();
4733+ [CCode (cname = "webkit_dom_html_style_element_set_disabled")]
4734+ public void set_disabled (bool value);
4735+ [CCode (cname = "webkit_dom_html_style_element_set_media")]
4736+ public void set_media (string value);
4737+ public bool disabled { get; set; }
4738+ public string media { get; set; }
4739+ public WebKit.DOMStyleSheet sheet { get; }
4740+ [NoAccessorMethod]
4741+ public string type { owned get; set; }
4742+ }
4743+ [CCode (cheader_filename = "webkit/webkit.h")]
4744+ public class DOMHTMLTableCaptionElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4745+ [CCode (has_construct_function = false)]
4746+ protected DOMHTMLTableCaptionElement ();
4747+ [CCode (cname = "webkit_dom_html_table_caption_element_get_align")]
4748+ public unowned string get_align ();
4749+ [CCode (cname = "webkit_dom_html_table_caption_element_set_align")]
4750+ public void set_align (string value);
4751+ public string align { get; set; }
4752+ }
4753+ [CCode (cheader_filename = "webkit/webkit.h")]
4754+ public class DOMHTMLTableCellElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4755+ [CCode (has_construct_function = false)]
4756+ protected DOMHTMLTableCellElement ();
4757+ [CCode (cname = "webkit_dom_html_table_cell_element_get_abbr")]
4758+ public unowned string get_abbr ();
4759+ [CCode (cname = "webkit_dom_html_table_cell_element_get_align")]
4760+ public unowned string get_align ();
4761+ [CCode (cname = "webkit_dom_html_table_cell_element_get_axis")]
4762+ public unowned string get_axis ();
4763+ [CCode (cname = "webkit_dom_html_table_cell_element_get_bg_color")]
4764+ public unowned string get_bg_color ();
4765+ [CCode (cname = "webkit_dom_html_table_cell_element_get_cell_index")]
4766+ public long get_cell_index ();
4767+ [CCode (cname = "webkit_dom_html_table_cell_element_get_ch")]
4768+ public unowned string get_ch ();
4769+ [CCode (cname = "webkit_dom_html_table_cell_element_get_ch_off")]
4770+ public unowned string get_ch_off ();
4771+ [CCode (cname = "webkit_dom_html_table_cell_element_get_col_span")]
4772+ public long get_col_span ();
4773+ [CCode (cname = "webkit_dom_html_table_cell_element_get_headers")]
4774+ public unowned string get_headers ();
4775+ [CCode (cname = "webkit_dom_html_table_cell_element_get_height")]
4776+ public unowned string get_height ();
4777+ [CCode (cname = "webkit_dom_html_table_cell_element_get_no_wrap")]
4778+ public bool get_no_wrap ();
4779+ [CCode (cname = "webkit_dom_html_table_cell_element_get_row_span")]
4780+ public long get_row_span ();
4781+ [CCode (cname = "webkit_dom_html_table_cell_element_get_scope")]
4782+ public unowned string get_scope ();
4783+ [CCode (cname = "webkit_dom_html_table_cell_element_get_v_align")]
4784+ public unowned string get_v_align ();
4785+ [CCode (cname = "webkit_dom_html_table_cell_element_get_width")]
4786+ public unowned string get_width ();
4787+ [CCode (cname = "webkit_dom_html_table_cell_element_set_abbr")]
4788+ public void set_abbr (string value);
4789+ [CCode (cname = "webkit_dom_html_table_cell_element_set_align")]
4790+ public void set_align (string value);
4791+ [CCode (cname = "webkit_dom_html_table_cell_element_set_axis")]
4792+ public void set_axis (string value);
4793+ [CCode (cname = "webkit_dom_html_table_cell_element_set_bg_color")]
4794+ public void set_bg_color (string value);
4795+ [CCode (cname = "webkit_dom_html_table_cell_element_set_ch")]
4796+ public void set_ch (string value);
4797+ [CCode (cname = "webkit_dom_html_table_cell_element_set_ch_off")]
4798+ public void set_ch_off (string value);
4799+ [CCode (cname = "webkit_dom_html_table_cell_element_set_col_span")]
4800+ public void set_col_span (long value);
4801+ [CCode (cname = "webkit_dom_html_table_cell_element_set_headers")]
4802+ public void set_headers (string value);
4803+ [CCode (cname = "webkit_dom_html_table_cell_element_set_height")]
4804+ public void set_height (string value);
4805+ [CCode (cname = "webkit_dom_html_table_cell_element_set_no_wrap")]
4806+ public void set_no_wrap (bool value);
4807+ [CCode (cname = "webkit_dom_html_table_cell_element_set_row_span")]
4808+ public void set_row_span (long value);
4809+ [CCode (cname = "webkit_dom_html_table_cell_element_set_scope")]
4810+ public void set_scope (string value);
4811+ [CCode (cname = "webkit_dom_html_table_cell_element_set_v_align")]
4812+ public void set_v_align (string value);
4813+ [CCode (cname = "webkit_dom_html_table_cell_element_set_width")]
4814+ public void set_width (string value);
4815+ public string abbr { get; set; }
4816+ public string align { get; set; }
4817+ public string axis { get; set; }
4818+ public string bg_color { get; set; }
4819+ public long cell_index { get; }
4820+ public string ch { get; set; }
4821+ public string ch_off { get; set; }
4822+ public long col_span { get; set; }
4823+ public string headers { get; set; }
4824+ public string height { get; set; }
4825+ public bool no_wrap { get; set; }
4826+ public long row_span { get; set; }
4827+ public string scope { get; set; }
4828+ public string v_align { get; set; }
4829+ public string width { get; set; }
4830+ }
4831+ [CCode (cheader_filename = "webkit/webkit.h")]
4832+ public class DOMHTMLTableColElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4833+ [CCode (has_construct_function = false)]
4834+ protected DOMHTMLTableColElement ();
4835+ [CCode (cname = "webkit_dom_html_table_col_element_get_align")]
4836+ public unowned string get_align ();
4837+ [CCode (cname = "webkit_dom_html_table_col_element_get_ch")]
4838+ public unowned string get_ch ();
4839+ [CCode (cname = "webkit_dom_html_table_col_element_get_ch_off")]
4840+ public unowned string get_ch_off ();
4841+ [CCode (cname = "webkit_dom_html_table_col_element_get_span")]
4842+ public long get_span ();
4843+ [CCode (cname = "webkit_dom_html_table_col_element_get_v_align")]
4844+ public unowned string get_v_align ();
4845+ [CCode (cname = "webkit_dom_html_table_col_element_get_width")]
4846+ public unowned string get_width ();
4847+ [CCode (cname = "webkit_dom_html_table_col_element_set_align")]
4848+ public void set_align (string value);
4849+ [CCode (cname = "webkit_dom_html_table_col_element_set_ch")]
4850+ public void set_ch (string value);
4851+ [CCode (cname = "webkit_dom_html_table_col_element_set_ch_off")]
4852+ public void set_ch_off (string value);
4853+ [CCode (cname = "webkit_dom_html_table_col_element_set_span")]
4854+ public void set_span (long value);
4855+ [CCode (cname = "webkit_dom_html_table_col_element_set_v_align")]
4856+ public void set_v_align (string value);
4857+ [CCode (cname = "webkit_dom_html_table_col_element_set_width")]
4858+ public void set_width (string value);
4859+ public string align { get; set; }
4860+ public string ch { get; set; }
4861+ public string ch_off { get; set; }
4862+ public long span { get; set; }
4863+ public string v_align { get; set; }
4864+ public string width { get; set; }
4865+ }
4866+ [CCode (cheader_filename = "webkit/webkit.h")]
4867+ public class DOMHTMLTableElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4868+ [CCode (has_construct_function = false)]
4869+ protected DOMHTMLTableElement ();
4870+ [CCode (cname = "webkit_dom_html_table_element_create_caption")]
4871+ public unowned WebKit.DOMHTMLElement create_caption ();
4872+ [CCode (cname = "webkit_dom_html_table_element_create_t_foot")]
4873+ public unowned WebKit.DOMHTMLElement create_t_foot ();
4874+ [CCode (cname = "webkit_dom_html_table_element_create_t_head")]
4875+ public unowned WebKit.DOMHTMLElement create_t_head ();
4876+ [CCode (cname = "webkit_dom_html_table_element_delete_caption")]
4877+ public void delete_caption ();
4878+ [CCode (cname = "webkit_dom_html_table_element_delete_row")]
4879+ public void delete_row (long index) throws GLib.Error;
4880+ [CCode (cname = "webkit_dom_html_table_element_delete_t_foot")]
4881+ public void delete_t_foot ();
4882+ [CCode (cname = "webkit_dom_html_table_element_delete_t_head")]
4883+ public void delete_t_head ();
4884+ [CCode (cname = "webkit_dom_html_table_element_get_align")]
4885+ public unowned string get_align ();
4886+ [CCode (cname = "webkit_dom_html_table_element_get_bg_color")]
4887+ public unowned string get_bg_color ();
4888+ [CCode (cname = "webkit_dom_html_table_element_get_border")]
4889+ public unowned string get_border ();
4890+ [CCode (cname = "webkit_dom_html_table_element_get_caption")]
4891+ public unowned WebKit.DOMHTMLTableCaptionElement get_caption ();
4892+ [CCode (cname = "webkit_dom_html_table_element_get_cell_padding")]
4893+ public unowned string get_cell_padding ();
4894+ [CCode (cname = "webkit_dom_html_table_element_get_cell_spacing")]
4895+ public unowned string get_cell_spacing ();
4896+ [CCode (cname = "webkit_dom_html_table_element_get_frame")]
4897+ public unowned string get_frame ();
4898+ [CCode (cname = "webkit_dom_html_table_element_get_rows")]
4899+ public unowned WebKit.DOMHTMLCollection get_rows ();
4900+ [CCode (cname = "webkit_dom_html_table_element_get_rules")]
4901+ public unowned string get_rules ();
4902+ [CCode (cname = "webkit_dom_html_table_element_get_summary")]
4903+ public unowned string get_summary ();
4904+ [CCode (cname = "webkit_dom_html_table_element_get_t_bodies")]
4905+ public unowned WebKit.DOMHTMLCollection get_t_bodies ();
4906+ [CCode (cname = "webkit_dom_html_table_element_get_t_foot")]
4907+ public unowned WebKit.DOMHTMLTableSectionElement get_t_foot ();
4908+ [CCode (cname = "webkit_dom_html_table_element_get_t_head")]
4909+ public unowned WebKit.DOMHTMLTableSectionElement get_t_head ();
4910+ [CCode (cname = "webkit_dom_html_table_element_get_width")]
4911+ public unowned string get_width ();
4912+ [CCode (cname = "webkit_dom_html_table_element_insert_row")]
4913+ public unowned WebKit.DOMHTMLElement insert_row (long index) throws GLib.Error;
4914+ [CCode (cname = "webkit_dom_html_table_element_set_align")]
4915+ public void set_align (string value);
4916+ [CCode (cname = "webkit_dom_html_table_element_set_bg_color")]
4917+ public void set_bg_color (string value);
4918+ [CCode (cname = "webkit_dom_html_table_element_set_border")]
4919+ public void set_border (string value);
4920+ [CCode (cname = "webkit_dom_html_table_element_set_caption")]
4921+ public void set_caption (WebKit.DOMHTMLTableCaptionElement value) throws GLib.Error;
4922+ [CCode (cname = "webkit_dom_html_table_element_set_cell_padding")]
4923+ public void set_cell_padding (string value);
4924+ [CCode (cname = "webkit_dom_html_table_element_set_cell_spacing")]
4925+ public void set_cell_spacing (string value);
4926+ [CCode (cname = "webkit_dom_html_table_element_set_frame")]
4927+ public void set_frame (string value);
4928+ [CCode (cname = "webkit_dom_html_table_element_set_rules")]
4929+ public void set_rules (string value);
4930+ [CCode (cname = "webkit_dom_html_table_element_set_summary")]
4931+ public void set_summary (string value);
4932+ [CCode (cname = "webkit_dom_html_table_element_set_t_foot")]
4933+ public void set_t_foot (WebKit.DOMHTMLTableSectionElement value) throws GLib.Error;
4934+ [CCode (cname = "webkit_dom_html_table_element_set_t_head")]
4935+ public void set_t_head (WebKit.DOMHTMLTableSectionElement value) throws GLib.Error;
4936+ [CCode (cname = "webkit_dom_html_table_element_set_width")]
4937+ public void set_width (string value);
4938+ public string align { get; set; }
4939+ public string bg_color { get; set; }
4940+ public string border { get; set; }
4941+ public WebKit.DOMHTMLTableCaptionElement caption { get; set; }
4942+ public string cell_padding { get; set; }
4943+ public string cell_spacing { get; set; }
4944+ public string frame { get; set; }
4945+ public WebKit.DOMHTMLCollection rows { get; }
4946+ public string rules { get; set; }
4947+ public string summary { get; set; }
4948+ public WebKit.DOMHTMLCollection t_bodies { get; }
4949+ public WebKit.DOMHTMLTableSectionElement t_foot { get; set; }
4950+ public WebKit.DOMHTMLTableSectionElement t_head { get; set; }
4951+ public string width { get; set; }
4952+ }
4953+ [CCode (cheader_filename = "webkit/webkit.h")]
4954+ public class DOMHTMLTableRowElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4955+ [CCode (has_construct_function = false)]
4956+ protected DOMHTMLTableRowElement ();
4957+ [CCode (cname = "webkit_dom_html_table_row_element_delete_cell")]
4958+ public void delete_cell (long index) throws GLib.Error;
4959+ [CCode (cname = "webkit_dom_html_table_row_element_get_align")]
4960+ public unowned string get_align ();
4961+ [CCode (cname = "webkit_dom_html_table_row_element_get_bg_color")]
4962+ public unowned string get_bg_color ();
4963+ [CCode (cname = "webkit_dom_html_table_row_element_get_cells")]
4964+ public unowned WebKit.DOMHTMLCollection get_cells ();
4965+ [CCode (cname = "webkit_dom_html_table_row_element_get_ch")]
4966+ public unowned string get_ch ();
4967+ [CCode (cname = "webkit_dom_html_table_row_element_get_ch_off")]
4968+ public unowned string get_ch_off ();
4969+ [CCode (cname = "webkit_dom_html_table_row_element_get_row_index")]
4970+ public long get_row_index ();
4971+ [CCode (cname = "webkit_dom_html_table_row_element_get_section_row_index")]
4972+ public long get_section_row_index ();
4973+ [CCode (cname = "webkit_dom_html_table_row_element_get_v_align")]
4974+ public unowned string get_v_align ();
4975+ [CCode (cname = "webkit_dom_html_table_row_element_insert_cell")]
4976+ public unowned WebKit.DOMHTMLElement insert_cell (long index) throws GLib.Error;
4977+ [CCode (cname = "webkit_dom_html_table_row_element_set_align")]
4978+ public void set_align (string value);
4979+ [CCode (cname = "webkit_dom_html_table_row_element_set_bg_color")]
4980+ public void set_bg_color (string value);
4981+ [CCode (cname = "webkit_dom_html_table_row_element_set_ch")]
4982+ public void set_ch (string value);
4983+ [CCode (cname = "webkit_dom_html_table_row_element_set_ch_off")]
4984+ public void set_ch_off (string value);
4985+ [CCode (cname = "webkit_dom_html_table_row_element_set_v_align")]
4986+ public void set_v_align (string value);
4987+ public string align { get; set; }
4988+ public string bg_color { get; set; }
4989+ public WebKit.DOMHTMLCollection cells { get; }
4990+ public string ch { get; set; }
4991+ public string ch_off { get; set; }
4992+ public long row_index { get; }
4993+ public long section_row_index { get; }
4994+ public string v_align { get; set; }
4995+ }
4996+ [CCode (cheader_filename = "webkit/webkit.h")]
4997+ public class DOMHTMLTableSectionElement : WebKit.DOMHTMLElement, WebKit.DOMEventTarget {
4998+ [CCode (has_construct_function = false)]
4999+ protected DOMHTMLTableSectionElement ();
5000+ [CCode (cname = "webkit_dom_html_table_section_element_delete_row")]
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: