MenuItem.setRightJustified

void setRightJustified(bool rightJustified)

Sets whether the menu item appears justified at the right side of a menu bar. This was traditionally done for “Help” menu items, but is now considered a bad idea. (If the widget layout is reversed for a right-to-left language like Hebrew or Arabic, right-justified-menu-items appear at the left.)

Parameters

rightJustifiedif true the menu item will appear at the far right if added to a menu bar

Deprecated

If you insist on using it, use

[gtk.widget.Widget.setHexpand] and [gtk.widget.Widget.setHalign].