TabView


Object Hierarchy:

Hdy.TabView Hdy.TabView Hdy.TabView Gtk.Bin Gtk.Bin Gtk.Bin->Hdy.TabView Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.Container GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Atk.Implementor Atk.Implementor Atk.Implementor->Hdy.TabView Atk.Implementor->Gtk.Bin Atk.Implementor->Gtk.Container Atk.Implementor->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Hdy.TabView Gtk.Buildable->Gtk.Bin Gtk.Buildable->Gtk.Container Gtk.Buildable->Gtk.Widget

Description:

[ CCode ( type_id = "hdy_tab_view_get_type ()" ) ]
[ Version ( since = "1.2" ) ]
public class TabView : Bin, Implementor, Buildable

A dynamic tabbed container.

`HdyTabView` is a container which shows one child at a time. While it provides keyboard shortcuts for switching between pages, it does not provide a visible tab bar and relies on external widgets for that, such as [class@TabBar].

`HdyTabView` maintains a [class@TabPage] object for each page,which holds additional per-page properties. You can obtain the [ class@TabPage] for a page with [[email protected]_page], and as return value for [[email protected]] and other functions for adding children.

`HdyTabView` only aims to be useful for dynamic tabs in multi-window document-based applications, such as web browsers, file managers, text editors or terminals. It does not aim to replace [[email protected]] for use cases such as tabbed dialogs.

As such, it does not support disabling page reordering or detaching, or adding children via [[email protected]].

CSS nodes

`HdyTabView` has a main CSS node with the name `tabview`.

It contains the subnode overlay, which contains subnodes stack and widget. The stack subnode contains the added pages.

``` tabview ╰── overlay ├── stack │ ╰── [ Children ] ╰── widget ```


Namespace: Hdy
Package: libhandy-1

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Bin
All known members inherited from class Gtk.Container
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Atk.Implementor
All known members inherited from interface Gtk.Buildable



2022 vala-language.org