944,172 Members | Top Members by Rank

Ad:
  • Python Discussion Thread
  • Unsolved
  • Views: 3669
  • Python RSS
Nov 6th, 2005
0

Some questions about pyGtk, glade and Gnome

Expand Post »
hello everybody,

I've started to learn pyGTK and glade for a program i'm doing,
and i've run into some problems:

1. Is there no way to change the size of a specific text when using glade? for example, a window title, a label text etc.

2. In the Gnome widgets, when choosing to use a druid, how can you configure the buttons of the wizard? (forward, back, cancel, help) and is there a possible way to change their title and add more buttons?

Tough questions... :rolleyes:
simple answers?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Avner .H. is offline Offline
18 posts
since Aug 2005
Nov 7th, 2005
0

Re: Some questions about pyGtk, glade and Gnome

Using Dev-C++ or Python with Windows, I found GTK one of the more frustrating GUI libraries, but it may work better under Linux. Just my limited opinion.
Moderator
Reputation Points: 1333
Solved Threads: 1404
DaniWeb's Hypocrite
vegaseat is offline Offline
5,792 posts
since Oct 2004
May 4th, 2006
0

Re: Some questions about pyGtk, glade and Gnome

Quote originally posted by Avner .H. ...
hello everybody,

I've started to learn pyGTK and glade for a program i'm doing,
and i've run into some problems:

1. Is there no way to change the size of a specific text when using glade? for example, a window title, a label text etc.
The only way I've found to change the text size, is using the set_markup attribute of the label widget.
But you must first enable the markup usage in the label widget properties window in glade.

Check the gtk widgets documentation and look inside the label widget so you see all the methods it has.

GUI.LabelWidget.set_markup('<big><big><big>INSERT YOUR BIG TEXT HERE</big></big></big>')

I hope its not too late hehe. Good luck!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
JoeM is offline Offline
2 posts
since May 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Python Forum Timeline: Problems downloading Python
Next Thread in Python Forum Timeline: variable sharing between different files





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC