Monthly Archives: January 2009

GLruCache

I put together a quick LRU for glib/gobject. The GLruCache is a GObject and thus reference counted. Its a transparent cache, so requesting items from the cache that do not exist are retrieved through a delegate.
I expect to merge this with my C version of the BdbListStore to add the same deserialization cache that [...]

New Gtk# Application for GTD

So my previous posts weren’t without reason, I’ve been quietly working on another project as my Xmas/NewYears gift to the world. It’s not completed yet, but I’m not convinced software ever can be. Therefore, I’m sharing what’s available.
Adroit is a personal task management application aimed at information dissemination. The primary concept of [...]

ModeButton for Gtk#, gtk+, and pygtk

For an application I’m working on, I needed a button for selecting the visual mode. It was by accident, but apparently it looks similar to a frequently used widget in OS X.
In my normal style, I’ve written the widget in multiple languages. It’s available in C, C#, and Python.

Grab the code here. [...]

Drawing Gtk.Window Shadows with Gtk#

I wrote this quite a while ago, but figured I’d post it for interweb indexing and searchability. The example is a Gtk.Window with an RGBA colormap and no window decoration. Compiz will not shadow these windows, so sometimes you want to draw your own shadow and perhaps add rounded corners.

The guassian algorithm comes [...]

Gtk# Mandelbrot Example

I quickly ported the mandelbrot fractal example from Qt to Gtk#/Mono this evening. Figured it might prove useful to someone wanting to learn unsafe buffers and/or simple mandelbrot.

MonoDevelop project here. It’s GPL-2.
Oh, and ignore my poor spelling.

BDB46 and GtkTreeModel

Over the vacation, I’ve been hacking on a few different projects, mostly Mono related this time. I’ve updated Joshua Tauber’s BDB wrapper from 4.3 to 4.6. It has many hacks to make DB_RECNO databases more friendly. If you truly are interested in using it with 4.6, I suggest you diff the two [...]