DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=f6GhsAwLEgaaOhT3kZd0azHD0JeJUH/k67BCsAGtOPci5rQ+HvZ883kqob1qjH4WVxgziVGdbHH9NQxMZY8tCmzUCr0FyZed3HjJzS+1OIK9dRH9p/6GLTRhiNNii9bGbca59QIV6fYMUOwRaB8S5bRmEWsmh0EswL0ox4+QWtg= Message-ID: Date: Tue, 26 Sep 2006 23:03:23 +0200 From: "Maurizio Colucci" Subject: Re: menu tool button? Cc: "LablGTK List" In-Reply-To: <450BC493.6050509 at rftp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <450BC493.6050509@rftp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Length: 764 On 9/16/06, Robert Roessler wrote: > Maurizio Colucci wrote: > > My app does not have a menu but only a toolbar. However I need one of > > the toolbar buttons to pop up a menu when it is pressed. I believe this > > is called GtkMenuToolButton. I can't seem to find it in lablgtk 2.6.0 . > > I guess this will be added in the next release. In the meantime, I was > > wondering if there is any workaround (other than adding a menu to my > > app). Thanks for any help. > > Why not just show a popup when you see a clicked event on that button? I don't know how... if I do menu#popup ~button:0 ~time:(GtkMain.Main.get_current_event_time ()) the menu is opened at the mouse position, not below the button... Any idea? Thanks again Maurizio