1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 A menu item used to tear off and reattach its menu
7 <!-- ##### SECTION Long_Description ##### -->
9 A #GtkTearoffMenuItem is a special #GtkMenuItem which is used to
10 tear off and reattach its menu.
14 When its menu is shown normally, the #GtkTearoffMenuItem is drawn as a
15 dotted line indicating that the menu can be torn off. Activating it
16 causes its menu to be torn off and displayed in its own window
21 When its menu is shown as a tearoff menu, the #GtkTearoffMenuItem is drawn
22 as a dotted line which has a left pointing arrow graphic indicating that
23 the tearoff menu can be reattached. Activating it will erase the tearoff
27 <!-- ##### SECTION See_Also ##### -->
33 <listitem><para>for further discussion of menus in GTK.</para></listitem>
39 <!-- ##### SECTION Stability_Level ##### -->
42 <!-- ##### STRUCT GtkTearoffMenuItem ##### -->
44 The #GtkTearoffMenuItem-struct struct contains private data only, and
45 should be accessed using the functions below.
49 <!-- ##### FUNCTION gtk_tearoff_menu_item_new ##### -->
51 Creates a new #GtkTearoffMenuItem.
54 @Returns: a new #GtkTearoffMenuItem.