This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

1. Overview

Menu bar ...

screenshot.png

2. Style Properties

Name

Default

Description

shadow-type

GTK_SHADOW_OUT

Style of bevel around the menubar

internal-padding

1

Amount of border space between the menubar shadow and the menu items

The gnome-panel and some applets override the shadow-type style property and set it to GTK_SHADOW_NONE. This may be used to draw the GtkMenu`Bar transparent. This works for at least the menubar and window list applet.

3. Geometry

geometry.png

The x/ythickness is not added if shadow-type is GTK_SHADOW_NONE.

4. Drawing

The menubar draws a BOX with detail "menubar" and shadow beeing what the style property has been set to. The state is either NORMAL or INSENSITIVE. (XXX: The state thing is really just an educated guess)

Unlike the button, the menubar even draws the box if the shadow-type is NONE. Dunno why, maybe file a bug? :)

5. GTK+ API Documentation

http://library.gnome.org/devel/gtk/stable/GtkMenuBar.html


2024-10-23 10:58