[Gtk-sharp-list] chaning FONT of Gtk.RadioButton

True Friend true.friend2004 at gmail.com
Thu Sep 18 23:32:03 EDT 2008


Is there any method to inherit settings from parent widget as to inherit
from MainWindow Font, Direction, BG Color etc.?

On Fri, Sep 19, 2008 at 8:16 AM, True Friend <true.friend2004 at gmail.com>wrote:

> Hi
> I am trying to change font of gtk.radiobutton as follows
> this.radiobutton3.ModifyFont(Pango.FontDescription.FromString("Urdu_Emad_Nastaliq
> 14"));
> But it DOES NOT change. Same is working for gtk.label, gtk.entry,
> gtk.textview. I am putting this code in MainWindows Constructor under
> Build();
> Any ideas to do this thing? I've tired to change the label text of same
> radiobutton which works but not the FONT :(
> Regards
> --
> Muhammad Shakir Aziz محمد شاکر عزیز
>
>


-- 
Muhammad Shakir Aziz محمد شاکر عزیز
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20080919/3a942d7e/attachment.html 


More information about the Gtk-sharp-list mailing list