Пример #1
0
        public CustomMacPanedHandle(Gtk.Paned parent) : base(parent)
        {
            VisibleWindow = false;
            HPanedThin.InitStyle(parent, 1);
            horizontal = parent is HPanedThin;

            handle = new MacPanedHandleView(parent);
            host   = new Gtk.GtkNSViewHost(handle, NSWindowOrderingMode.Above);

            GrabAreaSize = HandleGrabWidth;

            Add(host);
            host.Show();
        }
Пример #2
0
 protected override void OnDestroyed()
 {
     host   = null;
     handle = null;
     base.OnDestroyed();
 }