예제 #1
0
 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();
     };
 }
예제 #2
0
 protected virtual void OnForceUpdateSizeRequest(Cell cell, Gtk.Container nativeCell)
 {
     nativeCell.HeightRequest = (int)cell.RenderHeight;
     nativeCell.QueueDraw();
 }