[Glade-devel] Glade-3 in Mac Tiger
- From: donny.viszneki at gmail.com (Donny Viszneki)
- Subject: [Glade-devel] Glade-3 in Mac Tiger
- Date: Mon, 27 Jul 2009 02:02:48 -0400
glade files are not python source code files. open up agenda.glade in
your text editor and you will see that it is in fact an XML document.
if you have the proper libraries installed (perhaps someone who is
more experienced with gtk on mac can help you with getting the
libraries if you don't have them) then you can easily load a glade XML
GUI with the following python code:
import gtk, gtk.glade
mygui = gtk.glade.XML('agenda.glade')
gtk.main()
No event handlers will have been registered for your GUI, so when you
are ready, you can exit the program by pressing Control+C from your
terminal.
May I ask: are you using X11.app? I am not up to date on GTK on Mac
platform news, but the last time I checked, GTK on Mac could only be
accomplished via an X server running under Mac OS X.
On Mon, Jul 27, 2009 at 1:37 AM, nuvolare<nuvolare at email.it> wrote:
Hello, I'm starting to use Glade3 in my Mac Tiger, and I created a windows
for my application.
After I did it I saved it in to my desktop as agenda.glade.
Now I've to see how it is, and in the notes that I'm following is wrote to
write in Terminal
python agenda.glade.
But it's not showing anything, what I've to do?
And there are a note or book that I can follow?
Thank you, and hope in your help
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor:
Scegli Riccione Family Hotels per le vacanze con i tuoi bambini! Il meglio
dell?offerta per famiglie, il massimo confort,prezzi vantaggiosi.
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9364&d=27-7
_______________________________________________
Glade-devel maillist ?- ?Glade-devel at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel
--
http://codebad.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]