File: glib_since_2_44.go

package info (click to toggle)
golang-github-gotk3-gotk3 0.6.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,392 kB
  • sloc: ansic: 914; makefile: 4
file content (30 lines) | stat: -rw-r--r-- 665 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// 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())
}