Re: Signals to and from menus



On Mon, 2005-04-04 at 15:52 -0500, Sudrien wrote:
> I have hacked away at the Gtk::Menu::popup() stuff to find that the way I
> am popping up menus can not control where they pop up.

That should be possible. I think some of the popup() arguments allows
you to control this. I'm not looking at the API documentation right now
though.

> *sigh*
> 
> I come back to questions of when signals are emmited, and where to, beyond
> the scope of the libsigc++ documentation.
> 
> 1. When you click a title in a menubar, obviously a signal must be emited.
> How can I hard-code it being emitted? (To trigger a submenu being opened)
> 
> 2. There are other signals flying around on a menu hide(). What signal can
> a menubar recieve when one of its members' (a menuitem) submenu is hidden?

It would be easier for us to help you if you decide what you want to
achieve, rather than just how you hope to achieve it.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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