Gnocl: A native GTK Tcl toolkit

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

Gnocl: A native GTK Tcl toolkit

#1 Post by rarsa »

I will start developing my contributions for puppy that require User Inteface using tcl/gnocl.

Reasons why I discarded other toolkits
- gtkdialog is OK for small UIs but a pain for complex UIs
- xmessage/XDialog are great for small scripts too, but difficult to keep the flow in complex user interactions
- I evaluated different tcl toolkits such as tk, tix and tile, all of them impresivelly functional and greately portable but... old looking, don't follow themes set for other applications, and sometimes too convoluted (e.g. tile) and all of them are way larger than gnocl

Reasons for gnocl
- Native GTK. That means that it will follow the gtk themes for widgets and icons.
- Well documented.
- Easy to learn toolkit


Here are some samples to show of how tcl/gnocl applications are native GTK

First new NW wizard mockup

And the first real application out of the door will be a new Sound mixer (volume mixer).
Here shown with an XAqua GTK theme
Image


The second one New Remote Desktop Client

If you want to see an example of gnocl code, I recomend having a look at this code.

Click to go to the download page:
Simple View
Image
Expanded and showing options
Image


I'm providing just the libraries in this download. To get the readme's and full documentation, download the package from the oficial site http://www.dr-baum.net/gnocl/
Attachments
gnocl-0.9.91.pup
(124.04 KiB) Downloaded 1959 times
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#2 Post by muggins »

Here's a little gnocl editor:

http://wiki.tcl.tk/20241

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#3 Post by musher0 »

Hello, Puppyists.

I've attached the same gnocl as above, but in pet archive format.

gnocl is a library that functions as a bridge between tcl-tk apps and gtk
themes. This is needed if you intend to use pConvert, for ex.

BFN.

musher0
Attachments
gnocl-0.9.91.pet
This is not the latest version of gnocl, but it handles pConvert just fine.
(See URL above.)
(126.99 KiB) Downloaded 457 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Pelo

I aimed to run Pmixer with

#4 Post by Pelo »

Merci Musher0, i keep this pet in my tool case. I aimed to run Pmixer with, but i failed.
Toutou 4.3.6 ( i.e 4.3.1 renewed 2014 for its french suscribers) - has Zmixer volume control, does its job. It was just a try.

Post Reply