struct UI::ActivityAction

Overview

Struct representing an action tile in the 2-column action grid. HIG: "Activity views present... actions like Copy and Print." Each action tile is a rounded-rect button with icon + label, laid out in a two-column grid below the destination row.

Defined in:

ui/views/activity_view.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(icon_symbol : String, label : String, on_select : Proc(Nil) | Nil = nil, role : Symbol | Nil = nil) #

[View source]

Instance Method Detail

def icon_symbol : String #

[View source]
def icon_symbol=(icon_symbol : String) #

[View source]
def label : String #

[View source]
def label=(label : String) #

[View source]
def on_select : Proc(Nil) | Nil #

[View source]
def on_select=(on_select : Proc(Nil) | Nil) #

[View source]
def role : Symbol | Nil #

[View source]
def role=(role : Symbol | Nil) #

[View source]