Releases: pekim/gobbi
v0.1.1
-
Fix a regression (#12) introduced in v0.1.0. The support for connecting signals defined in a builder definition unfortunately included use of an internal code generation function. That function had an indirect dependency on github.com/dave/jennifer, which is only intended for use during code generation. The use of the internal function has been removed. d55870c
-
Add bindings for Webkit2. 6581bbb
v0.1.0
-
Add support for connecting signals defined in a builder definition. 5fa97f1
There is documentation showing how to use this. -
Include the target object (such as
*gtk.Widget
or*gtk.Button
) as the first parameter of signal callback functions. 0eec544For example, this
da := gtk.DrawingAreaNew() da.Widget().ConnectDraw(func(cr *cairo.Context) bool { // draw something in the context ... return false })
becomes
da := gtk.DrawingAreaNew() da.Widget().ConnectDraw(func(widget *gtk.Widget, cr *cairo.Context) bool { // draw something in the context ... return false })
This better matches the C api, and can be convenient when connecting signals in builder defintions.
This is a breaking API change.
v0.0.12
v0.0.11
v0.0.10
- Add support for the GtkSourceView library.
- Add support for functions with bitfield and enum types as output parameters.
v0.0.9
v0.0.8
v0.0.7
- Support signals that have enum or bitfield parameters. b6021d1
- Support connecting to a notify signal for a single property. notify-signal-for-a-single-property 15244e1
- Remove functions that accept or return Go
uintptr
type. While this is strictly speaking a breaking API change, such functions were probably not usable in the first place. 9106c9c - Add an example that shows a widget with custom drawing. custom-drawing/main.go
- Support cairo.
- cairo - Add manually created bindings for most functions.
- pangocairo - Generate types and functions.
v0.0.6
v0.0.5
- More types and functions are generated.
- functions with string format parameters d268565
- Variant type and its methods b1c37a0
- VariantType type and its methods 2d127ce
- IOChannel type and its methods d78e875
- Type alias d7ce240
- Rectangle/Allocation type and its methods 4322d2a
- Atom type and its methods f6718b9
- FontMetrics type and its methods 5e7ea92
- Generate constants for more integer types. aef82e7
This is a breaking change, as the integer type for many constants has changed. - New documentation pages.
- Format functions
- Casting (reinstated following accidental removal)
- Reference counting