LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-07-2004, 08:38 AM   #1
a10392
Member
 
Registered: Sep 2004
Posts: 30

Rep: Reputation: 15
python/glade attach window content in gtk.fixed()


HI,

I'am starting to program in glade/python.
What i want to do is.

I have 3 windows in glade. The fist one has a menu and a gtk.fixed window. when i select a option from the menu, the gtk.fixed() gets the content of the window 2 or 3.
I dont want to open a new window every time i select a item from the menu.

I'am using glade-2 and python2.2

to import glade file i use

import gtk.glade
grk.glade.XML(FILE.XML,'WINDOW')

Does anyone can send me some source example doing what i want ???

I think this is easy, but i a newbie.

Thanks in advance for your help
Regards
MM
 
Old 10-07-2004, 09:42 PM   #2
jfabiani
Member
 
Registered: Apr 2003
Location: Woodland, CA
Distribution: RH 8.0
Posts: 32

Rep: Reputation: 15
You might be better off using wxglade and upgrading your python to at least 2.3.
John
 
Old 10-08-2004, 06:20 AM   #3
a10392
Member
 
Registered: Sep 2004
Posts: 30

Original Poster
Rep: Reputation: 15
Do i realy have to change to wxglade and python 2.3,

it's not possible to do with glade-2 and python2.2 ???

I think what i want to do is simple, so this version should be able to do it.

Does anyone know how to do it.

Thanks
MM
 
Old 10-08-2004, 09:19 AM   #4
jfabiani
Member
 
Registered: Apr 2003
Location: Woodland, CA
Distribution: RH 8.0
Posts: 32

Rep: Reputation: 15
Well the Python issue is important IMO. The next version of Python 2.4 is out for review which will put you two versions behind for a new product. I don't know which distro you are on but it's easy to install for most.

Wxglade is just a lot easier to use. It produces python directly (wxpython code of course) and runs from the get go. Very easy but requires python 2.3 and wxpython so 2.2 wil not work.

I just think changing will make programming much easier.
John
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Distributing Python apps with Glade UI vharishankar Programming 0 11-27-2005 03:50 AM
attach terminal to gtk gui mtron Programming 3 06-28-2005 03:39 PM
Glade/python Show a window. a10392 Linux - Software 0 10-06-2004 10:10 AM
Glade / GTK 2.4 Kane635 Linux - Software 0 09-07-2004 07:53 PM
Help with GTK and Glade autogen gtkmike Programming 0 06-13-2004 04:21 PM


All times are GMT -5. The time now is 11:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration