Re: tearoff popupmenu



On Wednesday 18 Jun 2003 6:38 pm, Andreas Volz wrote:
Hi,

I search a way to create a *popup* menu with gtk2 oder gnome2-libs that
could be teared off.

First I created a GtkMenu with gtk2 and saw there is no "tearoff line"
at top of the popup menu. There is only the function
gtk_menu_get_tearoff_state () to do it.

Then I tried gnome2 and gnome_popup_menu_do_popup () to create a menu.
But there is also no "tearoff" line at top of the popup menu.

Is it not possible to have tearoff popup menus or am I doing something
wrong?

You need to create the tearoff as an item in the menu.

Ian




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]