Gnome2::Scores.3pm

Langue: en

Version: 2010-05-12 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Gnome2::Scores

HIERARCHY

   Glib::Object
   +----Glib::InitiallyUnowned
        +----Gtk2::Object
             +----Gtk2::Widget
                  +----Gtk2::Container
                       +----Gtk2::Bin
                            +----Gtk2::Window
                                 +----Gtk2::Dialog
                                      +----Gnome2::Scores
 
 

INTERFACES

   Glib::Object::_Unregistered::AtkImplementorIface
   Gtk2::Buildable
 
 

METHODS

widget = Gnome2::Scores->new ($names, $scores, $times, $clear)

*
$names (scalar) - reference to an array
*
$scores (scalar) - reference to an array
*
$times (scalar) - reference to an array
*
$clear (boolean)

$gs->set_color ($n, $col)

*
$n (integer)
*
$col (Gtk2::Gdk::Color)

$gs->set_colors ($col)

*
$col (Gtk2::Gdk::Color)

$gs->set_current_player ($i)

*
$i (integer)

$gs->set_def_color ($col)

*
$col (Gtk2::Gdk::Color)

widget = Gnome2::Scores->display ($title, $app_name, $level, $pos)

*
$title (string)
*
$app_name (string)
*
$level (string)
*
$pos (integer)

widget = Gnome2::Scores->display_with_pixmap ($pixmap_logo, $app_name, $level, $pos)

*
$pixmap_logo (string)
*
$app_name (string)
*
$level (string)
*
$pos (integer)

$gs->set_logo_label ($txt, $font, $col)

*
$txt (string)
*
$font (string)
*
$col (Gtk2::Gdk::Color)

$gs->set_logo_label_title ($txt)

*
$txt (string)

$gs->set_logo_pixmap ($pix_name)

*
$pix_name (string)

$gs->set_logo_widget ($w)

*
$w (Gtk2::Widget)

SEE ALSO

Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window, Gtk2::Dialog Copyright (C) 2003-2004 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2 for a full notice.