Package: gtk

Accessor gtk-menu-item-right-justified

Lambda List

gtk-menu-item-right-justified (object)

Syntax

(gtk-menu-item-right-justified object) => justified
(setf (gtk-menu-item-right-justified object) justified)

Arguments

item -- a gtk-menu-item widget
justified -- if true the menu item will appear at the far right if added to a menu bar

Details

Accessor of the right-justified slot of the gtk-menu-item class.

The gtk-menu-item-right-justified slot access function gets whether the menu item appears justified at the right side of the menu bar. The (setf gtk-menu-item-right-justified) slot access function sets whether the menu item appears justified at the right side.

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.

Warning

The gtk-menu-item-right-justified function has been deprecated since version 3.2 and should not be used in newly written code. If you insist on using it, use the gtk-widget-hexpand and gtk-widget-halign functions.
 

See also

2021-11-13