01 May 2013 - After the site upgrade, all passwords were reset and you will need to ask the site for a login reset on your first connection.

GtkMisc

Getting (x,y) coordinates when clicking on images

I wrote an application where the user clicks on a GtkImage, and I want to know *where* the user clicked. Here's a simple object extending GtkAlignment.

ScrollingLabel - a funny label widget with scrolling capabilities

ScrollingLabel widget demo ScrollingLabel is a dynamic label which scrolls from all sides when the parent widget is not large enough. This widget can be used when you need to build very compact interfaces and display long strings of information.

Stock dialog: MsgBox

PHP-GTK 1 message box When working in graphical user interface mode, one often needs to display a message to the user who's waiting for an action, like a confirmation box as this is a frequent task, here's a class to do this efficiently with minimal application code.

GtkImage

This example shows how to use the GtkImage widget to display an image file in a window.

GtkClock : a clockwork GtkLabel

This small example show how to extend a widget to add a dynamic behaviour, in this case an enhanced GtkLabel displaying the current time without program intervention.

Display XPM Images in a Scrolled Window

This snippet loads all the XPM pictures it can find in its directory, and displays them horizontally in a scrolled window, as thumbnails.

Syndikovat obsah