Re: [pygtk] printing from gnome canvas

2000-06-14 Thread J.W. Bizzaro
Alexei Gilchrist wrote: Is there any way of printing, or exporting to postscript, a gnome canvas? I've looked everywhere I can think of on the docs and can't find any mention of it. The ability to print the contents of the canvas is a planned feature. I believe it is planned for Gnome 2.0.

Re: [pygtk] does anyone have a copy of the tutorial? I can't reach http://laguna.fmedic.unam.mx/~daniel/pygtutorial/

2000-04-24 Thread J.W. Bizzaro
"E. J. Wells" wrote: I've got a copy. I created a tarball and put it here: http://developer.linsight.com/downloads/pygtutorial.tgz That version is from Feb 15. Is there anything newer? People might also be interested in the new PyGTools archive:

[pygtk] [Fwd: orbit/python bindings]

2000-03-15 Thread J.W. Bizzaro
From Jeff Turner... ... BTW, do you know of anyone working on Python bindings to Bonobo? I saw Miguel de Icaza speek last week and give a demo of Bonobo. He showed an 'SVG Bonobo component'. I think this would be great to use for visuals, but we need the Python bindings to do it. ...

Re: [pygtk] GnomePopupMenu please?

2000-03-03 Thread J.W. Bizzaro
Hassan Aurag wrote: It crashes my app. Simple as that. Is it broken? Not getting an answer, eh? ;-) Gnome popup menus were crashing my app many moons ago, so I switched to Gtk popups. I can't say what the problem is, but it's not your app. Jeff To unsubscribe: echo "unsubscribe" |

Re: [pygtk] GnomePopupMenu please?

2000-03-03 Thread J.W. Bizzaro
Hassan Aurag wrote: Btw, any have thought of writing a couple of functions to get gtkmenus and toolbars from gnome uiinfo? I mean to write clones of GnomeApp.create_menus(uiinfo) and GnomeApp.create_toolbar(uiinfo). I haven't thought about that. But aren't Gtk menus and toolbars are

Re: [pygtk] Hello, and `pygtk' reminder

2000-02-13 Thread J.W. Bizzaro
François Pinard wrote: I still have to learn `pygtk' usage, and to help me doing so, through an editing session over the Python sources, made myself a compact reminder. Let me share it with you, in case it would be useful, or for if you feel like commenting. Classes are sorted

Re: [pygtk] w2c, etc

2000-01-30 Thread J.W. Bizzaro
Jon Travis wrote: Has anyone gotten the w2c canvas method working yet? I don't know exactly how to call it, and whatever I try either SEGV's the program or gives me an invalid input type. Anyone? This seems like a pretty important thing to have in order to do canvas manipulations. Here

Re: [pygtk] Should I make some pygnome documentation ?

2000-01-23 Thread J.W. Bizzaro
Daniel Kornhauser wrote: I've stated to document some of pygtk. This mail has two purposes 1.- Make sure anyone isn't making this job 2.- Get some feed back. If any one is doing this job please tell me, I have spent some hours learning docbook and doing some boring editing. I don't want

Re: [pygtk] file resource

2000-01-07 Thread J.W. Bizzaro
Javi Román wrote: widget "*.ventana" style "window" widget "*GtkWindow" style "window" window.set_name ("ventana") Not needed unless you have many GtkWindows with different colors. Jeff To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Re: [pygtk] GtkMenu.popup() howto?

1999-12-19 Thread J.W. Bizzaro
[EMAIL PROTECTED] wrote: please can someone explain me how to use: - popup_menu = GtkMenu() popup_menu.show() # submenus for name sub_menu = GtkMenu() sub_menu.show() sub_menu_item = GtkMenuItem('name')

[pygtk] AttributeError

1999-11-26 Thread J.W. Bizzaro
I'm using gnome-python 1.0.3. Why am I getting this error? Traceback (innermost last): File "/usr/lib/python1.5/site-packages/gtk.py", line 114, in __call__ ret = apply(self.func, a) File "./workspace.py", line 482, in line_event

Re: [pygtk] post-only list

