Thursday, 24 May 2007
ScrollingLabel in PHP-GTK |
| |
|
| |
Marc Quinton introduces you to ScrollingLabel, a label widget with scrolling capabilities. He says, it’s 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 compact interfaces and display long strings of information.
He demonstrates with an example to facilitate better understanding for this widget.
Marc lists the highlights of ScrollingLabel as follows:
- GtkEventBox is used to catch button click
- GtkFixed is a special composite widget that allows widget placement and moves
- You can adjust class members as needed; change source or override class
- Click on the event box resets the position
- An application can handle a few such scrolling widget when not under heavy load ; take care not to use too many instances of this widget
This widget also comes with an enhancement of a timeout function too.
|
| |
|
Read the Post
|
| |
|
|
| |
|
|
| |
|