Emveepee.Widgets.StartPage.Paint C# (CSharp) Method

Paint() private method

private Paint ( Gdk ev ) : void
ev Gdk
return void
        void Paint(Gdk.EventExpose ev)
        {
            Gtk.Style.PaintBox (Style, GdkWindow, Gtk.StateType.Normal, Gtk.ShadowType.In, ev.Area, this, null, 0, 0, Allocation.Width, Allocation.Height);
            foreach (Item item in items)
                if (item.Bounds.IntersectsWith (ev.Area))
                    item.Draw (ev.Area);
        }