Discussion:
Glade-3 in Mac Tiger
nuvolare
2009-07-27 05:37:15 UTC
Permalink
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
Donny Viszneki
2009-07-27 06:02:48 UTC
Permalink
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.
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
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
_______________________________________________
http://lists.ximian.com/mailman/listinfo/glade-devel
--
http://codebad.com/
_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel
nuvolare
2009-07-27 06:12:26 UTC
Permalink
Yes, I'm using X11 application, but I din't understand what I've to
do...
Sorry, but since now every one told me that was easy to use glade on
mac and now I've to make a windows and I cant do?
Post by Donny Viszneki
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
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.
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
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
_______________________________________________
http://lists.ximian.com/mailman/listinfo/glade-devel
--
http://codebad.com/
--
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 Turismo per le tue vacanze al mare, lo specialista delle vacanze per famiglie, biker, giovani, coppie, clienti d’affari
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid“56&d'-7
_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel
Tristan Van Berkom
2009-07-27 06:21:55 UTC
Permalink
Post by nuvolare
Yes, I'm using X11 application, but I din't understand what I've to
do...
Sorry, but since now every one told me that was easy to use glade on
mac and now I've to make a windows and I cant do?
If you are just using python and Glade, things should be pretty easy -
delivering a GTK+ build bundled up with your app on windows or osx might
turn out to be one of the harder parts of writing your app.

But dont think of that for now, just follow the link from my previous mail
to get pygtk installed on your mac using a nice fresh quartz backend for GTK+,
it is quite easy and builds fast on the mac (on windows its a matter
of installing
MSYS/MinGW, not so hard but probably easier on the mac).

Cheers,
-Tristan
_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel
Tristan Van Berkom
2009-07-27 06:15:00 UTC
Permalink
Post by Donny Viszneki
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)
This is the new home of GTK+ on OSX development fyi:
http://gtk-osx.sourceforge.net/

You can find there the jhbuild instructions that should take
a long time to complete but should do so with little or no interaction,
after that just 'jhbuild build pygtk', and you will be able to run python
scripts within your sandbox by executing 'jhbuild shell'.
Post by Donny Viszneki
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.
The quartz GTK+ backend works quite well overall, lacks native file chooser
and I guess maybe a few bugs that might bite you depending on what you
want to do... but I get gstreamer in GTK+ on OSX without X11 no problem ;-)

Cheers,
-Tristan
_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel
Donny Viszneki
2009-07-27 08:10:59 UTC
Permalink
On Mon, Jul 27, 2009 at 2:15 AM, Tristan Van
Post by Tristan Van Berkom
The quartz GTK+ backend works quite well overall, lacks native file chooser
and I guess maybe a few bugs that might bite you depending on what you
want to do... but I get gstreamer in GTK+ on OSX without X11 no problem ;-)
Ah, I should have realized this when I noticed the gstreamer elements for osx!
--
http://codebad.com/
_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel
Loading...