v0.2.1 c0399be

main.go RawHistoryFolder

1// Package glib was automatically generated by github.com/bnema/puregotk DO NOT EDIT
2package glib
3
4import (
5	"github.com/ebitengine/purego"
6
7	"github.com/bnema/puregotk/pkg/core"
8)
9
10var xBookmarkFileErrorQuark func() Quark
11
12func BookmarkFileErrorQuark() Quark {
13
14	cret := xBookmarkFileErrorQuark()
15
16	return cret
17}
18
19var xConvertErrorQuark func() Quark
20
21func ConvertErrorQuark() Quark {
22
23	cret := xConvertErrorQuark()
24
25	return cret
26}
27
28var xFileErrorQuark func() Quark
29
30func FileErrorQuark() Quark {
31
32	cret := xFileErrorQuark()
33
34	return cret
35}
36
37var xIoChannelErrorQuark func() Quark
38
39func IoChannelErrorQuark() Quark {
40
41	cret := xIoChannelErrorQuark()
42
43	return cret
44}
45
46var xKeyFileErrorQuark func() Quark
47
48func KeyFileErrorQuark() Quark {
49
50	cret := xKeyFileErrorQuark()
51
52	return cret
53}
54
55var xMarkupErrorQuark func() Quark
56
57func MarkupErrorQuark() Quark {
58
59	cret := xMarkupErrorQuark()
60
61	return cret
62}
63
64var xNumberParserErrorQuark func() Quark
65
66func NumberParserErrorQuark() Quark {
67
68	cret := xNumberParserErrorQuark()
69
70	return cret
71}
72
73var xOptionErrorQuark func() Quark
74
75func OptionErrorQuark() Quark {
76
77	cret := xOptionErrorQuark()
78
79	return cret
80}
81
82var xRegexErrorQuark func() Quark
83
84func RegexErrorQuark() Quark {
85
86	cret := xRegexErrorQuark()
87
88	return cret
89}
90
91var xShellErrorQuark func() Quark
92
93func ShellErrorQuark() Quark {
94
95	cret := xShellErrorQuark()
96
97	return cret
98}
99
100var xSpawnErrorQuark func() Quark
101
102func SpawnErrorQuark() Quark {
103
104	cret := xSpawnErrorQuark()
105
106	return cret
107}
108
109var xSpawnExitErrorQuark func() Quark
110
111func SpawnExitErrorQuark() Quark {
112
113	cret := xSpawnExitErrorQuark()
114
115	return cret
116}
117
118var xThreadErrorQuark func() Quark
119
120func ThreadErrorQuark() Quark {
121
122	cret := xThreadErrorQuark()
123
124	return cret
125}
126
127var xUnixErrorQuark func() Quark
128
129func UnixErrorQuark() Quark {
130
131	cret := xUnixErrorQuark()
132
133	return cret
134}
135
136var xUriErrorQuark func() Quark
137
138func UriErrorQuark() Quark {
139
140	cret := xUriErrorQuark()
141
142	return cret
143}
144
145var xVariantParseErrorQuark func() Quark
146
147func VariantParseErrorQuark() Quark {
148
149	cret := xVariantParseErrorQuark()
150
151	return cret
152}
153
154func init() {
155	core.SetPackageName("GLIB", "glib-2.0")
156	core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0"})
157	var libs []uintptr
158	for _, libPath := range core.GetPaths("GLIB") {
159		lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL)
160		if err != nil {
161			panic(err)
162		}
163		libs = append(libs, lib)
164	}
165
166	core.PuregoSafeRegister(&xBookmarkFileErrorQuark, libs, "g_bookmark_file_error_quark")
167	core.PuregoSafeRegister(&xConvertErrorQuark, libs, "g_convert_error_quark")
168	core.PuregoSafeRegister(&xFileErrorQuark, libs, "g_file_error_quark")
169	core.PuregoSafeRegister(&xIoChannelErrorQuark, libs, "g_io_channel_error_quark")
170	core.PuregoSafeRegister(&xKeyFileErrorQuark, libs, "g_key_file_error_quark")
171	core.PuregoSafeRegister(&xMarkupErrorQuark, libs, "g_markup_error_quark")
172	core.PuregoSafeRegister(&xNumberParserErrorQuark, libs, "g_number_parser_error_quark")
173	core.PuregoSafeRegister(&xOptionErrorQuark, libs, "g_option_error_quark")
174	core.PuregoSafeRegister(&xRegexErrorQuark, libs, "g_regex_error_quark")
175	core.PuregoSafeRegister(&xShellErrorQuark, libs, "g_shell_error_quark")
176	core.PuregoSafeRegister(&xSpawnErrorQuark, libs, "g_spawn_error_quark")
177	core.PuregoSafeRegister(&xSpawnExitErrorQuark, libs, "g_spawn_exit_error_quark")
178	core.PuregoSafeRegister(&xThreadErrorQuark, libs, "g_thread_error_quark")
179	core.PuregoSafeRegister(&xUnixErrorQuark, libs, "g_unix_error_quark")
180	core.PuregoSafeRegister(&xUriErrorQuark, libs, "g_uri_error_quark")
181	core.PuregoSafeRegister(&xVariantParseErrorQuark, libs, "g_variant_parse_error_quark")
182
183}

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close