public static void Copy(Gtk.Widget widget) { MainClipboard.SetWithData(Targets, ClipboardGet, ClipboardClear); selection = widget != null?WidgetUtils.ExportWidget(widget) : null; }
public bool SupportsGtkVersion(string targetVersion) { return(WidgetUtils.CompareVersions(TargetGtkVersion, targetVersion) >= 0); }
public Placeholder() { undoId = WidgetUtils.GetUndoId(); DND.DestSet(this, true); Events |= Gdk.EventMask.ButtonPressMask; }