a sample use iup as gui and hive backend