class GUI::Popup

Defined in:

wrappers.cr

Constructors

Instance Method Summary

Instance methods inherited from class GUI::Widget

place(layout : Layout, x : Int32, y : Int32) place, to_unsafe to_unsafe

Macros inherited from class GUI::Widget

define_place define_place, event(name) event, lib_property(name)
lib_property(name, type)
lib_property
, lib_setter(name, typ)
lib_setter(name)
lib_setter

Constructor Detail

def self.new(**args) #

[View source]

Instance Method Detail

def []=(index, text : String, image : Image | Nil = nil) #

[View source]
def add(text : String, image : Image | Nil = nil) #

[View source]
def clear #

[View source]
def count #

[View source]
def items=(items : Enumerable(String)) #

[View source]
def list_height=(value : Int32) #

[View source]
def on_select(&callback : -> ) #

[View source]
def place(layout : Layout, x : Int32, y : Int32) #

[View source]
def selected #

[View source]
def selected=(value : Int32) #

[View source]
def tooltip=(value : String) #

[View source]