void OnDataViewRemoved(object o, RemovedArgs args) { DataView dv = ((DataViewDisplay)args.Widget).View; dv.Buffer.Changed -= new ByteBuffer.ChangedHandler(OnBufferContentsChanged); dv.BufferChanged -= new DataView.DataViewEventHandler(OnBufferChanged); }
private void OnFrameWidgetRemoved(object o, RemovedArgs args) { if (adjustable != null && adjustable == args.Widget) { Hadjustment = null; Vadjustment = null; adjustable = null; } }
void HandleRemoved(object o, RemovedArgs args) { Gtk.Widget w = args.Widget; w.ButtonPressEvent -= OnTabPress; if (currentTab >= box.Children.Length) { currentTab = box.Children.Length - 1; } }
void HandleRemoved(object o, RemovedArgs args) { var w = (DockItemTitleTab)args.Widget; w.TabPressed -= OnTabPress; if (currentTab >= box.Children.Length) { currentTab = box.Children.Length - 1; } UpdateAccessibilityTabs(); }
void Window_Removed(object o, RemovedArgs args) { Console.WriteLine("GtkProgram.Window_Removed()"); Application.Quit(); //throw new NotImplementedException(); }
void HandleRemoved(object o, RemovedArgs args) { UntrackLeaveEvent(args.Widget); }
void OnDataViewRemoved(object o, RemovedArgs args) { DataViewDisplay dvd = (DataViewDisplay)args.Widget; dvd.Layout.AreaGroup.PreRenderEvent -= new AreaGroup.PreRenderHandler(BeforeRender); }
/// <summary> /// Handles the deletion of a sibling. /// </summary> private void OnContainerRemoved(object sender, RemovedArgs args) { CheckPosition(); }
protected void AfterClicked(object o, RemovedArgs args) { throw new NotImplementedException(); }