[Glade-users] Glade with python

Just an fyi, the latest stable version of Glade will be 3.6.7 (3.6.0
will probably
have some annoying bugs)... it will still require the same version of GTK+


On Sun, Nov 28, 2010 at 8:51 PM, Hamid <hamid.r1988 at gmail.com> wrote:
I'm using Debian and as you know its package is old,
glade3.6.0 required gtk+-2.0 >= 2.14.0, but installed version on my system
is 2.12.12.

Trying to use Backports maybe there is newer version of gtk+

Thank you for this good point (:

On Sun, Nov 28, 2010 at 7:37 AM, Tristan Van Berkom
<tristan.van.berkom at gmail.com> wrote:

On Sun, Nov 28, 2010 at 8:58 AM, Hamid <hamid.r1988 at gmail.com> wrote:
Finally solved my problem,
After searching the internet found a nice tutorial that advised use
GtkBuilder instead of LibGlade.

I convert .glade file with gtk-builder-convert and use from converted
and create the GUI with signal handling in simple solution (:

Please dont use the gtk-builder-convert script.

Glade runs a conversion on libglade files, just:

?- Load the libglade format file using Glade 3.6.x
?- Open project preferences dialog
?- Set file format
?- Save (or Save As...)

running the builder convert script runs the risk
that the file will no longer be usable with Glade.

? ? ? ? ? ? ?-Tristan

Here is that tutorial:

Attached my first script,
I'll be happy if tell me my mistakes.
and thank you from francesco for your help and attention (:

Best Regards.

On Sat, Nov 27, 2010 at 3:32 AM, Hamid <hamid.r1988 at gmail.com> wrote:

Sorry for further reply, but want to say something that my problem be

For my first application and experience with Glade, I want to create a
solely without any signal handling.
Just showing a GUI.

But my Glade design not showing and python scrupt hangup in gtk.main()
Whereas when I using a samne prebuilt Glade file, my script works well

On Sat, Nov 27, 2010 at 3:17 AM, Hamid <hamid.r1988 at gmail.com> wrote:

Thank you for your help Bill,
But I want to use Glade as GUI Builder and its XML file to create my
don't want to directly write code for GUI building.
When I use glade XML file, For example, likely I have not access to a
button's connect function to handle his signal.

And so, In this case how can I handling signals correctly ?

Tried to use "glc" for automated signal handling, but give me some

On Fri, Nov 26, 2010 at 6:31 AM, Bill O'Connor <billyoc at gmail.com>

Hamid <hamid.r1988 at gmail.com> writes:

evereything was good with glade, Then write a python script and
That tutorial script uses self.wTree.signal_autoconnect( dic ), which
a cheap way to get signal handling. ?Don't do that. ?Look at this
for an example of a signal handler and how to connect it.


My Public PGP Key: http://tinyurl.com/hamid-pgp

My Public PGP Key: http://tinyurl.com/hamid-pgp

My Public PGP Key: http://tinyurl.com/hamid-pgp

Glade-users maillist ?- ?Glade-users at lists.ximian.com

My Public PGP Key: http://tinyurl.com/hamid-pgp

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]