Nathan Fisher
5c0b668517
Begin working on a skeleton for splits in Linux/Gtk
2023-11-30 21:41:34 -08:00
Chris Marchesi
39e3fca210
apprt/gtk: let GTK titlebar be toggleable
...
This adds the gtk-titlebar option, which allows you to toggle the GTK
titlebar on (default) and off.
Under some circumstances (e.g. tiling WMs with titlebars enabled), one
may wish to disable the GTK titlebar/CSD for aesthetic reasons. This
allows you to do that.
Fixes #920 .
2023-11-20 20:07:11 -08:00
Mitchell Hashimoto
67119e6433
apprt/gtk: disable GTK capturing F10
...
Fixes #894
2023-11-20 14:16:13 -08:00
Mitchell Hashimoto
8c59d1176e
apprt/gtk: ensure equal tab width, truncate with ellipses
...
Fixes #607
2023-11-09 11:12:55 -08:00
Mitchell Hashimoto
3564dd5e7e
stylistic changes
2023-11-06 08:47:09 -08:00
Raiden1411
60717cde14
chore: update fullscreen implementation
2023-11-06 14:03:44 +00:00
Raiden1411
094f8effa3
fix: begin implementation of suggested changes
2023-11-06 10:19:09 +00:00
Mitchell Hashimoto
ebd57f6bbc
apprt/gtk: correct new tab button click function signature
...
Fixes #674
We were incorrectly reusing the action activate signal callback for the
button click. These have different function signatures.
2023-11-04 16:57:01 -07:00
Mitchell Hashimoto
59a53251cf
apprt/gtk: create new tab after current tab
...
This behaves the same as macOS, and personally I prefer this behavior
because when I create a new tab, it is often contextual to what I'm
currently working on and keeping the tab nearby feels right.
2023-10-31 09:49:39 -07:00
Mitchell Hashimoto
e188aba7f4
apprt/gtk: if no parent is set on new window, do not inherit wd
2023-10-30 08:50:58 -07:00
Mitchell Hashimoto
cf6ee6ed14
apprt/gtk: only create window header bar with window decorations
...
Fixes #737
2023-10-27 10:08:59 -07:00
Mitchell Hashimoto
6a50a938d6
apprt/gtk: button to toggle inspector
2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
a60f9eb9e6
apprt/gtk: empty inspector window
2023-10-24 15:27:13 -07:00
Nathan Fisher
614a9775c6
Set the mouse pointer to "text" (an I-beam) when it is over the gl_area
...
which the terminal embeds into for the Gtk interface. Addresses https://github.com/mitchellh/ghostty/issues/596
2023-09-30 18:26:40 -04:00
Mitchell Hashimoto
56b0cb51d5
apprt/gtk: previous_tab/next_tab action do not consume if there are no tabs
2023-09-29 22:12:38 -07:00
Mitchell Hashimoto
685495c896
apprt/gtk: make wide-style gtk tabs configurable
2023-09-28 08:54:15 -07:00
Nathan Fisher
dca0ddb7e1
(Gtk) Set tab labels to fill the available space, so that they will
...
divide up the avialable horizontal area instead of leaving a large
empty space in the tab bar.
2023-09-28 00:10:07 -04:00
Mitchell Hashimoto
ed0a2ecfc4
apprt/gtk: window actions should use currently active surface
2023-09-18 15:33:11 -07:00
Mitchell Hashimoto
f3662354e5
apprt/gtk: about window
2023-09-18 15:16:35 -07:00
Mitchell Hashimoto
844945e7f9
apprt/gtk: add reload config
2023-09-18 15:00:54 -07:00
Mitchell Hashimoto
c3a72b9188
apprt/gtk: add new tab button in header
2023-09-18 14:55:37 -07:00
Mitchell Hashimoto
7996be25a8
apprt/gtk: new window, tab
2023-09-18 14:51:19 -07:00
Mitchell Hashimoto
71ca254be8
apprt/gtk: window actions
2023-09-18 14:41:52 -07:00
Mitchell Hashimoto
394ab3017f
apprt/gtk: initial app menu
2023-09-18 12:54:19 -07:00
Mitchell Hashimoto
84da10a9b3
apprt/gtk: don't use userdata for pages, can request on demand
...
This is important to keep it in sync if the gl area moves
2023-09-16 12:11:10 -07:00
Mitchell Hashimoto
cf84a5513f
apprt/gtk: listen to page-removed to hide tab bar if only one
2023-09-16 11:48:33 -07:00
Mitchell Hashimoto
5dc0746a17
gtk: tabs are draggable to the desktop to extract a window
2023-09-16 11:30:22 -07:00
Mitchell Hashimoto
f7272d506e
apprt/gtk: handle scenario where OpenGL area becomes unrealized
2023-09-16 09:38:28 -07:00
Mitchell Hashimoto
d2fa79effb
apprt/gtk: shuffle some lines around in Window
2023-09-16 08:32:32 -07:00
Mitchell Hashimoto
35c956fd05
apprt/gtk: Window css styling is no longer used
2023-09-16 08:29:15 -07:00
Mitchell Hashimoto
d5036e78f4
apprt/gtk: refactor into separate files
2023-09-16 08:28:49 -07:00