Exemplo n.º 1
0
        public void Initialize(IPopoverBackend parentPopover, IAccessibleEventSink eventSink)
        {
            var   popoverBackend = (PopoverBackend)parentPopover;
            Popup popup          = popoverBackend.NativeWidget;

            Initialize(popup, eventSink);
        }
Exemplo n.º 2
0
 public Popover(WindowFrame parent, Widget child, Position arrowPosition)
 {
     this.arrowPosition = arrowPosition;
     backend = WidgetRegistry.CreateBackend<IPopoverBackend> (GetType ());
     backend.Init ((IWindowFrameBackend) WidgetRegistry.GetBackend (parent),
                   (IWidgetBackend) WidgetRegistry.GetBackend (child), arrowPosition);
     backend.Closed += (sender, e) => {
         if (Closed != null)
             Closed (this, EventArgs.Empty);
     };
 }
Exemplo n.º 3
0
 public void Initialize(IPopoverBackend parentPopover, IAccessibleEventSink eventSink)
 {
 }
Exemplo n.º 4
0
 public void Dispose()
 {
     if (backend != null) {
         backend.Dispose ();
         backend = null;
     }
 }
Exemplo n.º 5
0
 public void Initialize(IPopoverBackend parentPopover, IAccessibleEventSink eventSink)
 {
     // Not currently supported
 }