Skip to content

Navigation Menu

Sign in
Appearance settings

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

Appearance settings

mccuneware/CGtk-Linux

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CGtk

CGtk is a Swift package that allows to use Gtk+ with Swift 2.2 and higher on Linux (Ubuntu). It requires Gtk+ and Clang to be installed.

sudo apt-get install libgtk-3-dev clang

All packages using CGtk must include header paths through extra parameters when they are built.

swift build -Xcc -I/usr/include/cairo -Xcc -I/usr/include/gtk-3.0 -Xcc -I/usr/include/glib-2.0 -Xcc -I/usr/include/pango-1.0 -Xcc -I/usr/include/gdk-pixbuf-2.0 -Xcc -I/usr/include/atk-1.0 -Xcc -I/usr/lib/x86_64-linux-gnu/glib-2.0/include

It is currently used by SwiftGtk.

About

Gtk+ 3.0 package for Linux for Swift.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.