| 1 |
<!-- |
| 2 |
SPDX-FileCopyrightText: 2021 GNOME Foundation |
| 3 |
|
| 4 |
SPDX-License-Identifier: LGPL-2.1-or-later |
| 5 |
--> |
| 6 |
|
| 7 |
<!DOCTYPE html> |
| 8 |
<html lang="en"> |
| 9 |
<head> |
| 10 |
<title>GTK Documentation</title> |
| 11 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 12 |
|
| 13 |
<meta charset="utf-8" /> |
| 14 |
|
| 15 |
<meta property="og:site_name" content="https://docs.gtk.org"/> |
| 16 |
<meta property="og:title" content="GTK Documentation"/> |
| 17 |
<meta property="og:url" content="https://docs.gtk.org"/> |
| 18 |
<meta property="og:type" content="website"/> |
| 19 |
<meta property="og:description" content="API reference for GTK"/> |
| 20 |
|
| 21 |
<meta name="twitter:title" content="GTK Documentation"/> |
| 22 |
<meta name="twitter:url" content="https://docs.gtk.org"/> |
| 23 |
<meta name="twitter:card" content="summary"/> |
| 24 |
|
| 25 |
<link rel="canonical" href="https://docs.gtk.org"/> |
| 26 |
|
| 27 |
<link rel="stylesheet" href="style.css" type="text/css" /> |
| 28 |
|
| 29 |
<script src="main.js"></script> |
| 30 |
|
| 31 |
<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> |
| 32 |
</head> |
| 33 |
|
| 34 |
<body> |
| 35 |
<div id="body-wrapper" tabindex="-1"> |
| 36 |
|
| 37 |
<nav class="sidebar"> |
| 38 |
|
| 39 |
<div class="section"> |
| 40 |
<img src="gtk-logo.svg" class="logo"/> |
| 41 |
</div> |
| 42 |
|
| 43 |
<div class="section"> |
| 44 |
<h5>Sections</h5> |
| 45 |
<div class="links"> |
| 46 |
<a href="#user-interface">User interface</a> |
| 47 |
<a href="#core-libraries">Core libraries</a> |
| 48 |
</div> |
| 49 |
</div> |
| 50 |
|
| 51 |
</nav> |
| 52 |
|
| 53 |
<button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button> |
| 54 |
|
| 55 |
<section id="main" class="content"> |
| 56 |
<header> |
| 57 |
<h1>GTK Documentation</h1> |
| 58 |
</header> |
| 59 |
|
| 60 |
<div class="toggle-wrapper"> |
| 61 |
<h4 id="user-interface"> |
| 62 |
User interface |
| 63 |
<a href="#user-interface" class="anchor"></a> |
| 64 |
</h4> |
| 65 |
|
| 66 |
<div class="docblock"> |
| 67 |
<h5 id="gdk">GTK</h5> |
| 68 |
<p>GTK is the primary library used to construct user interfaces. It |
| 69 |
provides user interface controls and signal callbacks to respond to |
| 70 |
user actions.</p> |
| 71 |
<p><a href="https://docs.gtk.org/gtk4/">GTK API reference</a></p> |
| 72 |
</div> |
| 73 |
|
| 74 |
<div class="docblock"> |
| 75 |
<h5 id="gdk">GSK</h5> |
| 76 |
<p>An intermediate layer which provides a rendering API implemented using Cairo, OpenGL or Vulkan.</p> |
| 77 |
<p><a href="https://docs.gtk.org/gsk4/">GSK API reference</a></p> |
| 78 |
</div> |
| 79 |
|
| 80 |
<div class="docblock"> |
| 81 |
<h5 id="gdk">GDK</h5> |
| 82 |
<p>An intermediate layer which isolates GTK from the details of the windowing system.</p> |
| 83 |
<p><a href="https://docs.gtk.org/gdk4/">GDK API reference</a></p> |
| 84 |
</div> |
| 85 |
|
| 86 |
<div class="docblock"> |
| 87 |
<h5 id="pango">Pango</h5> |
| 88 |
<p>Pango is the core text and font handling library used in GTK |
| 89 |
applications. It has extensive support for the different writing |
| 90 |
systems used throughout the world.</p> |
| 91 |
<p><a href="https://docs.gtk.org/Pango/">Pango API reference</a></p> |
| 92 |
</div> |
| 93 |
|
| 94 |
<div class="docblock"> |
| 95 |
<h5 id="gdk-pixbuf">GdkPixbuf</h5> |
| 96 |
<p>GdkPixbuf is a library for image loading and manipulation.</p> |
| 97 |
<p><a href="https://docs.gtk.org/gdk-pixbuf/">GdkPixbuf API reference</a></p> |
| 98 |
</div> |
| 99 |
|
| 100 |
<div class="docblock"> |
| 101 |
<h5 id="cairo">Cairo</h5> |
| 102 |
<p>Cairo is a 2D graphics library with support for multiple output |
| 103 |
devices. It is designed to produce consistent, high quality output |
| 104 |
on all media.</p> |
| 105 |
<p><a href="https://www.cairographics.org/manual/" class="external">Cairo API reference</a></p> |
| 106 |
</div> |
| 107 |
</div> |
| 108 |
|
| 109 |
<div class="toggle-wrapper"> |
| 110 |
<h4 id="core-libraries" style="display:flex;"> |
| 111 |
Core libraries |
| 112 |
<a href="#core-libraries" class="anchor"></a> |
| 113 |
</h4> |
| 114 |
|
| 115 |
<div class="docblock"> |
| 116 |
<h5 id="glib">GLib</h5> |
| 117 |
<p>GLib provides the core application building blocks for libraries |
| 118 |
and applications written in C. It provides common data types |
| 119 |
used in GTK, the main loop implementation, and a large set of |
| 120 |
utility functions for strings and general portability across |
| 121 |
different platforms.</p> |
| 122 |
<p><a href="https://developer.gnome.org/glib/" class="external">GLib API reference</a></p> |
| 123 |
</div> |
| 124 |
|
| 125 |
<div class="docblock"> |
| 126 |
<h5 id="gobject">GObject</h5> |
| 127 |
<p>GObject provides the object system used by GTK.</p> |
| 128 |
<p><a href="https://developer.gnome.org/gobject/" class="external">GObject API reference</a></p> |
| 129 |
</div> |
| 130 |
|
| 131 |
<div class="docblock"> |
| 132 |
<h5 id="gio">GIO</h5> |
| 133 |
<p>GIO provides a portable, modern and easy-to-use file system |
| 134 |
abstraction API for accessing local and remote files; a set of |
| 135 |
low and high level abstractions over the <a href="https://www.freedesktop.org/wiki/Software/dbus/" class="external">DBus</a> |
| 136 |
IPC specification; an application settings API; portable networking |
| 137 |
abstractions; and additional utilities for writing asynchronous |
| 138 |
operations without blocking the user interface of your application.</p> |
| 139 |
<p><a href="https://developer.gnome.org/gio/" class="external">GIO API reference</a></p> |
| 140 |
</div> |
| 141 |
</div> |
| 142 |
|
| 143 |
</section> |
| 144 |
|
| 145 |
<footer> |
| 146 |
</footer> |
| 147 |
</div> |
| 148 |
</body> |
| 149 |
</html> |