v0.2.1 c0399be

main.go RawHistoryFolder

1// Package gdkpixbuf was automatically generated by github.com/bnema/puregotk DO NOT EDIT
2package gdkpixbuf
3
4import (
5	"github.com/ebitengine/purego"
6
7	"github.com/bnema/puregotk/pkg/core"
8	"github.com/bnema/puregotk/v4/glib"
9	"github.com/bnema/puregotk/v4/gobject/types"
10)
11
12var xPixbufErrorQuark func() glib.Quark
13
14func PixbufErrorQuark() glib.Quark {
15
16	cret := xPixbufErrorQuark()
17	return cret
18}
19
20type PixbufNonAnim struct {
21	PixbufAnimation
22}
23
24var xPixbufNonAnimGLibType func() types.GType
25
26func PixbufNonAnimGLibType() types.GType {
27	return xPixbufNonAnimGLibType()
28}
29
30func PixbufNonAnimNewFromInternalPtr(ptr uintptr) *PixbufNonAnim {
31	cls := &PixbufNonAnim{}
32	cls.Ptr = ptr
33	return cls
34}
35
36var xNewPixbufNonAnim func(uintptr) uintptr
37
38func NewPixbufNonAnim(PixbufVar *Pixbuf) *PixbufNonAnim {
39	var cls *PixbufNonAnim
40
41	cret := xNewPixbufNonAnim(PixbufVar.GoPointer())
42
43	if cret == 0 {
44		return nil
45	}
46	cls = &PixbufNonAnim{}
47	cls.Ptr = cret
48	return cls
49}
50
51func (c *PixbufNonAnim) GoPointer() uintptr {
52	if c == nil {
53		return 0
54	}
55	return c.Ptr
56}
57
58func (c *PixbufNonAnim) SetGoPointer(ptr uintptr) {
59	c.Ptr = ptr
60}
61
62type PixbufSimpleAnimIter struct {
63	PixbufAnimationIter
64}
65
66var xPixbufSimpleAnimIterGLibType func() types.GType
67
68func PixbufSimpleAnimIterGLibType() types.GType {
69	return xPixbufSimpleAnimIterGLibType()
70}
71
72func PixbufSimpleAnimIterNewFromInternalPtr(ptr uintptr) *PixbufSimpleAnimIter {
73	cls := &PixbufSimpleAnimIter{}
74	cls.Ptr = ptr
75	return cls
76}
77
78func (c *PixbufSimpleAnimIter) GoPointer() uintptr {
79	if c == nil {
80		return 0
81	}
82	return c.Ptr
83}
84
85func (c *PixbufSimpleAnimIter) SetGoPointer(ptr uintptr) {
86	c.Ptr = ptr
87}
88
89func init() {
90	core.SetPackageName("GDKPIXBUF", "gdk-pixbuf-2.0")
91	core.SetSharedLibraries("GDKPIXBUF", []string{"libgdk_pixbuf-2.0.so.0"})
92	var libs []uintptr
93	for _, libPath := range core.GetPaths("GDKPIXBUF") {
94		lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL)
95		if err != nil {
96			panic(err)
97		}
98		libs = append(libs, lib)
99	}
100
101	core.PuregoSafeRegister(&xPixbufErrorQuark, libs, "gdk_pixbuf_error_quark")
102
103	core.PuregoSafeRegister(&xPixbufNonAnimGLibType, libs, "gdk_pixbuf_non_anim_get_type")
104
105	core.PuregoSafeRegister(&xNewPixbufNonAnim, libs, "gdk_pixbuf_non_anim_new")
106
107	core.PuregoSafeRegister(&xPixbufSimpleAnimIterGLibType, libs, "gdk_pixbuf_simple_anim_iter_get_type")
108
109}

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