Skip to content

Commit 20435ae

Browse files
committed
Bump to version 0.10.1
1 parent 03f29dd commit 20435ae

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# License: MIT
77
#
88

9-
VERSION = 0.10.0
9+
VERSION = 0.10.1
1010
MAKE ?= make
1111

1212
ROCK = luagobject-$(VERSION)-1.rockspec

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# LuaGObject
22

3-
LuaGObject is a library which dynamically generates Lua bindings to libraries which support GObject-Introspection such as Adwaita, Gtk, GLib, Gio, Pango, and many more. It also generates bindings to Cairo, necessary for certain Gtk functionality.
3+
LuaGObject is a library which dynamically generates Lua bindings to libraries which support GObject-Introspection such as Adwaita, GTK, GLib, Gio, Pango, and many more. It also generates bindings to Cairo, necessary for certain Gtk functionality.
44

55
This library is licensed under an [MIT-style](http://www.opensource.org/licenses/mit-license.php) license. See the LICENSE file for the full text.
66

@@ -84,9 +84,9 @@ LuaGObject is also built on the work of LGI's developers, listed below in no par
8484

8585
## History
8686

87-
### Upcoming
87+
### 0.10.1 (2025-09-04)
8888

89-
- New overrides for GTK 4 and libadwaita allowing for specification of child widgets inside constructors
89+
- Can now add children directly to many GTK 4 and Adwaita widgets when constructing them
9090

9191
### 0.10.0 (2025-07-28)
9292

docs/gtk.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ An example of instantiating a `Gtk.Box` with its own children:
6464

6565
This creates a `Gtk.Box` containing four children. Note that `box`'s `orientation` property was set to `Gtk.Orientation.VERTICAL` as well in the same constructor. For specific container widgets, this creates a programmer experience not unlike using `Gtk.Builder` for creating widget hierarchies, but with a syntax ressembling Blueprint.
6666

67-
### `Gtk.Notebook` Children
67+
### `Gtk.Notebook` Constructor Children
6868

6969
To construct an instance of `Gtk.Notebook` with children, special consideration must be undertaken. Adding children to this widget requires a label to be provided. Additionally, an optional menu may be provided as well. To do this, each child in the constructor must be a table with a GTK widget in the first slot, a `.tab_label` item with a child widget, and optionally a `.menu_label` item with a child widget.
7070

@@ -89,11 +89,11 @@ For convenience, this override also allows a child's `.tab_label` item to be a s
8989
{
9090
Gtk.ScrolledWindow(),
9191
tab_label = "Tab 2",
92-
menu = Gtk.MenuButton(),
92+
menu_label = Gtk.MenuButton(),
9393
},
9494
}
9595

96-
### `Gtk.Grid` Children
96+
### `Gtk.Grid` Constructor Children
9797

9898
Like with `Gtk.Notebook`, the `Gtk.Grid` class also requires special consideration when adding children in its constructor. Each child added this way must be a table containing a widget in the array part, as well as integer values for `.column` and `.row`. A `.width` and/or `.height` may optionally be specified, and both will default to 1 if not given.
9999

0 commit comments

Comments
 (0)