Re: ANNOUNCE: TIP#262 Published





Andreas Leitgeb wrote:


I'm not very happy with the second option "-tile": it might
confer some connection to ttk (the "tile" widgets), which
I think is not meant. Also, IMHO a single background image
is not the job of a frame (use a label instead).

How will the (repeated) background image cope with a border?
e.g. for "-bd 10 -relief groove" would it shine through the
border, or be overdrawn with it? (for -bd 0 this is of
course moot)

Rather than a tile-option, I'd have an -bgoffset option,
that takes either x,y-offsets or the name of some
ascending widget (up to toplevel), on whose origin
the repeating images are "anchored". This would make
it possible to have sibling-, cousin- etc.-frames
have a consistent background.

Good point. I often have frames within frames, which make
it much easier for me to use the pack manager. I also develop
using visual tcl, and so adding lots of nested frames is something
that I do rather often. If I understand your point, the
inner frames would obsure the outer frame which might be the
logical choice for where to add a single background image.

What if we also allowed an option for frame transparency. In this case,
I would think the inner frames would want to be flat with no
border. But that might not be handy for positioning nested packed
frames. Maybe we'd want an option to make a frame entirely
transparent, even if it had some inrternal and external borders.


The idea for a tiling option came from my attempts to use
a large image. I was trying to implement this idea using a
canvas and there was a wiki entry with some tiling ideas

http://mini.net/tcl/4389

I also wanted to imbed the image as text, like in this wiki article,
to avoid the need for any extra files to distrubute. While the
image was a reasonably small gif file, converting it to text
added many hundreds (possibly thousands) of lines of
text to the script. And it also was noticably slow at starup.

My intent was to be able to create a small swatch of background and
hopefully it would repeat nicely. I figured to use something
like photoshop to create some nicely tiled textures. Then it would
be a reasonably small -data set for the image.




.



Relevant Pages

  • Re: Motion estimation vs. background subtraction
    ... I plan to just extract the first 10 frames and calculate ... Your equation for normalizing RGB is usually pretty good, ... Sigmais the standard deviation derived from your ... this frame from your mean background image, ...
    (comp.soft-sys.matlab)
  • Re: Anybody wanna check my companys website?
    ... Search engines hate frames. ... The background image is much too dark, better yet, leave it out and give ... Add images of the referenced equipment. ...
    (sci.electronics.design)
  • Re: ANNOUNCE: TIP#262 Published
    ... Just a there is an -image option for button widgets, ... suggests that a -backgroundimage option for frames be ... How will the background image cope with a border? ...
    (comp.lang.tcl)
  • Frames in Nvu?
    ... I'm creating a personal website with a titlebar and menu on the top, a table of contents on the left, and the main content in the middle. ... I mainly use Nvu, and then go in and tweak things in the source editor or in notepad, based on whatever html knowledge I can figure out through web research. ... Right now I have no frames -- my titlebar and table of contents are reproduced on every page of my site. ... Also, is there a way to make the background image cover the entire page, or do I need each frame to have its own background? ...
    (alt.html)
  • Re: Frames in Nvu?
    ... > I'm fairly new to html, but I am learning bits and pieces as I go along. ... > Right now I have no frames -- my titlebar and table of contents are ... is there a way to make the background image cover the ...
    (alt.html)