aboutsummaryrefslogtreecommitdiffstats
path: root/Attic/gtk/readme.txt
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 15:04:52 +0000
committerlloyd <[email protected]>2010-10-13 15:04:52 +0000
commitfc4c8f57baa06cfc9073ce83a5e3d1547bea86c0 (patch)
tree569e6b94f20fd71085c7eaeafe92b051697da613 /Attic/gtk/readme.txt
parent30a71cfa8d2d4c78e3a2b9f4c394b652f457e1f2 (diff)
parent6e85766cf001183e160c8ca2c0ed3eb40f07125c (diff)
propagate from branch 'net.randombit.botan' (head 0b2a6834cd19e431afc91bd062b0b455d6d035ac)
to branch 'net.randombit.botan.c++0x' (head fbb6dc287edf127cc84fc29f9d8477769d5cfd7f)
Diffstat (limited to 'Attic/gtk/readme.txt')
-rw-r--r--Attic/gtk/readme.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Attic/gtk/readme.txt b/Attic/gtk/readme.txt
new file mode 100644
index 000000000..4f3691166
--- /dev/null
+++ b/Attic/gtk/readme.txt
@@ -0,0 +1,18 @@
+
+This is an example of how to use Botan in a GUI. You need at least
+Botan 1.6.0.
+
+You'll also need GTK+ 2.x (tested with GTK+ 2.10; should work with
+most versions). Keep in mind that I was learning GTK as I was writing
+this code, so it is not exactly the best GTK code you're likely to
+see.
+
+dsa.cpp is the main GTK+ driver. It has some comments at the top which
+point out major areas of interest.
+
+gtk_ui.* implement a User_Interface object that opens up a GTK+ dialog
+box that asks the user for their passphrase. It works pretty well, the
+only major deficiency is a fixed upper limit on the size of the
+passphrase (currently 64). You may want to use this in your own code,
+assuming you use GTK. If not, it should at least provide an outline
+for writing a version for your favorite windowing system.