CtkTearoffMenuItem: CTK+ 3 Reference Manual

## CtkTearoffMenuItem CtkTearoffMenuItem — A menu item used to tear off and reattach its menu |

## Functions

CtkWidget * | ctk_tearoff_menu_item_new ()

## Types and Values

struct | CtkTearoffMenuItem
struct | CtkTearoffMenuItemClass

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── CtkWidget
                ╰── CtkContainer
                    ╰── CtkBin
                        ╰── CtkMenuItem
                            ╰── CtkTearoffMenuItem

## Implemented Interfaces

CtkTearoffMenuItem implements AtkImplementorIface, CtkBuildable, CtkActivatable and CtkActionable.

## Includes

    #include <ctk/ctk.h>

## Description

A CtkTearoffMenuItem is a special CtkMenuItem which is used to tear off and reattach its menu.

When its menu is shown normally, the CtkTearoffMenuItem is drawn as a dotted line indicating that the menu can be torn off. Activating it causes its menu to be torn off and displayed in its own window as a tearoff menu.

When its menu is shown as a tearoff menu, the CtkTearoffMenuItem is drawn as a dotted line which has a left pointing arrow graphic indicating that the tearoff menu can be reattached. Activating it will erase the tearoff menu window.

## Functions

### ctk_tearoff_menu_item_new ()

    CtkWidget *
    ctk_tearoff_menu_item_new (void);

Creates a new CtkTearoffMenuItem.

#### Returns

a new CtkTearoffMenuItem.

## Types and Values

### struct CtkTearoffMenuItem

    struct CtkTearoffMenuItem;

### struct CtkTearoffMenuItemClass

    struct CtkTearoffMenuItemClass {
      CtkMenuItemClass parent_class;
    };

#### Members

## See Also

CtkMenu