Re: [pygtk] pygtk 2.12 win32 binaries?

2008-01-30 Thread Wildemar Wildenburger
Rafael Villar Burke wrote: AFAIK, it's mainly a manpower problem and having one or two commited people willing to properly document and give some more care to the building and packaging process on windows can really make a huge difference. [snip lots of info :)] Anyone willing to scratch this

Re: [pygtk] pygtk 2.12 win32 binaries?

2008-01-29 Thread Wildemar Wildenburger
Alec Hussey wrote: Well 2.10 is availible from the downloads page and works perfectly fine in conjunction with the GTK+ runtimes availible from the gladewin32 project. Obviously PyGTK doesnt release the windows versions as often, especially if the C runtimes themselves arent keeping up. Althou

Re: [pygtk] determine size needed to display scrolledwindow without scrollbars

2008-01-27 Thread Wildemar Wildenburger
Eike Nicklas wrote: I am writing a program that uses a gtk.ScrolledWindow to display a gtk.Treeview. Now I would like to automatically determine the (minimum) windowsize needed to display the Treeview without scrollbars. Is there a simple way to do this? This is sort of a blind shot, sort of,

Re: [pygtk] Custom Widgets (Movable Containers)

2008-01-27 Thread Wildemar Wildenburger
Gustavo J. A. M. Carneiro wrote: A) Some people believe Gtk+ already has most things needed to draw complex GUIs, and you don't really need a "canvas". Your little program is an excellent proof-of-concept of this idea; Damn! ;) I'd sure like to see goocanvas integrated with (py)GTK.

Re: [pygtk] Custom Widgets (Movable Containers)

2008-01-25 Thread Wildemar Wildenburger
John Stowers wrote: I estimate that you will spend more time creating a canvas like implementation built atop DrawingArea then it will take to create the windows binaries. The bonus is that by starting with goocanvas you can create something functional immediately. Hehe, that might be more co

Re: [pygtk] Custom Widgets (Movable Containers)

2008-01-25 Thread Wildemar Wildenburger
Gian Mario Tagliaretti wrote: The reference manual covers 100% of the API, the xml files are shipped with the source, I've put a copy here: http://www.gnome.org/~gianmt/pygoocanvas/ I and Gustavo wrote plenty of examples, they come with the source tarball as well, you have simple examples, custo

Re: [pygtk] Custom Widgets (Movable Containers)

2008-01-24 Thread Wildemar Wildenburger
John Stowers wrote: How would I draw the boxes efficiently? When moving the Boxes around, the different borders will unhinge a little (so you can see cracks between them) and I don't want that. I have considered drawing the border as a whole and then overlaying the left and right sides with eve

[pygtk] Custom Widgets (Movable Containers)

2008-01-24 Thread Wildemar Wildenburger
Hello :) I'm trying to create a note-taking application, very much "inspired" by the KDE-app Basket (BasKet, I don't know). I've made a gritty little video of Basket in use, if you don't know it: (it's DivX, about 40 seconds and roughly 1MB). I have also attached a screenshot and the code o

[pygtk] Widgets in a CellRenderer (or EverNote style widget list)

2008-01-11 Thread Wildemar Wildenburger
Hey group :) I'm trying to create an app in the style of EverNote, i.e. a scrollable list of widgets. But creating a CellRenderer for general widgets proves rather difficult (for me). I've found the recent thread on this list pointing to

Re: [pygtk] Couple of easy questions

2007-12-26 Thread Wildemar Wildenburger
I'm not very experienced with pyGTK, but let me try to answer your questions with general Python wisdom ;) Micah Carrick wrote: 1. When using gtk.Builder (or glade), in C we use g_object_unref() on the builder object to free memory when we've moved references to the widgets we need into variab

Re: [pygtk] Rectangular Selection in gtk.TextView

2007-12-07 Thread Wildemar Wildenburger
John Ehresman wrote: I may be wrong here, but I suspect TextView does not support rectangular selections. I haven't seen mention of rectangular selections when I've worked with it and a quick google search seems to confirm this. That is my experience too; I was hoping that there might be a

[pygtk] Text Hiding in gtk.TextView / TextBuffer

2007-12-07 Thread Wildemar Wildenburger
Hi :) Is there an easy way to hide certain lines of a buffer in a TextView? That is, I would like to have a TextView that only displays certain lines of its buffer (most useful for "code folding" and "narrowing", among other things.). Any ideas or pointers? I could imagine just using another

