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