Re: [gtk-list] popup menu on drop?



This was my fault. If anyone else has this symptom 
(menu is very tiny, on the order of 4 or 8 pixels total)
check the path of your menu items. I left out the slash
at the begining

>   _ask_menu_factory ->
>     create_item ( "prepend" , "", "<Item>",
>                   IFC < CTreeView, AskItemFactoryData *  >
>                   ( this, &( CTreeView::insert_ask_menu_prepend ), if_data ) );
> 

the "prepend" should have been "/prepend"

Todd.

Todd Dukes wrote:
> 
> Is there some reason I can't popup a menu when I
> get drag_data_recevied. I want to popup a menu to
> ask when the user drops on a branch in a tree to
> ask the user where the data should go. It could either
> be inserted into the branch at the end or prepended
> in front of the branch.
> 
> The menu pops up, but it only draws about 4 pixels.
> 
> Any clue?
> 
> thanks,
> Todd.
> 

-- 
-----------------------------------------
Todd & Lisa Dukes
tjdukes@flash.net



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