Gtk_ScrollingLabel::startScroll – Begins scrolling the text from the start of the string.


require_once 'Gtk/ScrollingLabel.php';

boolean Gtk_ScrollingLabel::startScroll ( )


startScroll() will make the text begin scrolling in the direction given by calling setDirection(). If the text is scrolling left to right (GTK_SCROLLINGLABEL_RIGHT), the current character position is set to the end of the text. This means that the last character of the label will be the first character shown. If the text is scrolling right to left (GTK_SCROLLINGLABEL_LEFT), the current character position is set to zero. This means that first character shown will be a blank space.

This method is best used when connected to an event.

Return value

returns true if the text has started scrolling. false otherwise.


This function can not be called statically.

Connects the startScroll method to a given event. (Previous) Begins scrolling the label from its current position (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.