MCPcopy Create free account

hub / github.com/diamondburned/gotk4 / functions

Functions8,844 in github.com/diamondburned/gotk4

↓ 6 callersMethodconvertType
convertType converts a manually-crafted value with the given type.
gir/girgen/types/typeconv/typeconv.go:292
↓ 6 callersMethodensureCap
()
gir/girgen/pen/piece.go:18
↓ 6 callersFunctiongets
go:nosplit
pkg/core/intern/intern.go:313
↓ 6 callersMethodlookupType
(t Type)
pkg/core/glib/glib.go:1393
↓ 6 callersMethodmakeFile
(filename string)
gir/girgen/namespace.go:232
↓ 6 callersMethodownershipIsTransferring
isTransferring is true when the ownership is either full or container. If the converter code isn't generating for an array, then distinguishing this d
gir/girgen/types/typeconv/value.go:257
↓ 6 callersFunctionwrapContentProvider
(obj *coreglib.Object)
pkg/gdk/v4/gdk.go:8526
↓ 6 callersFunctionwrapContext
(obj *coreglib.Object)
pkg/pango/pango.go:5232
↓ 6 callersFunctionwrapCoverage
(obj *coreglib.Object)
pkg/pango/pango.go:5932
↓ 6 callersFunctionwrapCursor
(obj *coreglib.Object)
pkg/gdk/v3/gdk.go:8560
↓ 6 callersFunctionwrapCursor
(obj *coreglib.Object)
pkg/gdk/v4/gdk.go:9457
↓ 6 callersFunctionwrapTexture
(obj *coreglib.Object)
pkg/gdk/v4/gdk.go:17779
↓ 5 callersMethodAddCallbackHeader
AddCallbackHeader adds a callback header raw.
gir/girgen/file/file.go:209
↓ 5 callersMethodAll
All returns an iterator over all values in the list.
pkg/core/gioutil/listmodel.go:100
↓ 5 callersMethodAppend
Append appends a value to the list.
pkg/core/gioutil/listmodel.go:61
↓ 5 callersFunctionBGRA
BGRA converts a pixel buffer between Go's RGBA and other systems' BGRA byte orders. It panics if the input slice length is not a multiple of 4.
pkg/cairo/swizzle/swizzle_common.go:13
↓ 5 callersMethodBytes
Bytes returns the internal byte slice.
gir/girgen/pen/paper.go:84
↓ 5 callersFunctionCGoTypeFromC
CGoTypeFromC converts a C type to a CGo type.
gir/girgen/types/types.go:328
↓ 5 callersMethodCType
CType returns the resulting type's C type identifier.
gir/gir.go:342
↓ 5 callersMethodClosures
Closures returns the closure registry for this Box.
pkg/core/intern/intern.go:44
↓ 5 callersMethodConvert
Convert converts the value at the given index.
gir/girgen/types/typeconv/typeconv.go:193
↓ 5 callersMethodConvertAll
ConvertAll converts all values.
gir/girgen/types/typeconv/typeconv.go:130
↓ 5 callersMethodDx
Dx: horizontal offset of the shadow.
pkg/gsk/v4/gsk.go:9143
↓ 5 callersFunctionExportedName
ExportedName generates the full name for any exported function or variable generated by gotk4. It prepends the right strings to make the exported iden
gir/girgen/file/file.go:169
↓ 5 callersFunctionFilterSub
FilterSub filters a field or method inside a parent.
gir/girgen/types/filter.go:425
↓ 5 callersFunctionGIRIsPrimitive
GIRIsPrimitive returns true if the Go primitive type of the GIR type is valid and is not a string.
gir/girgen/types/types.go:540
↓ 5 callersFunctionGenerateGType
(gen FileGeneratorWriter, name, glibGetType string)
gir/girgen/generators/generators.go:78
↓ 5 callersMethodGoValue
GoValue converts a Value to comparable Go type. GoValue() returns InvalidValue if the conversion was unsuccessful. The returned value must be type ass
pkg/core/glib/glib.go:1509
↓ 5 callersMethodImportImpl
ImportImpl adds the import for the implementing type of the Resolved type into the file header.
gir/girgen/types/resolve.go:685
↓ 5 callersMethodImportPubl
ImportPubl adds the import for the public type of the Resolved type into the file header.
gir/girgen/types/resolve.go:664
↓ 5 callersMethodLogln
(lvl logger.Level, v ...interface{})
gir/girgen/generators/callable/callable.go:783
↓ 5 callersFunctionModifyCallable
ModifyCallable is a preprocessor that modifies an existing callable. It only does Function or Callback.
gir/girgen/types/filter.go:252
↓ 5 callersMethodNItems
NItems determines the number of items contained in a tuple or dictionary entry type. This function may only be used with tuple or dictionary entry ty
pkg/glib/v2/glib.go:33386
↓ 5 callersMethodNeedsGLibObject
NeedsGLibObject adds the glib-object.h include and the glib-2.0 package.
gir/girgen/file/file.go:277
↓ 5 callersMethodOutCast
OutCast returns the left-hand side consisting of the pointer dereference and the pointer-prefixed type.
gir/girgen/types/typeconv/valueconverted.go:801
↓ 5 callersFunctionParseVersionName
ParseVersionName parses the given full namespace to return the original name and the version separately. If no versions are available, then the empty
gir/gir.go:86
↓ 5 callersMethodSeek
(offset int64, whence int)
pkg/core/gioutil/gioutil.go:195
↓ 5 callersMethodStore
Store stores the serialized form of value at data. data should be large enough. See g_variant_get_size(). The stored data is in machine native byte o
pkg/glib/v2/glib.go:31923
↓ 5 callersMethodString
String returns the name in string for Colorspace.
pkg/gdkpixbuf/v2/gdkpixbuf.go:121
↓ 5 callersMethodString
String returns the block.
gir/girgen/pen/block.go:40
↓ 5 callersFunctionTryGet
TryGet gets the Box associated with the GObject or nil if it's gone. The caller must not retain the Box pointer anywhere.
pkg/core/intern/intern.go:134
↓ 5 callersFunctionValueFromNative
ValueFromNative returns a type-asserted pointer to the Value. It does not add a finalizer into the Value. This function should only be used for autoge
pkg/core/glib/glib.go:1079
↓ 5 callersMethodbuilder
()
gir/girgen/pen/paper.go:66
↓ 5 callersFunctionfindInfo
(k infoKey, f func(infoCKey) unsafe.Pointer)
pkg/core/girepository/girepository.go:230
↓ 5 callersFunctiongbool
Deprecated: use GBool.
pkg/core/glib/glib.go:36
↓ 5 callersFunctiongetField
(value reflect.Value, field string)
gir/girgen/cmt/cmt.go:66
↓ 5 callersMethodinstance
(goval any)
pkg/core/glib/go.go:272
↓ 5 callersMethodnative
()
pkg/core/glib/gvariant.go:210
↓ 5 callersFunctionnewJunk
newJunk returns a byte slice of new random junk.
pkg/core/gioutil/gioutil_test.go:15
↓ 5 callersFunctionnewPatternFromNative
(patternNative *C.cairo_pattern_t)
pkg/cairo/pattern.go:68
↓ 5 callersFunctionwrapHyperlink
(obj *coreglib.Object)
pkg/atk/atk.go:12941
↓ 5 callersFunctionwrapMonitor
(obj *coreglib.Object)
pkg/gdk/v4/gdk.go:16003
↓ 5 callersFunctionwrapSnapshot
(obj *coreglib.Object)
pkg/gdk/v4/gdk.go:16886
↓ 4 callersFunctionAnyTypeIsPtr
AnyTypeIsPtr returns true if the AnyType contains a pointer.
gir/girgen/types/types.go:374
↓ 4 callersMethodCancel
Cancel will set cancellable to cancelled. It is the same as calling the cancel callback given after context creation.
pkg/core/gcancel/gcancel.go:37
↓ 4 callersMethodCast
Cast casts v to the concrete Go type (e.g. *Object to *gtk.Entry). go:nosplit go:nocheckptr
pkg/core/glib/glib.go:673
↓ 4 callersFunctionCreateImageSurface
CreateImageSurface is a wrapper around cairo_image_surface_create().
pkg/cairo/surface_image.go:50
↓ 4 callersMethodData
GetData is a wrapper around cairo_image_surface_get_data().
pkg/cairo/surface.go:304
↓ 4 callersFunctionDecPtr
DecPtr decrements a pointer in the type.
gir/girgen/types/types.go:266
↓ 4 callersMethodDy
Dy: vertical offset of the shadow.
pkg/gsk/v4/gsk.go:9151
↓ 4 callersMethodError
Error implements error. It calls String() unless s is StatusSuccess.
pkg/cairo/status.go:113
↓ 4 callersMethodFocus
Focus sets keyboard focus to surface.
pkg/gdk/v4/gdk.go:6632
↓ 4 callersFunctionGIRPrimitiveGo
GIRPrimitiveGo returns Go primitive types that can be copied by-value without doing any pointer work. It returns an empty string if there's none.
gir/girgen/types/types.go:526
↓ 4 callersFunctionHasKey
(key string)
pkg/core/gdebug/gdebug.go:13
↓ 4 callersFunctionHashTableSize
HashTableSize returns the size of the *GHashTable.
pkg/core/gextras/gextras.go:56
↓ 4 callersMethodHeader
Header returns the callback generator's current header.
gir/girgen/generators/iface/iface.go:156
↓ 4 callersMethodHide
Hide: for toplevel windows, withdraws them, so they will no longer be known to the window manager; for all windows, unmaps them, so they won’t be disp
pkg/gdk/v3/gdk.go:18434
↓ 4 callersMethodImportAlias
(path, alias string)
gir/girgen/file/file.go:100
↓ 4 callersMethodIndex
Index returns the actual underlying index if any, or it returns -1.
gir/girgen/types/typeconv/value.go:33
↓ 4 callersMethodInsertText
InsertText: insert text at a given position.
pkg/atk/atk.go:5617
↓ 4 callersMethodInt
Int returns the next random #guint32 from rand_ equally distributed over the range [0..2^32-1]. The function returns the following values: - guint32
pkg/glib/v2/glib.go:24704
↓ 4 callersMethodIs
Is checks that the index matches. This method should be used as it guarantees that the given index isn't special.
gir/girgen/types/typeconv/value.go:42
↓ 4 callersMethodIsClass
IsClass returns true if the generator is generating a class.
gir/girgen/generators/iface/iface.go:133
↓ 4 callersMethodIsEmpty
()
gir/girgen/file.go:24
↓ 4 callersMethodIsGpointer
IsGpointer returns true if the given type is a gpointer type.
gir/girgen/types/resolve.go:223
↓ 4 callersMethodIsPrimitive
IsPrimitive returns true if the resolved type is a builtin type that can be directly casted to an equivalent C type OR a record.
gir/girgen/types/resolve.go:365
↓ 4 callersMethodIsReadable
IsReadable returns true if the field is readable.
gir/types.go:180
↓ 4 callersMethodLogln
TODO: realistically, the difference between the expected poiner and what C wants is only 1. We can work around this. TODO: ideally, we should treat a
gir/girgen/types/typeconv/typeconv.go:427
↓ 4 callersMethodMatchString
MatchString matches a string against a compiled pattern. If the string is to be matched against more than one pattern, consider using g_pattern_match(
pkg/glib/v2/glib.go:24019
↓ 4 callersFunctionMoveHashTable
MoveHashTable calls f on every value of the given *GHashTable and frees each element in the process if rm is true.
pkg/core/gextras/gextras.go:62
↓ 4 callersMethodName
Name returns the copy of the type's name.
gir/gir.go:416
↓ 4 callersFunctionNewBlock
NewBlock creates a new preallocated block.
gir/girgen/pen/block.go:15
↓ 4 callersFunctionNewGenerator
NewGenerator creates a new callable generator from the given generator.
gir/girgen/generators/callable/callable.go:69
↓ 4 callersFunctionNewPaperBufferSize
NewPaperBufferSize creates a new Paper with the given size to preallocate.
gir/girgen/pen/paper.go:59
↓ 4 callersFunctionNewPaperStringSize
NewPaperStringSize creates a new Paper with the given size to preallocate.
gir/girgen/pen/paper.go:19
↓ 4 callersFunctionNewTraces
NewTraces returns a new Traceable struct with the stack trace of the calling function.
gir/internal/tracing/tracing.go:17
↓ 4 callersMethodRead
Read implements io.Reader.
pkg/core/gioutil/gioutil.go:61
↓ 4 callersMethodRealize
Realize creates the resources needed by the renderer to render the scene graph. Since GTK 4.6, the surface may be NULL, which allows using renderers
pkg/gsk/v4/gsk.go:5054
↓ 4 callersMethodRecv
Recv returns the method receiver.
gir/girgen/generators/union.go:140
↓ 4 callersFunctionRegisterGValueMarshalers
RegisterGValueMarshalers adds marshalers for several types to the internal marshalers map. Once registered, calling GoValue on any Value with a regist
pkg/core/glib/glib.go:1282
↓ 4 callersFunctionRenameEnumMembers
RenameEnumMembers renames all members of the matched enums. It is primarily used to avoid collisions.
gir/girgen/types/filter.go:148
↓ 4 callersMethodRender
Render renders the scene graph, described by a tree of GskRenderNode instances to the renderer's surface, ensuring that the given region gets redrawn.
pkg/gsk/v4/gsk.go:5126
↓ 4 callersMethodRepositories
Repositories returns the list of known repositories inside the generator.
gir/girgen/types/generator.go:29
↓ 4 callersMethodReset
Reset resets the state of the checksum back to its initial state.
pkg/glib/v2/glib.go:15234
↓ 4 callersMethodSeek
Seek sets the current position in the OChannel, similar to the standard library function fseek(). Deprecated: Use g_io_channel_seek_position() instea
pkg/glib/v2/glib.go:18838
↓ 4 callersMethodShow
Show: like gdk_window_show_unraised(), but also raises the window to the top of the window stack (moves the window to the front of the Z-order). This
pkg/gdk/v3/gdk.go:20266
↓ 4 callersFunctionSplitGIRType
SplitGIRType splits the given GIR type string into 2 parts: the namespace, which preceeds the period, and the type name. If there is no period, then a
gir/gir.go:55
↓ 4 callersMethodString
String calls t.Name(). It satisfies fmt.Stringer.
pkg/core/glib/glib.go:118
↓ 4 callersFunctionStringSet
StringSet joins the given slices of strings into a map with the keys as the values of each of the given slices.
gir/cmd/gir-generate/genmain/genutil.go:22
↓ 4 callersFunctionTake
Take wraps a unsafe.Pointer as a Object, taking ownership of it. This function is exported for visibility in other gotk3 packages and is not meant to
pkg/core/glib/glib.go:637
← previousnext →201–300 of 8,844, ranked by callers