Re: [pygtk] Rectangular Selection in gtk.TextView

2007-12-07 Thread Wildemar Wildenburger
Might I humbly repost my question? /W Wildemar Wildenburger wrote: Hi folks, I'm trying to write a text editor (well, who isn't?). I would like it to contain rectangular selections. While this is pretty easy on the buffer (model) part, I wonder how I could make the selection v

[pygtk] Rectangular Selection in gtk.TextView

2007-12-01 Thread Wildemar Wildenburger
Hi folks, I'm trying to write a text editor (well, who isn't?). I would like it to contain rectangular selections. While this is pretty easy on the buffer (model) part, I wonder how I could make the selection visible in the view. It does not seem to provide methods for drawing the selection

Re: [pygtk] Re: Repl-to of Mailinglist

2006-09-20 Thread Wildemar Wildenburger
Felix Rabe (public) wrote: I use Thunderbird and there's the small difference between Ctrl-R (reply; private, wrong) and Ctrl-Shift-R (reply all; to list, right) No, 'reply all' replies to all (as advertised). It doesn't mean 'all in the mailing list' it means 'all addresses found in the email

[pygtk] Chances for pygtk 2.10 for win32?

2006-09-15 Thread Wildemar Wildenburger
Hello there. Just found out that pyGTK 2.10 has the StatusIcon class which is what I've always missed in pyGTK. How long do you folks think it will be until the win32 port of pyGTK and GTK+ 2.10 will be available? Will it be done at all? wildemar

[pygtk] Re: Chances for pygtk 2.10 for win32?

2006-09-15 Thread Wildemar Wildenburger
Wildemar Wildenburger wrote: How long do you folks think it will be until the win32 port of pyGTK and GTK+ 2.10 will be available? Will it be done at all? Oh and how about a win32 version of pyGTK for Python 2.5 for that matter? wildemar ___ pygtk

Re: [pygtk] destructors not getting called

2006-08-09 Thread Wildemar Wildenburger
N. French wrote: Maybe I'm not understanding that paragraph, but I'm saying that even in the event of program termination I have objects that aren't getting finalized properly. I don't think that is what that is talking about (but I certainly appreciate the suggestion). I actually had --- and

Re: [pygtk] destructors not getting called

2006-08-07 Thread Wildemar Wildenburger
N. French wrote: 1. The App class does not have __del__ called unless I explicitly call it in my window destroy callback. 2. The container classes don't have __del__ called unless I explicitly call it (from my App's destructor). I tested the container classes separately and the destructors ge

[pygtk] Again with the MDI-like approach (sorry :-)

2006-06-20 Thread Wildemar Wildenburger
Hey there :) OK, I have struggled with this for a while now. I'm still trying to write my notes-application but I just cant figure out how to have several notes open within the same Window. You see, somewhat like MDI-windows. Several boxes, freely placable and resizable. They needn't look like

[pygtk] MDI-ish interface - what to use as a "child window"

2006-04-21 Thread Wildemar Wildenburger
Ok, I'm pretty sure I'll use gtk.Layout now, but what could I use for the child window? I'd like to add a resize border around it and make all its non functional parts drag handles (so it can be grabbed at any place thats not a list, text, etc). I've hacked something together with a gtk.EventB

Re: [pygtk] MDI-ish interface?

2006-04-21 Thread Wildemar Wildenburger
Santhosh wrote: You may use Panes and pack your widgets inside it. You can also have some provisions to allow the users to hide them at will. Do you mean inside the "child" windows? Why, thats exactly how its going to be :). If you mean inside the main window ... then I don't quite get it. Co

Re: [pygtk] MDI-ish interface?

2006-04-19 Thread Wildemar Wildenburger
Johan Dahlin wrote: You should look at gdl which has docks. its a gnome-package, right? I'm actually going for a multi plattform (that is non-gnome) app. An alternative is using a GtkNotebook, but only if you can reconsider the need of being able to need to move the sub windows around Visu

[pygtk] MDI-ish interface?

2006-04-18 Thread Wildemar Wildenburger
Hello Folks :) I'm just learning pygtk as it appears somewhat more flexible than wxpython (which I've used before with great success, let that be noted). Now I need something like an MDI-style interface; neednt be toplevel windows inside a toplevel window, but at least normal widgets in a to