NAME

Gtk2::Ex::Spinner::PopupForEntry -- popup Spinner for a Gtk2::Entry

SYNOPSIS

use Gtk2::Ex::Spinner::PopupForEntry;
my $entry = Gtk2::Ex::Spinner::PopupForEntry->new;

WIDGET HIERARCHY

Gtk2::Ex::Spinner::PopupForEntry is a subclass of Gtk2::Window.

Gtk2::Widget
  Gtk2::Container
    Gtk2::Bin
      Gtk2::Window
        Gtk2::Ex::Spinner::PopupForEntry

DESCRIPTION

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.

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.

PROPERTIES

entry (Gtk2::Entry widget, held as weak ref)

SEE ALSO

Gtk2::Ex::DateSpinner::CellRenderer, Gtk2::Window

LICENSE

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/.