By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,252 Members | 1,346 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,252 IT Pros & Developers. It's quick & easy.

Text not viewable in tk

P: 1
Hi folks,

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

When i run as .pl the text content(lable,button) 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.

Expand|Select|Wrap|Line Numbers
  1. use Tk;
  2.  
  3. $mw = MainWindow->new();
  4.  
  5. $label = $mw->Label( -text=>'Ramkumar' )->pack;
  6. $mw->Button( -text=>'Quit', -command=>sub{ exit } )->pack( -side=>'right' );
  7. $mw->Button( -text=>'Convert',-command=>sub{ convert( $input, $label ) } )->pack( -side=>'left' );
  8.  
  9. MainLoop;
Please suggest me. What is the problem.

Thks
vishwaramkumar.
Apr 8 '08 #1
Share this Question
Share on Google+
1 Reply


numberwhun
Expert Mod 2.5K+
P: 3,503
Hi folks,

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

When i run as .pl the text content(lable,button) 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.

Expand|Select|Wrap|Line Numbers
  1. use Tk;
  2.  
  3. $mw = MainWindow->new();
  4.  
  5. $label = $mw->Label( -text=>'Ramkumar' )->pack;
  6. $mw->Button( -text=>'Quit', -command=>sub{ exit } )->pack( -side=>'right' );
  7. $mw->Button( -text=>'Convert',-command=>sub{ convert( $input, $label ) } )->pack( -side=>'left' );
  8.  
  9. 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
Apr 17 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.