clac-gtk

Maintainerhasufell@posteo.de
Safe HaskellNone

Main

Description

This module sets up the GTK UI for clac.

Synopsis

Documentation

gladeFile :: FilePathSource

The glade file to load the UI from.

makeGUI :: IO ()Source

Main entry point for the GTK GUI routines.

calcGUI :: Entry -> Entry -> IO ()Source

Calculate given on the current input field and set the output field.

updateInputEntry :: Entry -> String -> IO ()Source

Update the input entry with the given string. Used if one of the buttons (such as '3' or +, etc.) are clicked.

clearEntry :: Entry -> IO ()Source

Clear a given entry widget completely.