Haikal Nashuha
Haikal Nashuha

Reputation: 3048

Glade + PyGTK Change Button Font Size

I am developing Ubuntu app using the Unity tools (PyGTK + Python). I can change label font-size with no problem, but I cannot find same thing for button. How can I change button font-size?

The purpose of this is, i am developing an on-screen keypad, so the numerical text needs to be bigger so that it is easier to be seen.

Upvotes: 1

Views: 2535

Answers (1)

ptomato
ptomato

Reputation: 57850

The button contains a label, which you can access with get_child() and related functions. You can change the label's font size using the normal method.

Upvotes: 1

Related Questions