GtkSeparatorMenuItem

GtkSeparatorMenuItem — A separator used in menus

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkMenuItem
                        ╰── GtkSeparatorMenuItem

Implemented Interfaces

GtkSeparatorMenuItem implements AtkImplementorIface, GtkBuildable, GtkActivatable and GtkActionable.

Includes

#include <gtk/gtk.h>

Description

The GtkSeparatorMenuItem is a separator used to group items within a menu. It displays a horizontal line with a shadow to make it appear sunken into the interface.

CSS nodes

GtkSeparatorMenuItem has a single CSS node with name separator.

Functions

gtk_separator_menu_item_new ()

GtkWidget *
gtk_separator_menu_item_new (void);

Creates a new GtkSeparatorMenuItem.

Returns

a new GtkSeparatorMenuItem.

Types and Values

struct GtkSeparatorMenuItem

struct GtkSeparatorMenuItem;

struct GtkSeparatorMenuItemClass

struct GtkSeparatorMenuItemClass {
  GtkMenuItemClass parent_class;
};

Members

© 2005–2020 The GNOME Project
Licensed under the GNU Lesser General Public License version 2.1 or later.
https://developer.gnome.org/gtk3/3.24/GtkSeparatorMenuItem.html