Paolo Bonzini's blog

Fiddling with Gtk+ (2)

Tagged:  •    •    •    •    •  

Here come the pictures:

This is a resizer grip widget:
A resizer grip widget

This is an ellipsis widget:
An ellipsis widget

This is the stack/flow layout manager in action. The four buttons are in the same GtkHBox, but they wrap to the following line:
Stack/flow layout management

Fiddling with Gtk+

Tagged:  •    •    •    •    •  

I spent the last couple of weekends hacking with GTK+ making some custom widgets. The idea is that after 3.1 is out I would like to work on a nice (and innovative) GUI for GNU Smalltalk, and I wanted to get up to speed with GTK+.

I made quite a few widgets (I'm at 6 classes right now). All of them are interesting things on their own, even though each of them has at least 50% of the code copied from somewhere else. I published them in a git repository at http://www.inf.unisi.ch/phd/bonzini/webdav/gtk-widgets.git (expect rebasing on all branches but master).

Still ROTFLing...

Tagged:  •    •  

I just had one of the most hilarious (for me) e-mail exchange I ever experienced.

From: <hidden@example.com>
To: <bonzini@gnu.org>
Subject: Time stamp

I need to know how to set up a UNIX terminal log so that the time stamp 
is always displayed. You help will be appreciated!

From: <bonzini@gnu.org>
To: <hidden@example.com>
Subject: Re: Time stamp

> I need to know how to set up a UNIX terminal log so that the time stamp 
> is always displayed. You help will be appreciated!

And why should I know it?

More on java.net.SocketImplFactory

Tagged:

I found that someone has a working use for java.net.SocketImplFactory, that is adding SOCKS support to Java sockets. The code is here.

I thought I'd mention this just for the sake of completeness

When having a dynamic language helps

Tagged:  •    •    •    •  

I just committed unix-domain sockets (AF_UNIX) for GNU Smalltalk.

GNU Smalltalk's socket library is more or less based on the java.net library, but java.net does not have AF_UNIX sockets! Okay, they are not portable to Windows, but you'd expect someone to have written an extension library for that. But no, there is none. Why?

It turns out that there are two problems.

Syndicate content

User login