Re: Tooltip hints on tabs



Grizzly(Francis Smit) wrote:
> Peter Cruickshank wrote:
>   
>> Hey, I think somebody asked this last year. Check out the following reply:
>>
>> http://mail.gnome.org/archives/gtkmm-list/2006-October/msg00184.html
>>
>> Hopefully that helps.
>>
>> Cheers,
>>
>> Peter
>>
>> On 7/22/07, Grizzly(Francis Smit) <grizzly smit id au> wrote:
>>   
>>     
>>> Hi List
>>> I have a problem again how do I put tooltip hints on the tabs of a
>>> Gtk::Notebook  I've tried to put it on the widgets I have in the tab
>>> (I have a hbox with a label and a button in it ) but they don't support
>>> the method set_tooltip_text(const Glib::ustring& text) well I suppose
>>> the button might but it's tiny (just a cross to close the tab) anyway
>>> does any one know how to do this.
>>>     
>>>       
> Unfortunately this still gives me the same error the compiler says
> that Gtk::EventBox has no method set_tooltip_text even though
> the docs say it does, is it perhaps a protected method, do I need to
> derive a class from it to expose this method
>
>   
ok I cannot get at this I've tried deriving a sub class of

Gtk::EventBox  but still I get the error that set_tooltip_text is 
not a member of Gtk::EventBox so I don't know what to do :(
source code that does this would be most welcome now. 



-- 
  In my life God comes first.... but Linux is pretty high after that :-D
Grizzly(Francis Smit)
http://www.geekcode.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GM/CS/P/PA d- s+:+> a+>? C++++ UL++++@ P+ L+++ E--- W+++ N+(++) K w--- M-- V-- PS(+) PE(-) Y+(++) PGP++ t+(++) 5 X- R- tv b+++(++++) DI(--) D G e++(+++) h-- r- y-
------END GEEK CODE BLOCK------




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