FVWM: Re: Re: FvwmTabs v1.3

From: parv <parv_fm_at_nospammail.net>
Date: Sat, 18 Jan 2003 17:40:46 -0500

in message <20030118183423.B1790_at_deepblue.milkyway.com.au>, wrote
Scott Smedley thusly...
>
> Hi Glen,
>
> > It doesn't seem to recognize FvwmTabs as the module (window?)
> > name. I removed the 'Style "FvwmTabs"...' line because it isn't
> > doing anything.
>
> Quite right. By default perl/Tk sets the class/resource name to
> 'Toplevel'.
>
> To fix, replace the Toplevel() function call in createNewTabber()
> with this line of code:
>
> my $tl = $TOP->Toplevel(Name => 'FvwmTabs', -class => 'FvwmTabs', -title => $title);

hunh. it's odd that fvwm (2.5.5) didn't have any problems applying
the Style to FvwmTab* by 'Name' only. i don't have anything
specific which would tell fvwm to use name instead of class or
resource (from what i can tell). then again man page does say...


  Style stylename options
        ...
        stylename can be a window's name, class, or
                                     ^ ^
                                     ^ ^
        resource string. It may contain the wild-
        cards '*' and '?', which are matched in the
        usual Unix filename manner. They are
        searched in the reverse order stated. When
        two conflicting styles apply to the same
        window, the style that was changed last
        wins.


...so unless, there are some bug(s) in some fvwm version(s), style
should have worked for glenn as it is w/o changes to -Tabs. btw,
i noticed that he was using '"FvwmTabs"' & i was 'FvwmTabs*'; does
* make the difference?


  - parv

-- 
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat Jan 18 2003 - 16:39:10 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST