Kevin Ryde > chart > App::Chart::Gtk2::Diagnostics

Download:
chart-250.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  16
Open  3
View/Report Bugs
Source  

NAME ^

App::Chart::Gtk2::Diagnostics -- diagnostics dialog module

SYNOPSIS ^

 use App::Chart::Gtk2::Diagnostics;
 App::Chart::Gtk2::Diagnostics->popup();

WIDGET HIERARCHY ^

App::Chart::Gtk2::Diagnostics is a subclass of Gtk2::Dialog.

    Gtk2::Widget
      Gtk2::Container
        Gtk2::Bin
          Gtk2::Window
            Gtk2::Dialog
              App::Chart::Gtk2::Diagnostics

DESCRIPTION ^

A App::Chart::Gtk2::Diagnostics dialog shows various bits of diagnostic information like memory use, database size, etc.

FUNCTIONS ^

App::Chart::Gtk2::Diagnostics->popup()

Present a Diagnostics dialog to the user. popup() creates and then re-uses a single dialog, re-presenting it ($widget->present()) and refreshing its contents each time. A single diagnostics dialog like this will be enough for most uses.

$dialog = App::Chart::Gtk2::Diagnostics->new()

Create and return a new Diagnostics dialog widget. Initially it's empty and refresh() must be called to put some diagnostic information in it.

$diagnostics->refresh()

Refresh the information displayed in $diagnostics. The "Refresh" button in the dialog calls this.

$str = App::Chart::Gtk2::Diagnostics->str()

Return the diagnostics in string form, as would be shown in a dialog. This just makes a string, no dialog is opened, created or updated.

SEE ALSO ^

Gtk2::Dialog

HOME PAGE ^

http://user42.tuxfamily.org/chart/index.html

LICENCE ^

Copyright 2007, 2008, 2009, 2010, 2011 Kevin Ryde

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

Chart 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 Chart; see the file COPYING. Failing that, see http://www.gnu.org/licenses/.

syntax highlighting: