Text not viewable in tk

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vishwaramkumar
    New Member
    • Apr 2008
    • 1

    #1

    Text not viewable in tk

    Hi folks,

    I am beginner to tk. I have right simple code for tk.

    When i run as .pl the text content(lable,b utton) showing.

    But after conveting exe. The text in a tk(form) is not viewable it's showing as boxes.

    I used perlapp to convert exe. Exe converted without any errror.

    Code:
    use Tk;
    
    $mw = MainWindow->new();
    
    $label = $mw->Label( -text=>'Ramkumar' )->pack;
    $mw->Button( -text=>'Quit', -command=>sub{ exit } )->pack( -side=>'right' );
    $mw->Button( -text=>'Convert',-command=>sub{ convert( $input, $label ) } )->pack( -side=>'left' );
    
    MainLoop;
    Please suggest me. What is the problem.

    Thks
    vishwaramkumar.
    Last edited by vishwaramkumar; Apr 8 '08, 09:01 AM. Reason: a
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    Originally posted by vishwaramkumar
    Hi folks,

    I am beginner to tk. I have right simple code for tk.

    When i run as .pl the text content(lable,b utton) showing.

    But after conveting exe. The text in a tk(form) is not viewable it's showing as boxes.

    I used perlapp to convert exe. Exe converted without any errror.

    Code:
    use Tk;
    
    $mw = MainWindow->new();
    
    $label = $mw->Label( -text=>'Ramkumar' )->pack;
    $mw->Button( -text=>'Quit', -command=>sub{ exit } )->pack( -side=>'right' );
    $mw->Button( -text=>'Convert',-command=>sub{ convert( $input, $label ) } )->pack( -side=>'left' );
    
    MainLoop;
    Please suggest me. What is the problem.

    Thks
    vishwaramkumar.

    Sorry, I don't know the answer but hopefully one of our experts will be able to assist you.

    My appologies for the delay in getting an answer to your question.

    Regards,

    Jeff

    Comment

    Working...