Re: [pygtk] How to flush labels left in a Gtk.Grid() cell?

2014-04-26 Thread Ronald Sayers
label.set_alignment(0, 0.5) On 26/04/2014, Fabrice Delente wrote: > Hello. > > This is in python2.7, with pygojbect 3.10.2, so using GTK+3. > > I have a Gtk.Grid() in which I want to display a list of Labels. > > I have set the justification to LEFT for each of my labels, but I > can't get them d

[pygtk] Return Gtk.Liststore object as string ?

2014-01-19 Thread Ronald Sayers
Hello pygtk, Is it possible to return gtk.liststore object as string, instead "". Once some object is "dragged and dropped" into the program, that object is automatically added to a list. What would I like to do is: once "clear" button is clicked to remove the item from the list. to_remove = sel

[pygtk] Taking screenshots with PyGTK 3 ?

2013-12-28 Thread Ronald Sayers
Hello, Past days I've been trying to find any documents or information regarding PyGObject and taking screenshots with it. Saw many tutorials and information about pygtk+2 but I am unable to find anything about pygtk+3. Is there a way to make a screenshots with pygtk+3, so I don't have to rely on

Re: [pygtk] How to use GDK locking with pygtk3 ?

2013-12-27 Thread Ronald Sayers
Solved it, it was caused by "infobar" which seems have some bugs combined with threaded function. Parent-> start new function in a thread and show the infobar -> process completes -> hide the infobar -> spawn a new dialog window. On 26/12/2013, Ronald Sayers wrote: >

[pygtk] How to use GDK locking with pygtk3 ?

2013-12-26 Thread Ronald Sayers
Hello, I just added a infobar into my application - https://github.com/wifiextender/pshot and the uploading processes is started in a new thread - thread.start_new_thread(self.on_upload_clicked, ("start_in_new_thread", )) . Once it reaches the point - if resp_json['success']: , I get the following