Kevin Ryde > Gtk2-Ex-DateSpinner-9 > Gtk2::Ex::DateSpinner::PopupForEntry

Download:
Gtk2-Ex-DateSpinner-9.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 9   Source  

NAME ^

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

SYNOPSIS ^

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

WIDGET HIERARCHY ^

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

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

DESCRIPTION ^

Caution: This is internals of Gtk2::Ex::DateSpinner::CellRenderer. The idea of a popup under an edited cell might be split out under a new name at some time, or even the idea of a DateSpinner popup standing alone.

DateSpinner::PopupForEntry holds a Gtk2::Ex::DateSpinner 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

HOME PAGE ^

http://user42.tuxfamily.org/gtk2-ex-datespinner/index.html

LICENSE ^

Gtk2-Ex-DateSpinner is Copyright 2008, 2009, 2010, 2013 Kevin Ryde

Gtk2-Ex-DateSpinner 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-DateSpinner 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-DateSpinner. If not, see http://www.gnu.org/licenses/.

syntax highlighting: