Gtk2::Ex::Spinner::PopupForEntry -- popup Spinner for a Gtk2::Entry
use Gtk2::Ex::Spinner::PopupForEntry; my $entry = Gtk2::Ex::Spinner::PopupForEntry->new;
Gtk2::Ex::Spinner::PopupForEntry is a subclass of Gtk2::Window.
Gtk2::Ex::Spinner::PopupForEntry
Gtk2::Window
Gtk2::Widget Gtk2::Container Gtk2::Bin Gtk2::Window Gtk2::Ex::Spinner::PopupForEntry
Gtk2::Ex::Spinner::PopupForEntry is based on a great Gtk2::Ex::DateSpinner::PopupForEntry, so in most cases documentation is the same. License is (of course) the same too :-).
Caution: This is internals of Gtk2::Ex::Spinner::CellRenderer. The idea of a popup under an edited cell might be split out under a new name at some time though, or even the idea of a DateSpinner popup standing alone.
Gtk2::Ex::Spinner::CellRenderer
Spinner::PopupForEntry holds a Gtk2::Ex::Spinner and Ok and Cancel buttons. It positions itself under a given Gtk2::Entry (or subclass of Gtk2::Entry) and communicates its value back and forward with that Entry for dual editing. Only a weak reference is held on the Entry and when the entry is destroyed the PopupForEntry is closed and destroyed too.
Spinner::PopupForEntry
Gtk2::Ex::Spinner
Gtk2::Entry
entry
Gtk2::Ex::DateSpinner::CellRenderer, Gtk2::Window
Gtk2-Ex-Spinner is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
Gtk2-Ex-Spinner is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Gtk2-Ex-Spinner. If not, see http://www.gnu.org/licenses/.
To install Gtk2::Ex::Spinner, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gtk2::Ex::Spinner
CPAN shell
perl -MCPAN -e shell install Gtk2::Ex::Spinner
For more information on module installation, please visit the detailed CPAN module installation guide.