Skip to content

Releases: JuliaGtk/Gtk4.jl

v0.6.1

29 Jan 00:50
d9771de
Compare
Choose a tag to compare

Gtk4 v0.6.1

Diff since v0.6.0

Merged pull requests:

Closed issues:

  • Package Ports (#4)
  • Using ThreadPool :interactive for the Gtk loop (#47)
  • Add stateful action with parameter (#50)

v0.6.0

25 Nov 02:23
d9003dc
Compare
Choose a tag to compare

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).
  • GErrors are turned into GErrorExceptions 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.

Diff since v0.5.4

Merged pull requests:

v0.5.4

14 Oct 02:19
Compare
Choose a tag to compare

v0.5.3

24 Sep 21:29
Compare
Choose a tag to compare

Gtk4 v0.5.3

Diff since v0.5.2

Merged pull requests:

  • use more efficient signal_connect method in GtkCanvas, add to tests (#41) (@jwahlstrand)

v0.5.2

17 Sep 14:13
c6f3926
Compare
Choose a tag to compare

Gtk4 v0.5.2

Diff since v0.5.1

Merged pull requests:

v0.5.1

17 Sep 00:35
Compare
Choose a tag to compare

Gtk4 v0.5.1

Diff since v0.5.0

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 when Gtk4 is built in a sysimage (#26)
  • Fail to create GtkApplicationWindow in windows (#33)
  • Crash while pushing canvas in exceptional circumstances (#34)
  • adw_init causes g_settings_schema_source_lookup: assertion 'source != NULL' failed due to missing glib schema file on Windows / MacOS (#38)

v0.5.0

05 Aug 19:50
Compare
Choose a tag to compare

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.

Diff since v0.4.2

Closed issues:

  • Possibility to use Adwaita (#10)

Merged pull requests:

v0.4.2

03 Jul 02:22
Compare
Choose a tag to compare

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

Diff since v0.4.1

Closed issues:

  • Possibility to use Adwaita (#10)
  • Migrate GTK4_jll to 4.10 (#31)

v0.4.1

19 Jun 23:09
Compare
Choose a tag to compare

Gtk4 v0.4.1

Add keyword arguments to more constructors, misc. bug fixes.

Diff since v0.4.0

v0.4.0

29 May 01:54
Compare
Choose a tag to compare

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 use GtkBuilder(filename::AbstractString) to load an XML file, or GtkBuilder(xml::AbstractString, -1) to load a string.
  • GtkFileFilter - previously used keyword arguments to set a pattern, mimetype, and name. Now the constructor takes pattern::String and mimetype::String as arguments. Use a keyword argument to set the "name" property.
  • GtkCssProvider - use GtkCssProvider(css::AbstractString) to open a string or GtkCssProvider(nothing, filename::AbstractString) to open a file.
  • GtkImage - a string argument loads a filename. The keyword based constructor for icon_name is gone, but one can use a constructor in G_ instead.
  • If you use the argumentless GtkWindow constructor, you'll have to call show() to make the window appear.

Diff since v0.3.5

Merged pull requests: