[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: toolbar drop down menus?
From:       Jeroen Wijnhout <Jeroen.Wijnhout () kdemail ! net>
Date:       2003-12-30 18:19:59
Message-ID: 200312301919.59780.Jeroen.Wijnhout () kdemail ! net
[Download RAW message or body]

On Tuesday 30 December 2003 17:59, Dominic Chambers wrote:
> > > I have the menu working except that if I just click on it directly
> > > without waiting for the drop down then nothing happens. How do I make
> > > it do something without the drop down?
> >
> > Maybe KToolBarPopupAction is the correct one.
>
> Oh, dear me! Not thinking laterally again?! Thanks.
>
> Having now seen the full array of Action classes, I no longer think it's
> possible to do what I wanted to do. It's not too bad though; I just got rid
> of the menu delay so you always have to click twice but don't have to wait
> for the second click.

I think KDevelop has something like this (version 3.0 beta). The "stop" button 
is behaving like you described. Haven't looked at the source myself, but it 
shouldn't be too hard to extract the revelant code.

best,
Jeroen
-- 
Kile - an Integrated LaTeX Environment for KDE
http://kile.sourceforge.net
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic