Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Visual Perl/Tk???

by james28909 (Deacon)
on Jul 30, 2014 at 06:34 UTC ( #1095553=note: print w/replies, xml ) Need Help??


in reply to Visual Perl/Tk???

yes, i can atest to perl and gui programming, it is ok for small applications/guis, but with small to medium size programs (like 1200 lines of code) that works flawless in console, will make the gui give unexpected results, some of this is prob my fault for not finding the proper documentation, but what looks like something that would work, can very well give unexpected results. like for instance, i use wxperl and have been trying to populate a listctrl with a foreach loop. i have went around in circles trying to accomplish what i need, and i think it is a formatting problem tbh. everything works unless i try wxLC_SORT methods, then it will terminate any color after the first entry. i think you need to assess what you are trying to do first and think if a gui will really help you in the long run. and my best advice, is to read read read :) and the gui tools will only take you so far until you become lost, if you write it out by hand you will know what every function does :) i tried glade and other programs but i didnt liek it much, it was nice to have, but finding examples on the web and documentation on your particular modules yoru trying to use will help you learn about what your doing, and will give you a better sense of accomplishment when your done :)

sorry for the run on sentence lol

Replies are listed 'Best First'.
Re^2: Visual Perl/Tk???
by Anonymous Monk on Jul 30, 2014 at 07:06 UTC

    yes, i can atest to perl and gui programming, it is ok for small applications/guis, but with medium size programs (like 1200 lines of code) that works flawless in console, will make the gui give unexpected results... sorry for the run on sentence lol

    blaming the tools isn't a good sign ;)

      i wasnt specifically blaming the tools ha :p, i was just saying that it does give unexpected results, just like that listctrl. it works great until i wxLC_SORT_ASCENDING then it terminates any colored entry after the first. seems like it should work either way tbh, but also if you read further into my message i also say that it is probably something i was doing. :) i am not knocking perl or the time these people take to port wxwidgets to perl, to me is great that perl has such an active community behind it. and not to mention how much i enjoy it

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1095553]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2020-02-22 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (99 votes). Check out past polls.

    Notices?