Exemplo n.º 1
0
        public MainWindow() : base(Gtk.WindowType.Toplevel)
        {
            Logging.AddWatcher(LoggingEventHandler);
            this.DeleteEvent += OnDeleteEvent;

            // Graphical setup
            Build();
            // Remove the page inital page imposed by the RAD
            buses_Nb.RemovePage(0);
            // Fake the action to create a nicely formated new page
            OnNewTabActionActivated(this, EventArgs.Empty);

            // Spinner
            spinner = new ImageAnimation(
                Gdk.Pixbuf.LoadFromResource("DBusExplorer.data.process-working.png"),
                40, 32, 32, 32);
            spinner.Active = false;
            spinnerAlign.Add(spinner);
            spinnerBox.HideAll();
        }
Exemplo n.º 2
0
        public MainWindow()
            : base(Gtk.WindowType.Toplevel)
        {
            Logging.AddWatcher (LoggingEventHandler);
            this.DeleteEvent += OnDeleteEvent;

            // Graphical setup
            Build ();
            // Remove the page inital page imposed by the RAD
            buses_Nb.RemovePage (0);
            // Fake the action to create a nicely formated new page
            OnNewTabActionActivated (this, EventArgs.Empty);

            // Spinner
            spinner = new ImageAnimation (
                Gdk.Pixbuf.LoadFromResource("DBusExplorer.data.process-working.png"),
                40, 32, 32, 32);
            spinner.Active = false;
            spinnerAlign.Add (spinner);
            spinnerBox.HideAll ();
        }