class AmberCLI::Native::CapabilityManifest::WindowSpec

Included Modules

Defined in:

amber_cli/native/capability_manifest.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(identifier : String = "main", title : String = "Main", default_size : Array(Int32) = [1200, 820] of Int32) #

[View source]
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def default_size : Array(Int32) #

[View source]
def default_size=(default_size : Array(Int32)) #

[View source]
def identifier : String #

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

[View source]
def title : String #

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

[View source]
def validate! : self #

[View source]