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