[Glade-users] How to use libglade
- From: lichte ctcis net (Cletus Lichte)
- Subject: [Glade-users] How to use libglade
- Date: Tue, 6 May 2003 22:31:33 -0500
--mP3DRpeJDSE+ciuQ
Content-Type: text/plain; format=flowed; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hello all,
I've designed an interface with a GtkTreeView and a toolbar and a=20
dialog window for an about dialog. I saved the file and I'm using=20
Anjuta-HEAD to code in. Everything compiles and runs just fine but I=20
have 2 questions about programming with libglade.
1. How do I access the GtkTreeView in code? What I mean is, there are=20
only a couple lines of code to get the program to run when I use=20
libglade but there are no headings in the tree view and no way to set=20
them in the Glade interface builder. So how do I make changes to the=20
GtkTreeView? Do I have to change the XML file or is there way to=20
access widgets with code? As you can tell, this is my first time with=20
Glade and libglade so if someone can point me to a web page or a=20
project that uses libglade I'd appreciate it. Maybe I should just have=20
glade generate the code so that I can learn, but I keep reading that=20
the next version of glade will not have the code generation so I'm=20
trying to learn libglade. I've read everything that comes with glade=20
and libglade and Anjuta but I don't find anything beyond how to get a=20
libglade file to compile and run.
2. When I start the program, the dialog box *always* starts with the=20
program instead of only when I click the "About" button. When I cancel=20
the dialog and click on the "About" button, it works just fine but how=20
do I get it to not start up when I run the program?
Thanks for any pointers or files/web sites that anyone can direct me to.
--=20
/"\
\ / ASCII Ribbon Campaign
X * NO HTML/RTF in e-mail
/ \ * NO MSWord docs in e-mail | gpgkey: =20
http://www.ctcis.net/~lichte/lichte.asc
--mP3DRpeJDSE+ciuQ
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQA+uH4VM8JvBSyRBDQRAokjAJ9JHj+wDOgrX0qi5Be4JCk8vP8DsQCcCmKY
BaHT/VBqHHe5rLu+d/shT+c=
=JFvt
-----END PGP SIGNATURE-----
--mP3DRpeJDSE+ciuQ--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]