src/Builder4/PopoverFiles.vala
"\t_this.iconmodel.el.get_value(iter, 4, out val);",
"\t",
"\ttooltip.set_icon((Gdk.Pixbuf) val.get_object());",
- "",
+ "\tvar rect = Gdk.Rectangle() {",
+ "\t\tx : x,",
+ "\t\ty : y, ",
+ "\t\twidth : 184,",
+ "\t\theight: 184",
+ "\t};",
+ "\t",
+ "\ttooltip.set_tip_area(rect);",
"\treturn true;",
"}",
""
_this.iconmodel.el.get_value(iter, 4, out val);
tooltip.set_icon((Gdk.Pixbuf) val.get_object());
-
+ var rect = Gdk.Rectangle() {
+ x : x,
+ y : y,
+ width : 184,
+ height: 184
+ };
+
+ tooltip.set_tip_area(rect);
return true;
});
}