Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
0.15.0 - 28-12-2024
Changed
Added
DockArea::show_leaf_close_all_buttons
– shows a close all button which closes all open tabs in a leaf.DockArea::show_leaf_collapse_buttons
– shows a collapsing button which collapses a leaf (no longer collapsing a window).DockArea::show_secondary_button_hint
– sets whether tooltip hints are shown for secondary buttons on tab bars.DockArea::show_leaf_collapse_buttons
– shows a collapsing button which collapses a leaf (no longer collapsing a window).DockArea::secondary_button_on_modifier
– sets whether the secondary buttons on tab bars are activated by the modifier key.DockArea::secondary_button_context_menu
– sets whether the secondary buttons on tab bars are activated from a context value by right-clicking primary buttons.LeafTranslations::close_all_button
LeafTranslations::close_all_button_menu_hint
LeafTranslations::close_all_button_modifier_hint
LeafTranslations::close_all_button_modifier_menu_hint
LeafTranslations::close_all_button_disabled_tooltip
LeafTranslations::minimize_button
LeafTranslations::minimize_button_menu_hint
LeafTranslations::minimize_button_modifier_hint
LeafTranslations::minimize_button_modifier_menu_hint
Node::is_collapsed
– returns whether theNode
is collapsed.Node::collapsed_leaf_count
– returns the number of collapsed layers of leaf subnodes.Node::set_collapsed
– set the collapsing state of theNode
.Node::set_collapsed_leaf_count
– sets the number of collapsed layers of leaf subnodes.WindowState::minimized
field – records whether a window is minimized.WindowState::expanded_height
field – records the height of the window before it was fully collapsed.ButtonsStyle::{close_all_tabs, collapse_tabs, minimize_window}_color
ButtonsStyle::{close_all_tabs, collapse_tabs, minimize_window}_active_color
ButtonsStyle::{close_all_tabs, collapse_tabs, minimize_window}_bg_fill
ButtonsStyle::{close_all_tabs, collapse_tabs, minimize_window}_border_color
ButtonsStyle::close_all_tabs_disabled_color
Style::TAB_CLOSE_ALL_BUTTON_SIZE
Style::TAB_CLOSE_ALL_SIZE
Style::TAB_COLLAPSE_BUTTON_SIZE
Style::TAB_COLLAPSE_ARROW_SIZE
Style::TAB_EXPAND_BUTTON_SIZE
Style::TAB_EXPAND_ARROW_SIZE
Breaking changes
Translations::WindowTranslations
toTranslations::LeafTranslations
.WindowTranslations::close_button_tooltip
toLeafTranslations::close_button_disabled_tooltip
.Translations::LeafTranslations
now requires more fields to be constructed (see Added section).