---
name: "Gnome2::Scores"
section: "3pm"
platform: "linux"
package: "libgnome2-perl"
version: "1.046-3+b1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Gnome2::Scores"
---

# Gnome2::Scores(3pm)

wrapper for GnomeScores

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