Re: [gnome-db] tutorial for using libgnomedb widgets in gtk# ?
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: Marius Andreiana <mandreiana rdslink ro>
- Cc: gnome-db <gnome-db-list gnome org>
- Subject: Re: [gnome-db] tutorial for using libgnomedb widgets in gtk# ?
- Date: Sun, 23 Nov 2003 17:31:34 +0100
On Wed, 2003-11-19 at 01:38, Marius Andreiana wrote:
> On Ma, 2003-11-18 at 14:08, Rodrigo Moya wrote:
> > no, apart from the little source code there is in GTK# sources, and the
> > libgnomedb C API documentation. But using this documentation should be
> > enough for you to understand, since the C# API works the same way. You
> > might even want to look at some C sample code using that lib.
> >
> > And also, please ask here any question you've got.
> Thanks. Looked on them but no success.
> Here are some questions:
>
> adding "using GnomeDb" to glade example gives on compile
> gnome-db.cs(27) error CS0104: `Application' is an ambiguous reference
> (Gtk.Application or GnomeDb.Application)
>
right, you'll have to use the namespace in that case.
> indeed, in gtk# source it defines that class. How make them work
> together?
>
Use Gtk.Application or GnomeDb.Application.
> I've made a glade file with gnome-db widgets, how to access them? I've
> tried adding gnomedb widgets (like in galde example with Button1), but
> they aren't recognized (GnomeDbLoginDialog).
>
hmm, are you setting the project gnome-db support on?
> Also tried code from mergeant like this:
> Widget props; //this seems to be equivalent of GtkWidget props;
> props = new GnomeDbLoginDialog( "Connection's configuration" );
>
this looks ok, what's wrong with it?
cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]