Releases: JuliaGtk/Gtk4.jl
v0.6.1
Gtk4 v0.6.1
Merged pull requests:
- add more tests (#48) (@jwahlstrand)
- parameters argument for GSimpleAction, add_action, add_stateful_action (#51) (@jwahlstrand)
Closed issues:
v0.6.0
Gtk4 v0.6.0
breaking changes:
- In GI-generated methods with callbacks, callback inputs and outputs are converted automatically from C pointers to Julia objects. This makes list views easier to use (see the examples).
GError
s are turned intoGErrorException
s rather than generic exceptions. This helps filter out these types of errors, which are usually meant to be recoverable.
other changes:
- New signal connector functions that make it easier to use @cfunction based callbacks
- Miscellaneous fixes to GI-generated methods
- Fix a rare crash in the dialogs.
Merged pull requests:
- try to fix tests and docs (#43) (@jwahlstrand)
- In callbacks, convert inputs and outputs between pointers and objects (#45) (@jwahlstrand)
- export some interface methods using GI, define GErrorException (#46) (@jwahlstrand)
v0.5.4
Gtk4 v0.5.4
v0.5.3
Gtk4 v0.5.3
Merged pull requests:
- use more efficient
signal_connect
method in GtkCanvas, add to tests (#41) (@jwahlstrand)
v0.5.2
v0.5.1
Gtk4 v0.5.1
Merged pull requests:
- Add GtkCustomFilter constructor and filtered list view example (#36) (@nHackel)
- Add GtkListBox wrapper and example (with filtering) (#37) (@nHackel)
- update auto-generated code to GLib 2.76 and GTK 4.10 (#39) (@jwahlstrand)
Closed issues:
- Comments requested for Metal / GTK4 integration example (#22)
GtkWindow
doesn't display a new window whenGtk4
is built in a sysimage (#26)- Fail to create GtkApplicationWindow in windows (#33)
- Crash while pushing canvas in exceptional circumstances (#34)
adw_init
causesg_settings_schema_source_lookup: assertion 'source != NULL' failed
due to missing glib schema file on Windows / MacOS (#38)
v0.5.0
Gtk4 v0.5.0
The only real breaking change is a change in the meaning of the width and height arguments in the GtkCanvas constructor. These now set the minimum width and height rather than the initial width and height.
Other changes:
- GI-generated callbacks, which are used here and there but have not been heavily tested yet.
- some type stability fixes in constructors
- fix a bug in a GdkPixbuf constructor
- some convenience GFile methods (helpful for using GtkFileChooser)
- a new method for pausing the main loop and calling a function
- calling GtkApplication's
run
method without stopping the main loop no longer freezes Julia - add an optional argument to the GtkCanvas constructor that initializes the backing store immediately. This is useful in precompile statements because it means you don't have to show the GtkCanvas in a window to draw to the backing store.
Closed issues:
- Possibility to use Adwaita (#10)
Merged pull requests:
- GI generated callbacks (#35) (@jwahlstrand)
v0.4.2
Gtk4 v0.4.2
- methods for getting list of monitors and fullscreening on one in particular
- removed extra referencing in GObject constructor code so objects are freed
- get/setindex methods for GtkPopover
Closed issues:
v0.4.1
v0.4.0
Gtk4 v0.4.0
This is a breaking release that introduces constructors automatically generated by GObject introspection. These accept keyword arguments that can be used to set properties during construction. This change fixes an annoying stack overflow error often encountered in the old constructor scheme.
A few constructors had to be changed to be compatible. Here are the most important breaking changes:
GtkBuilder
- previously used keyword arguments to set a filename to load or a string to load. Now useGtkBuilder(filename::AbstractString)
to load an XML file, orGtkBuilder(xml::AbstractString, -1)
to load a string.GtkFileFilter
- previously used keyword arguments to set a pattern, mimetype, and name. Now the constructor takespattern::String
andmimetype::String
as arguments. Use a keyword argument to set the "name" property.GtkCssProvider
- useGtkCssProvider(css::AbstractString)
to open a string orGtkCssProvider(nothing, filename::AbstractString)
to open a file.GtkImage
- a string argument loads a filename. The keyword based constructor foricon_name
is gone, but one can use a constructor inG_
instead.- If you use the argumentless
GtkWindow
constructor, you'll have to callshow()
to make the window appear.
Merged pull requests:
- GI-generated constructors (#27) (@jwahlstrand)
- re-enable x86 in CI (#28) (@jwahlstrand)