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