Reputation: 13
I Would like to change the style of a button or menu entry by changing the font type. How con this be done cause there is no porperty on the GTK# widget for this like "Gtk.Button.Font"
Upvotes: 1
Views: 3863
Reputation: 476
Instead of button1.ModifyFont
, button1.Child.ModifyFont
worked in my case.
Upvotes: 0
Reputation: 58822
Use the ModifyFont method. As per the example on the linked page:
button1.ModifyFont(FontDescription.FromString("Courier 16"));
Upvotes: 2