mattn

Results 893 comments of mattn

>Is that true? Yes. See https://www.geany.org/manual/gtk/gtk/gtk-building.html You can modify flags for configure script to build static library.

AFAICK, your cross C compiler look header files on host OS.

Could you please explain more detail? 64bit?

cgo doesn't support C variadic parameters.

``` gtk.WidgetFromObject(ctx.Target().(*glib.GObject)) ``` This is way to get gtk.Widget from event callback context.

The first arguments of ConnectSignalsFull is BuilderConnectFunc. ``` type BuilderConnectFunc func(builder *Builder, obj *glib.GObject, sig, handler string, conn *glib.GObject, flags glib.ConnectFlags, user_data interface{}) ``` Second argument `conn` should be the...

signature of changed event should be: http://www.gtk.org/api/2.6/gtk/GtkTextBuffer.html#GtkTextBuffer-changed

Ah, sorry. See example code here. https://github.com/mattn/go-gtk/blob/master/example/event/event.go#L24-L27 You can get argument via `glib.CallbackContext` like calling `ctx.Args(0)`. first argument should be `GtkTextBuffer*`, and second one should be `gpointer`. http://www.gtk.org/api/2.6/gtk/GtkTextBuffer.html#GtkTextBuffer-changed