473,594 Members | 2,678 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3045
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
4298
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): ------------------------- #!/usr/bin/python
1
1592
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: http://www.linuxjournal.com/article.php?sid=6586 Based on what was written, I tried this and had no joy: ###################################### import gtk import gtk.glade class BadGui:
2
1441
by: John Doe | last post by:
Hi, does anyone have a website that covers gtk.glade? Thanks in advance. Dan
5
2611
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 rapidly as ppls used to work on win32 platform with VB. http://www40.brinkster.com/s4somesh/glade/index.html somesh
6
2887
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 so may be missing something fundamental. Thanks, Doug
0
1776
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, these DO give me the following (verified): /usr/lib/python2.3/site-packages/pygtk.pth /usr/lib/python2.3/site-packages/gtk-2.0 /usr/lib/python2.3/site-packages/gtk-2.0/gtk
1
1478
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 given window. The glade file is like <?xml version="1.0" standalone="no"?<!--*- mode: xml -*-->
4
2360
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 english :) -- entérate http://www.subestacionpatraixfuera.com --
5
2379
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: def __init__(self):
0
7941
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7874
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8368
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
5738
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5404
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3854
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3895
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2383
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1205
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.