Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Jul 2015, 08:51
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Gnocl: A native GTK Tcl toolkit
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message

Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Wed 21 Feb 2007, 02:00    Post_subject:  Gnocl: A native GTK Tcl toolkit
Sub_title: Development library

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

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

Expanded and showing options

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/

Filename  gnocl-0.9.91.pup 
Filesize  124.04 KB 
Downloaded  1629 Time(s) 

http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
Back to top
View user's profile Send_private_message Visit_website 

Joined: 20 Jan 2006
Posts: 6698
Location: lisbon

PostPosted: Thu 29 Nov 2007, 03:36    Post_subject:  

Here's a little gnocl editor:

Back to top
View user's profile Send_private_message 

Joined: 04 Jan 2009
Posts: 5558
Location: Gatineau (Qc), Canada

PostPosted: Thu 05 Mar 2015, 19:24    Post_subject:  

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.


Description  This is not the latest version of gnocl, but it handles pConvert just fine.
(See URL above.)

Filename  gnocl-0.9.91.pet 
Filesize  126.99 KB 
Downloaded  49 Time(s) 

"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0460s ][ Queries: 12 (0.0040s) ][ GZIP on ]