mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
apprt/gtk-ng: new tab button in header
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
// TODO:gtk-tabs-location
|
||||
// TODO:gtk-toolbar-style
|
||||
|
||||
template $GhosttyWindow: Adw.ApplicationWindow {
|
||||
styles [
|
||||
"window",
|
||||
@ -35,6 +34,14 @@ template $GhosttyWindow: Adw.ApplicationWindow {
|
||||
title: bind (template.active-surface as <$GhosttySurface>).title;
|
||||
};
|
||||
|
||||
[start]
|
||||
Adw.SplitButton {
|
||||
icon-name: "tab-new-symbolic";
|
||||
tooltip-text: _("New Tab");
|
||||
dropdown-tooltip: _("New Split");
|
||||
menu-model: split_menu;
|
||||
}
|
||||
|
||||
[end]
|
||||
Gtk.Box {
|
||||
Gtk.ToggleButton {
|
||||
|
Reference in New Issue
Block a user