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


[Home] [TitleIndex] [WordIndex

1. Overview

Every entry in a ../GtkMenu is of the type ../GtkMenuItem.

2. Style Properties

Name

Type

Default

Nick

Description

misc

arrow-scaling

float

0.8

Arrow Scaling

Amount of space used up by arrow, relative to the menu item's font size

Min: 0.0; Max: 2.0

arrow-spacing

int

10

Arrow Spacing

Space between label and arrow

Min: 0; Max: G_MAXINT

horizontal-padding

int

3

Horizontal Padding

Padding to left and right of the menu item

Min: 0; Max: G_MAXINT

selected-shadow-type

enum

GTK_SHADOW_NONE

Selected Shadow Type

Shadow type when item is selected

GTK_TYPE_SHADOW_TYPE

toggle-spacing

int

5

Icon Spacing

Space between icon and label

Min: 0; Max: G_MAXINT

Looks like horizontal-padding is used at the top/bottom in ../GtkMenuBar.

3. Seperator Menu Items

3.1. Geometry

3.2. Drawing

4. Other

4.1. Geometry

4.2. Drawing

5. GTK+ API Documentation

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


2024-10-23 10:58