apprt/gtk-ng: new tab button in header
parent
bc6cbdc41a
commit
e768b54d89
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue