Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/gtkPublic

GNOME/gtk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status

General information

GTK is a multi-platform toolkit for creating graphical user interfaces.Offering a complete set of widgets, GTK is suitable for projects rangingfrom small one-off projects to complete application suites.

GTK is a free and open-source software project. The licensing termsfor GTK, the GNU LGPL, allow it to be used by all developers, including thosedeveloping proprietary software, without any license fees or royalties.

GTK is hosted by the GNOME project (thanks!) and used by a wide varietyof applications and projects.

The official download location

The official web site

The official developers blog

Discussion forum

Nightly documentation can be found at

Nightly flatpaks of our demos can be installed from theGNOME Nightly repository:

flatpak remote-add --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepoflatpak install gnome-nightly org.gtk.Demo4flatpak install gnome-nightly org.gtk.WidgetFactory4flatpak install gnome-nightly org.gtk.IconBrowser4

Building and installing

In order to build GTK you will need:

You will also need various dependencies, based on the platform you arebuilding for:

If you are building the Wayland backend, you will also need:

  • Wayland-client
  • Wayland-protocols
  • Wayland-cursor
  • Wayland-EGL

If you are building the X11 backend, you will also need:

  • Xlib, and the following X extensions:
    • xrandr
    • xrender
    • xi
    • xext
    • xfixes
    • xcursor
    • xdamage
    • xcomposite

Once you have all the necessary dependencies, you can build GTK by usingMeson:

$ meson setup _build$ meson compile -C_build

You can run the test suite using:

$ mesontest -C_build

And, finally, you can install GTK using:

$ sudo meson install -C_build

Complete information about installing GTK and related librariescan be found in the file:

docs/reference/gtk/html/gtk-building.html

Oronline

Building from git

The GTK sources are hosted ongitlab.gnome.org. The maindevelopment branch is calledmain, and stable branches are named after their minorversion, for examplegtk-4-10.

How to report bugs

Bugs should be reported on theissues page.

In the bug report please include:

  • Information about your system. For instance:

    • which version of GTK you are using
    • what operating system and version
    • what windowing system (X11 or Wayland)
    • what graphics driver / mesa version
    • for Linux, which distribution
    • if you built GTK, the list of options used to configure the build

    Most of this information can be found in the GTK inspector.

    And anything else you think is relevant.

  • How to reproduce the bug.

    If you can reproduce it with one of the demo applications that arebuilt in the demos/ subdirectory, on one of the test programs thatare built in the tests/ subdirectory, that will be most convenient.Otherwise, please include a short test program that exhibits thebehavior. As a last resort, you can also provide a pointer to alarger piece of software that can be downloaded.

  • If the bug was a crash, the exact text that was printed outwhen the crash occurred.

  • Further information such as stack traces may be useful, butis not necessary.

Contributing to GTK

Please, follow thecontribution guide to know how tostart contributing to GTK.

If you want to support GTK financially, please consider donating tothe GNOME project, which runs the infrastructure hosting GTK.

Release notes

The release notes for GTK are part of the migration guide in the APIreference. See:

Licensing terms

GTK is released under the terms of the GNU Lesser General Public License,version 2.1 or, at your option, any later version, as published by the FreeSoftware Foundation.

Please, see theCOPYING file for further information.

GTK includes a small number of source files under the Apache license:


[8]ページ先頭

©2009-2025 Movatter.jp