CodeBase - Simple buttons

Return to the CodeBase listing

Category: Complete Applications

Version: 1.0

0
0

Information

Uploaded: 22nd Jun 2007 00:32

Modified: 1st Jan 1970 01:00

Author:  SunDawg

Summary

Simple buttons that are easy to code.

Full Description

This is a short program showcasing how to make a 3 state button. Those states being normal, hover, and pressed. With this code, you can easily see how to tell if the button is pressed, how to change the button when pressed, and how to abort the buttons action if the mouse is released off of the button. Just like any other button in linux or windows!

Comments

No comments yet.