Re: Changing application font at runtime
- From: "मयंक जैन (makuchaku)" <mayank gnu gmail com>
- To: "Surya Kiran Gullapalli" <suryakiran gullapalli gmail com>
- Cc: gtk-list gnome org
- Subject: Re: Changing application font at runtime
- Date: Thu, 31 May 2007 11:36:32 +0530
On 5/31/07, Surya Kiran Gullapalli <suryakiran gullapalli gmail com> wrote:
Hello all,
I'm struggling to find out a way to change the application font at
runtime. By application font I mean,
the font of all the controls in the main window + font of any dialogs
it opens etc.
Hi Surya,
I'm not sure how you can ask the window to reload/re-paint all the
widgets - but this is how you can load different fonts into a widget -
http://www.makuchaku.info/blog/font-listing-using-pango
This was just a test code & there might be numerous other ways to do
this :) But i hope it will surely help you out.
Regards,
Makuchaku
http://www.makuchaku.info/blog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]