public static void SetRedrawOnFocusChildSet(Gtk.Container aContainer) { if (aContainer == null) { throw new Exception("Adding widget to null container"); } aContainer.FocusChildSet += delegate(object o, FocusChildSetArgs args) { aContainer.QueueDraw(); }; }
protected virtual void OnForceUpdateSizeRequest(Cell cell, Gtk.Container nativeCell) { nativeCell.HeightRequest = (int)cell.RenderHeight; nativeCell.QueueDraw(); }