示例#1
0
            public static void Init(Gtk.Widget w, Gdk.Pixbuf image, double hotX, double hotY)
            {
                IconInitializer ii = new WidgetBackend.IconInitializer();

                ii.Image     = image;
                ii.HotX      = hotX;
                ii.HotY      = hotY;
                ii.Widget    = w;
                w.DragBegin += ii.Begin;
            }
示例#2
0
 public static void Init(Gtk.Widget w, Gdk.Pixbuf image, double hotX, double hotY)
 {
     IconInitializer ii = new WidgetBackend.IconInitializer ();
     ii.Image = image;
     ii.HotX = hotX;
     ii.HotY = hotY;
     ii.Widget = w;
     w.DragBegin += ii.Begin;
 }