Skip to content

Commit 4c9b7f0

Browse files
committed
Added image-group-information-changed event
1 parent 3fc6604 commit 4c9b7f0

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: image-group-information-changed
3+
id: image-group-information-changed
4+
weight: 42
5+
draft: false
6+
author: "people"
7+
---
8+
9+
`event`
10+
11+
This event is called when image grouping information changes.
12+
13+
# image-group-information-changed.callback
14+
15+
```
16+
function(
17+
event : string,
18+
reason : string,
19+
image : types.dt_lua_image_t,
20+
group_leader : types.dt_lua_image_t
21+
)
22+
```
23+
24+
* **event** - _string_ - The name of the event that triggered the callback.
25+
* **reason** - _string_ - The reason grouping changed. One of add, remove, leader-change, remove-leader.
26+
* **image** - _[types.dt_lua_image_t](../types/dt_lua_image_t)_ - The image object that the change applies to.
27+
* **group_leader** - _[types.dt_lua_image_t](../types/dt_lua_image_t)_ - The image object that is the group leader
28+
29+
# image-group-information-changed.extra registration parameters
30+
31+
This event has no extra registration parameters.
32+

0 commit comments

Comments
 (0)