struct UI::TabView::Tab

Overview

A single tab entry

Defined in:

ui/views/tab_view.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(label : String, icon : String | Nil = nil, content : View = Label.new("")) #

[View source]

Instance Method Detail

def clone #

[View source]
def content : View #

def copy_with(label _label = @label, icon _icon = @icon, content _content = @content) #

[View source]
def icon : String | Nil #

def label : String #