void CreateFontWidget() { var font = new Button(Stock.SelectFont); font.Clicked += delegate { var fs = new FontSelectionDialog(_("Select Font")); fs.Run(); fs.Hide(); }; AttachAligned(0, 2, _("Font:"), 0.0, 0.5, font, 1, true); }
void CreateFontWidget() { var font = new Button(Stock.SelectFont); font.Clicked += delegate { var fs = new FontSelectionDialog(_("Select Font")); fs.Run(); fs.Hide(); }; AttachAligned(0, 2, _("Font:"), 0.0, 0.5, font, 1, true); }