perlNoob has asked for the wisdom of the Perl Monks concerning the following question:

*Actually i'm sorry it was message*

I have a quick question conserning Tk::Message

Everytime I use it I can't seem to put anything under it (in the GUI) just next to it. I'm pretty sure it's a very trivial problem but I can't seem to get my head around it, could someone please shed some light?

thanks a lot :)

Retitled by Steve_p from 'Tk::Message'.

Replies are listed 'Best First'.
Re: How do I use Tk::Label in a drop-down?
by Irrelevant (Sexton) on Feb 06, 2005 at 20:22 UTC
    Could you elaborate slightly? Do you mean that you can't pack other widgets in the same window as a Tk::Message?

    ie, is it (a more complex version of) the following that doesn't work:

    $main = MainWindow->new; $main->Message(-text => 'xyzzy')->pack; $main->Button(-text => 'foo')->pack; MainLoop;
    ?
      I'm sorry, yes I meant I couldn't pack anything under the Message, but I realised my stupidity and just used label after that

      sorry about the bad post and thanks for your help anyway :)