The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Gtk2::Ex::History::Dialog -- dialog of history "back" and "forward" places

SYNOPSIS

use Gtk2::Ex::History::Dialog;
Gtk2::Ex::History::Dialog->popup ($history, $parent_widget);

WIDGET HIERARCHY

Gtk2::Ex::History::Dialog is a subclass of Gtk2::Dialog.

Gtk2::Widget
  Gtk2::Container
    Gtk2::Bin
      Gtk2::Window
        Gtk2::Dialog
          Gtk2::Ex::History::Dialog

DESCRIPTION

A Gtk2::Ex::History::Dialog displays the "current", "back" and "forward" places of a Gtk2::Ex::History object.

+--------------------------------------------------+
| Current: Thing now displayed                     |
| +--------------------+    +--------------------+ |
| | Back               |    | Forward            | |
| +--------------------+    +--------------------+ |
| | Thing last visited |    | Thing forward      | |
| | The thing before   |    | Further forward    | |
| | An old thing       |    |                    | |
| +--------------------+    +--------------------+ |
+--------------------------------------------------+
|                                           Close  |
+--------------------------------------------------+

Clicking on a back or forward item moves to make it current. Clicking on the Back and Forward headings moves by one in that direction. Drag and drop can rearrange items. Dropping on the "current" moves to make that item current, extracting it from the back or forward.

FUNCTIONS

$dialog = Gtk2::Ex::History::Dialog->new (key => value, ...)

Create and return a new history dialog. Optional key/value pairs set initial properties as per Glib::Object->new. The history property is what to display.

my $dialog = Gtk2::Ex::History::Dialog->new
             (history => $my_history);

PROPERTIES

history (Gtk2::Ex::History object, default undef)

The history object to display and act on.

SEE ALSO

Gtk2::Ex::History, Gtk2::Ex::History::Menu, Gtk2::Dialog

HOME PAGE

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

LICENSE

Gtk2-Ex-History is Copyright 2010 Kevin Ryde

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