/usr/share/doc/libwebkitgtk-3.0-dev/html/WebKitWebSettings.html is in libwebkitgtk-3.0-dev 1.8.3-0ubuntu0.12.04.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WebKitWebSettings</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="WebKitGTK+ Reference Manual">
<link rel="up" href="ch02.html" title="Class Overview">
<link rel="prev" href="WebKitWebFrame.html" title="WebKitWebFrame">
<link rel="next" href="WebKitWebBackForwardList.html" title="WebKitWebBackForwardList">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="WebKitWebFrame.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">WebKitGTK+ Reference Manual</th>
<td><a accesskey="n" href="WebKitWebBackForwardList.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#WebKitWebSettings.synopsis" class="shortcut">Top</a>
|
<a href="#WebKitWebSettings.description" class="shortcut">Description</a>
|
<a href="#WebKitWebSettings.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#WebKitWebSettings.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="WebKitWebSettings"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="WebKitWebSettings.top_of_page"></a>WebKitWebSettings</span></h2>
<p>WebKitWebSettings — Control the behaviour of a <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a></p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="WebKitWebSettings.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"> <a class="link" href="WebKitWebSettings.html#WebKitWebSettings-struct" title="WebKitWebSettings">WebKitWebSettings</a>;
enum <a class="link" href="WebKitWebSettings.html#WebKitEditingBehavior" title="enum WebKitEditingBehavior">WebKitEditingBehavior</a>;
<a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="returnvalue">WebKitWebSettings</span></a> * <a class="link" href="WebKitWebSettings.html#webkit-web-settings-copy" title="webkit_web_settings_copy ()">webkit_web_settings_copy</a> (<em class="parameter"><code><a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="type">WebKitWebSettings</span></a> *web_settings</code></em>);
<a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="returnvalue">WebKitWebSettings</span></a> * <a class="link" href="WebKitWebSettings.html#webkit-web-settings-new" title="webkit_web_settings_new ()">webkit_web_settings_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="WebKitWebSettings.html#webkit-web-settings-get-user-agent" title="webkit_web_settings_get_user_agent ()">webkit_web_settings_get_user_agent</a> (<em class="parameter"><code><a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="type">WebKitWebSettings</span></a> *web_settings</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="WebKitWebSettings.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----WebKitWebSettings
</pre>
</div>
<div class="refsect1">
<a name="WebKitWebSettings.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--auto-load-images" title='The "auto-load-images" property'>auto-load-images</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--auto-resize-window" title='The "auto-resize-window" property'>auto-resize-window</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--auto-shrink-images" title='The "auto-shrink-images" property'>auto-shrink-images</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--cursive-font-family" title='The "cursive-font-family" property'>cursive-font-family</a>" <span class="type">gchar</span>* : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--default-encoding" title='The "default-encoding" property'>default-encoding</a>" <span class="type">gchar</span>* : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--default-font-family" title='The "default-font-family" property'>default-font-family</a>" <span class="type">gchar</span>* : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--default-font-size" title='The "default-font-size" property'>default-font-size</a>" <span class="type">gint</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--default-monospace-font-size" title='The "default-monospace-font-size" property'>default-monospace-font-size</a>" <span class="type">gint</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--editing-behavior" title='The "editing-behavior" property'>editing-behavior</a>" <a class="link" href="WebKitWebSettings.html#WebKitEditingBehavior" title="enum WebKitEditingBehavior"><span class="type">WebKitEditingBehavior</span></a> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-accelerated-compositing" title='The "enable-accelerated-compositing" property'>enable-accelerated-compositing</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-caret-browsing" title='The "enable-caret-browsing" property'>enable-caret-browsing</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-default-context-menu" title='The "enable-default-context-menu" property'>enable-default-context-menu</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-developer-extras" title='The "enable-developer-extras" property'>enable-developer-extras</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-dns-prefetching" title='The "enable-dns-prefetching" property'>enable-dns-prefetching</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-dom-paste" title='The "enable-dom-paste" property'>enable-dom-paste</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-file-access-from-file-uris" title='The "enable-file-access-from-file-uris" property'>enable-file-access-from-file-uris</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-frame-flattening" title='The "enable-frame-flattening" property'>enable-frame-flattening</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-fullscreen" title='The "enable-fullscreen" property'>enable-fullscreen</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-html5-database" title='The "enable-html5-database" property'>enable-html5-database</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-html5-local-storage" title='The "enable-html5-local-storage" property'>enable-html5-local-storage</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-hyperlink-auditing" title='The "enable-hyperlink-auditing" property'>enable-hyperlink-auditing</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-java-applet" title='The "enable-java-applet" property'>enable-java-applet</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-offline-web-application-cache" title='The "enable-offline-web-application-cache" property'>enable-offline-web-application-cache</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-page-cache" title='The "enable-page-cache" property'>enable-page-cache</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-plugins" title='The "enable-plugins" property'>enable-plugins</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-private-browsing" title='The "enable-private-browsing" property'>enable-private-browsing</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-scripts" title='The "enable-scripts" property'>enable-scripts</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-site-specific-quirks" title='The "enable-site-specific-quirks" property'>enable-site-specific-quirks</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-spatial-navigation" title='The "enable-spatial-navigation" property'>enable-spatial-navigation</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-spell-checking" title='The "enable-spell-checking" property'>enable-spell-checking</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-universal-access-from-file-uris" title='The "enable-universal-access-from-file-uris" property'>enable-universal-access-from-file-uris</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-webaudio" title='The "enable-webaudio" property'>enable-webaudio</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-webgl" title='The "enable-webgl" property'>enable-webgl</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-xss-auditor" title='The "enable-xss-auditor" property'>enable-xss-auditor</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enforce-96-dpi" title='The "enforce-96-dpi" property'>enforce-96-dpi</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--fantasy-font-family" title='The "fantasy-font-family" property'>fantasy-font-family</a>" <span class="type">gchar</span>* : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--html5-local-storage-database-path" title='The "html5-local-storage-database-path" property'>html5-local-storage-database-path</a>" <span class="type">gchar</span>* : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--javascript-can-access-clipboard" title='The "javascript-can-access-clipboard" property'>javascript-can-access-clipboard</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--javascript-can-open-windows-automatically" title='The "javascript-can-open-windows-automatically" property'>javascript-can-open-windows-automatically</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--minimum-font-size" title='The "minimum-font-size" property'>minimum-font-size</a>" <span class="type">gint</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--minimum-logical-font-size" title='The "minimum-logical-font-size" property'>minimum-logical-font-size</a>" <span class="type">gint</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--monospace-font-family" title='The "monospace-font-family" property'>monospace-font-family</a>" <span class="type">gchar</span>* : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--print-backgrounds" title='The "print-backgrounds" property'>print-backgrounds</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--resizable-text-areas" title='The "resizable-text-areas" property'>resizable-text-areas</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--sans-serif-font-family" title='The "sans-serif-font-family" property'>sans-serif-font-family</a>" <span class="type">gchar</span>* : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--serif-font-family" title='The "serif-font-family" property'>serif-font-family</a>" <span class="type">gchar</span>* : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--spell-checking-languages" title='The "spell-checking-languages" property'>spell-checking-languages</a>" <span class="type">gchar</span>* : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--tab-key-cycles-through-elements" title='The "tab-key-cycles-through-elements" property'>tab-key-cycles-through-elements</a>" <span class="type">gboolean</span> : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--user-agent" title='The "user-agent" property'>user-agent</a>" <span class="type">gchar</span>* : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--user-stylesheet-uri" title='The "user-stylesheet-uri" property'>user-stylesheet-uri</a>" <span class="type">gchar</span>* : Read / Write / Construct
"<a class="link" href="WebKitWebSettings.html#WebKitWebSettings--zoom-step" title='The "zoom-step" property'>zoom-step</a>" <span class="type">gfloat</span> : Read / Write / Construct
</pre>
</div>
<div class="refsect1">
<a name="WebKitWebSettings.description"></a><h2>Description</h2>
<p>
<a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="type">WebKitWebSettings</span></a> can be applied to a <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> to control text encoding,
color, font sizes, printing mode, script support, loading of images and various other things.
After creation, a <a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="type">WebKitWebSettings</span></a> object contains default settings.
</p>
<p>
</p>
<div class="informalexample"><pre class="programlisting">
/* Create a new websettings and disable java script */
WebKitWebSettings *settings = webkit_web_settings_new ();
g_object_set (G_OBJECT(settings), "enable-scripts", FALSE, NULL);
/* Apply the result */
webkit_web_view_set_settings (WEBKIT_WEB_VIEW(my_webview), settings);
</pre></div>
<p>
</p>
</div>
<div class="refsect1">
<a name="WebKitWebSettings.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="WebKitWebSettings-struct"></a><h3>WebKitWebSettings</h3>
<pre class="programlisting">typedef struct _WebKitWebSettings WebKitWebSettings;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitEditingBehavior"></a><h3>enum WebKitEditingBehavior</h3>
<pre class="programlisting">typedef enum {
WEBKIT_EDITING_BEHAVIOR_MAC,
WEBKIT_EDITING_BEHAVIOR_WINDOWS,
WEBKIT_EDITING_BEHAVIOR_UNIX
} WebKitEditingBehavior;
</pre>
<p>
Enum values used for determining the editing behavior of editable elements.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="WEBKIT-EDITING-BEHAVIOR-MAC:CAPS"></a><span class="term"><code class="literal">WEBKIT_EDITING_BEHAVIOR_MAC</code></span></p></td>
<td>Editing behavior mimicking OS X user interfaces.
</td>
</tr>
<tr>
<td><p><a name="WEBKIT-EDITING-BEHAVIOR-WINDOWS:CAPS"></a><span class="term"><code class="literal">WEBKIT_EDITING_BEHAVIOR_WINDOWS</code></span></p></td>
<td>Editing behavior mimicking Windows user interfaces.
</td>
</tr>
<tr>
<td><p><a name="WEBKIT-EDITING-BEHAVIOR-UNIX:CAPS"></a><span class="term"><code class="literal">WEBKIT_EDITING_BEHAVIOR_UNIX</code></span></p></td>
<td>Editing behavior mimicking free desktop user interfaces.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="webkit-web-settings-copy"></a><h3>webkit_web_settings_copy ()</h3>
<pre class="programlisting"><a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="returnvalue">WebKitWebSettings</span></a> * webkit_web_settings_copy (<em class="parameter"><code><a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="type">WebKitWebSettings</span></a> *web_settings</code></em>);</pre>
<p>
Copies an existing <a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="type">WebKitWebSettings</span></a> instance.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>web_settings</code></em> :</span></p></td>
<td>a <a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="type">WebKitWebSettings</span></a> to copy.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="type">WebKitWebSettings</span></a> instance. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="webkit-web-settings-new"></a><h3>webkit_web_settings_new ()</h3>
<pre class="programlisting"><a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="returnvalue">WebKitWebSettings</span></a> * webkit_web_settings_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="type">WebKitWebSettings</span></a> instance with default values. It must
be manually attached to a WebView.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="type">WebKitWebSettings</span></a> instance</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="webkit-web-settings-get-user-agent"></a><h3>webkit_web_settings_get_user_agent ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * webkit_web_settings_get_user_agent (<em class="parameter"><code><a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="type">WebKitWebSettings</span></a> *web_settings</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>web_settings</code></em> :</span></p></td>
<td>a <a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="type">WebKitWebSettings</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the User-Agent string currently used by the web view(s) associated
with the <em class="parameter"><code>web_settings</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.1.11</p>
</div>
</div>
<div class="refsect1">
<a name="WebKitWebSettings.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="WebKitWebSettings--auto-load-images"></a><h3>The <code class="literal">"auto-load-images"</code> property</h3>
<pre class="programlisting"> "auto-load-images" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>Load images automatically.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--auto-resize-window"></a><h3>The <code class="literal">"auto-resize-window"</code> property</h3>
<pre class="programlisting"> "auto-resize-window" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Web pages can request to modify the size and position of the
window containing the <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> through various DOM methods
(resizeTo, moveTo, resizeBy, moveBy). By default WebKit will not
honor this requests, but you can set this property to <code class="literal">TRUE</code> if
you'd like it to do so. If you wish to handle this manually, you
can connect to the notify signal for the
<a class="link" href="WebKitWebWindowFeatures.html" title="WebKitWebWindowFeatures"><span class="type">WebKitWebWindowFeatures</span></a> of your <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a>.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.1.22</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--auto-shrink-images"></a><h3>The <code class="literal">"auto-shrink-images"</code> property</h3>
<pre class="programlisting"> "auto-shrink-images" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>Automatically shrink standalone images to fit.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--cursive-font-family"></a><h3>The <code class="literal">"cursive-font-family"</code> property</h3>
<pre class="programlisting"> "cursive-font-family" <span class="type">gchar</span>* : Read / Write / Construct</pre>
<p>The default Cursive font family used to display text.</p>
<p>Default value: "serif"</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--default-encoding"></a><h3>The <code class="literal">"default-encoding"</code> property</h3>
<pre class="programlisting"> "default-encoding" <span class="type">gchar</span>* : Read / Write / Construct</pre>
<p>The default encoding used to display text.</p>
<p>Default value: "iso-8859-1"</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--default-font-family"></a><h3>The <code class="literal">"default-font-family"</code> property</h3>
<pre class="programlisting"> "default-font-family" <span class="type">gchar</span>* : Read / Write / Construct</pre>
<p>The default font family used to display text.</p>
<p>Default value: "sans-serif"</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--default-font-size"></a><h3>The <code class="literal">"default-font-size"</code> property</h3>
<pre class="programlisting"> "default-font-size" <span class="type">gint</span> : Read / Write / Construct</pre>
<p>The default font size used to display text.</p>
<p>Allowed values: >= 5</p>
<p>Default value: 12</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--default-monospace-font-size"></a><h3>The <code class="literal">"default-monospace-font-size"</code> property</h3>
<pre class="programlisting"> "default-monospace-font-size" <span class="type">gint</span> : Read / Write / Construct</pre>
<p>The default font size used to display monospace text.</p>
<p>Allowed values: >= 5</p>
<p>Default value: 10</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--editing-behavior"></a><h3>The <code class="literal">"editing-behavior"</code> property</h3>
<pre class="programlisting"> "editing-behavior" <a class="link" href="WebKitWebSettings.html#WebKitEditingBehavior" title="enum WebKitEditingBehavior"><span class="type">WebKitEditingBehavior</span></a> : Read / Write / Construct</pre>
<p>
This setting controls various editing behaviors that differ
between platforms and that have been combined in two groups,
'Mac' and 'Windows'. Some examples:
</p>
<p>
1) Clicking below the last line of an editable area puts the
caret at the end of the last line on Mac, but in the middle of
the last line on Windows.
</p>
<p>
2) Pushing down the arrow key on the last line puts the caret
at the end of the last line on Mac, but does nothing on
Windows. A similar case exists on the top line.
</p>
<p>Default value: WEBKIT_EDITING_BEHAVIOR_UNIX</p>
<p class="since">Since 1.1.13</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-accelerated-compositing"></a><h3>The <code class="literal">"enable-accelerated-compositing"</code> property</h3>
<pre class="programlisting"> "enable-accelerated-compositing" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Enable or disable support for accelerated compositing on pages. Accelerated
compositing uses the GPU to render animations on pages smoothly and also allows
proper rendering of 3D CSS transforms.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.7.5</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-caret-browsing"></a><h3>The <code class="literal">"enable-caret-browsing"</code> property</h3>
<pre class="programlisting"> "enable-caret-browsing" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether to enable caret browsing mode.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.1.6</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-default-context-menu"></a><h3>The <code class="literal">"enable-default-context-menu"</code> property</h3>
<pre class="programlisting"> "enable-default-context-menu" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether right-clicks should be handled automatically to create,
and display the context menu. Turning this off will make
WebKitGTK+ not emit the populate-popup signal. Notice that the
default button press event handler may still handle right
clicks for other reasons, such as in-page context menus, or
right-clicks that are handled by the page itself.
</p>
<p>Default value: TRUE</p>
<p class="since">Since 1.1.18</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-developer-extras"></a><h3>The <code class="literal">"enable-developer-extras"</code> property</h3>
<pre class="programlisting"> "enable-developer-extras" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether developer extensions should be enabled. This enables,
for now, the Web Inspector, which can be controlled using the
<a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> instance held by the <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> this
setting is enabled for.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.0.3</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-dns-prefetching"></a><h3>The <code class="literal">"enable-dns-prefetching"</code> property</h3>
<pre class="programlisting"> "enable-dns-prefetching" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether webkit prefetches domain names. This is a separate knob from private browsing.
Whether private browsing should set this or not is up for debate, for now it doesn't.
</p>
<p>Default value: TRUE</p>
<p class="since">Since 1.3.13.</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-dom-paste"></a><h3>The <code class="literal">"enable-dom-paste"</code> property</h3>
<pre class="programlisting"> "enable-dom-paste" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether to enable DOM paste. If set to <code class="literal">TRUE</code>, document.execCommand("Paste")
will correctly execute and paste content of the clipboard.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.1.16</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-file-access-from-file-uris"></a><h3>The <code class="literal">"enable-file-access-from-file-uris"</code> property</h3>
<pre class="programlisting"> "enable-file-access-from-file-uris" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Boolean property to control file access for file:// URIs. If this
option is enabled every file:// will have its own security unique domain.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.1.22</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-frame-flattening"></a><h3>The <code class="literal">"enable-frame-flattening"</code> property</h3>
<pre class="programlisting"> "enable-frame-flattening" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether to enable the Frame Flattening. With this setting each subframe is expanded
to its contents, which will flatten all the frames to become one scrollable page.
On touch devices, it is desired to not have any scrollable sub parts of the page as
it results in a confusing user experience, with scrolling sometimes scrolling sub parts
and at other times scrolling the page itself. For this reason iframes and framesets are
barely usable on touch devices.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.3.5</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-fullscreen"></a><h3>The <code class="literal">"enable-fullscreen"</code> property</h3>
<pre class="programlisting"> "enable-fullscreen" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>Whether the Mozilla style API should be enabled.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-html5-database"></a><h3>The <code class="literal">"enable-html5-database"</code> property</h3>
<pre class="programlisting"> "enable-html5-database" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether to enable HTML5 client-side SQL database support. Client-side
SQL database allows web pages to store structured data and be able to
use SQL to manipulate that data asynchronously.
</p>
<p>Default value: TRUE</p>
<p class="since">Since 1.1.8</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-html5-local-storage"></a><h3>The <code class="literal">"enable-html5-local-storage"</code> property</h3>
<pre class="programlisting"> "enable-html5-local-storage" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether to enable HTML5 localStorage support. localStorage provides
simple synchronous storage access.
</p>
<p>Default value: TRUE</p>
<p class="since">Since 1.1.8</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-hyperlink-auditing"></a><h3>The <code class="literal">"enable-hyperlink-auditing"</code> property</h3>
<pre class="programlisting"> "enable-hyperlink-auditing" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Enable or disable support for <a ping>.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.2.5</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-java-applet"></a><h3>The <code class="literal">"enable-java-applet"</code> property</h3>
<pre class="programlisting"> "enable-java-applet" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Enable or disable support for the Java <applet> tag. Keep in
mind that Java content can be still shown in the page through
<object> or <embed>, which are the preferred tags for this task.
</p>
<p>Default value: TRUE</p>
<p class="since">Since 1.1.22</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-offline-web-application-cache"></a><h3>The <code class="literal">"enable-offline-web-application-cache"</code> property</h3>
<pre class="programlisting"> "enable-offline-web-application-cache" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether to enable HTML5 offline web application cache support. Offline
Web Application Cache ensures web applications are available even when
the user is not connected to the network.
</p>
<p>Default value: TRUE</p>
<p class="since">Since 1.1.13</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-page-cache"></a><h3>The <code class="literal">"enable-page-cache"</code> property</h3>
<pre class="programlisting"> "enable-page-cache" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Enable or disable the page cache. Disabling the page cache is
generally only useful for special circumstances like low-memory
scenarios or special purpose applications like static HTML
viewers. This setting only controls the Page Cache, this cache
is different than the disk-based or memory-based traditional
resource caches, its point is to make going back and forth
between pages much faster. For details about the different types
of caches and their purposes see:
http://webkit.org/blog/427/webkit-page-cache-i-the-basics/
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.1.18</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-plugins"></a><h3>The <code class="literal">"enable-plugins"</code> property</h3>
<pre class="programlisting"> "enable-plugins" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>Enable embedded plugin objects.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-private-browsing"></a><h3>The <code class="literal">"enable-private-browsing"</code> property</h3>
<pre class="programlisting"> "enable-private-browsing" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether to enable private browsing mode. Private browsing mode prevents
WebKit from updating the global history and storing any session
information e.g., on-disk cache, as well as suppressing any messages
from being printed into the (javascript) console.
</p>
<p>
This is currently experimental for WebKitGtk.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-scripts"></a><h3>The <code class="literal">"enable-scripts"</code> property</h3>
<pre class="programlisting"> "enable-scripts" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>Enable embedded scripting languages.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-site-specific-quirks"></a><h3>The <code class="literal">"enable-site-specific-quirks"</code> property</h3>
<pre class="programlisting"> "enable-site-specific-quirks" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>Enables the site-specific compatibility workarounds.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-spatial-navigation"></a><h3>The <code class="literal">"enable-spatial-navigation"</code> property</h3>
<pre class="programlisting"> "enable-spatial-navigation" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether to enable the Spatial Navigation. This feature consists in the ability
to navigate between focusable elements in a Web page, such as hyperlinks and
form controls, by using Left, Right, Up and Down arrow keys. For example, if
an user presses the Right key, heuristics determine whether there is an element
he might be trying to reach towards the right, and if there are multiple elements,
which element he probably wants.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.1.23</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-spell-checking"></a><h3>The <code class="literal">"enable-spell-checking"</code> property</h3>
<pre class="programlisting"> "enable-spell-checking" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether to enable spell checking while typing.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.1.6</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-universal-access-from-file-uris"></a><h3>The <code class="literal">"enable-universal-access-from-file-uris"</code> property</h3>
<pre class="programlisting"> "enable-universal-access-from-file-uris" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether to allow files loaded through file:// URIs universal access to
all pages.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.1.13</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-webaudio"></a><h3>The <code class="literal">"enable-webaudio"</code> property</h3>
<pre class="programlisting"> "enable-webaudio" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Enable or disable support for WebAudio on pages. WebAudio is an
experimental proposal for allowing web pages to generate Audio
WAVE data from JavaScript. The standard is currently a
work-in-progress by the W3C Audio Working Group.
</p>
<p>
See also https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html
</p>
<p>Default value: FALSE</p>
<p class="since">Since TODO</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-webgl"></a><h3>The <code class="literal">"enable-webgl"</code> property</h3>
<pre class="programlisting"> "enable-webgl" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Enable or disable support for WebGL on pages. WebGL is an experimental
proposal for allowing web pages to use OpenGL ES-like calls directly. The
standard is currently a work-in-progress by the Khronos Group.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.3.14</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enable-xss-auditor"></a><h3>The <code class="literal">"enable-xss-auditor"</code> property</h3>
<pre class="programlisting"> "enable-xss-auditor" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether to enable the XSS Auditor. This feature filters some kinds of
reflective XSS attacks on vulnerable web sites.
</p>
<p>Default value: TRUE</p>
<p class="since">Since 1.1.11</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--enforce-96-dpi"></a><h3>The <code class="literal">"enforce-96-dpi"</code> property</h3>
<pre class="programlisting"> "enforce-96-dpi" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Enforce a resolution of 96 DPI. This is meant for compatibility
with web pages which cope badly with different screen resolutions
and for automated testing.
Web browsers and applications that typically display arbitrary
content from the web should provide a preference for this.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.0.3</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--fantasy-font-family"></a><h3>The <code class="literal">"fantasy-font-family"</code> property</h3>
<pre class="programlisting"> "fantasy-font-family" <span class="type">gchar</span>* : Read / Write / Construct</pre>
<p>The default Fantasy font family used to display text.</p>
<p>Default value: "serif"</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--html5-local-storage-database-path"></a><h3>The <code class="literal">"html5-local-storage-database-path"</code> property</h3>
<pre class="programlisting"> "html5-local-storage-database-path" <span class="type">gchar</span>* : Read / Write / Construct</pre>
<p>
Path to store persistent HTML5 localStorage databases, which are enabled by
"enable-html5-local-storage". The default path is $XDG_DATA_HOME/webkit/databases/.
</p>
<p>Default value: "/home/buildd/.local/share/webkit/databases"</p>
<p class="since">Since 1.5.2</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--javascript-can-access-clipboard"></a><h3>The <code class="literal">"javascript-can-access-clipboard"</code> property</h3>
<pre class="programlisting"> "javascript-can-access-clipboard" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether JavaScript can access Clipboard.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.3.0</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--javascript-can-open-windows-automatically"></a><h3>The <code class="literal">"javascript-can-open-windows-automatically"</code> property</h3>
<pre class="programlisting"> "javascript-can-open-windows-automatically" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether JavaScript can open popup windows automatically without user
intervention.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.1.11</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--minimum-font-size"></a><h3>The <code class="literal">"minimum-font-size"</code> property</h3>
<pre class="programlisting"> "minimum-font-size" <span class="type">gint</span> : Read / Write / Construct</pre>
<p>The minimum font size used to display text.</p>
<p>Allowed values: >= 0</p>
<p>Default value: 5</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--minimum-logical-font-size"></a><h3>The <code class="literal">"minimum-logical-font-size"</code> property</h3>
<pre class="programlisting"> "minimum-logical-font-size" <span class="type">gint</span> : Read / Write / Construct</pre>
<p>The minimum logical font size used to display text.</p>
<p>Allowed values: >= 1</p>
<p>Default value: 5</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--monospace-font-family"></a><h3>The <code class="literal">"monospace-font-family"</code> property</h3>
<pre class="programlisting"> "monospace-font-family" <span class="type">gchar</span>* : Read / Write / Construct</pre>
<p>The default font family used to display monospace text.</p>
<p>Default value: "monospace"</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--print-backgrounds"></a><h3>The <code class="literal">"print-backgrounds"</code> property</h3>
<pre class="programlisting"> "print-backgrounds" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>Whether background images should be printed.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--resizable-text-areas"></a><h3>The <code class="literal">"resizable-text-areas"</code> property</h3>
<pre class="programlisting"> "resizable-text-areas" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>Whether text areas are resizable.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--sans-serif-font-family"></a><h3>The <code class="literal">"sans-serif-font-family"</code> property</h3>
<pre class="programlisting"> "sans-serif-font-family" <span class="type">gchar</span>* : Read / Write / Construct</pre>
<p>The default Sans Serif font family used to display text.</p>
<p>Default value: "sans-serif"</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--serif-font-family"></a><h3>The <code class="literal">"serif-font-family"</code> property</h3>
<pre class="programlisting"> "serif-font-family" <span class="type">gchar</span>* : Read / Write / Construct</pre>
<p>The default Serif font family used to display text.</p>
<p>Default value: "serif"</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--spell-checking-languages"></a><h3>The <code class="literal">"spell-checking-languages"</code> property</h3>
<pre class="programlisting"> "spell-checking-languages" <span class="type">gchar</span>* : Read / Write / Construct</pre>
<p>
The languages to be used for spell checking, separated by commas.
</p>
<p>
The locale string typically is in the form lang_COUNTRY, where lang
is an ISO-639 language code, and COUNTRY is an ISO-3166 country code.
For instance, sv_FI for Swedish as written in Finland or pt_BR
for Portuguese as written in Brazil.
</p>
<p>
If no value is specified then the value returned by
gtk_get_default_language will be used.
</p>
<p>Default value: NULL</p>
<p class="since">Since 1.1.6</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--tab-key-cycles-through-elements"></a><h3>The <code class="literal">"tab-key-cycles-through-elements"</code> property</h3>
<pre class="programlisting"> "tab-key-cycles-through-elements" <span class="type">gboolean</span> : Read / Write / Construct</pre>
<p>
Whether the tab key cycles through elements on the page.
</p>
<p>
If <em class="parameter"><code>flag</code></em> is <code class="literal">TRUE</code>, pressing the tab key will focus the next element in
the <em class="parameter"><code>web_view</code></em>. If <em class="parameter"><code>flag</code></em> is <code class="literal">FALSE</code>, the <em class="parameter"><code>web_view</code></em> will interpret tab
key presses as normal key presses. If the selected element is editable, the
tab key will cause the insertion of a tab character.
</p>
<p>Default value: TRUE</p>
<p class="since">Since 1.1.17</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--user-agent"></a><h3>The <code class="literal">"user-agent"</code> property</h3>
<pre class="programlisting"> "user-agent" <span class="type">gchar</span>* : Read / Write / Construct</pre>
<p>
The User-Agent string used by WebKitGtk.
</p>
<p>
This will return a default User-Agent string if a custom string wasn't
provided by the application. Setting this property to a NULL value or
an empty string will result in the User-Agent string being reset to the
default value.
</p>
<p>Default value: ""</p>
<p class="since">Since 1.1.11</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--user-stylesheet-uri"></a><h3>The <code class="literal">"user-stylesheet-uri"</code> property</h3>
<pre class="programlisting"> "user-stylesheet-uri" <span class="type">gchar</span>* : Read / Write / Construct</pre>
<p>The URI of a stylesheet that is applied to every page.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebSettings--zoom-step"></a><h3>The <code class="literal">"zoom-step"</code> property</h3>
<pre class="programlisting"> "zoom-step" <span class="type">gfloat</span> : Read / Write / Construct</pre>
<p>
The value by which the zoom level is changed when zooming in or out.
</p>
<p>Allowed values: >= 0</p>
<p>Default value: 0.1</p>
<p class="since">Since 1.0.1</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|