示例#1
0
        public void BuildContents()
        {
            var timer = Log.DebugTimerStart();

            Contents = new MediaPanelContents();
            Contents.ShowAll();
            Log.DebugTimerPrint(timer, "Media panel contents created: {0}");

            if (window_panel != null)
            {
                window_panel.Add(Contents);
                window_panel.Present();
            }
        }
示例#2
0
        public void BuildContents()
        {
            var timer = Log.DebugTimerStart();

            Contents = new MediaPanelContents();
            Contents.ShowAll();
            Log.DebugTimerPrint(timer, "Media panel contents created: {0}");

            if (window_panel != null)
            {
                window_panel.Add(Contents);
                window_panel.SetDefaultSize(1000, 500);
                window_panel.WindowPosition = WindowPosition.Center;
                window_panel.Show();
                GLib.Timeout.Add(1000, () => {
                    window_panel.Present();
                    return(false);
                });
            }
        }