This is the old ROX web-site. Please use the new website instead.

Tutorials for Gtk+-2.0

This section contains some tutorials for ROX application developers.

If you find something confusing, you can leave a comment
like this one. You might also like to link to extra documentation
that you've found useful with some part. -- Thomas Leonard

A basic GTK+-2.0 ROX application

This tutorial will show you how to create simple ROX applications using Python. Covers creating an application directory, giving it an icon, help files and code, plus an introduction to using Gtk+ to provide a user interface.

Drag-and-drop loading

Shows how to respond to files being dragged onto your application from the filer or from another application.

Drag-and-drop saving

This tutorial shows how to write a simple Lorem Ipsum generator, with drag-and-drop saving.

Panel applets

This tutorial creates a simple clock which can run standalone or on a panel. It also demonstrates the use of a timeout to update the clock.

Menus

Here we give our clock applet/application a popup menu.

Options

Here we give our clock application an options window to let the user choose the time format.

Tasks

The tasks module provides a simple alternative to writing multi-threaded applications, using python's generator functions. In this tutorial, we create a simple network service that can handle connections from several clients simultaneously.

Glade

How to build your application's GUI using glade.


Ex-RISC OS users

Useful documentation


Last edited on January 22, 2005 9:12 am.