Re: [gnome-db] Question about gdaui-demo-5.0, how to extract just one demo and use it?
Vivien Malerba <[email protected]> Sat, 6 Feb 2016 15:58:07 +0100
| Newsgroups | gmane.comp.gnome.db |
|---|---|
| Message-ID | <CAEP1ZNk9VAuLwE-BMuKvbNX9xq=yOU01nbxw_BgMWvTwNc=d_A@mail.gmail.com> |
--===============8262531699402032780== Content-Type: multipart/alternative; boundary=001a11c3726a127567052b1b320c --001a11c3726a127567052b1b320c Content-Type: text/plain; charset=UTF-8 Hi! 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...) Regards, Vivien 2016-02-03 23:25 GMT+01:00 Chris Green <[email protected]>: > 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:- > > http://www.gnome-db.org/CodeExampleGrid > > 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 > [email protected] > https://mail.gnome.org/mailman/listinfo/gnome-db-list > --001a11c3726a127567052b1b320c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he= lvetica,sans-serif">Hi!<br><br></div><div class=3D"gmail_default" style=3D"= font-family:arial,helvetica,sans-serif">The code common to all the demos is= in the main() function of the libgda/libgda-ui/demos/main.c file.<br><br><= /div><div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans= -serif">Otherwise, the gda_execute_select_command() function has been repla= ced by gda_connection_execute_select_command(), so you can modify your test= code (I need to update the example in the Web site...)<br><br></div><div c= lass=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif">Reg= ards,<br></div><div class=3D"gmail_default" style=3D"font-family:arial,helv= etica,sans-serif">Vivien<br></div></div><div class=3D"gmail_extra"><br><div= class=3D"gmail_quote">2016-02-03 23:25 GMT+01:00 Chris Green <span dir=3D"= ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&g= t;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;= border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On Wed, Feb 0= 3, 2016 at 09:24:33PM +0000, Chris Green wrote:<br> > Having compiled the whole libgda suite the demo code in gdaui-demo-5.0= <br> > looks interesting.<br> ><br> > What extra code is needed in addition to the source code that is shown= <br> > in the Source tab?=C2=A0 In the Source tab for the read-write grid for= <br> > example there's just a single function called do_grid_rw().=C2=A0 = What<br> > 'outside' code is needed in addition?<br> ><br> </span>This old example shows what I need:-<br> <br> =C2=A0 =C2=A0 <a href=3D"http://www.gnome-db.org/CodeExampleGrid" rel=3D"no= referrer" target=3D"_blank">http://www.gnome-db.org/CodeExampleGrid</a><br> <br> However it uses a function that appears not to exist any more,<br> gda_execute_select_command().=C2=A0 How do I code this now in 5.x?<br> <div class=3D"HOEnZb"><div class=3D"h5"><br> --<br> Chris Green<br> _______________________________________________<br> gnome-db-list mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><br> <a href=3D"https://mail.gnome.org/mailman/listinfo/gnome-db-list" rel=3D"no= referrer" target=3D"_blank">https://mail.gnome.org/mailman/listinfo/gnome-d= b-list</a><br> </div></div></blockquote></div><br></div> --001a11c3726a127567052b1b320c-- --===============8262531699402032780== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gnome-db-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-db-list --===============8262531699402032780==--