![]() |
![]() |
![]() |
Goffice Reference Manual | |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#define GO_UNDO_TYPE #define GO_UNDO (o) #define IS_GO_UNDO (o) GType go_undo_get_type (void); GOUndo; void go_undo_undo (GOUndo *u); void go_undo_undo_with_data (GOUndo *u, gpointer data); GOUndo * go_undo_combine (GOUndo *a, GOUndo *b); #define GO_UNDO_GROUP_TYPE #define GO_UNDO_GROUP (o) #define IS_GO_UNDO_GROUP (o) GType go_undo_group_get_type (void); GOUndoGroup; GOUndoGroup * go_undo_group_new (void); void go_undo_group_add (GOUndoGroup *g, GOUndo *u); #define GO_UNDO_BINARY_TYPE #define GO_UNDO_BINARY (o) #define IS_GO_UNDO_BINARY (o) GType go_undo_binary_get_type (void); void (*GOUndoBinaryFunc) (gpointer a, gpointer b, gpointer data); GOUndoBinary; GOUndo * go_undo_binary_new (gpointer a, gpointer b, GOUndoBinaryFunc undo, GFreeFunc fa, GFreeFunc fb); #define GO_UNDO_UNARY_TYPE #define GO_UNDO_UNARY (o) #define IS_GO_UNDO_UNARY (o) GType go_undo_unary_get_type (void); void (*GOUndoUnaryFunc) (gpointer a, gpointer data); GOUndoUnary; GOUndo * go_undo_unary_new (gpointer a, GOUndoUnaryFunc undo, GFreeFunc fa);
GObject +----GOUndo +----GOUndoGroup +----GOUndoBinary +----GOUndoUnary
GObject +----GOUndo +----GOUndoGroup
GObject +----GOUndo +----GOUndoBinary
GObject +----GOUndo +----GOUndoUnary
GOUndo * go_undo_combine (GOUndo *a, GOUndo *b);
This function takes ownership of the argument references and gives ownership of the result to the caller. Either argument may be NULL in which case the other is returned.
|
optional first undo operation |
|
optional last undo operation |
Returns : |
the combination of two undo operations. |
#define GO_UNDO_GROUP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GO_UNDO_GROUP_TYPE, GOUndoGroup))
|
#define IS_GO_UNDO_GROUP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_UNDO_GROUP_TYPE))
|
#define GO_UNDO_BINARY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GO_UNDO_BINARY_TYPE, GOUndoBinary))
|
#define IS_GO_UNDO_BINARY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_UNDO_BINARY_TYPE))
|
void (*GOUndoBinaryFunc) (gpointer a, gpointer b, gpointer data);
|
|
|
|
|
GOUndo * go_undo_binary_new (gpointer a, gpointer b, GOUndoBinaryFunc undo, GFreeFunc fa, GFreeFunc fb);
|
|
|
|
|
|
|
|
|
|
Returns : |
#define GO_UNDO_UNARY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GO_UNDO_UNARY_TYPE, GOUndoUnary))
|
#define IS_GO_UNDO_UNARY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_UNDO_UNARY_TYPE))
|