vcsgui-0.0.4: GUI library for source code management systems

Safe HaskellNone

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

showErrorGUISource

Arguments

:: String

Message to display.

-> IO () 

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

showSetupConfigGUISource

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.