gi-gtksource-3.0.13: GtkSource bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GtkSource.Interfaces.UndoManager

Contents

Description

 

Synopsis

Exported types

Methods

beginNotUndoableAction

undoManagerBeginNotUndoableAction Source #

Arguments

:: (HasCallStack, MonadIO m, IsUndoManager a) 
=> a

manager: a UndoManager.

-> m () 

Begin a not undoable action on the buffer. All changes between this call and the call to undoManagerEndNotUndoableAction cannot be undone. This function should be re-entrant.

Since: 2.10

canRedo

undoManagerCanRedo Source #

Arguments

:: (HasCallStack, MonadIO m, IsUndoManager a) 
=> a

manager: a UndoManager.

-> m Bool

Returns: True if there are redo operations available, False otherwise

Get whether there are redo operations available.

Since: 2.10

canRedoChanged

undoManagerCanRedoChanged Source #

Arguments

:: (HasCallStack, MonadIO m, IsUndoManager a) 
=> a

manager: a UndoManager.

-> m () 

Emits the UndoManager::can-redo-changed signal.

Since: 2.10

canUndo

undoManagerCanUndo Source #

Arguments

:: (HasCallStack, MonadIO m, IsUndoManager a) 
=> a

manager: a UndoManager.

-> m Bool

Returns: True if there are undo operations available, False otherwise

Get whether there are undo operations available.

Since: 2.10

canUndoChanged

undoManagerCanUndoChanged Source #

Arguments

:: (HasCallStack, MonadIO m, IsUndoManager a) 
=> a

manager: a UndoManager.

-> m () 

Emits the UndoManager::can-undo-changed signal.

Since: 2.10

endNotUndoableAction

undoManagerEndNotUndoableAction Source #

Arguments

:: (HasCallStack, MonadIO m, IsUndoManager a) 
=> a

manager: a UndoManager.

-> m () 

Ends a not undoable action on the buffer.

Since: 2.10

redo

data UndoManagerRedoMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsUndoManager a) => MethodInfo * UndoManagerRedoMethodInfo a signature Source # 

undoManagerRedo Source #

Arguments

:: (HasCallStack, MonadIO m, IsUndoManager a) 
=> a

manager: a UndoManager.

-> m () 

Perform a single redo. Calling this function when there are no redo operations available is an error. Use undoManagerCanRedo to find out if there are redo operations available.

Since: 2.10

undo

data UndoManagerUndoMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsUndoManager a) => MethodInfo * UndoManagerUndoMethodInfo a signature Source # 

undoManagerUndo Source #

Arguments

:: (HasCallStack, MonadIO m, IsUndoManager a) 
=> a

manager: a UndoManager.

-> m () 

Perform a single undo. Calling this function when there are no undo operations available is an error. Use undoManagerCanUndo to find out if there are undo operations available.

Since: 2.10

Signals

canRedoChanged

canUndoChanged