MCPcopy Index your code

hub / github.com/diamondburned/gotk4 / functions

Functions8,844 in github.com/diamondburned/gotk4

↓ 9,859 callersMethodPointer
Pointer returns the master device that routes pointer events. The function returns the following values: - device (optional): master Device with poi
pkg/gdk/v3/gdk.go:15291
↓ 2,062 callersMethodNative
Native returns native c pointer to a matrix
pkg/cairo/matrix.go:37
↓ 1,654 callersFunctionStructNative
StructNative returns the underlying C pointer of the given Go record struct pointer. It can be used like so: rec := NewRecord(...) // T = *Record c
pkg/core/gextras/gextras.go:30
↓ 1,448 callersMethodTypeFromInstance
TypeFromInstance is a wrapper around g_type_from_instance().
pkg/core/glib/glib.go:790
↓ 1,265 callersMethodString
String returns a textual specification of rgba in the form rgb(r,g,b) or rgba(r g,b,a), where “r”, “g”, “b” and “a” represent the red, green, blue and
pkg/gdk/v3/gdk.go:24637
↓ 1,160 callersFunctionNewStructNative
NewStructNative creates a new Go struct from the given native pointer. The finalizer is NOT set.
pkg/core/gextras/gextras.go:50
↓ 1,025 callersMethodPointer
Pointer returns the device that routes pointer events. The function returns the following values: - device (optional): GdkDevice with pointer capabi
pkg/gdk/v4/gdk.go:16804
↓ 983 callersMethodTryRepanic
TryRepanic attempts to recover a panic. If successful, it will re-panic with the trace, or none if there is already one.
pkg/core/closure/funcstack.go:109
↓ 953 callersMethodfree
()
pkg/core/girepository/girepository.go:123
↓ 532 callersMethodWalkCast
WalkCast is like Cast, except the user is walked through the object's entire inheritance tree as well as all its interfaces. This is used in the code
pkg/core/glib/glib.go:725
↓ 475 callersMethodWriteString
(s string)
gir/girgen/pen/pen.go:29
↓ 389 callersFunctionStructIntern
StructIntern returns the given struct's internal struct pointer.
pkg/core/gextras/gextras.go:35
↓ 284 callersMethodType
Type: type of the event.
pkg/gdk/v3/gdk.go:20929
↓ 253 callersMethodLinef
Linef writes a Sprintf-formatted line.
gir/girgen/pen/pen.go:79
↓ 213 callersMethodPointer
Pointer is a wrapper around g_value_get_pointer().
pkg/core/glib/glib.go:1675
↓ 172 callersFunctionTake
Take returns a new Go error from a *GError and frees the *GError. If the *GError is nil, then a nil error is returned.
pkg/core/gerror/gerror.go:123
↓ 149 callersMethodObject
Object is a wrapper around g_value_get_object(). The returned object is taken its own reference.
pkg/core/glib/glib.go:1690
↓ 141 callersFunctionGet
Get gets the value from the given fake pointer. The context must match the given value in Assign.
pkg/core/gbox/box.go:100
↓ 113 callersMethodEnum
Enum is a wrapper around g_value_get_enum().
pkg/core/glib/glib.go:1698
↓ 85 callersMethodBoxed
Boxed is a wrapper around g_value_get_boxed().
pkg/core/glib/glib.go:1682
↓ 82 callersFunctionNew
New creates a new *C.GError from the given error. The caller is responsible for freeing the error with g_error_free().
pkg/core/gerror/gerror.go:79
↓ 82 callersMethodnative
native returns a pointer to the underlying cairo_t.
pkg/cairo/canvas.go:22
↓ 73 callersMethodString
String returns the name in string for Style.
pkg/pango/pango.go:2022
↓ 66 callersMethodLogln
(Level, ...interface{})
gir/girgen/logger/logger.go:70
↓ 61 callersMethodString
String returns a textual specification of rgba in the form rgb(r,g,b) or rgba(r,g,b,a), where “r”, “g”, “b” and “a” represent the red, green, blue and
pkg/gdk/v4/gdk.go:20427
↓ 59 callersMethodGrow
Grow grows the slab to the given capacity.
pkg/core/slab/slab.go:29
↓ 58 callersMethodHeader
()
gir/girgen/file/file.go:24
↓ 55 callersMethodType
Type: type ID for this attribute.
pkg/pango/pango.go:12565
↓ 50 callersFunctionAbsoluteFilter
AbsoluteFilter matches the names absolutely.
gir/girgen/types/filter.go:452
↓ 50 callersMethodGType
GType gets the GType to of the object to serialize. The function returns the following values: - gType: GType for the current operation.
pkg/gdk/v4/gdk.go:9132
↓ 49 callersFunctionWrapContext
(p uintptr)
pkg/cairo/canvas.go:44
↓ 48 callersMethodType
Type: atkKeyEventType, generally one of ATK_KEY_EVENT_PRESS or ATK_KEY_EVENT_RELEASE.
pkg/atk/atk.go:16897
↓ 44 callersMethodPanicf
Panicf panics with the given FuncStack printed to standard error.
pkg/core/closure/funcstack.go:79
↓ 43 callersMethodImport
(gen types.FileGenerator, h *file.Header, public bool)
gir/girgen/types/typeconv/valueconverted.go:57
↓ 43 callersMethodJoin
Join joins the joints.
gir/girgen/pen/joints.go:40
↓ 41 callersMethodnative
()
pkg/core/glib/glib.go:1098
↓ 38 callersMethodString
String returns the name in string for Live.
pkg/atk/atk.go:903
↓ 37 callersFunctionAssign
Assign assigns the given value and returns the fake pointer.
pkg/core/gbox/box.go:88
↓ 34 callersMethodImport
(path string)
gir/girgen/file/file.go:96
↓ 34 callersMethodnative
native returns a pointer to the underlying cairo_region_t.
pkg/cairo/region.go:86
↓ 33 callersMethodPrintf
Printf writes a Sprintf-formatted string.
gir/girgen/pen/pen.go:60
↓ 32 callersMethodLinef
Linef writes a line using Printf. If v is none, then f is taken literally.
gir/girgen/pen/block.go:30
↓ 32 callersFunctionNewCancellableContext
NewCancellableContext creates a new context.Context from the given *GCancellable. If the pointer is nil, then context.Background() is used.
pkg/core/gcancel/gcancel.go:125
↓ 32 callersMethodType
Type determines the type of value. The return value is valid for the lifetime of value and must not be freed. The function returns the following val
pkg/glib/v2/glib.go:31443
↓ 32 callersFunctionwrapObject
(obj *coreglib.Object)
pkg/atk/atk.go:14082
↓ 30 callersFunctionFileFilterNamespace
FileFilterNamespace filters based on the source position and namespace. It filters out types that have a source position that contains the given strin
gir/girgen/types/filter.go:553
↓ 29 callersMethodFlags
Flags: get flags for the paintable.
pkg/gdk/v4/gdk.go:5789
↓ 29 callersMethodLine
Line writes a single line.
gir/girgen/pen/pen.go:76
↓ 29 callersMethodObject
Object gets the GObject for which obj is the accessible object. The function returns the following values: - object which is the object for which ob
pkg/atk/atk.go:12744
↓ 29 callersMethodString
String converts the path into a string that is suitable for printing. You can use this function in a debugger to get a quick overview of the path. T
pkg/gsk/v4/gsk.go:7031
↓ 28 callersFunctionnewVariantType
newVariantType wraps a native GVariantType. Does not create a finalizer. Use takeVariantType for instances which need to be freed after use.
pkg/core/glib/gvariant.go:233
↓ 26 callersMethodApplyFrom
ApplyFrom is ApplyTo but reversed.
gir/girgen/file/file.go:292
↓ 26 callersMethodNamespace
Namespace returns the generator's current namespace.
gir/girgen/types/generator.go:31
↓ 26 callersMethodPen
Pen returns the generator's file writer.
gir/girgen/generators/generators.go:45
↓ 26 callersMethodnative
native returns a pointer to the underlying GVariant.
pkg/core/glib/gvariant.go:17
↓ 26 callersFunctionwrapPixbuf
(obj *coreglib.Object)
pkg/gdkpixbuf/v2/gdkpixbuf.go:552
↓ 25 callersMethodImportCore
ImportCore adds a core import.
gir/girgen/file/file.go:92
↓ 25 callersMethodWriteByte
(b byte)
gir/girgen/pen/pen.go:28
↓ 23 callersMethodContains
Contains checks whether the specified point is within the extent of the component.
pkg/atk/atk.go:3918
↓ 23 callersMethodName
()
gir/girgen/file.go:25
↓ 22 callersFunctionRegisterGValueMarshaler
RegisterGValueMarshaler registers a single GValue marshaler. If the function has already been called before on the same Type, then it does nothing, an
pkg/core/glib/glib.go:1275
↓ 21 callersFunctionGCancellableFromContext
CancellableFromContext gets the underlying Cancellable instance from the given context. If ctx does not contain the Cancellable instance, then a conte
pkg/core/gcancel/gcancel.go:116
↓ 21 callersMethodShouldFree
ShouldFree returns true if the C value must be freed once we're done.
gir/girgen/types/typeconv/valueconverted.go:874
↓ 21 callersFunctionSnakeToGo
SnakeToGo converts snake case to Go's special case. If Pascal is true, then the first letter is capitalized.
gir/girgen/strcases/strcases.go:198
↓ 20 callersMethodActivate
Activate does initial setup before rendering operations on renderer. pango.Renderer.Deactivate() should be called when done drawing. Calls such as pa
pkg/pango/pango.go:11521
↓ 20 callersMethodAdd
Add adds a new joint.
gir/girgen/pen/joints.go:29
↓ 20 callersFunctionDelete
Delete deletes a boxed value. It is exposed to C under the name "callbackDelete".
pkg/core/gbox/box.go:106
↓ 20 callersMethodIsExternGLib
IsExternGLib checks that the ResolvedType is exactly the gotk3/glib type with the given name. Pointers are not compared.
gir/girgen/types/resolve.go:197
↓ 20 callersFunctionListSize
ListSize returns the length of the list.
pkg/core/gextras/gextras.go:77
↓ 20 callersFunctionMoveList
MoveList calls f on every value of the given *GList. If rm is true, then the GList is freed.
pkg/core/gextras/gextras.go:83
↓ 19 callersMethodAscend
()
gir/girgen/pen/pen.go:90
↓ 19 callersMethodString
String returns a string representing uri. This is not guaranteed to return a string which is identical to the string that uri was parsed from. Howeve
pkg/glib/v2/glib.go:28206
↓ 19 callersMethodWords
Words writes a list of words into a single line.
gir/girgen/pen/pen.go:40
↓ 19 callersFunctionwrapDisplay
(obj *coreglib.Object)
pkg/gdk/v4/gdk.go:10467
↓ 18 callersMethodChanged
Changed forces a change in the context, which will cause any PangoLayout using this context to re-layout. This function is only useful when implement
pkg/pango/pango.go:5275
↓ 18 callersMethodEmptyLine
EmptyLine adds an empty line.
gir/girgen/pen/pen.go:85
↓ 18 callersMethodLinkMode
LinkMode gets the current link mode of the file generator.
gir/girgen/types/generator.go:35
↓ 18 callersMethodnative
native returns a pointer to the underlying cairo_surface_t.
pkg/cairo/surface.go:49
↓ 17 callersFunctionAssignOnce
AssignOnce stores the given value so that, when the value is retrieved, it will immediately be deleted.
pkg/core/gbox/box.go:94
↓ 17 callersMethodInit
Init initializes the Value to the given GType. It does nothing if the Value is already initialized.
pkg/core/glib/glib.go:1124
↓ 17 callersMethodSplit
Split modifies orig to cover only the text after split_index, and returns a new item that covers the text before split_index that used to be in orig.
pkg/pango/pango.go:16789
↓ 16 callersMethodNeedsExternGLib
needsExternGLib adds the external gotk3/glib import.
gir/girgen/file/file.go:119
↓ 16 callersMethodnative
Native returns native c pointer to a matrix
pkg/cairo/matrix.go:32
↓ 16 callersFunctionwrapDisplay
(obj *coreglib.Object)
pkg/gdk/v3/gdk.go:10385
↓ 15 callersMethodDescend
()
gir/girgen/pen/pen.go:89
↓ 15 callersFunctionFilter
Filter returns true if the given GIR and/or C type should be omitted from the given generator.
gir/girgen/types/filter.go:398
↓ 15 callersMethodInNamePtr
InNamePtr returns the name with the pointer prefixed using InPtr.
gir/girgen/types/typeconv/valueconverted.go:771
↓ 15 callersMethodIsIntrospectable
()
gir/gir.go:446
↓ 15 callersMethodLineTmpl
LineTmpl writes an inline template with the delimiter "{" and "}".
gir/girgen/pen/pen.go:101
↓ 15 callersMethodLogln
(lvl logger.Level, v ...interface{})
gir/girgen/types/typeconv/valueconverted.go:130
↓ 15 callersMethodNew
New creates an instance of the subclass object with no properties.
pkg/core/glib/go.go:210
↓ 15 callersMethodString
String returns the inner string block.
gir/girgen/pen/piece.go:81
↓ 15 callersMethodType
Type returns the Value's actual type. is a wrapper around the G_VALUE_TYPE() macro. It returns TYPE_INVALID if v does not hold a Type, or otherwise re
pkg/core/glib/glib.go:1241
↓ 15 callersMethodWriteTmpl
WritTmpl writes a template into the pen.
gir/girgen/pen/pen.go:93
↓ 14 callersMethodLen
Len returns the length of joints
gir/girgen/pen/joints.go:37
↓ 14 callersFunctionNewGoTemplate
(block string)
gir/girgen/gotmpl/gotmpl.go:21
↓ 14 callersFunctionVersionedNamespace
VersionedNamespace returns the versioned name for the given namespace.
gir/gir.go:74
↓ 14 callersFunctiongobool
Deprecated: use GoBool.
pkg/core/glib/glib.go:46
↓ 14 callersFunctionwrapWindow
(obj *coreglib.Object)
pkg/gdk/v3/gdk.go:16000
↓ 13 callersFunctionCleanCType
CleanCType cleans the underlying C type of and special keywords for comparison.
gir/girgen/types/types.go:300
next →1–100 of 8,844, ranked by callers