This repository has been archived on 2022-06-29. You can view files and clone it, but cannot push or open issues or pull requests.
urtrator/ui/mainwindow_init_win.go

21 lines
405 B
Go
Raw Normal View History

package ui
import (
2016-10-10 20:21:10 +05:00
// stdlib
"os"
"path/filepath"
// other
2016-10-10 20:21:10 +05:00
"github.com/mattn/go-gtk/gtk"
"github.com/couchbase/goutils/platform"
)
func (m *MainWindow) initializeWin() {
platform.HideConsole(true)
2016-10-10 20:18:59 +05:00
dir, _ := filepath.Abs(filepath.Dir(os.Args[0]))
// ToDo: theming support and theme seletion in settings.
gtk.RCParse(dir + "/themes/MS-Windows/gtk-2.0/gtkrc")
}