It derives from <GtkWidget>.
A button that displays the number of TabView pages.
<AdwTabButton> is a button that displays the
number of pages in a given <AdwTabView>, as well
as whether one of the inactive pages needs attention.
It’s intended to be used as a visible indicator when there’s no visible
tab bar, typically opening an TabOverview on click, e.g. via the
overview.open action name:
<object class="AdwTabButton"> <property name="view">view</property> <property name="action-name">overview.open</property> </object>
<AdwTabButton> has a main CSS node with name
tabbutton.
<AdwTabButton> uses the
Gtk.AccessibleRole.button role.
The view the tab button displays.
Its value is a <AdwTabView>, or #f.
Set it with (set! (tab-button:view self) value).
Gets the tab view self displays.
Passed: a <AdwTabButton>.
a tab button
Returned: a <AdwTabView>, or #f.
the tab view
Creates a new <AdwTabButton>.
Returned: a <GtkWidget>.
the newly created <AdwTabButton>
Sets the tab view to display.
Passed: a <AdwTabButton>.
a tab button
Passed, or left out: a <AdwTabView>, or #f.
a tab view
Connect a handler with (connect object tab-button:activate
handler). It is called as (handler self).
Emitted to animate press then release.
This is an action signal. Applications should never connect to this
signal, but use the "clicked" signal.
Passed: a <AdwTabButton>.
Connect a handler with (connect object tab-button:clicked
handler). It is called as (handler self).
Emitted when the button has been activated (pressed and released).
Passed: a <AdwTabButton>.