Gtk2_ScrollingLabel is a class that creates a pseudo-widget which makes scrolling text within a label easy. The text within the label can be set to scroll from left to right, right to left, or bounce within the boundries of the label. The speed of the scrolling text can also be controlled. There are also built in methods to make the text pause or stop when the user moves the mouse over the label and start up again when the mouse leaves the label space.
Getting started with Gtk2_ScrollingLabel is easy. All you need to do is instantiate the class, add it to a window, and start the scrolling. Take at look at the example below.
Пример 41-1. Simple Setup
|
Пред. | Начало | След. |
Gtk2_ScrollingLabel | Уровень выше | Gtk2_ScrollingLabel |
HIVE: All information for read only. Please respect copyright! |