vcsgui-0.1.3.0: GUI library for source code management systems

Safe HaskellNone
LanguageHaskell98

VCSGui.Common

Description

Common gui elements and functions are declared here. This module is not an exposed library, every vcs-main-module should reexport this module instead

Synopsis

Documentation

showErrorGUI Source

Arguments

:: Text

Message to display.

-> IO () 

Displays a simple window displaying given String as an error message.

showSetupConfigGUI Source

Arguments

:: Config

maybe a tuple (vcstype,config, mbmergetool), which will be used to fill out the form

-> Callback

callback, called when dialog is closed

-> IO () 

defaultVCSExceptionHandler :: IO t -> IO () Source

Wraps an IO computation to display an error message if a VCSException occurs.

data MergeTool Source

Representation of a mergetool, e.g. kdiff3

Constructors

MergeTool 

Fields

fullPath :: FilePath
 

type MergeToolSetter = MergeTool -> IO () Source

Fn to set a MergeTool.