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

(Work In Progress) dtk is a D wrapper of the Tcl/Tk graphics library.

License

NotificationsYou must be signed in to change notification settings

AndrejMitrovic/dtk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dtk

NOTE: This project is currently being updated to work with the latest compilers. Please have patience.

This is a D wrapper of the Tcl/Tk graphics library. It is based on Tcl/Tk v8.6.0.0.

Currentlydtk has been tested onWindows 7 x64 andLinux Manjaro XFCE 0.8.9 x64.

However, drag & drop has currently only been implemented on Windows.

Drag & drop is not a built-in feature of Tk but is provided by the D wrapper.

Homepage:https://github.com/AndrejMitrovic/dtk

Requirements

Before usingdtk you will need to install theTcl andTk shared libraries,versioned atv8.6.0.0 or newer.

Installing Tcl/Tk on Windows

You can download and extract theIronTcl distribution.

Note: You need to add the path to the IronTcl Tcl/Tk DLLs into yourPATHenvironment variable, or alternatively copy the Tcl/Tk DLLs into the currentpath of your executable.

Installing Tcl/Tk on Posix

Use your package manager to install theTk andTcl shared libraries.

For example:

$ sudo apt-get install -y tk8.6

Examples

Usedub to run any of the examples. Simply prependdub run dtk: before the example name when callingdub:

$ dub run dtk:buttons

Also trymenus,images, and other examples found in theexamples folder.

You can alsocd into an example's directory and calldub to run that example.

Building dtk as a static library

Rundub alone in the root project directory to builddtk as a static library:

$ dub

Testing

You can test individual modules with:

$ dtest=dtk.tests.events_keyboard dub test

Documentation

Documentation and tutorials are planned to be written soon. Stay tuned!

Links

License

Distributed under theBoost Software License, Version 1.0.

See the accompanying filelicense or an online copyhere.

About

(Work In Progress) dtk is a D wrapper of the Tcl/Tk graphics library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp