Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

background image and Tkx

27 views
Skip to first unread message

JD

unread,
Oct 14, 2009, 2:35:39 PM10/14/09
to
Hello,

I have a Tkx gui with a notebook, and would like to have a background
image on one page (page 1). In addition the the background image, the
page will have a set of widgets on it (buttons). Does anyone have a
suggestion on how to achieve this?

This what a notebook looks like:
$nb = $mw->new_ttk__notebook;
$p1 = $nb->new_ttk__frame;
$p2 = $nb->new_ttk__frame;
$nb->add($p1, -text => "page 1");
$nb->add($p2, -text => "page 2");

Michael Carman

unread,
Oct 22, 2009, 7:41:35 PM10/22/09
to
JD wrote:
> I have a Tkx gui with a notebook, and would like to have a background
> image on one page (page 1). In addition the the background image,
> the page will have a set of widgets on it (buttons). Does anyone have
> a suggestion on how to achieve this?

AFAIK the only way to get this sort of overlay effect is to use a canvas.

-mjc

0 new messages