GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Prima::Widget::UndoActions(3) User Contributed Perl Documentation Prima::Widget::UndoActions(3)

Prima::Widget::UndoActions - undo and redo the content of editable widgets

Generic helpers that implement stored actions for undo/redo.

Sets limit on number of stored atomic undo operations. If 0, undo is disabled.

Opens bracket for group of actions, undone as single operation. The bracket is closed by calling "end_undo_group".
Return boolean flags whether undo or redo could be done. Useful for graying a menu f ex.
Closes bracket for group of actions, opened by "begin_undo_group".
Should be called once, inside init()
Checks whether there is any ACTION in the undo list.
Stores a single undo action where ACTION is a method to be called inside undo/redo, if any. Each action is added to the last undo group, and will be removed/replayed together with the other actions in the group.
Stores a single undo action where ACTION is a method to be called inside undo/redo, if any. Each action is a single undo/redo operation.
Re-applies changes, formerly rolled back by "undo".
Rolls back changes into internal array, which size cannot extend "undoLimit" value. In case "undoLimit" is 0, no undo actions can be made.

Dmitry Karasik, <dmitry@karasik.eu.org>.

Prima, Prima::Edit,

2025-07-04 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.