1999-11-15 Thread J.W. Bizzaro
, and not one spam message has made it through the screening, and many have tried. It's very simple to set up and administer too. http://www.list.org/ Jeff -- +--+ | J.W. Bizzaro

[pygtk] Gnome port to Windows?

1999-11-10 Thread J.W. Bizzaro
quite easy' to port GNOME to Win32, this brings a different light into the picture. http://www.abisource.com/mailinglists/abiword-dev/99/October/0260.html Jeff -- +--+ | J.

Re: [pygtk] applet's icon w/transparency

1999-11-09 Thread J.W. Bizzaro
, mask = create_pixmap_from_xpm(self.win, None, "pixmap.xpm") self.win.set_icon(pix, mask) Cheers. Jeff -- +--+ | J.

[pygtk] 3rd party gtk widgets

1999-10-14 Thread J.W. Bizzaro
For anyone who would like to wrap additional widgets for PyGTK, there is a repository of 3rd party GTK widgets at this site: http://netcolony.com/members/gtk/ Jeff To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Re: [pygtk] ManualsTutorials

1999-09-21 Thread J.W. Bizzaro
about PyGTK at the 'PyGTools' Web site: http://theopenlab.uml.edu/pygtools/ (NOTE: The server is not reachable right now. Try it a little later) Jeff -- ++ |J.W. Bizzaro

[pygtk] GConf

1999-09-20 Thread J.W. Bizzaro
Havoc Pennington wrote the GConf libraries to make a 'registry' for UNIX: http://news.gnome.org/gnome-news/937788811/index_html James, any plans on having Python bindings for this in the next gnome-python release? Cheers. Jeff To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

[pygtk] ANNOUNCE: Python/ORBit Bindings

1999-09-10 Thread J.W. Bizzaro
ANNOUNCING PyORBit: Python/ORBit Bindings PyORBit is a project to create Python bindings for ORBit, a fast, lightweight CORBA ORB used by the GNOME Desktop for application and component interaction (similar to Microsoft's COM). These bindings

Re: [pygtk] Raising an open window

1999-08-31 Thread J.W. Bizzaro
Paul Clifford wrote: I've just added raise and lower methods to GdkWindow objects on my local copy of pygtk, and I noticed that you can't have (or more importantly, you can't call) a method called 'raise' with C Python. I ended up naming it '_raise', which seems a bit hacky but works and

Re: [pygtk] Adding a second toolbar ?

1999-07-27 Thread J.W. Bizzaro
Sebastien Kessler wrote: Thanks but still, what do the arguments from add_toolbar(self, toolbar, name, behavior, placement, band_num,band_position, offset) mean ? And is there an easy way to do an item to the toolbar once the toolbar is shown ? The C/Gtk+ documentation is still missing a

Re: [pygtk] New thread unlock code seems broken

1999-07-19 Thread J.W. Bizzaro
James Henstridge wrote: In other news, I have added a wrapper for gtkglarea to pygtk. There are a few examples in the examples/gl directory, including a translation of the mesa gears demo. To use it, you will also need the PyOpenGL package. VERY COOL! THANK YOU JAMES! Jeff To

Re: [pygtk] CANVAS Gnome - Segmentation Fault ?

1999-07-09 Thread J.W. Bizzaro
a canvas item. This may be related to your first problem. Cheers. Jeff -- ++ || | J.W. Bizzaro | | [EMAIL PROTECTED

Re: [pygtk] Modifying a GtkAdjustment

1999-06-22 Thread J.W. Bizzaro
Bernhard, Do you ever figure out how to do it? Inquiring minds want to know :-) Jeff Bernhard Herzog wrote: "J.W. Bizzaro" [EMAIL PROTECTED] writes: How about this: from gtk import * adj = GtkAdjustment() print adj.lower 0.0 adj.lower = 1.0 print adj.l

Re: [pygtk] working with styles

1999-06-14 Thread J.W. Bizzaro
Sorry, the style rc requires braces. style "label_style" { font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*" fg[NORMAL] = { 1.0, 1.0, 1.0 } fg[PRELIGHT] = { 1.0, 1.0, 1.0 } fg[ACTIVE] = { 1.0, 1.0, 1.0 } } Jeff -- J.W. Bizzaro mai

Re: [pygtk] Modifying a GtkAdjustment

1999-06-07 Thread J.W. Bizzaro
"unsubscribe" | mail [EMAIL PROTECTED] -- J.W. Bizzaro mailto:[EMAIL PROTECTED] Boston College Chemistry http://www.uml.edu/Dept/Chem/Bizzaro/ -- To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Re: [pygtk] working with styles

1999-06-04 Thread J.W. Bizzaro
give me any hints on doing this? ..a minimal example perhaps? Eric To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED] -- J.W. Bizzaro mailto:[EMAIL PROTECTED] Boston College Chemistry http://www.uml.edu/Dept/Chem/Bizzaro/ -- To unsubscribe: echo &q

Re: [pygtk] GtkDial widget

1999-06-04 Thread J.W. Bizzaro
"unsubscribe" | mail [EMAIL PROTECTED] -- J.W. Bizzaro mailto:[EMAIL PROTECTED] Boston College Chemistry http://www.uml.edu/Dept/Chem/Bizzaro/ -- To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

[pygtk] working with styles

1999-06-03 Thread J.W. Bizzaro
as is used with the example testgtk. But I need to switch between them during runtime or be able to change parts of the default style at the very least. :-) Jeff -- J.W. Bizzaro mailto:[EMAIL PROTECTED] Boston College Chemistry http://www.uml.edu/Dept/Chem/Bizzaro/ -- To unsubsc

Re: [pygtk] working with styles

1999-06-03 Thread J.W. Bizzaro
il: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ On Thu, 3 Jun 1999, J.W. Bizzaro wrote: Some of the style-setting functions of gtk are in pygtk, such as widget.set_style(stylename).fg[STATE_NORMAL] = (1, 0, 0) widget.get_style().fg[STATE_NORMAL] But t

Re: [pygtk] working with styles

1999-06-03 Thread J.W. Bizzaro
ff,0,0) widget.set_style(widget_style) James. -- J.W. Bizzaro mailto:[EMAIL PROTECTED] Boston College Chemistry http://www.uml.edu/Dept/Chem/Bizzaro/ -- To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

