954,180 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Some questions about pyGtk, glade and Gnome

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?

Avner .H.
Newbie Poster
18 posts since Aug 2005
Reputation Points: 10
Solved Threads: 0
 

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.

vegaseat
DaniWeb's Hypocrite
Moderator
5,976 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,416
 

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('INSERT YOUR BIG TEXT HERE')

I hope its not too late hehe. Good luck!

JoeM
Newbie Poster
2 posts since May 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You