Overview

Menu bar ...

screenshot.png

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.

Geometry

geometry.png

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

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? :)

GTK+ API Documentation

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

Attic/GnomeArt/Tutorials/GtkThemes/GtkMenuBar (last edited 2013-11-27 14:33:57 by WilliamJonMcCann)