[Gtk-sharp-list] Gnome.Scores
Ricardo Markiewicz
Ricardo Markiewicz <gazer.arg@gmail.com>
Wed, 22 Dec 2004 16:08:14 -0300
On Wed, 22 Dec 2004 13:41:22 -0500, Archit Baweja
<bighead@users.sourceforge.net> wrote:
> You can always take a look at the API docs for the C API, and figure it
> out from that. Gnome API have a very standard naming scheme, so there
> should be no problem.
>
> http://developer.gnome.org/doc/API/2.0/libgnomeui/GnomeScores.html
Well, i see the API, but can't figure how to use it .... i'm using
Gnome.Scores in this way :
int i = Gnome.Score.Init ("GPuzzle");
Dialog dlg = (Dialog)Gnome.Scores.DisplayWithPixmap (
"rain.png",
"GPuzzle",
"normal",
i);
but dlg is always null ... from monodoc and GTK C API doc :
DisplayWithPixmap : ""Does all the work of displaying the best scores.
It calls gnome_score_get_notables to retrieve the info, creates the
window, and show it.""
ideas ??
thanks!
Ricardo.