[pygtk] gnome_canvas_aa crash

1999-06-02 Thread J.W. Bizzaro
= root.add('line', points=(1,1, -1,-1)) button = GtkButton("Crash Me") button.connect("clicked", crash_me, canvas, line) vbox.pack_start(button, expand=FALSE) button.show() win.show() mainloop() 8 If you just remove aa=TRUE, it won't crash. Cheers. Je

[pygtk] documentation project

1999-06-01 Thread J.W. Bizzaro
:-) Jeff -- J.W. Bizzaro mailto:[EMAIL PROTECTED] Boston College Chemistry http://www.uml.edu/Dept/Chem/Bizzaro/ -- To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

[pygtk] Re: pygtk documentation?

1999-05-26 Thread J.W. Bizzaro
C tutorial and peruse the examples that come with pygtk and also the gtk.py source. Understanding how the C library works does help in understanding some of the quirks of the Python wrapper. Dave Cook -- J.W. Bizzaro mailto:[EMAIL PROTECTED] Boston College Chemistry h

Re: [pygtk] Re: pygtk documentation?

1999-05-26 Thread J.W. Bizzaro
I'll give you and David shell accounts, which will automatically give you CVS access. You know the server: http://theopenlab.uml.edu/ Unless you yell and scream that you don't want the accounts, I'll send you the login info shortly. Jeff On Wed, 26 May 1999, J.W. Biz

Re: [pygtk] gnome canvas seg fault

1999-05-24 Thread J.W. Bizzaro
uldn't get it to segfault. James. -- J.W. Bizzaro mailto:[EMAIL PROTECTED] Boston College Chemistry http://www.uml.edu/Dept/Chem/Bizzaro/ -- To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

[pygtk] gnome canvas widget bug?

