Name
GnomeScores -- Dialog box which displays high scores
Synopsis
#include <gnome.h>
struct GnomeScores;
GtkWidget* gnome_scores_new (guint n_scores,
gchar **names,
gfloat *scores,
time_t *times,
guint clear);
void gnome_scores_set_logo_label (GnomeScores *gs,
gchar *txt,
gchar *font,
GdkColor *color);
void gnome_scores_set_logo_pixmap (GnomeScores *gs,
gchar *logo);
void gnome_scores_set_logo_widget (GnomeScores *gs,
GtkWidget *w);
void gnome_scores_set_color (GnomeScores *gs,
guint pos,
GdkColor *col);
void gnome_scores_set_def_color (GnomeScores *gs,
GdkColor *col);
void gnome_scores_set_colors (GnomeScores *gs,
GdkColor *col);
void gnome_scores_set_logo_label_title
(GnomeScores *gs,
gchar *txt);
void gnome_scores_set_current_player (GnomeScores *gs,
gint i);
|
Object Hierarchy
GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkWindow
+----GnomeDialog
+----GnomeScores |
Description
This is a high-scores dialog box. The GNOME libraries also handle
loading/saving systemwide high scores in a secure way.
Details
gnome_scores_new ()
GtkWidget* gnome_scores_new (guint n_scores,
gchar **names,
gfloat *scores,
time_t *times,
guint clear); |
gnome_scores_set_logo_label ()
void gnome_scores_set_logo_label (GnomeScores *gs,
gchar *txt,
gchar *font,
GdkColor *color); |
gnome_scores_set_logo_pixmap ()
void gnome_scores_set_logo_pixmap (GnomeScores *gs,
gchar *logo); |
gnome_scores_set_logo_widget ()
void gnome_scores_set_logo_widget (GnomeScores *gs,
GtkWidget *w); |
gnome_scores_set_color ()
void gnome_scores_set_color (GnomeScores *gs,
guint pos,
GdkColor *col); |
gnome_scores_set_def_color ()
void gnome_scores_set_def_color (GnomeScores *gs,
GdkColor *col); |
gnome_scores_set_colors ()
void gnome_scores_set_colors (GnomeScores *gs,
GdkColor *col); |
gnome_scores_set_logo_label_title ()
void gnome_scores_set_logo_label_title
(GnomeScores *gs,
gchar *txt); |
gnome_scores_set_current_player ()
void gnome_scores_set_current_player (GnomeScores *gs,
gint i); |