1Gnome2::Scores(3)     User Contributed Perl Documentation    Gnome2::Scores(3)
2
3
4

NAME

6       Gnome2::Scores - wrapper for GnomeScores
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Bin
15                                  +----Gtk2::Window
16                                       +----Gtk2::Dialog
17                                            +----Gnome2::Scores
18

INTERFACES

20         Glib::Object::_Unregistered::AtkImplementorIface
21         Gtk2::Buildable
22

METHODS

24   widget = Gnome2::Scores->new ($names, $scores, $times, $clear)
25       •   $names (scalar) - reference to an array
26
27       •   $scores (scalar) - reference to an array
28
29       •   $times (scalar) - reference to an array
30
31       •   $clear (boolean)
32
33   $gs->set_color ($n, $col)
34       •   $n (integer)
35
36       •   $col (Gtk2::Gdk::Color)
37
38   $gs->set_colors ($col)
39       •   $col (Gtk2::Gdk::Color)
40
41   $gs->set_current_player ($i)
42       •   $i (integer)
43
44   $gs->set_def_color ($col)
45       •   $col (Gtk2::Gdk::Color)
46
47   widget = Gnome2::Scores->display ($title, $app_name, $level, $pos)
48       •   $title (string)
49
50       •   $app_name (string)
51
52       •   $level (string)
53
54       •   $pos (integer)
55
56   widget = Gnome2::Scores->display_with_pixmap ($pixmap_logo, $app_name,
57       $level, $pos)
58       •   $pixmap_logo (string)
59
60       •   $app_name (string)
61
62       •   $level (string)
63
64       •   $pos (integer)
65
66   $gs->set_logo_label ($txt, $font, $col)
67       •   $txt (string)
68
69       •   $font (string)
70
71       •   $col (Gtk2::Gdk::Color)
72
73   $gs->set_logo_label_title ($txt)
74       •   $txt (string)
75
76   $gs->set_logo_pixmap ($pix_name)
77       •   $pix_name (string)
78
79   $gs->set_logo_widget ($w)
80       •   $w (Gtk2::Widget)
81

SEE ALSO

83       Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
84       Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window, Gtk2::Dialog
85
87       Copyright (C) 2003-2004 by the gtk2-perl team.
88
89       This software is licensed under the LGPL.  See Gnome2 for a full
90       notice.
91
92
93
94perl v5.36.0                      2023-01-20                 Gnome2::Scores(3)
Impressum