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.
"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:
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.
...
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" |
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
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
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
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
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]
[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')
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
, 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
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.
, mask = create_pixmap_from_xpm(self.win, None, "pixmap.xpm")
self.win.set_icon(pix, mask)
Cheers.
Jeff
--
+--+
| J.
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]
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
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]
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
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
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
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
a canvas
item. This may be related to your first problem.
Cheers.
Jeff
--
++
||
| J.W. Bizzaro |
| [EMAIL PROTECTED
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
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
"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]
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
"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]
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
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
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]
= 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
:-)
Jeff
--
J.W. Bizzaro mailto:[EMAIL PROTECTED]
Boston College Chemistry http://www.uml.edu/Dept/Chem/Bizzaro/
--
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
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
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
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]
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
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]
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
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
://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
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]
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
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
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
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
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]
46 matches
Mail list logo