VideoTools/third_party/gotk3/glib/glib_since_2_44.go
Stu d4efa91ce1 Add vendored gotk3 GTK3 bindings for Go
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>
2025-12-15 05:40:43 -05:00

31 lines
665 B
Go

// Same copyright and license as the rest of the files in this project
// +build !glib_2_40,!glib_2_42
package glib
// #include <gio/gio.h>
// #include <glib.h>
// #include <glib-object.h>
// #include "glib.go.h"
// #include "glib_since_2_44.go.h"
import "C"
/*
* Application
*/
// GetIsBusy is a wrapper around g_application_get_is_busy().
func (v *Application) GetIsBusy() bool {
return gobool(C.g_application_get_is_busy(v.native()))
}
/*
* SimpleAction
*/
// SetStateHint is a wrapper around g_simple_action_set_state_hint
func (v *SimpleAction) SetStateHint(stateHint *Variant) {
C.g_simple_action_set_state_hint(v.native(), stateHint.native())
}