org.gnome.gtk
Class SeparatorMenuItem
java.lang.Object
org.freedesktop.bindings.Proxy
org.gnome.glib.Object
org.gnome.gtk.Object
org.gnome.gtk.Widget
org.gnome.gtk.Container
org.gnome.gtk.Bin
org.gnome.gtk.Item
org.gnome.gtk.MenuItem
org.gnome.gtk.SeparatorMenuItem
public class SeparatorMenuItem
- extends MenuItem
A separator between groups of related MenuItems.
A SeparatorMenuItem is a special type of MenuItem that is shown to the user
as a horizontal line. Its unique usage is to visually group together
related MenuItem's within a Menu.
These are added to a Menu in the same way as any other MenuItem. You
usually will want to add it between two different sets of related
MenuItems; it's considered bad form to led or end a Menu with a separator.
- Since:
- 4.0.4
- Author:
- Vreixo Formoso
| Nested classes/interfaces inherited from class org.gnome.gtk.Widget |
Widget.BUTTON_PRESS_EVENT, Widget.BUTTON_RELEASE_EVENT, Widget.ENTER_NOTIFY_EVENT, Widget.EXPOSE_EVENT, Widget.FOCUS_IN_EVENT, Widget.FOCUS_OUT_EVENT, Widget.HIDE, Widget.KEY_PRESS_EVENT, Widget.KEY_RELEASE_EVENT, Widget.LEAVE_NOTIFY_EVENT, Widget.UNMAP_EVENT, Widget.VISIBILITY_NOTIFY_EVENT |
| Methods inherited from class org.gnome.gtk.Bin |
getChild |
| Methods inherited from class org.gnome.gtk.Widget |
activate, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, getAllocation, getHasFocus, getParent, getRequisition, getToplevel, getWindow, grabDefault, grabFocus, hide, modifyBackground, modifyText, setCanFocus, setSensitive, setSizeRequest, setTooltipMarkup, setTooltipText, show, showAll |
| Methods inherited from class org.freedesktop.bindings.Proxy |
toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SeparatorMenuItem
public SeparatorMenuItem()
- Create a new SeparatorMenuItem.