forked from Leak_Technologies/VideoTools
Vendor gotk3 library to ensure consistent GTK3 bindings across environments and simplify dependency management. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
19 lines
466 B
Go
19 lines
466 B
Go
//glib_extension contains definitions and functions to interface between glib/gtk/gio and go universe
|
|
|
|
package glib
|
|
|
|
import (
|
|
"reflect"
|
|
)
|
|
|
|
// Should be implemented by any class which need special conversion like
|
|
// gtk.Application -> gio.Application
|
|
type IGlibConvert interface {
|
|
// If conversion can't be done, the function has to panic with a message that it can't convert to type
|
|
Convert(reflect.Type) reflect.Value
|
|
}
|
|
|
|
var (
|
|
IGlibConvertType reflect.Type
|
|
)
|