Scroll to navigation

Gnome2::Scores(3pm) User Contributed Perl Documentation Gnome2::Scores(3pm)

NAME

Gnome2::Scores - wrapper for GnomeScores

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

Copyright (C) 2003-2004 by the gtk2-perl team.

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

2016-06-26 perl v5.24.1