Gtk.MenuButton.set_active – gtk4 Reference Manual
set_active
Description:
[
Version
( since =
"4.10"
) ]
public
void
set_active
(
bool
active)
Sets whether the menu button is active.
Parameters:
this
a `GtkMenuButton`
active
whether the menu button is active