Ejemplo n.º 1
0
        public AboutWindow()
            : base(Gtk.WindowType.Toplevel)
        {
            this.Build();

            // nonclient window border width
            uint borderWidth = 4;
            this.eventboxClient.BorderWidth = borderWidth;
            // init resizing hepler with gtk window and border widget
            _sizingHelper = new GuiWidgets.SizingHelper(this, this.eventboxNonClient, false, borderWidth);
            // Uncheck in window property or in code directly
            this.Decorated = false;

            this.DeleteEvent += HandleDeleteEvent;
        }
Ejemplo n.º 2
0
        public AboutWindow() :
            base(Gtk.WindowType.Toplevel)
        {
            this.Build();

            // nonclient window border width
            uint borderWidth = 4;

            this.eventboxClient.BorderWidth = borderWidth;
            // init resizing hepler with gtk window and border widget
            _sizingHelper = new GuiWidgets.SizingHelper(this, this.eventboxNonClient, false, borderWidth);
            // Uncheck in window property or in code directly
            this.Decorated = false;

            this.DeleteEvent += HandleDeleteEvent;
        }