You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like a method added to the API to set the active view in any group.
The Window class currently contains the active_view_in_group(group) method which returns the active view in the specified group.
A companion method for this would be useful: set_active_view_in_group(group, view) to allow the active view in any group to be changed. At the moment the active view in a group can only be changed by using focus_view(view) which switches the focus to that view. In some circumstances you could use that and then immediately switch the focus back, but not, for example, from the on_highlighted method of the show_quick_panel() panel without that panel losing focus.
This would be useful because it would give plugin developers greater control of what is displayed in the window's groups.
Thanks.
The text was updated successfully, but these errors were encountered:
I would like a method added to the API to set the active view in any group.
The
Window
class currently contains theactive_view_in_group(group)
method which returns the activeview
in the specifiedgroup
.A companion method for this would be useful:
set_active_view_in_group(group, view)
to allow the activeview
in anygroup
to be changed. At the moment the activeview
in agroup
can only be changed by usingfocus_view(view)
which switches the focus to thatview
. In some circumstances you could use that and then immediately switch the focus back, but not, for example, from theon_highlighted
method of theshow_quick_panel()
panel without that panel losing focus.This would be useful because it would give plugin developers greater control of what is displayed in the window's groups.
Thanks.
The text was updated successfully, but these errors were encountered: