Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 16792 программиста и 1772 робота. Сейчас ищет 1641 программист ...

Gtk2_ScrollingLabel::setBounce

Вернуться к: Gtk2_ScrollingLabel

Gtk2_ScrollingLabel::setBounce

Gtk2_ScrollingLabel::setBounce – Sets the text to bounce between the borders of the label

Synopsis

require_once 'Gtk2/ScrollingLabel.php';

boolean Gtk2_ScrollingLabel::setBounce ( boolean $bounce )

If $bounce is true, the text will scroll to the left until the first character hits the left edge of the visible window then it will scroll back to the right. When the last character hits the right edge of the visible window the text will scroll back to the left again.

If all of the scrolling text cannot be viewed at once, making the text bounce will have an undesired result. Therefore it is suggested that the length of the text always be at least one character less than the maximum viewable string length.

Parameter

  • boolean $bounce - Whether or not the text should change direction when it hits a label edge.

Return value

returns Whether or not the text is set to bounce

Note

This function can not be called statically.



Вернуться к: Gtk2_ScrollingLabel

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware