473,403 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

glade

Does there exist any python plug-in (or something like that) for Glade
2.0.1. win32 port? I cant find any or links are unavailable.
Thanks
Pavel
Jul 18 '05 #1
8 3033
p.kosina wrote:
Does there exist any python plug-in (or something like that) for Glade
2.0.1. win32 port? I cant find any or links are unavailable.
Thanks
Pavel

PyGTK for Windows includes libglade support
http://www.pcpm.ucl.ac.be/~gustin/win32_ports/
There is a nice all-in-one installer for windows (includes GTK+, Glade,
Docs, etc) which works well with the Windows PyGTK port
Jul 18 '05 #2
Poissonnier Julien wrote:
p.kosina wrote:
Does there exist any python plug-in (or something like that) for Glade
2.0.1. win32 port? I cant find any or links are unavailable.
Thanks
Pavel


PyGTK for Windows includes libglade support
http://www.pcpm.ucl.ac.be/~gustin/win32_ports/
There is a nice all-in-one installer for windows (includes GTK+, Glade,
Docs, etc) which works well with the Windows PyGTK port

I forgot the link to the all-in-one installer:
http://gladewin32.sourceforge.net/
Jul 18 '05 #3
I have installed all of it but I can not find anything how to translate
*.glade to python scripts. I do not need it urgently just interested.
I have found glc.py which makes some errors...
In fact I do not know how to handle libglade.
Probably some tutorial would help.
I use py2.3 under win2k.
Thanks
Pavel

Poissonnier Julien napsal(a):
Poissonnier Julien wrote:
p.kosina wrote:
Does there exist any python plug-in (or something like that) for
Glade 2.0.1. win32 port? I cant find any or links are unavailable.
Thanks
Pavel

PyGTK for Windows includes libglade support
http://www.pcpm.ucl.ac.be/~gustin/win32_ports/
There is a nice all-in-one installer for windows (includes GTK+,
Glade, Docs, etc) which works well with the Windows PyGTK port


I forgot the link to the all-in-one installer:
http://gladewin32.sourceforge.net/

Jul 18 '05 #4
P
p.kosina wrote:
I have installed all of it but I can not find anything how to translate
*.glade to python scripts. I do not need it urgently just interested.
I have found glc.py which makes some errors...
In fact I do not know how to handle libglade.
Probably some tutorial would help.
I use py2.3 under win2k.


I've never done it under windows but I do know it works.
Essentially you tell libglade to load the glade file.
This will render the GUI for you and attach the signal
handlers (python functions).

I've a simple tutorial (only tested on linux) here:
http://www.pixelbeat.org/talks/pygtk/

Pádraig.
Jul 18 '05 #5
p.kosina wrote:
I have installed all of it but I can not find anything how to translate
*.glade to python scripts. I do not need it urgently just interested.
I have found glc.py which makes some errors...
In fact I do not know how to handle libglade.
Probably some tutorial would help.
I use py2.3 under win2k.
Thanks
Pavel


The easiest way is to leave your GUI description as a glade file and use
libglade to load it at runtime.
A nice libglade tutorial can be found at
http://www.linuxjournal.com/article.php?sid=6586
Jul 18 '05 #6
import pygtk - OK
pygtk.require("2.0") - OK
import gtk -OK
import gtk.glade - ERROR something wrong with dll. And - there exist
glade.pyd in gtk directory! I caan not check wht for modules tries to
import this one, cause it is not text file. Problem is perhaps somewhere
in libglade.dll or libglade-2.0.0.dll. I try to copy this file in each
directory but import libglade makes error each time.
Thank you for any idea
Pavel


Poissonnier Julien napsal(a):
p.kosina wrote:
I have installed all of it but I can not find anything how to
translate *.glade to python scripts. I do not need it urgently just
interested.
I have found glc.py which makes some errors...
In fact I do not know how to handle libglade.
Probably some tutorial would help.
I use py2.3 under win2k.
Thanks
Pavel


The easiest way is to leave your GUI description as a glade file and use
libglade to load it at runtime.
A nice libglade tutorial can be found at
http://www.linuxjournal.com/article.php?sid=6586

Jul 18 '05 #7
It could be a problem with DLLs from a previous GTK version:
http://mec-symonds.eng.monash.edu.au...qara/Gtk4Win32

p.kosina wrote:
import pygtk - OK
pygtk.require("2.0") - OK
import gtk -OK
import gtk.glade - ERROR something wrong with dll. And - there exist
glade.pyd in gtk directory! I caan not check wht for modules tries to
import this one, cause it is not text file. Problem is perhaps somewhere
in libglade.dll or libglade-2.0.0.dll. I try to copy this file in each
directory but import libglade makes error each time.
Thank you for any idea
Pavel

Jul 18 '05 #8
I execute first three steps + copy libglade-2.0.0.dll to GTK/2.0/bin
and everything works now fine.
Thank you
Pavel
Poissonnier Julien napsal(a):
It could be a problem with DLLs from a previous GTK version:
http://mec-symonds.eng.monash.edu.au...qara/Gtk4Win32

Jul 18 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Hans Deragon | last post by:
Greetings. Total newbie to Glade here. I created an interface using glade-2 and I want to use it with my python program. Following is what I wrote (test prg): -------------------------...
1
by: Will Ware | last post by:
In July there was a thread about problems on Red Hat 9 with PyGTK not playing nice with Glade. I was tinkering with this a little bit tonight, starting with the code I found in this article:...
2
by: John Doe | last post by:
Hi, does anyone have a website that covers gtk.glade? Thanks in advance. Dan
5
by: somesh | last post by:
hello, I wrote a small tute for my brother to teach him python + glade, plz see, and suggest to make it more professional , In tute I discussed on Glade + Python for developing Applications too...
6
by: Doug | last post by:
Hi all, Can someone tell me why I do not get a connection between the events and the functions in the sample below. GUI window appears OK, just no connections seem to be made. I am new to this...
0
by: Terry Hancock | last post by:
I've run into something a little odd on my Debian-installed Python 2.3. I have deb packages "python2.3", "python-gtk2", and "python2.3-glade2" installed on this machine. Among other things,...
1
by: ralfbrand50 | last post by:
Hello, I've got the following problem: I've got a Userinterface that is made in Glade, so i've got a ..glade file. What I want is to get the id's of every widget from the class GtkEntry from a...
4
by: feo | last post by:
Hi, i'm interesting in use glade in windows. Could somebody help me? i've installed but i don't know how obtain an .exe, in linux its easy, but in windows i don't know. thanks and sorry for my...
5
by: Kveldulv | last post by:
I made simple GUI in Glade 3 (Ubuntu 7.04) consisting of only 2 buttons. When I run 2buttonsgui.py, no GUI pops out #!/usr/bin/env python import pygtk import gtk.glade class TwoButtonsGUI:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.