Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

TipWindow.cs

using Gtk;
using Gdk;

namespace FSpot {
      internal class TipWindow : Gtk.Window {
            public TipWindow () : base (Gtk.WindowType.Popup) 
            {
                  Name = "gtk-tooltips";
                  AppPaintable = true;
                  BorderWidth = 4;
            }

            protected override bool OnExposeEvent (Gdk.EventExpose args)
            {
                  Gtk.Style.PaintFlatBox (Style, GdkWindow, State, ShadowType.Out,
                                    args.Area, this, "tooltip", Allocation.X, Allocation.Y, 
                                    Allocation.Width, Allocation.Height);
                  
                  return base.OnExposeEvent (args);
            }
      }
}

Generated by  Doxygen 1.6.0   Back to index