Page 1 of 1

how to move a file from tab1 to floating tab1 by api

Posted: 02.05.2024 23:58
by SamC
Hello,
We can use file_open to open file in certain file in certain tab. After file is open, how to move it between tabs? I didn't fine the method in api.
Thanks!

file_open(filename, group=-1, options="")
file_open((filename1, filename2), group=-1, options="")

Re: how to move a file from tab1 to floating tab1 by api

Posted: 03.05.2024 01:55
by main Alexey
* PROP_INDEX_GROUP: int: index of group with editor's tab, 0-based. Value 0...5: 6 fixed groups, value 6...8: 3 floating groups.

ed.set_prop(PROP_INDEX_GROUP, 6) - move file to floating-1 group.

Re: how to move a file from tab1 to floating tab1 by api

Posted: 09.05.2024 08:31
by SamC
Get it,thanks~