struct
UI::ActivityAction
- UI::ActivityAction
- Struct
- Value
- Object
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.crConstructors
Instance Method Summary
- #icon_symbol : String
- #icon_symbol=(icon_symbol : String)
- #label : String
- #label=(label : String)
- #on_select : Proc(Nil) | Nil
- #on_select=(on_select : Proc(Nil) | Nil)
- #role : Symbol | Nil
- #role=(role : Symbol | Nil)
Constructor Detail
def self.new(icon_symbol : String, label : String, on_select : Proc(Nil) | Nil = nil, role : Symbol | Nil = nil)
#