Archive for the ‘GNOME’ Category

An XDS Example

Saturday, November 1st, 2008

I wanted to implement a draggable save button in my GTK+ app. This lets the user save his file by dragging the document’s icon from the application onto the desktop or a file browser window.

Drag and drop (DND) is an intuitive approach to file management and XDS avoids the problem of novice users trying to use the file selector dialog as a file manager. However it’s not suitable for mouseless or limited-mouse users, so applications must also provide the conventional file selector.

(more…)

Debug-stepping through GTK+ code

Friday, January 11th, 2008
Emacs GDB screenshot

Here is an easy way to setup GDB to step through the GTK+ source code if you’re using the Debian (or Ubuntu) -dbg packages.

(more…)