Menu
Shell
Class
constructor
parent_
class
submenu_
placement
name
activate_
current
cancel
deactivate
get_
popup_
delay
insert
move_
current
move_
selected
select_
item
selection_
done
GJS API Reference
Gtk-2.0
Gtk
MenuShellClass
Class MenuShellClass
Hierarchy
MenuShellClass
Index
Constructors
constructor
Properties
parent_
class
submenu_
placement
name
Methods
activate_
current
cancel
deactivate
get_
popup_
delay
insert
move_
current
move_
selected
select_
item
selection_
done
Constructors
constructor
new
Menu
Shell
Class
(
)
:
Gtk
.
MenuShellClass
Returns
Gtk
.
MenuShellClass
Properties
parent_
class
parent_
class
:
Gtk
.
ContainerClass
submenu_
placement
submenu_
placement
:
number
Static
name
name
:
string
Methods
activate_
current
activate_
current
(
menu_shell
:
Gtk
.
MenuShell
, force_hide
:
boolean
)
:
void
Parameters
menu_shell:
Gtk
.
MenuShell
force_hide:
boolean
Returns
void
cancel
cancel
(
menu_shell
:
Gtk
.
MenuShell
)
:
void
Parameters
menu_shell:
Gtk
.
MenuShell
Returns
void
deactivate
deactivate
(
menu_shell
:
Gtk
.
MenuShell
)
:
void
Parameters
menu_shell:
Gtk
.
MenuShell
Returns
void
get_
popup_
delay
get_
popup_
delay
(
menu_shell
:
Gtk
.
MenuShell
)
:
number
Parameters
menu_shell:
Gtk
.
MenuShell
Returns
number
insert
insert
(
menu_shell
:
Gtk
.
MenuShell
, child
:
Gtk
.
Widget
, position
:
number
)
:
void
Parameters
menu_shell:
Gtk
.
MenuShell
child:
Gtk
.
Widget
position:
number
Returns
void
move_
current
move_
current
(
menu_shell
:
Gtk
.
MenuShell
, direction
:
Gtk
.
MenuDirectionType
)
:
void
Parameters
menu_shell:
Gtk
.
MenuShell
direction:
Gtk
.
MenuDirectionType
Returns
void
move_
selected
move_
selected
(
menu_shell
:
Gtk
.
MenuShell
, distance
:
number
)
:
boolean
Parameters
menu_shell:
Gtk
.
MenuShell
distance:
number
Returns
boolean
select_
item
select_
item
(
menu_shell
:
Gtk
.
MenuShell
, menu_item
:
Gtk
.
Widget
)
:
void
Parameters
menu_shell:
Gtk
.
MenuShell
menu_item:
Gtk
.
Widget
Returns
void
selection_
done
selection_
done
(
menu_shell
:
Gtk
.
MenuShell
)
:
void
Parameters
menu_shell:
Gtk
.
MenuShell
Returns
void
Menu
Shell
Class
constructor
parent_
class
submenu_
placement
name
activate_
current
cancel
deactivate
get_
popup_
delay
insert
move_
current
move_
selected
select_
item
selection_
done
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfMl8wLkd0ay5NZW51U2hlbGxDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR3RrXzJfMC5HdGsuTWVudVNoZWxsQ2xhc3MuaHRtbCNwYXJlbnRfY2xhc3MiLCJuYW1lIjoicGFyZW50X2NsYXNzIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR3RrXzJfMC5HdGsuTWVudVNoZWxsQ2xhc3MuaHRtbCNzdWJtZW51X3BsYWNlbWVudCIsIm5hbWUiOiJzdWJtZW51X3BsYWNlbWVudCIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIHRzZC1pc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