国产chinesehdxxxx野外,国产av无码专区亚洲av琪琪,播放男人添女人下边视频,成人国产精品一区二区免费看,chinese丰满人妻videos

Clojure Desktop See-saw

2018-12-29 17:32 更新

See-saw是一個可用于創(chuàng)建桌面應用程序的庫。 為了使用See-saw,首先從以下github鏈接下載.clj文件 https://github.com/daveray/seesaw

然后創(chuàng)建一個示例桌面應用程序。 下面是相同的代碼。

(ns web.core
   (:gen-class)
   (:require [seesaw.core :as seesaw]))
(def window (seesaw/frame
   :title "First Example"
   :content "hello world"
   :width 200
   :height 50))
(defn -main
   [& args]
   (seesaw/show! window))

當上面的代碼運行時,你會得到以下窗口。

Hello World

  • 首先,您需要確保使用seesaw.core庫,以便可以使用所有可用的方法。

  • 幀和內容的屬性可用于定義標題和需要在窗口中顯示的內容。

  • 最后,“show!”函數(shù)用于顯示窗口。

以上內容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號