set_right_justified


Description:

public void set_right_justified (bool right_justified)

Sets whether the menu item appears justified at the right side of a menu bar.

Note:

If you insist on using it, use gtk_widget_set_hexpand and gtk_widget_set_halign.

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:

this

a MenuItem.

right_justified

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