MCPcopy Create free account

hub / github.com/material-shell/material-shell / functions

Functions17,619 in github.com/material-shell/material-shell

↓ 162 callersMethodconnect
(signal: string, callback: F)
src/utils/signal.ts:4
↓ 91 callersMethodadd_child
* Adds a child to `stack`. * @param child the widget to add * @returns the `GtkStackPage` for @child
@types/gir-generated/gtk-4.0.d.ts:114329
↓ 74 callersMethodpush
* Extends the given path buffer with `path`. * * If `path` is absolute, it replaces the current path. * * If `path
@types/gir-generated/glib-2.0.d.ts:20552
↓ 67 callersFunctionassert
( shouldBeTrue: boolean, message: string )
src/utils/assert.ts:10
↓ 50 callersMethodemit
(sigName: 'notify::child', ...args: any[])
@types/gir-generated/adw-1.d.ts:7175
↓ 47 callersMethoddisconnect
(id: number)
src/utils/signal.ts:8
↓ 45 callersMethodfilter
* Given a `PangoAttrList` and callback function, removes * any elements of `list` for which `func` returns %TRUE and * inserts them
@types/gir-generated/pango-1.0.d.ts:5924
↓ 43 callersMethoddestroy
* Destroy a PKCS#11 object, deleting it from storage or the session. * This call may block for an indefinite period. * @param cancel
@types/gir-generated/gck-2.d.ts:1051
↓ 38 callersMethodmap
* Causes a widget to be mapped if it isn’t already. * * This function is only for use in widget implementations.
@types/gir-generated/gtk-4.0.d.ts:133526
↓ 38 callersMethodobserve
( subject: WithSignals | GObject.Object, property: string, // eslint-disable-next-line
src/manager/msManager.ts:20
↓ 37 callersMethodbind
* When a socket is created it is attached to an address family, but it * doesn't have an address in this family. g_socket_bind() assigns the
@types/gir-generated/gio-2.0.d.ts:43699
↓ 37 callersMethodset
* Set PKCS#11 attributes on an object. This call may block for an indefinite period. * @param attrs The attributes to set on the object.
@types/gir-generated/gck-2.d.ts:1299
↓ 35 callersMethodget_width
* Returns the content width of the widget. * * This function returns the width passed to its * size-allocate implementation
@types/gir-generated/gtk-4.0.d.ts:133302
↓ 34 callersFunctionassertNotNull
(value: T | null | undefined)
src/utils/assert.ts:3
↓ 34 callersMethodget_height
* Returns the content height of the widget. * * This function returns the height passed to its * size-allocate implementati
@types/gir-generated/gtk-4.0.d.ts:132933
↓ 32 callersMethodget_parent
* Gets the parent directory for the `file`. * If the `file` represents the root directory of the * file system, then %NULL will be r
@types/gir-generated/gio-2.0.d.ts:13063
↓ 31 callersMethodget_children
* Retrieves the list of children of `self`. * @returns A newly allocated #GList of `ClutterActor`s. Use g_list_free() when done.
@types/gir-generated/clutter-13.d.ts:7341
↓ 30 callersMethodallocate
* This function is only used by `GtkWidget` subclasses, to * assign a size, position and (optionally) baseline to their * child widg
@types/gir-generated/gtk-4.0.d.ts:132506
↓ 28 callersMethodhide
* Reverses the effects of gtk_widget_show(). * * This is causing the widget to be hidden (invisible to the user).
@types/gir-generated/gtk-4.0.d.ts:133340
↓ 27 callersMethodaddSetting
( key: string, type: WidgetType, customWidget?: Gtk.Widget
src/prefs/prefs.ts:364
↓ 26 callersMethodremove_child
* Removes a widget from the content area of the info bar. * @param widget a child that has been added to the content area
@types/gir-generated/gtk-4.0.d.ts:73759
↓ 24 callersFunctionlog
(...args: any[])
src/prefs/prefs.ts:16
↓ 24 callersMethodsplice
* This is a support function for `GListModel` handling, by mirroring * the `GlistModel::items-changed` signal. * * First, i
@types/gir-generated/gtk-4.0.d.ts:138717
↓ 23 callersMethodadd_style_class_name
* Adds `style_class` to `actor'`s style class name list, if it is not * already present. * @param style_class a style class name str
@types/gir-generated/st-13.d.ts:13761
↓ 22 callersMethodactivate
* Like shell_app_activate_full(), but using the default workspace and * event timestamp.
@types/gir-generated/shell-13.d.ts:378
↓ 22 callersFunctionprintc
Prints some text with a color
scripts/install.py:18
↓ 22 callersMethodround
* Rounds the origin and size of the given rectangle to * their nearest integer values; the rounding is guaranteed * to be large enou
@types/gir-generated/graphene-1.0.d.ts:2561
↓ 21 callersMethodget
* Returns the current value of the thread local variable `key`. * * If the value has not yet been set in this thread, %NULL is retur
@types/gir-generated/glib-2.0.d.ts:20807
↓ 21 callersMethodgetPanelSize
()
src/manager/msThemeManager.ts:200
↓ 21 callersMethodget_current_time
()
@types/gir-generated/shell-13.d.ts:1087
↓ 20 callersMethodgetActiveMsWorkspace
()
src/manager/msWorkspaceManager.ts:620
↓ 20 callersMethodlog
* Logs a message with severity equal to {@link GLib.LogLevelFlags.MESSAGE}. * * @param data formatting substitutions, if applicable
@types/gir-generated/dom.d.ts:103
↓ 20 callersFunctionparseVersion
(s: string)
src/utils/shellVersionMatch.ts:97
↓ 19 callersMethodget_default
* Whether the active connection is the default IPv4 one (that is, is used for * the default IPv4 route and DNS information). * @retu
@types/gir-generated/nm-1.0.d.ts:6902
↓ 18 callersMethodreplace
* Returns an output stream for overwriting the file, possibly * creating a backup copy of the file first. If the file doesn't exist,
@types/gir-generated/gio-2.0.d.ts:14239
↓ 17 callersMethodget_boolean
* Gets the boolean value stored inside a node. * * If the node holds an integer or double value which is zero, `FALSE` is *
@types/gir-generated/json-1.0.d.ts:2653
↓ 17 callersMethodmax
* Compares the two given vectors and places the maximum * values of each component into `res`. * @param b a #graphene_vec2_t
@types/gir-generated/graphene-1.0.d.ts:3084
↓ 17 callersMethodshow
* Flags a widget to be displayed. * * Any widget that isn’t shown will not appear on the screen. * * Remember that
@types/gir-generated/gtk-4.0.d.ts:134135
↓ 16 callersMethodease
(params: EasingParamsWithProperties)
@types/mod.d.ts:204
↓ 16 callersFunctiongetSettings
(key: string)
src/utils/settings.ts:8
↓ 16 callersMethodremove_style_class_name
* Removes `style_class` from `actor'`s style class name, if it is * present. * @param style_class a style class name string
@types/gir-generated/st-13.d.ts:13923
↓ 15 callersMethodget_id
* Gets the unique ID of an #AtkPlug object, which can be used to * embed inside of an #AtkSocket using atk_socket_embed(). *
@types/gir-generated/atk-1.0.d.ts:7781
↓ 14 callersFunctioncompareVersions
(lhs: number[], rhs: number[])
src/utils/shellVersionMatch.ts:112
↓ 14 callersMethodget_name
* Gets `task’`s name. See g_task_set_name(). * @returns @task’s name, or %NULL
@types/gir-generated/gio-2.0.d.ts:47854
↓ 14 callersMethodhas_style_class_name
* Tests if `actor'`s style class list includes `style_class`. * @param style_class a style class string * @returns whether or not @a
@types/gir-generated/st-13.d.ts:13849
↓ 14 callersFunctionlogAssert
(shouldBeTrue: boolean, message: string)
src/utils/assert.ts:19
↓ 14 callersMethodobserve
(subject: CanSendSignal<F>, signalKey: string, callback: F)
src/utils/signal.ts:62
↓ 14 callersMethodset_child
* Sets the child widget of `self`. * @param child the child widget
@types/gir-generated/adw-1.d.ts:7163
↓ 13 callersMethodfind
* Find an attribute in the builder. Both valid and invalid attributes (in * the PKCS#11 sense) are returned. If multiple attributes exist for
@types/gir-generated/gck-2.d.ts:3622
↓ 13 callersMethodfocusTileable
(tileable: Tileable | null, forced = false)
src/layout/msWorkspace/msWorkspace.ts:520
↓ 13 callersMethodgetPanelSizeNotScaled
()
src/manager/msThemeManager.ts:204
↓ 13 callersMethodgetScaledSize
(size: number)
src/manager/msThemeManager.ts:208
↓ 13 callersMethodget_active_workspace_index
()
@types/gir-generated/meta-13.d.ts:10775
↓ 13 callersMethodmin
* Compares the two given vectors and places the minimum * values of each component into `res`. * @param b a #graphene_vec2_t
@types/gir-generated/graphene-1.0.d.ts:3090
↓ 12 callersMethodgetActivePrimaryMsWorkspace
()
src/manager/msWorkspaceManager.ts:634
↓ 12 callersMethodget_compositor_private
* Gets the compositor's wrapper object for `window`. * @returns the wrapper object.
@types/gir-generated/meta-13.d.ts:8341
↓ 12 callersMethodsetWindowToMsWorkspace
( msWindow: MsWindow, newMsWorkspace: MsWorkspace, insert = false )
src/manager/msWorkspaceManager.ts:800
↓ 12 callersMethodset_allocation
* Stores the allocation of `self` as defined by `box`. * * This function can only be called from within the implementation of
@types/gir-generated/clutter-13.d.ts:8461
↓ 11 callersMethodadd
* Sets up a callback to be called at some later time. `when` determines the * particular later occasion at which it is called. This is much
@types/gir-generated/meta-13.d.ts:5699
↓ 11 callersMethodaddTimeout
(priority: number, interval: number, func: () => boolean)
src/utils/async.ts:8
↓ 11 callersMethodget_string
* Gets the HMAC as a hexadecimal string. * * Once this function has been called the #GHmac can no longer be * updated with
@types/gir-generated/glib-2.0.d.ts:17129
↓ 11 callersMethodpop
* Removes the last element of the path buffer. * * If there is only one element in the path buffer (for example, `/` on * U
@types/gir-generated/glib-2.0.d.ts:20518
↓ 11 callersFunctionreparentActor
( actor: Clutter.Actor | null, parent: Clutter.Actor | null, first = false )
src/utils/index.ts:111
↓ 10 callersMethodcall
* Asynchronously invokes the `method_name` method on `proxy`. * * If `method_name` contains any dots, then `name` is split into inte
@types/gir-generated/gio-2.0.d.ts:28689
↓ 10 callersMethodget_content_box
* Gets the box within an actor's allocation that contents the content * of an actor (excluding borders and padding). This is a convenience fu
@types/gir-generated/st-13.d.ts:12419
↓ 10 callersMethodget_theme_node
* Gets the theme node holding style information for the widget. * The theme node is used to access standard and custom CSS * propert
@types/gir-generated/st-13.d.ts:13837
↓ 10 callersMethodgrab_key_focus
* Sets the key focus of the #ClutterStage including `self` * to this #ClutterActor.
@types/gir-generated/clutter-13.d.ts:8011
↓ 10 callersMethodjoin
* Waits until `thread` finishes, i.e. the function `func,` as * given to g_thread_new(), returns or g_thread_exit() is called. * If
@types/gir-generated/glib-2.0.d.ts:23838
↓ 10 callersMethodqueue_relayout
* Indicates that the actor's size request or other layout-affecting * properties may have changed. This function is used inside #ClutterActor
@types/gir-generated/clutter-13.d.ts:8324
↓ 10 callersMethodset_text
* Sets the text displayed by the label. * @param text text to set the label to
@types/gir-generated/st-13.d.ts:7871
↓ 10 callersMethodsort
* Sort the items in `store` according to `compare_func`. * @param compare_func pairwise comparison function for sorting
@types/gir-generated/gio-2.0.d.ts:35328
↓ 10 callersMethodsplit
* Breaks the string on the pattern, and returns an array of the tokens. * If the pattern contains capturing parentheses, then the text for ea
@types/gir-generated/glib-2.0.d.ts:21688
↓ 9 callersMethodassign
* Copies the bytes from a string into a #GString, * destroying any previous contents. It is rather like * the standard strcpy() func
@types/gir-generated/glib-2.0.d.ts:23321
↓ 9 callersMethodgetMsWorkspacesOfMonitorIndex
(monitorIndex: number)
src/manager/msWorkspaceManager.ts:654
↓ 9 callersMethodget_int
* Gets the integer value stored inside a node. * * If the node holds a double value, its integer component is returned. *
@types/gir-generated/json-1.0.d.ts:2679
↓ 9 callersMethodget_workspace_by_index
* Gets the workspace object for one of a workspace manager's workspaces given the workspace * index. It's valid to call this function with an
@types/gir-generated/meta-13.d.ts:10784
↓ 9 callersMethodlogFocus
(...args: any[])
src/utils/debug.ts:57
↓ 9 callersMethodtoString
()
src/layout/msWorkspace/msWindow.ts:1311
↓ 8 callersMethodappend
* Adds `child` as the last child to `box`. * @param child the `GtkWidget` to append
@types/gir-generated/gtk-4.0.d.ts:22229
↓ 8 callersMethodget_child
* Gets the child widget of `self`. * @returns the child widget of @self
@types/gir-generated/adw-1.d.ts:7158
↓ 8 callersMethodsetCursor
(cursor: Meta.Cursor)
src/manager/msThemeManager.ts:242
↓ 8 callersMethodset_position
* Sets the position of the divider between the two panes. * @param position pixel position of divider, a negative value means that the positi
@types/gir-generated/gtk-4.0.d.ts:91083
↓ 8 callersMethodstateChanged
()
src/manager/stateManager.ts:108
↓ 8 callersMethodstateChanged
()
src/manager/msWorkspaceManager.ts:564
↓ 7 callersMethodhighlightButton
(button: MsApplicationButton)
src/widget/msApplicationLauncher.ts:514
↓ 7 callersMethodinsert_child_at_index
* Inserts `child` into the list of children of `self,` using the * given `index_`. If `index_` is greater than the number of children
@types/gir-generated/clutter-13.d.ts:8124
↓ 7 callersMethodsetMonitor
(monitor: Main.Monitor)
src/layout/main.ts:467
↓ 7 callersMethodshouldCycleWorkspacesNavigation
()
src/manager/msWorkspaceManager.ts:819
↓ 7 callersMethodtoggle
()
src/layout/verticalPanel/verticalPanel.ts:211
↓ 7 callersMethodtype
* Retrieves the type of the event. * @returns a #ClutterEventType
@types/gir-generated/clutter-13.d.ts:31405
↓ 7 callersMethodupdateBorders
()
src/layout/msWorkspace/portion.ts:73
↓ 6 callersFunctionInfinityTo0
(number: number)
src/utils/index.ts:146
↓ 6 callersMethodallocate_preferred_size
* Allocates the natural size of `self`. * * This function is a utility call for #ClutterActor implementations * that alloca
@types/gir-generated/clutter-13.d.ts:7121
↓ 6 callersMethodclearTimeoutId
(timeoutId: number)
src/utils/async.ts:20
↓ 6 callersMethodclose
* Closes the directory and deallocates all related resources.
@types/gir-generated/glib-2.0.d.ts:16623
↓ 6 callersMethodcreate_icon_texture
* Look up the icon for this application, and create a #ClutterActor * for it at the given size. * @param size * @returns A
@types/gir-generated/shell-13.d.ts:429
↓ 6 callersMethoddelete
* Deletes a file. If the `file` is a directory, it will only be * deleted if it is empty. This has the same semantics as g_unlink().
@types/gir-generated/gio-2.0.d.ts:12742
↓ 6 callersMethodgetCurrentIndex
()
src/widget/msApplicationLauncher.ts:443
↓ 6 callersMethodget_frame_rect
* Gets the rectangle that bounds `window` that is what the user thinks of * as the edge of the window. * * This doesn't inc
@types/gir-generated/meta-13.d.ts:8356
↓ 6 callersMethodget_strv
* Gets the contents of an array of strings #GVariant. This call * makes a shallow copy; the return result should be released with *
@types/gir-generated/glib-2.0.d.ts:26059
next →1–100 of 17,619, ranked by callers