Re: [pygtk] Can't Get Text to Wrap With PyGTK TextView (ScrolledWindow Problem)

2008-06-29 Thread Jusa
Jusa wrote: Hi, I've been trying to figure out why I can't get text to wrap by the word with PyGTK TextView. I have a method similar to this in a class which is supposed to create a scrollable TextView inside a ScrolledWindow: def buildTextBox(self): self.scrollWnd =

[pygtk] CheckButton signals

2008-06-29 Thread Alessandro Dentella
Hi, i think my problem is very simple but I didn't get it right... All I want to do is substitute normal toggling of CheckButton to step into inconsisten mode. I have the working situation in a CellRenderer but now I need it also for normal Widgets. 1. I thought I'd connect to

[pygtk] reparent problem

2008-06-29 Thread Frédéric
Hello, To integrate my shootingArea widget (which inherits gtk.Drawingarea) in my GTU (defined with glade), I follow theses steps: 1) in glade, I create a dummy widget where I want to put my custom widget; 2) in my code, right after loading the glade file, I do: dummyWidget =

Re: [pygtk] reparent problem

2008-06-29 Thread John Stowers
On Sun, 2008-06-29 at 12:25 +0200, Frédéric wrote: Hello, To integrate my shootingArea widget (which inherits gtk.Drawingarea) in my GTU (defined with glade), I follow theses steps: 1) in glade, I create a dummy widget where I want to put my custom widget; Why create a dummy widget at

Re: [pygtk] reparent problem

2008-06-29 Thread Frédéric
On dimanche 29 juin 2008, John Stowers wrote: Why create a dummy widget at all? You could just pack the shooting widget into a container, likely the container that your dummy widget currently resides in. That's a good suggestion! And it works :o) The only bad point is I can't pack the widget