]> Pileus Git - ~andy/gtk/commit
Added gtk_tree_menu_set/get_tearoff to allow the root menu to have a tearoff item
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Tue, 23 Nov 2010 03:11:52 +0000 (12:11 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Tue, 4 Jan 2011 14:37:07 +0000 (23:37 +0900)
commitde59f05ccd65e9c34b9152335eb41ab5bea72b55
tree53a96707253622289a2daecdb5f7d313d418f162
parent3a56f8814f575cb97f877acc17a09c0f13fc0bb4
Added gtk_tree_menu_set/get_tearoff to allow the root menu to have a tearoff item

Combo boxes expose an "add-tearoffs" feature to add a tearoff item to the root of the combo menu, added this feature to GtkTreeMenu to achieve this (and updated the testcase).
gtk/gtktreemenu.c
gtk/gtktreemenu.h
tests/testtreemenu.c