Gtk2-Ex-TickerView
view release on metacpan or search on metacpan
devel/Pause-backup.pm view on Meta::CPAN
...
$pobj = undef; # scroll resumes when object destroyed
=head1 DESCRIPTION
A C<Gtk2::Ex::TickerView::Pause> object suppresses the timer scrolling in a
given C<Gtk2::Ex::TickerView> widget. When all Pause objects on that widget
are destroyed it resumes normal operation.
This kind of pause is used by the builtin mouse drag feature and is offered
for other similar uses. For example you might want to pause during a popup
menu if it relates to an item current showing.
The C<run> property in the TickerView is a separate setting. Usually it's
the one you want for an overall user stop/go control. A Pause is intended
as a temporary stop for some reason, without losing the overall C<run>
setting.
For reference, a TickerView scrolls when
- run property is true
devel/StopForMenu.pm view on Meta::CPAN
# active
#
# Gtk2::Ex::TickerView::Stopper->for_menu($tickerview, $menu)
# $ticker->stop_for_menu
# while menu popped up
# Gtk2::Ex::TickerView::StopForMenu
# tickerview - weak
# menu - weak
# active
# $ticker->stop_for_menu($menu) during popup menu
# $ticker->stopper object lifespan
# Gtk2::Ex::TickerView::Pause
# Copyright 2008, 2009, 2010, 2019 Kevin Ryde
# This file is part of Gtk2-Ex-TickerView.
#
# Gtk2-Ex-TickerView is free software; you can redistribute it and/or modify
devel/Stopper.pm view on Meta::CPAN
my $stopper = Gtk2::Ex::TickerView::Stopper->new
(tickerview => $tickerview);
=head1 DESCRIPTION
A C<Gtk2::Ex::TickerView::Stopper> object suppresses the timer scrolling in a
given C<Gtk2::Ex::TickerView> widget. When all Stopper objects on that widget
are destroyed it resumes normal operation.
This kind of pause is used by the builtin mouse drag feature and is offered
for other similar uses. For example you might want to pause during a popup
menu if it relates to an item current showing.
The C<run> property in the TickerView is a separate setting. Usually it's
the one you want for an overall user stop/go control. A Stopper is intended
as a temporary stop for some reason, without losing the overall C<run>
setting.
For reference, a TickerView scrolls when
- run property is true
( run in 2.666 seconds using v1.01-cache-2.11-cpan-364913b4093 )