gtk_custom_widgets
gtk_custom_widgets
The "gtk_custom_widgets" is a collection of helper functions and custom controls for Crystal.
Controls
- SevenSegmentDisplay
- SlopSevSegDisplay
- EightSegmentDisplay
- DigitalDisplay
- TimerColon
- DigitalClockDisplay
- AnalogClockDisplay
- NixieTube
Installation
-
Add the dependency to your
shard.yml
:dependencies: gtk_custom_widgets: github: viachpaliy/gtk_custom_widgets
-
Run
shards install
Note : this shard use "gobject"(https://github.com/jhass/crystal-gobject) and "cairo-gobject"((https://github.com/viachpaliy/cairo-gobject) shards. If you use Ubuntu18.04 based distributives uncomment Rectangle structure in lib/cairo-gobject/src/lib_cairo.cr file (lines 7...12).
Usage
require "gtk_custom_widgets/gtk_custom_widgets"
Samples
Run sample :
cd gtk_custom_widgets
crystal run samples/sample_name.cr
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/viachpaliy/gtk_custom_widgets/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- viachpaliy - creator and maintainer
Repository
gtk_custom_widgets
Owner
Statistic
- 5
- 0
- 0
- 0
- 1
- over 4 years ago
- April 9, 2020
License
MIT License
Links
Synced at
Fri, 22 Nov 2024 13:53:27 GMT
Languages