All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added overload
Gtk::Snapshot#translate(x : Float32, y : Float32)
. - Added overload
Gtk::Snapshot#append_color(color : Gdk::RGBA, x : Float32, y : Float32, width : Float32, height : Float32)
. - Added overload
Gtk::Snapshot#push_repeat(bounds_x : Float32, bounds_y : Float32, bounds_width : Float32, bounds_height : Float32, child_bounds_x : Float32, child_bounds_y : Float32, child_bounds_width : Float32, child_bounds_height : Float32)
- Added overload
Gtk::Snapshot#save
that receives a block and callsGtk::Snapshot#restore
at the end.
- Don't crash when instantiating
Pango::FontMetrics
. - Make possible to use
Pango::AttrList
andPango::Attributes
.
- Using GI-Crystal v0.14.x, See GI-Crystal changelog for more info.
- Fix compilation with HarfBuzz 4.4.1.
- Using GI-Crystal v0.13.x, See GI-Crystal changelog for more info.
- Added
Gtk::Stack#has_child?(Gtk::Widget)
. - Added source_dir parameter to
register_resource
, thanks @GeopJr. - Added
Pango::Layout#set_text(String)
,Pango::Layout#set_text(Bytes)
andPango::Layout#set_text(Bytes, Int32)
. - API documentation is now auto-updated, thanks @1player.
- Using GI-Crystal v0.12.x, See GI-Crystal changelog for more info.
- Call
abort
whenGtk::Widget#template_child
can't find the widget.
- Added
Gtk::TreeSelection#select_row(Int32)
sugar, to select a row.
- Using GI-Crystal v0.11.x, See GI-Crystal changelog for more info.
- Allow use of child objects defined in XML widget templates! See
examples/widget_template.cr
.
- Using GI-Crystal v0.10.x, See GI-Crystal changelog for more info.
- Added initial support for XML widget templates! See
examples/widget_template.cr
.
- Using GI-Crystal v0.8.x, See GI-Crystal changelog for more info.
- Correctly insert PROGRAM_NAME into args sent to
Gio::Application#run(args : Enumarable?)
. - Added
Gio::Application#run
with no parameters, equivalent ofrun(ARGV)
but more efficient. - To run a
Gio::Application
that doesn't parse any arguments, userun(nil)
.
- Using GI-Crystal v0.8.x, See GI-Crystal changelog for more info.
- Gdk::ModifierType don't crash when GTK insert reserved bits on it.
- Using GI-Crystal v0.7.x, See GI-Crystal changelog for more info.
- Using GI-Crystal v0.6.x, See GI-Crystal changelog for more info.
- Using GI-Crystal v0.4.x, See GI-Crystal changelog for more info.
- Using GI-Crystal v0.3.x, See GI-Crystal changelog for more info.
- First Release.