Scope
Result
constructor
category
comment
dnd_
uri
icon_
hint
metadata
mimetype
result_
type
title
uri
name
create
create_
from_
variant
GJS API Reference
Unity-7.0
Unity
ScopeResult
Class ScopeResult
Hierarchy
ScopeResult
Index
Constructors
constructor
Properties
category
comment
dnd_
uri
icon_
hint
metadata
mimetype
result_
type
title
uri
name
Methods
create
create_
from_
variant
Constructors
constructor
new
Scope
Result
(
)
:
ScopeResult
Returns
ScopeResult
Properties
category
category
:
number
comment
comment
:
string
dnd_
uri
dnd_
uri
:
string
icon_
hint
icon_
hint
:
string
Optional
metadata
metadata
?:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
mimetype
mimetype
:
string
result_
type
result_
type
:
Unity
.
ResultType
title
title
:
string
uri
uri
:
string
Static
name
name
:
string
Methods
Static
create
create
(
uri
:
string
, icon_hint
:
string
, category
:
number
, result_type
:
Unity
.
ResultType
, mimetype
:
string
, title
:
string
, comment
:
string
, dnd_uri
:
string
, metadata
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
)
:
ScopeResult
Parameters
uri:
string
icon_hint:
string
category:
number
result_type:
Unity
.
ResultType
mimetype:
string
title:
string
comment:
string
dnd_uri:
string
metadata:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
Returns
ScopeResult
Static
create_
from_
variant
create_
from_
variant
(
variant
:
GLib
.
Variant
)
:
ScopeResult
Parameters
variant:
GLib
.
Variant
Returns
ScopeResult
Scope
Result
constructor
category
comment
dnd_
uri
icon_
hint
metadata
mimetype
result_
type
title
uri
name
create
create_
from_
variant
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJVbml0eV83XzAuVW5pdHkuU2NvcGVSZXN1bHQuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIj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