Glade-3 in Mac Tiger

View: New views
6 Messages — Rating Filter:   Alert me  

Glade-3 in Mac Tiger

by nuvolare :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://lists.ximian.com/mailman/listinfo/glade-devel

Re: Glade-3 in Mac Tiger

by Donny Viszneki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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@...
> http://lists.ximian.com/mailman/listinfo/glade-devel
>
>



--
http://codebad.com/
_______________________________________________
Glade-devel maillist  -  Glade-devel@...
http://lists.ximian.com/mailman/listinfo/glade-devel

Re: Glade-3 in Mac Tiger

by nuvolare :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?



Il giorno 27/lug/09, alle ore 08:02, Donny Viszneki ha scritto:

> 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@...> 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@...
>> 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-devel@...
http://lists.ximian.com/mailman/listinfo/glade-devel

Re: Glade-3 in Mac Tiger

by Tristan Van Berkom-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jul 27, 2009 at 2:02 AM, Donny Viszneki<donny.viszneki@...> wrote:
> 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'.


> 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-devel@...
http://lists.ximian.com/mailman/listinfo/glade-devel

Re: Glade-3 in Mac Tiger

by Tristan Van Berkom-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jul 27, 2009 at 2:12 AM, nuvolare<nuvolare@...> wrote:
> 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-devel@...
http://lists.ximian.com/mailman/listinfo/glade-devel

Re: Glade-3 in Mac Tiger

by Donny Viszneki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jul 27, 2009 at 2:15 AM, Tristan Van
Berkom<tristan.van.berkom@...> wrote:
> 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-devel@...
http://lists.ximian.com/mailman/listinfo/glade-devel