Re: Connecting by data source?



Brian Jepson wrote:

> On Thu, 3 Feb 2000, Brian Jepson wrote:
>
> [...]
>
> > How can I refer to it in a program like rolodex that doesn't use the login
> > widget (or in a command-line program that doesn't use any widgets at all)?
>
> Sorry to have troubled you all with this problem - I'm rethinking my
> examples in such a way that I'll use the login dialog from the beginning,
> since I think it will make it easier for readers.  I wanted to avoid the
> popt struct to simplify the program, and I've managed to get a simple
> example that uses the login widget, the login dialog, and the error dialog
> to create a connection that I can then use in a little program. It's based
> on the fe program and the gda-ui-test2.c program (I've appended my example
> after my .signature).
>
> Anyhow, great work on GNOME-DB.  As I explore it further, I'm finding that
> it's very easy to use, and very well-designed. I've managed to create a

> sample program that uses libglade + a custom widget (which happens to be a
> GNOME DB combo box)!  I'll be merging this with the example program shown
> below, and I think it will be pretty cool (you can add this example to the
> gnome-db distribution if you think it is worthwhile).

Great! Specially since the programs in the testing directory are somewhat
out-of-date. You should better base your examples in the fe application, which
is the most complete (and up-to-date) sample code.

I'll answer to the questions in the code shortly.

And all the work you get done with gnome-db+libglade will be very useful for
the gda-builder app, which will use libglade. So please keep us informed on
this.

Cheers



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]