Project

tk_inspect

0.0
No commit activity in last 3 years
No release in over 3 years
Poor's man Smalltalk-like environment for Ruby using TK
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 10.0
~> 3.0

Runtime

~> 3.26
~> 0.2.0
 Project Readme

TkInspect

Provides a poor man's version of the GUI development environment created for original Smalltalk systems, including a console (workspace in Smalltalk), inspectors and a class browser.

GIF demo

It uses TkComponent to create the UI.

Installation

Add this line to your application's Gemfile:

gem 'tk_inspect'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tk_inspect

Usage

Once added the gem to your project or global environment, you can launch the graphic console using

$ bundle exec tk_console

If you add tk_inspect_rails you will also get some goodies for playing with Rails applications inside the GUI playground.

WARNING: This is very much a work in progress. More documentation to come!!

Author

Josep Egea

Why this?

I feel that Ruby is a fantastic language for building and interacting with GUI's.

It's expressive, flexible and easy to read. GUI's spend most of their time waiting for user input, so the actual performance of the language is not as important as the power it gives to the developer. To that avail, Ruby is a great fit, a true successor of Smalltalk, which was tightly integrated with a great GUI.

However, there's not much current GUI work in Ruby land. Most of developments happen in server side code, APIs and, of course, Rails.

I started writing TkComponent to make it easier to build GUI applications with Ruby.

But the more I played with that, and the more I learned about the Smalltalk systems they built in the 70s and 80s at Xerox's PARC, the more I felt that Ruby could have that, too.

So I started experimenting and playing and TkInspect is what came out of it.

This is still mostly experimentation, but I can see some useful outcomes from it, that I'll try to investigate further.

If you feel the same, I wish you find TkInspect useful. If you want to make it grow, your contributions will be quite welcome.

You can hear me talk more about these ideas in this talk I gave in the Madrid Ruby Users Group on January 2021.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/josepegea/tk_inspect. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the TkComponent project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.