gtk_custom_widgets
Version, currently master branch1 version
- master branchlatestJul 15, 2020
github.com/viachpaliy/gtk_custom_widgets
Gtk custom widgets for Crystal
Installation
# Add this to your shard.yml
dependencies:
gtk_custom_widgets:
github: viachpaliy/gtk_custom_widgets
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.33.0- License
- MIT
- Author
- viachpaliy
Dependencies
Runtime Dependencies
- cairo-gobject*github: viachpaliy/cairo-gobject
README
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
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Jul 15, 2020
- Crystal
0.33.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/viachpaliy/gtk_custom_widgets
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 1