示例#1
0
 public static void gtk_entry_set_placeholder_text(IntPtr entry, string text)
 {
     if (EtoEnvironment.Platform.IsLinux)
     {
         NMLinux.gtk_entry_set_placeholder_text(entry, text);
     }
     else if (EtoEnvironment.Platform.IsMac)
     {
         NMMac.gtk_entry_set_placeholder_text(entry, text);
     }
     else
     {
         NMWindows.gtk_entry_set_placeholder_text(entry, text);
     }
 }