MCPcopy Create free account

hub / github.com/diamondburned/gotk4 / functions

Functions8,844 in github.com/diamondburned/gotk4

↓ 4 callersMethodText
Text gets the specified text.
pkg/atk/atk.go:9941
↓ 4 callersMethodUnrealize
Unrealize releases all the resources created by gsk_renderer_realize().
pkg/gsk/v4/gsk.go:5201
↓ 4 callersFunctionVarValuesOrElse
VarValuesOrElse is like [VarValues], but if a package has an empty/unset value, then that empty value is replaced with the value that is returned from
gir/pkgconfig/pkgconfig.go:98
↓ 4 callersFunctionVersionedName
VersionedName returns the name appended with the version suffix.
gir/gir.go:79
↓ 4 callersMethodWrite
Write implements io.Writer.
pkg/core/gioutil/gioutil.go:90
↓ 4 callersMethod_ptr
(has, want int)
gir/girgen/types/typeconv/valueconverted.go:849
↓ 4 callersMethodadd
add adds the given class and depth into the depths map. False is returned if the depth is already in.
gir/girgen/types/tree.go:276
↓ 4 callersMethodbuilder
()
gir/girgen/pen/paper.go:26
↓ 4 callersFunctionbuiltinType
builtinType is a convenient function to make a new resolvedType.
gir/girgen/types/resolve.go:48
↓ 4 callersFunctioncFunctionHeader
cFunctionHeader renders the given GIR function in its C function signature string for debugging or callback generation.
gir/girgen/generators/callable/callable.go:1005
↓ 4 callersMethodcastPrimitive
castPrimitive is used to cast primitives of any pointer level from C to Go or vice-versa. It is useful for casting enums and bitfields.
gir/girgen/types/typeconv/valueconverted.go:667
↓ 4 callersMethodconvert
(result *ValueConverted)
gir/girgen/types/typeconv/typeconv.go:211
↓ 4 callersMethodconvertInner
convertInner is used while converting arrays; it returns the result of the inner value converted.
gir/girgen/types/typeconv/typeconv.go:259
↓ 4 callersFunctiongirTypeMustBeVersioned
(girType string)
gir/girgen/types/filter.go:118
↓ 4 callersFunctionimportFunc
(method func(*file.Header, ArgT))
gir/girgen/gotmpl/gotmpl.go:56
↓ 4 callersFunctioninvokeFunc
(info *Info, in, out []Argument)
pkg/core/girepository/girepository.go:261
↓ 4 callersMethodisPtr
isPtr checks pointer coherency for C types and Go types. It's mostly used to guarantee that conversion routines get what they expect.
gir/girgen/types/typeconv/valueconverted.go:736
↓ 4 callersMethodisValue
()
pkg/core/glib/glib.go:1015
↓ 4 callersFunctionlowerFirstLetter
lowerFirstLetter lower-cases the first letter in the paragraph.
gir/girgen/cmt/cmt.go:606
↓ 4 callersFunctionnewRegionFromNative
newRegionFromNative that handle finalizer.
pkg/cairo/region.go:109
↓ 4 callersFunctionnthWord
nthWord returns the nth word, or an empty string if none.
gir/girgen/cmt/cmt.go:367
↓ 4 callersFunctionobjRefCount
(obj unsafe.Pointer)
pkg/core/intern/intern.go:87
↓ 4 callersFunctionprivateFromInstance
(obj unsafe.Pointer)
pkg/core/glib/go.go:746
↓ 4 callersMethodreset
(capacity int)
gir/girgen/generators/iface/method.go:63
↓ 4 callersFunctionsink
go:nosplit
pkg/core/intern/intern.go:65
↓ 4 callersFunctiontimeoutAdd
go:nosplit go:nocheckptr
pkg/core/glib/glib.go:435
↓ 4 callersFunctionwordConsonantAndSuffix
wordConsonantAndSuffix returns true if the word ends with a consonant and the given suffix character.
gir/girgen/strcases/strcases.go:365
↓ 4 callersFunctionwrapDeviceTool
(obj *coreglib.Object)
pkg/gdk/v3/gdk.go:10277
↓ 4 callersFunctionwrapGLShader
(obj *coreglib.Object)
pkg/gsk/v4/gsk.go:2813
↓ 4 callersFunctionwrapPaintable
(obj *coreglib.Object)
pkg/gdk/v4/gdk.go:5817
↓ 4 callersFunctionwrapPixbufLoader
(obj *coreglib.Object)
pkg/gdkpixbuf/v2/gdkpixbuf.go:3692
↓ 4 callersFunctionwrapRelation
(obj *coreglib.Object)
pkg/atk/atk.go:15758
↓ 4 callersFunctionwrapRelationSet
(obj *coreglib.Object)
pkg/atk/atk.go:15919
↓ 4 callersFunctionwrapSocket
(obj *coreglib.Object)
pkg/atk/atk.go:16235
↓ 4 callersMethodwriteMalloc
writeMalloc ensures bound-checking.
gir/girgen/types/typeconv/valueconverted.go:586
↓ 3 callersMethodAcquire
Acquire tries to become the owner of the specified context. If some other thread is the owner of the context, returns FALSE immediately. Ownership is
pkg/glib/v2/glib.go:21354
↓ 3 callersMethodAdd
Add adds the given number of microseconds to time_. microseconds can also be negative to decrease the value of time_. Deprecated: Val is not year-203
pkg/glib/v2/glib.go:26880
↓ 3 callersFunctionAddCallableHeader
AddCallableHeader adds an extern C function header from the callable. The extern function will have the given name.
gir/girgen/types/generator.go:68
↓ 3 callersMethodAddPackage
AddPackage adds a pkg-config package.
gir/girgen/file/file.go:240
↓ 3 callersFunctionAnyTypeCPrimitive
AnyTypeCPrimitive converts AnyType to a C primitive type.
gir/girgen/types/types.go:379
↓ 3 callersFunctionCallableExportedName
CallableExportedName creates the exported C name of the given callback from the given namespace.
gir/girgen/file/file.go:162
↓ 3 callersMethodClose
()
pkg/core/gioutil/gioutil.go:171
↓ 3 callersFunctionCoalesceTail
CoalesceTail coalesces certain parameters with the same type to be shorter.
gir/girgen/generators/callable/callable.go:727
↓ 3 callersMethodConnect
Connect is a wrapper around g_signal_connect_closure(). f must be a function with at least one parameter matching the type it is connected to. It is
pkg/core/glib/connect.go:25
↓ 3 callersMethodDashImport
DashImport imports the given path if it's not already imported.
gir/girgen/file/file.go:124
↓ 3 callersMethodDraw
Draw the contents of node to the given cairo context. Typically, you'll use this function to implement fallback rendering of GskRenderNodes on an int
pkg/gsk/v4/gsk.go:4722
↓ 3 callersMethodDx
Dx: movement delta in the X axis of the swipe focal point.
pkg/gdk/v3/gdk.go:23375
↓ 3 callersFunctionEnsureNamespace
EnsureNamespace ensures that exported, non-primitive types have the namespace prepended. This is useful for matching hard-coded types.
gir/girgen/types/types.go:188
↓ 3 callersFunctionEqNamespace
EqNamespace is used for FilterMatchers to compare types and namespaces.
gir/girgen/types/filter.go:522
↓ 3 callersMethodError
()
pkg/core/gerror/gerror.go:117
↓ 3 callersFunctionFaint
Faint returns the given string with a faint color.
gir/girgen/logger/logger.go:59
↓ 3 callersMethodFamily
Family gets a font family by name. The function takes the following parameters: - name: family name. The function returns the following values: -
pkg/pango/pango.go:8227
↓ 3 callersFunctionFileWriterExportedFromType
FileWriterExportedFromType is like FileWriterFromType, but it should only contain exported Cgo functions.
gir/girgen/generators/generators.go:36
↓ 3 callersFunctionFilterCType
FilterCType filters only the C type or identifier. It is useful for filtering C functions and such.
gir/girgen/types/filter.go:420
↓ 3 callersFunctionFindGIRFiles
FindGIRFiles finds gir files from the given list of pkgs.
gir/gir.go:118
↓ 3 callersMethodFlush
Flush: this function does nothing. Deprecated: since version 3.14.
pkg/gdk/v3/gdk.go:16779
↓ 3 callersMethodGet
Get gets the value of the property.
pkg/core/glib/go.go:972
↓ 3 callersFunctionGo
Go converts either pascal or snake case to the Go name. The original casing is inferred from the given name.
gir/girgen/strcases/strcases.go:134
↓ 3 callersMethodImplName
ImplName returns the implementation type name.
gir/girgen/types/resolve.go:547
↓ 3 callersFunctionImportCore
ImportCore returns the path to import a core package.
gir/girgen/file/file.go:87
↓ 3 callersMethodImportResolvedType
(imports Import)
gir/girgen/file/file.go:138
↓ 3 callersMethodIncludeC
IncludeC adds a C header file into the cgo preamble.
gir/girgen/file/file.go:253
↓ 3 callersMethodIsAbstract
IsAbstract returns true if the resolved type is an interface or an abstract class.
gir/girgen/types/resolve.go:331
↓ 3 callersMethodIsInterface
IsInterface returns true if the generator is generating an interface.
gir/girgen/generators/iface/iface.go:145
↓ 3 callersMethodLen
Len returns the internal length of the buffer.
gir/girgen/pen/paper.go:34
↓ 3 callersMethodLogln
(lvl logger.Level, v ...interface{})
gir/girgen/generators/union.go:291
↓ 3 callersMethodLogln
(lvl logger.Level, v ...interface{})
gir/girgen/generators/callback/callback.go:74
↓ 3 callersFunctionMoveCPtr
MoveCPtr moves the same number of pointers from the given orig string into another string as prefix, for C types.
gir/girgen/types/types.go:284
↓ 3 callersFunctionMoveContextResult
MoveContextResult moves the context variable. True is returned if the variable is found and moved.
gir/girgen/generators/callable/callable.go:841
↓ 3 callersMethodNew
New creates a new list model of type T.
pkg/core/gioutil/listmodel.go:27
↓ 3 callersFunctionNewFuncStack
NewFuncStack creates a new FuncStack. The given frameSkip is added 2, meaning the first frame from 0 will start from the caller of NewFuncStack.
pkg/core/closure/funcstack.go:23
↓ 3 callersFunctionNewGenerator
NewGenerator creates a new Generator instance.
gir/girgen/generators/callback/callback.go:66
↓ 3 callersFunctionNewInputStream
NewInputStream creates a new InputStream for the given io.Reader. If r implements io.Closer, then it is automatically called if needed.
pkg/core/gioutil/gioutil.go:27
↓ 3 callersFunctionNewReturnValue
NewReturnValue creates a new ConversionValue from the given return attribute.
gir/girgen/types/typeconv/value.go:120
↓ 3 callersFunctionNewThrowValue
NewThrowValue creates a new GError value. Thrown values are always assumed to be conversions from C to Go. Errors should ALWAYS go AFTER the return!
gir/girgen/types/typeconv/value.go:187
↓ 3 callersFunctionNewValue
NewValue creates a new ConversionValue from the given parameter attributes.
gir/girgen/types/typeconv/value.go:75
↓ 3 callersMethodNext
Next points to the node's next sibling (a sibling is another #GNode with the same parent).
pkg/glib/v2/glib.go:22983
↓ 3 callersMethodOpen
Open opens a subcontainer inside the given builder. When done adding items to the subcontainer, g_variant_builder_close() must be called. type is the
pkg/glib/v2/glib.go:32254
↓ 3 callersMethodOutPtr
(want int)
gir/girgen/types/typeconv/valueconverted.go:834
↓ 3 callersFunctionParseRepository
ParseRepository parses a repository from the given file path.
gir/repository.go:26
↓ 3 callersFunctionRecordPrintFree
RecordPrintFree prints the call to the record's free function OR an empty string.
gir/girgen/types/types.go:121
↓ 3 callersMethodRelease
Release releases the GL resources held by a GdkGLTexture. The texture contents are still available via the gdk.Texture.Download() function, after thi
pkg/gdk/v4/gdk.go:15107
↓ 3 callersMethodRemove
Remove removes the value at the given index.
pkg/core/gioutil/listmodel.go:66
↓ 3 callersMethodRemove
Remove removes a key/value pair from a #GTree. If the #GTree was created using g_tree_new_full(), the key and value are freed using the supplied dest
pkg/glib/v2/glib.go:27524
↓ 3 callersMethodReset
Reset resets the callback generator.
gir/girgen/generators/iface/iface.go:100
↓ 3 callersMethodReset
Reset resets the state of the generator while reusing the backing pen.
gir/girgen/generators/callable/callable.go:81
↓ 3 callersMethodResize
Resize resizes window; for toplevel windows, asks the window manager to resize the window. The window manager may not allow the resize. When using GTK
pkg/gdk/v3/gdk.go:19089
↓ 3 callersFunctionResolveParameters
ResolveParameters puts each parameter through the type resolver and fill up any missing CType using ResolveAnyType. The returned slice is a copy.
gir/girgen/types/resolve.go:925
↓ 3 callersFunctionReturnName
(attrs *gir.CallableAttrs)
gir/girgen/generators/callable/callable.go:896
↓ 3 callersMethodSetName
SetName sets the type's name. Note that this will change the type inside the repositories as well.
gir/gir.go:422
↓ 3 callersMethodSize
Size gets the size of the component in terms of width and height.
pkg/atk/atk.go:3931
↓ 3 callersFunctionSnakeNoGo
SnakeNoGo ensures the snake-case string is never a Go keyword.
gir/girgen/strcases/strcases.go:290
↓ 3 callersMethodSnapshot
Snapshot snapshots the given paintable with the given width and height.
pkg/gdk/v4/gdk.go:5806
↓ 3 callersMethodStatus
Status is a wrapper around cairo_pattern_status().
pkg/cairo/pattern.go:112
↓ 3 callersFunctionStubFileGeneratorWriter
headeredFileGenerator is used to overried a Header to be used inside callable.FileGenerator. type headeredFileGenerator struct { types.FileGenerator
gir/girgen/generators/generators.go:58
↓ 3 callersFunctionTypeRenamer
TypeRenamer creates a new filter matcher that renames a type. The given GIR type must contain the versioned namespace, like "Gtk3.Widget" but the give
gir/girgen/types/filter.go:179
↓ 3 callersFunctionUnexportPascal
UnexportPascal converts the PascalToGo string to be unexported.
gir/girgen/strcases/strcases.go:175
↓ 3 callersFunctionWithCancel
WithCancel behaves similarly to context.WithCancel, except the created context is of type Cancellable. This is useful if the user wants to reuse the s
pkg/core/gcancel/gcancel.go:152
↓ 3 callersMethodWrite
Write writes using Print.
gir/girgen/pen/piece.go:36
↓ 3 callersFunctionassertCursorPos
(t *testing.T, s io.Seeker, gs *gio.Seekable, want int64)
pkg/core/gioutil/gioutil_test.go:88
← previousnext →301–400 of 8,844, ranked by callers