1999-05-24 Thread J.W. Bizzaro
HSeparator() canvas.widget = canvas.root().add('widget', widget=w, x=10, y=200, width=100, height=50) w.show() -8--- Unless I'm missing something. Jeff -- J.W. Bizzaro mailto:[EMAIL PROTECTED] Boston College Chemistry http://www.uml.edu/Dept/Chem/Bi

Re: [pygtk] gnome canvas seg fault

1999-05-24 Thread J.W. Bizzaro
Very cool! Thank you James! Jeff -- J.W. Bizzaro mailto:[EMAIL PROTECTED] Boston College Chemistry http://www.uml.edu/Dept/Chem/Bizzaro/ -- To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Re: [pygtk] gnome canvas seg fault

1999-05-23 Thread J.W. Bizzaro
This is a newer version of my app: http://theopenlab.uml.edu/loci/download/loci-core-19990523.tar.gz Oh, and the new gnome canvas isn't slower. Netscape was just hogging processor time again :-/ Jeff "J.W. Bizzaro" wrote: James, I get a segmentation fault when using

Re: [pygtk] gnome canvas seg fault

1999-05-23 Thread J.W. Bizzaro
gnome, how can we report it? Jeff "J.W. Bizzaro" wrote: This is a newer version of my app: http://theopenlab.uml.edu/loci/download/loci-core-19990523.tar.gz Oh, and the new gnome canvas isn't slower. Netscape was just hogging processor time again :-/ Jeff &qu

[pygtk] gnome canvas seg fault

1999-05-23 Thread J.W. Bizzaro
://theopenlab.uml.edu/loci/download/loci-core-19990521.tar.gz I just updated to gnome-python 1.0.3 and gnome-libs 1.0.9. The problem occurs with new and old versions. BTW, the canvas is a little slower with the new version, for some reason. Thanks. Jeff -- J.W. Bizzaro mailto:[EMAIL PROTECTED

[pygtk] parameters and events

1999-05-17 Thread J.W. Bizzaro
canvas.box_group.event Maybe there is a way around this that I'm not seeing. :-) Jeff -- J.W. Bizzaro mailto:[EMAIL PROTECTED] Boston College Chemistry http://www.uml.edu/Dept/Chem/Bizzaro/ -- To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

[pygtk] getting canvas item properties

1999-05-17 Thread J.W. Bizzaro
problem may be half not having C-GNOME documentation, half not understanding how C-GNOME is wrapped in Python, and half not knowing Python very well. :-) Jeff -- J.W. Bizzaro mailto:[EMAIL PROTECTED] Boston College Chemistry http://www.uml.edu/Dept/Chem/Bizzaro/ -- To unsubscrib

Re: [pygtk] parameters and events

1999-05-17 Thread J.W. Bizzaro
It seems I can use canvas.box_group.set_data() canvas.box_group.get_data() To attach misc. variables to the group, which will then be transferred to the event handler. Is this the best way to do this? "J.W. Bizzaro" wrote: Greetings. I connected an event handler

[pygtk] PyGNOME canvas examples and Ted

1999-05-06 Thread J.W. Bizzaro
Does anyone have examples of doing some basic shape drawing and manipulations with the GNOME/PyGNOME canvas? Can anyone explain what "Ted" in the PyGNOME examples directory is supposed to be and where I can find out more about it? Thanks. Jeff -- J.W. Bizzaro mai

[pygtk] PyGtkGLArea

1999-04-28 Thread J.W. Bizzaro
Are there Python or PyGTK bindings to the GtkGLArea widget? Is anyone working on it? Is anyone interested in it? Jeff -- J.W. Bizzaro mailto:[EMAIL PROTECTED] Boston College Chemistry http://www.uml.edu/Dept/Chem/Bizzaro/ -- To unsubscribe: echo "unsubscribe&qu

Re: [pygtk] GTK for W95

1999-02-27 Thread J.W. Bizzaro
ail [EMAIL PROTECTED] -- J.W. Bizzaro Phone: 617-552-3905 Boston Collegemailto:[EMAIL PROTECTED] Department of Chemistry http://www.uml.edu/Dept/Chem/Bizzaro/ -- To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]