[Fxruby-users] Icons and tooltips
Status: Inactive
Brought to you by:
lyle
From: Hal F. <ha...@hy...> - 2004-05-23 07:51:00
|
Forwarding a question someone asked me. Assist if you can. Hal -------- Original Message -------- Subject: Re: "Speeling is both prety gudd", etc. Date: Sun, 23 May 2004 02:44:33 -0500 From: Hal Fulton <ha...@hy...> Reply-To: ha...@hy... To: RLMuller <RLM...@co...> References: <Aoi...@co...> <aJO...@co...> <40B...@hy...> <002f01c44097$4df09bb0$050...@as...> RLMuller wrote: > While I "have you on the phone," let me inject a serious note. > http://www.fxruby.org/examples/hello2.rb provides a nice ToolTip demo that > raise a few questions in my mind: > > 1. The syntax of the "FXPNGIcon.new(application, f.read)" statement would > lead me to think the icon is being attached to the application (e.g., for > purpose of displaying the app in an OS' toolbar when it runs, perhaps) > rather than in the application's FXMainWindow instance. I'd expect it to > have a "main" argument explicitly naming the window to which it should be > attached, as FxButton.new does. > > 2. FXTooltip.new's failure to name any particular object leads me to think > it should wire a tooltip into every object in the application (or rather, > the app's main window?) that's built to host a tooltip, and that the > tooltip text is to be gotten from each such object's caption text (using > everything following the first tab.) > > I could probably answer these questions myself if I could find documentation > on these classes, but all I could find on this website is class hierarchies > for the Fox classes. > > Could you point me to a source for documentation for the Fox classes that > addresses my questions, or in lieu of that comment on my inferences above? Overall that is as puzzling to me as it is to you. I'll forward this to the fxruby users' list in case someone can help you. There's also some stuff on fox-toolkit.org (naturally not ruby-specific) which is sometimes helpful. If you get answers to these, will you share them with me? Thanks, Hal Fulton |