App::Chart::Gtk2::Diagnostics -- diagnostics dialog module
use App::Chart::Gtk2::Diagnostics; App::Chart::Gtk2::Diagnostics->popup();
App::Chart::Gtk2::Diagnostics is a subclass of
Gtk2::Widget Gtk2::Container Gtk2::Bin Gtk2::Window Gtk2::Dialog App::Chart::Gtk2::Diagnostics
App::Chart::Gtk2::Diagnostics dialog shows various bits of diagnostic information like memory use, database size, etc.
Diagnosticsdialog 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.
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.
Copyright 2007, 2008, 2009, 2010, 2011, 2016 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/.