コード例 #1
0
ファイル: DockPanel.cs プロジェクト: mfcallahan/Pinta
            public DockPanelItem(DockItem item)
            {
                Item         = item;
                Pane         = new Paned(Orientation.Vertical);
                ReopenButton = new Button(new Label(item.Label)
                {
                    Angle = 270
                });

                popover          = new Popover(ReopenButton);
                popover.Position = PositionType.Left;

                ReopenButton.Clicked += (o, args) => {
                    popover.ShowAll();
                    popover.Popup();
                };
            }
コード例 #2
0
 private void PacketFilter_Activated(object sender, EventArgs e)
 {
     _popoverPacketFilter.Popup();
 }