/srv/irclogs.ubuntu.com/2012/06/12/#ubuntu-app-devel.txt

WilsonStudioWeb Anyone here familiar in working with the Ubuntu Software center API in JSOn format?02:59
dpmgood morning everyone06:31
dholbachgood morning07:05
TheFredhello09:55
TheFredI've been reading about using quickly to create ubuntu applications, and can see that 'quickly edit' opens the files, but which one should i place my python (2.7) code into?09:56
dpmhi TheFred. Your GUI code should be on the <yourapp>Window.py file10:20
dpmyou can modify it to suit your needs10:20
TheFredaha - thanks,i was tinkering trying to work it out for myself10:20
dpmbut that does not mean that the code needs to be confined there10:20
dpmyou can add your own additional modules outside of that file10:20
dpmwhat that file provides is just a boilerplate to help you get started10:21
TheFredI was banging my head trying to modify the __init__.py10:21
TheFreddpm, thanks - thats appreciated10:21
dpmTheFred, no worries, glad to help. Feel free to ask here or on askubuntu if we can give a hand in any way10:22
TheFredI know this is newbish - but do i have to create my own class, or modify the ***Window class thats already there?10:22
dpmit all depends on what you want to do. If you are just starting, I'd recommend just modifying the window that's created for you10:23
dpmsimply run 'quickly design', strip it of anything you don't need10:23
dpmadd the widgets, that you need, etc10:24
dpmand modify the rest in the code (on <yourapp>Window.py)10:24
dpmyou might also want to read the tutorial, it's quite helpful. You can run 'quickly tutorial' and the documentation viewer will pop up with the docs10:25
TheFredok, i've got a python program that runs well, it reads ascii strings from a socket and would like to display this in either a text box or label10:25
TheFredaha - quickly tutorial, you say.... thats gold10:26
dpm:-)10:26
dpmif your program is contained in a module, perhaps you can just drop it as it in the 'yourapp' folder and integrate it with <yourapp>Window.py so that it reads the results and displays them10:27
dpmthis way you get nice separation between logic and UI10:27
TheFredthats an area i really need to do more work on - classes and modules, this may just be the motivation i need10:34
dpmcool :)10:52
dpma real project always helps with motivation10:53
TheFredhmm, now to try to get the strings from the socket into a textview.. but how to I go about connecting data = client_socket.recv(512) to a text view?14:26
TheFredThe button events seem straight forward enough, but socket events?14:26
=== gnufz is now known as gnufs
strycorehey there21:45
strycoreI don't know if anyone here uses vim to code PyGobject, but i'm having a lot of troubles with it21:46
strycorei've explained the problem in details here: https://plus.google.com/u/0/105054545451660940700/posts/YMd62nU17GP21:47
strycorebut basically, vim crashes as soon as i enter PyGobject code21:48

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!