Menu
Model
Class
constructor
parent
Class
name
get
Item
Attribute
Value
get
Item
Attributes
get
Item
Link
get
Item
Links
getNItems
is
Mutable
iterate
Item
Attributes
iterate
Item
Links
NODE-GTK API Reference
Gio-2.0
Gio
MenuModelClass
Class MenuModelClass
Hierarchy
MenuModelClass
Index
Constructors
constructor
Properties
parent
Class
name
Methods
get
Item
Attribute
Value
get
Item
Attributes
get
Item
Link
get
Item
Links
getNItems
is
Mutable
iterate
Item
Attributes
iterate
Item
Links
Constructors
constructor
new
Menu
Model
Class
(
)
:
MenuModelClass
Returns
MenuModelClass
Properties
parent
Class
parent
Class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
get
Item
Attribute
Value
get
Item
Attribute
Value
(
model
:
MenuModel
, itemIndex
:
number
, attribute
:
string
, expectedType
:
VariantType
)
:
GLib
.
Variant
Parameters
model:
MenuModel
itemIndex:
number
attribute:
string
expectedType:
VariantType
Returns
GLib
.
Variant
get
Item
Attributes
get
Item
Attributes
(
model
:
MenuModel
, itemIndex
:
number
)
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
Parameters
model:
MenuModel
itemIndex:
number
Returns
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
get
Item
Link
get
Item
Link
(
model
:
MenuModel
, itemIndex
:
number
, link
:
string
)
:
MenuModel
Parameters
model:
MenuModel
itemIndex:
number
link:
string
Returns
MenuModel
get
Item
Links
get
Item
Links
(
model
:
MenuModel
, itemIndex
:
number
)
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
Parameters
model:
MenuModel
itemIndex:
number
Returns
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
getNItems
getNItems
(
model
:
MenuModel
)
:
number
Parameters
model:
MenuModel
Returns
number
is
Mutable
is
Mutable
(
model
:
MenuModel
)
:
boolean
Parameters
model:
MenuModel
Returns
boolean
iterate
Item
Attributes
iterate
Item
Attributes
(
model
:
MenuModel
, itemIndex
:
number
)
:
MenuAttributeIter
Parameters
model:
MenuModel
itemIndex:
number
Returns
MenuAttributeIter
iterate
Item
Links
iterate
Item
Links
(
model
:
MenuModel
, itemIndex
:
number
)
:
MenuLinkIter
Parameters
model:
MenuModel
itemIndex:
number
Returns
MenuLinkIter
Menu
Model
Class
constructor
parent
Class
name
get
Item
Attribute
Value
get
Item
Attributes
get
Item
Link
get
Item
Links
getNItems
is
Mutable
iterate
Item
Attributes
iterate
Item
Links
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5NZW51TW9kZWxDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR2lvXzJfMC5HaW8uTWVudU1vZGVsQ2xhc3MuaHRtbCNwYXJlbnRDbGFzcyIsIm5hbWUiOiJwYXJlbnRDbGFzcyIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIHRzZC1pcy1zdGF0aWMiLCJocmVmIjoiR2lvXzJfMC5HaW8uTWVudU1vZGVsQ2xhc3MuaHRtbCNuYW1lIiwibmFtZSI6Im5hbWUiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLW1ldGhvZCB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVm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