RE: [pygtk] gui run exe file

2007-03-22 Thread Funky Fred
popen4 http://docs.python.org/lib/module-popen2.html popen4( cmd[, bufsize[, mode]]) Executes cmd as a sub-process. Returns the file objects (child_stdout_and_stderr, child_stdin). New in version 2.0. c_stdin,c_stdout = popen4( "myexe.exe" ) print c_stdoud.read() I think there

[pygtk] gtk.ComboBoxEntry not recognized as a GtkCellEditable

2007-03-22 Thread Ruben Lopez
Hi, I'm doing my own CellRenderer (derived from GenericCellRenderer) following the decorator design pattern, to use an existing renderer and add some extra graphics to it, and modify the original renderer behaviour in some cases. It's working pretty well with CellRendererText and CellRenderer

Re: [pygtk] Question about TextTag wrap-mode property

2007-03-22 Thread John Ehresman
Fredrik Corneliusson wrote: I'm trying to have protected xml-tags in the paragraphs and I don't want the tags to wrap. This is to ease editing content that is bidi. Having them in separate paragraphs is not an option. Non-breaking spaces may be the answer here. I was searching for info on the

Re: [pygtk] Question about TextTag wrap-mode property

2007-03-22 Thread Fredrik Corneliusson
I'm trying to have protected xml-tags in the paragraphs and I don't want the tags to wrap. This is to ease editing content that is bidi. Having them in separate paragraphs is not an option. thanks, Fredrik On 3/22/07, John Ehresman <[EMAIL PROTECTED]> wrote: Fredrik Corneliusson wrote: > I'm no

[pygtk] Gnome-CRITICAL message

2007-03-22 Thread Pascal Duchatelle
Hi, I used Glade to design a small app GUI including a menu bar with for menus and a icon bar with 6 icons. When I run the app (with the F5 key within Scite) I get the following messages (which I do not understand) : (essai.py:3486): Gnome-CRITICAL **: gnome_program_get_app_id: assertion `program

[pygtk] TreeModelFilter behaves strangely with visible_func in PyGTK

2007-03-22 Thread mailxbox2
Here is my problem. I have TreeStore with data, that looks like this: "item 0 - level 0" "item 0:0 - level 1" "item 0:0:0 - level 2" "item 0:0:1 - level2" "item 1 - level 0" "item 1:0 - level 1" "item 1:0:0 - level 2" ...and so on. D

Re: [pygtk] Question about TextTag wrap-mode property

2007-03-22 Thread John Ehresman
Fredrik Corneliusson wrote: I'm not able to figure out why gtk.TextTags wrap-mode is only respected if it is set at the beginning of a paragraph. What I'm trying to achieve is to have some parts of a paragraph text have other wrapping then the rest. Why not use multiple paragraphs? I wouldn't

[pygtk] Question about TextTag wrap-mode property

2007-03-22 Thread Fredrik Corneliusson
Hi, I'm not able to figure out why gtk.TextTags wrap-mode is only respected if it is set at the beginning of a paragraph. What I'm trying to achieve is to have some parts of a paragraph text have other wrapping then the rest. See attached screen dump and test script that shows my problem. I've t

[pygtk] crash and burn in gtk app

2007-03-22 Thread shawn bright
hello there all. i am getting this error, sometimes it comes as a warning, and sometimes it crashes my GUI. GtkWarning: gtk_text_layout_real_invalidate: assertion `layout->wrap_loop_count == 0' failed buffer.insert(buffer.get_end_iter(), data) i am sure that it has something to do with how i p