Re: [gnome-db] Question about gdaui-demo-5.0, how to extract just one demo and use it?


The code common to all the demos is in the main() function of the libgda/libgda-ui/demos/main.c file.

Otherwise, the gda_execute_select_command() function has been replaced by gda_connection_execute_select_command(), so you can modify your test code (I need to update the example in the Web site...)


2016-02-03 23:25 GMT+01:00 Chris Green <cl isbd net>:
On Wed, Feb 03, 2016 at 09:24:33PM +0000, Chris Green wrote:
> Having compiled the whole libgda suite the demo code in gdaui-demo-5.0
> looks interesting.
> What extra code is needed in addition to the source code that is shown
> in the Source tab?  In the Source tab for the read-write grid for
> example there's just a single function called do_grid_rw().  What
> 'outside' code is needed in addition?
This old example shows what I need:-

However it uses a function that appears not to exist any more,
gda_execute_select_command().  How do I code this now in 5.x?

Chris Green
gnome-db-list mailing list
gnome-db-list gnome org

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