Documentation ¶
Index ¶
Constants ¶
View Source
const BackButtonIcon = "sidebar-show-symbolic"
BackButtonIcon is the default icon name for a fold reveal button.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackButton ¶
type BackButton struct {
*gtk.ToggleButton
}
BackButton is a button that toggles whether or not the fold's sidebar should be revealed.
func New ¶
func New() *BackButton
New creates a new fold reveal button. The button is hidden by default until a sidebar is connected to it.
func (*BackButton) ConnectSplitView ¶
func (b *BackButton) ConnectSplitView(view *adw.OverlaySplitView)
ConnectFold connects the current sidebar reveal button to the given sidebar.
func (*BackButton) SetIconName ¶
func (b *BackButton) SetIconName(icon string)
SetIconName sets the reveal button's icon name.
Click to show internal directories.
Click to hide internal directories.