AgsContextMenu

AgsContextMenu — the menu bar.

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkMenuShell
                        ╰── GtkMenu
                            ╰── AgsContextMenu

Implemented Interfaces

AgsContextMenu implements AtkImplementorIface, GtkBuildable and AgsConnectable.

Includes

#include <ags/X/ags_context_menu.h>

Description

AgsContextMenu is a composite widget to be used as application's menu bar.

Functions

ags_context_menu_new ()

AgsContextMenu *
ags_context_menu_new ();

Creates an AgsContextMenu

Returns

a new AgsContextMenu

Since: 1.0.0


AGS_CONTEXT_MENU()

#define AGS_CONTEXT_MENU(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CONTEXT_MENU, AgsContextMenu))

AGS_CONTEXT_MENU_CLASS()

#define AGS_CONTEXT_MENU_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CONTEXT_MENU, AgsContextMenuClass))

AGS_CONTEXT_MENU_GET_CLASS()

#define AGS_CONTEXT_MENU_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_CONTEXT_MENU, AgsContextMenuClass))

AGS_IS_CONTEXT_MENU()

#define AGS_IS_CONTEXT_MENU(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_CONTEXT_MENU))

ags_context_menu_get_type ()

GType
ags_context_menu_get_type (void);

Types and Values

AGS_MENU_ITEM_FILENAME_KEY

#define             AGS_MENU_ITEM_FILENAME_KEY

AGS_MENU_ITEM_EFFECT_KEY

#define             AGS_MENU_ITEM_EFFECT_KEY

AGS_TYPE_CONTEXT_MENU

#define AGS_TYPE_CONTEXT_MENU                (ags_context_menu_get_type ())

struct AgsContextMenu

struct AgsContextMenu;

struct AgsContextMenuClass

struct AgsContextMenuClass {
  GtkMenuClass context_menu;
};