Sha256: fb15cfb5895a0f3aee9c0b3784254ae050a04fffb3fb6a9a7a49f1ff6a4e711e
Contents?: true
Size: 428 Bytes
Versions: 11
Compression:
Stored size: 428 Bytes
Contents
require 'glimmer-dsl-libui' class Event attr_accessor :time end class DateTimePickerApplication include Glimmer::LibUI::Application before_body do @event = Event.new end body { window('Date Time Pickers', 300, 200) { date_time_picker { time <=> [@event, :time, after_write: ->(time) { p time } ] } } } end DateTimePickerApplication.launch
Version data entries
11 entries across 11 versions & 1 rubygems