Esempio n. 1
0
    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;
     }
 }
Esempio n. 3
0
 void HandleRemoved(object o, RemovedArgs args)
 {
     Gtk.Widget w = args.Widget;
     w.ButtonPressEvent -= OnTabPress;
     if (currentTab >= box.Children.Length)
     {
         currentTab = box.Children.Length - 1;
     }
 }
Esempio n. 4
0
        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();
        }
Esempio n. 5
0
 void Window_Removed(object o, RemovedArgs args)
 {
     Console.WriteLine("GtkProgram.Window_Removed()");
     Application.Quit();
     //throw new NotImplementedException();
 }
Esempio n. 6
0
 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();
 }
Esempio n. 9
0
 protected void AfterClicked(object o, RemovedArgs args)
 {
     throw new NotImplementedException();
 }