Re: Best way to work with gtkmm.
- From: Bob Caryl <bob fis-cal com>
- To: "John C. Spray" <spray lyx org>
- Cc: gtkmm-list gnome org
- Subject: Re: Best way to work with gtkmm.
- Date: Mon, 06 Mar 2006 08:25:46 -0600
John C. Spray wrote:
<snip>
Basically, code generation has only two advantages:
* No libglade installation required
* Don't need to find .glade file at runtime (but you need to find
other files, right, so what's the problem?)
Actually, because I wrote a utility to convert the .glade file to an
include file and use it with:
Gnome::Glade::Xml::create_from_buffer()
the only "advantage" I see for code generation is the first bullet point
above. I would also note that I have created some pretty complex
applications that use this method and I have not experienced any
problems with it whatsoever (knocks on wood). I put a conditional
compile in my code so that, during development of the GUI, the
application it loads the .glade file. Once the application development
is finished, it is compiled with the .glade file as part of the
executable and voila! No problems trying to find a .glade file to load
at run time.
Bob Caryl
begin:vcard
fn:Robert Caryl
n:Caryl;Robert
org:Fiscal Systems, Inc.
adr:;;102 Commerce Circle;Madison;AL;35758;USA
email;internet:bob fis-cal com
title:Senior Software Design Engineer
tel;work:356-772-8920 X108
x-mozilla-html:TRUE
url:http://www.fis-cal.com
version:2.1
end:vcard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]