. Updated Daily. Editions SDA India   SDA Indonesia
BUSINESS ENTERPRISE SOLUTIONS ARCHITECTURE INFORMATION SECURITY WIRELESS & MOBILITY DATA & STORAGE DEVELOPMENT HARDWARE













News

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

 
 
print save email comment

print

save

email

comment

 
 

Search SDA Asia

Free eNewsletter

SDA Asia Magazine Free Download
 
 
 
Copyright @ 2009 SDA Asia Magazine - All Right Reserved Privacy Policy | Terms of Use