mirror of https://github.com/subgraph/fw-daemon
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
443 B
19 lines
443 B
// +build !gtk_3_6
|
|
|
|
package gtk
|
|
|
|
// #include <gtk/gtk.h>
|
|
// #include "gtk.go.h"
|
|
import "C"
|
|
|
|
// SetInverted() is a wrapper around gtk_level_bar_set_inverted().
|
|
func (v *LevelBar) SetInverted(inverted bool) {
|
|
C.gtk_level_bar_set_inverted(v.native(), gbool(inverted))
|
|
}
|
|
|
|
// GetInverted() is a wrapper around gtk_level_bar_get_inverted().
|
|
func (v *LevelBar) GetInverted() bool {
|
|
c := C.gtk_level_bar_get_inverted(v.native())
|
|
return gobool(c)
|
|
}
|