Ask Your Question
1

How do I use glade2 with python on Fedora 21?

asked 2015-04-12 15:43:49 -0500

updated 2015-04-12 16:13:50 -0500

I'm practicing GUI development and have found a tutorial using "python-glade2"(a debian package), how can I install this on my Fedora 21?

I know its possible per this package index(glade2).

Excerpt:

Description

The glade2 package contains a legacy version of Glade for GTK+ 2.x. Do not use it for new projects, use glade (for GTK+ 3.x) or glade3 (for GTK+ 2.x) instead. Glade is a free user interface builder for GTK+ and the GNOME GUI desktop. Glade can produce C source code. Support for C++, Ada95, Python, and Perl is also available, via external tools which process the XML interface description files output by GLADE.

edit retag flag offensive close merge delete

Comments

Is there any issues if you use Glade3 instead of Glade2? Or it is a necessity?

potty gravatar imagepotty ( 2015-04-12 23:23:02 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2015-04-13 01:10:21 -0500

skytux gravatar image

updated 2015-04-13 01:11:01 -0500

As stated in the description that you cited, glade2 or glade3 packages are for developing with GTK+ 2.x libraries, but you probably want to develop with GTK+ 3.x, so you should install glade:

$ sudo yum install glade

If you want to use GTK+ 2.x, then:

$ sudo yum install glade3

HTH,

Germán.

edit flag offensive delete link more

Comments

@skytux thanks for the answer. I'm trying to use python for this, is python supported in glade?

somethingSomething gravatar imagesomethingSomething ( 2015-04-13 07:04:25 -0500 )edit
1
skytux gravatar imageskytux ( 2015-04-13 08:28:59 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-04-12 15:43:49 -0500

Seen: 2,442 times

Last updated: Apr 13 '15