[gtk-list] Re: Problems with gtk_item_factory_popup()



Tim Janik wrote:

> you can't popup a menubar factory, either create a factory with
> gtk_item_factory_new (GTK_TYPE_MENU, ..) or don't pop it up and
> do something like

Thanks, it works now.
But I still have one problem, 
gtk_item_factory_popup(factory, event->x, event->y, event->button,
event->time);
doesn't show the menu where my mouse pointer is.
Are event->x and event->y relative to the widget I click on?

-- 

Jonas Almfeldt
jonas.almfeldt@home.se



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