Most likely Mandrake's python was not using the RTLD_GLOBAL hack that
Red Hat Linux had. If libimlib-jpeg.so needs a symbol called
_gdk_malloc_image, it needs to have a DT_NEEDED entry that says what
library to get it from. (i.e., it needs to include -lgdk on the link
line)
As you can see:
In GTK there are window widgets and no-window widgets. No-window
widgets don't have backgrounds. Labels are no-widow widgets, they
simply paint on the window of their parent widget. So, to change the
background behind a label you have to change the background of its
parent.
Cheers,
Matt
On
Try Ctrl+Tab.
Cheers,
Matt
On Thu, Jun 20, 2002 at 10:03:43PM +0200, Thomas Guettler wrote:
Hi!
Normaly you can change the focus of the controls with tab. But in a
GtkText control it does not work. Shift-Tab works, but it only gets
backwards. Is there a magic shortcut?
On Thu, Jun 20, 2002 at 08:00:58PM -0300, Christian Reis wrote:
Is there a reason for this rather inconsistent UI for control focus
shifting?
It is consistent with the keyboard navigation documentation:
http://developer.gnome.org/projects/gap/keynav/
Cheers,
Matt
This exists in GNOME (for GTK+ 1.2 and GNOME 1.4 platforms). GTK+ 2.0
also has stock dialog functionality.
Cheers,
Matt
On Tue, Jun 18, 2002 at 10:14:17PM +0200, Thomas Guettler wrote:
On Tue, Jun 18, 2002 at 08:45:20PM +0200, Thomas Guettler wrote:
Hi!
Is there a Method/Class for a
===
RCS file: /cvs/gnome/gnome-python/pygtk/ChangeLog,v
retrieving revision 1.412
diff -u -r1.412 ChangeLog
--- ChangeLog 11 Jun 2002 19:14:38 - 1.412
+++ ChangeLog 14 Jun 2002 20:39:15 -
@@ -1,3 +1,9 @@
+2002-06-14 Matt Wilson [EMAIL PROTECTED]
+
+ * pygtype.c
[gtk.STATE_NORMAL]
win = widget.window
win.draw_drawable(gc, pixmap, area[0], area[1],
area[0], area[1], area[2], area[3])
return gtk.FALSE
A CVS update today has pulled in the following changes which seem
like the likely cause ...
2002-06-03 Matt Wilson
On Sat, Jun 01, 2002 at 10:30:31PM -0600, Collins wrote:
I have a dialog box that I want to open over the middle of my current
window? How do I accomplish this?
At present, gtk maps this window to the next available space on the
screen, where it is not obvious that it is related to my
I've committed fixes to CVS:
2002-05-31 Matt Wilson [EMAIL PROTECTED]
* examples/pygtk-demo/demos/list_store.py (fixed_toggled): the
path argument must be a tuple. Ints are not automatically
converted to tuples any more.
* pygtype.c (pyg_value_as_pyobject
On Fri, May 10, 2002 at 06:17:19PM -0700, Colin Fox wrote:
Hey everyone.
How many people are responsible for keeping gnome-python and pygtk up to
date? Is it just James, or are there others?
There are several of us, but mainly James and I take care of it.
We've not had much time to work on
Which version are you using?
Cheers,
Matt
On Sat, May 04, 2002 at 04:49:32PM -0700, Colin Fox wrote:
On Sat, 2002-05-04 at 16:43, Colin Fox wrote:
There is apparently a gnome_canvas function called 'window_to_world'
that seems to be missing in pygnome. Am I missing something, or has
in PyGTK+ 2.x:
label.set_property('text', text)
Cheers,
Matt
On Wed, May 01, 2002 at 03:31:18PM +0200, Erik Grinaker wrote:
Also; I seem to be having some problems when the function is called the
second time around; Python gives this error:
File main.py, line 142, in
Applied to CVS, thanks for the patch.
Cheers,
Matt
On Thu, Apr 25, 2002 at 01:21:58PM -0500, Art Haas wrote:
Hi.
The ability to make spin buttons was lost in the
latest release. This patch fixes that - the
second parameter is gdouble, not gbutton,
in accordance with the GTK headers.
On Mon, Apr 22, 2002 at 03:26:28PM +0100, David C Sterratt wrote:
1280 -rwxr-xr-x 1 root system 1310720 Apr 22 15:19 lib_gtkmodule.so*
Here's the problem - libtool is installing the dynamically loaded
modules with lib_ in the front. Probably a libtool bug...
Cheers,
Matt
In Python the insert method doesn't need the length argument - it is
optional. If omitted it will use the length of the string passed in
automatically.
Cheers,
Matt
On Mon, Mar 04, 2002 at 03:19:30PM +0100, Pier Carteri wrote:
I'm sorry, probably I must count to 10 before sending a mail to
self.category_combo.set_property('editable', gtk.FALSE)
cheers,
Matt
On Thu, Feb 21, 2002 at 06:49:56PM -0500, Edgar Denny wrote:
When testing code with pygtk-1.99.7 I get lots of messages of the
form:
./recipe_win_ui.py:182: DeprecationWarning:
self.category_combo.entry.set_editable(
On Sat, Feb 16, 2002 at 11:07:26AM +0800, James Henstridge wrote:
I believe the function takes a list of such tuples.
a sequence of them, so either a list or a tuple...
Matt
___
pygtk mailing list [EMAIL PROTECTED]
Will be fixed in cvs in a few minutes.
Matt
On Thu, Jan 03, 2002 at 09:31:10AM -0600, Skip Montanaro wrote:
I've been away from the Gtk 1.3 release cycles for a month or two. Upon
returning to it yesterday, I got this new warning:
`GtkDialogFlags' is not an enum type
Is this
Either take the gtk lock in your idle handler or disable threads using
the snapshot of stable pygtk and using gtk._disable_threading() before
you call the mainloop for the first time.
Cheers,
Matt
On Wed, Dec 26, 2001 at 10:15:20AM -0700, Don Allingham wrote:
I've tried adding a autosave
EEEP. Oops, that was me. Sorry about that guys.
Matt
On Fri, Dec 14, 2001 at 10:15:04AM -0500, Toby D. Reeves wrote:
Hello,
I discovered the same feature on Redhat 7.2 last week. It turns out that
pygtk is compiled as part of the gnome-python package. PyGtk IS compiled
with
Apply the attached patch and use None as the iter.
(fixed in CVS)
Cheers,
Matt
On Thu, Dec 06, 2001 at 09:53:55AM -0500, Robert Nikander wrote:
On 2001.12.05 21:09 James Henstridge wrote:
iter = model.get_iter(1, 6)
Ah. I was confused about tuples/paths vs iterators.
Thanks
The python implementation of a GtkTreeModel uses tuples as the iter.
Build up the path to the new node (which is also a tuple which lists
the nodes to get to the updated node), and pass it as both the path
and the iter.
Cheers,
Matt
On Wed, Dec 05, 2001 at 10:14:33AM -0500, Robert Nikander
The constructor for TreeStore is like this:
treestore = gtk.TreeStore(gobject.TYPE_STRING)
No need to pass in a number.
Cheers,
Matt
On Wed, Dec 05, 2001 at 12:42:45PM -0500, Robert Nikander wrote:
Well I don't care too much about writing my own TreeModel. Is there
another way to put a
Get the authors to register it as a boxed type.
Cheers,
Matt
On Wed, Nov 28, 2001 at 02:23:31PM -0600, Skip Montanaro wrote:
James If you want to see an example of distributing a binding outside
James of the pygtk module, take a look at the gnome-python package. It
for example, when I wrapped atk:
add atkmodule.la to pyexec_LTLIBRARIES.
add:
atkmodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex initatk
atkmodule_la_SOURCES = \
atkmodule.c \
atk.c
atkmodule_la_LIBADD = $(ATK_LIBS)
add:
atk.defs
atk.override
to EXTRA_DIST
The generic
This is because /usr/lib/libimlib-xpm.so doesn't contain the proper
DT_NEEDED entries for other libraries it needs. Probably a problem
with libtool or the way Imlib uses it. import gtk first.
Matt
On Fri, Nov 23, 2001 at 07:52:36AM -0700, Don Allingham wrote:
I've had several people
On Wed, Nov 14, 2001 at 11:29:18AM +0100, Skip Montanaro wrote:
Are there any HTML rendering widgets that work with the Gtk 1.3/2.0 API?
Any that have been wrapped into PyGtk yet?
gtkhtml2 uses pango for i18n text rendering, etc.
http://gtkhtml2.codefactory.se/. There are not Python bindings
The defs files aren't quite 100% autogenerated at this point. The
pygtk ones have various default values noted in them that can't be
extracted from the headers. I've checked in a .defs file that should
make things work for now, but I still need to make sure the defs file
is fixed up for the
This all has to do with numeric coercion. CVS GTK+ has just changed
the GdkAtom to be a pointer, not a long. Stick with a released 1.3.9
or wait till it gets fixed.
Cheers,
Matt
On Mon, Oct 22, 2001 at 01:24:53PM -0500, Skip Montanaro wrote:
Compiling gtk-types.c (v. 1.29) from the latest
btw, if you want to know how this function works, see:
http://www.python.org/doc/2.2/api/number.html#l2h-229
On Mon, Oct 22, 2001 at 01:24:53PM -0500, Skip Montanaro wrote:
Compiling gtk-types.c (v. 1.29) from the latest CVS gives several warnings
and two errors:
There's quite a bit of work to make everything happy - I'll have it
fixed up by morning.
Matt
On Mon, Oct 22, 2001 at 02:03:34PM -0500, Skip Montanaro wrote:
Thanks, I eventually figured out the coercion stuff. To work around the
problem I figured I'd just can float conversion for now.
I fixed this in CVS last week. Can you try pulling latest from HEAD?
Cheers,
Matt
On Sun, Oct 21, 2001 at 10:16:33AM -0500, Mike DeSimone wrote:
On Sun, 2001-10-21 at 01:25, Sebastian Rittau wrote:
h2def.py is in the pygtk cvs module, in the codegen directory. It scans
.h files and
Oh, you're right. Gimme a sec.
Matt
On Sun, Oct 21, 2001 at 06:40:52PM +0200, Murray Cumming wrote:
On Sun, 2001-10-21 at 18:03, Matt Wilson wrote:
I fixed this in CVS last week. Can you try pulling latest from HEAD?
It doesn't seem to be fixed
OK, should be fixed now.
Cheers,
Matt
On Sun, Oct 21, 2001 at 12:41:59PM -0400, Matt Wilson wrote:
Oh, you're right. Gimme a sec.
Matt
On Sun, Oct 21, 2001 at 06:40:52PM +0200, Murray Cumming wrote:
On Sun, 2001-10-21 at 18:03, Matt Wilson wrote:
I fixed this in CVS last week
On Fri, Oct 19, 2001 at 02:22:15PM -0500, Skip Montanaro wrote:
Actually, I'm now using 2.2b1+... I update both Python and Gtk/PyGtk stuff
frequently, at least a few times a week. I had no problems yesterday. I
guess I'll take a look and see what the latest PyGtk checkins were.
They
Well, the tail end of all of the PyTypeObjects will have to be fixed.
It looks like you should be able to use tp_cache where we were using
tp_defined before, but I'm not sure.
Matt
On Fri, Oct 19, 2001 at 02:51:34PM -0500, Skip Montanaro wrote:
Actually, I'm now using 2.2b1+...
On Wed, Oct 10, 2001 at 04:50:12PM +0200, Peter Kese wrote:
Presumably when label is deleted, its __del__ method should get called.
But it doesn't. When and how should I use unref(), sink() and other
methods?
How and when do PyGtk objects ever get deleted.
Here's the trick. This python
The style objects and helpers haven't been reimplemented yet and isn't
fully bound.
Cheers,
Matt
On Thu, Oct 11, 2001 at 02:21:25AM +0900, Tamito KAJIYAMA wrote:
Hi,
I have trouble with regard to PyGTK 1.99.3 (together with GTK+
1.3.9 and Python2.2a4). I know that the `Style' object in
On Wed, Oct 10, 2001 at 01:00:11PM -0400, Matt Wilson wrote:
Now, your case puzzles me. I think that there may be some problems
with extended types and __del__? Does __del__ chain properly? Or do
we need code to do that in our pygobject before we tear down the whole
object? PEP 252
On Thu, Oct 11, 2001 at 10:11:08AM +0800, James Henstridge wrote:
I don't know if overriding __del__ is supported for new style types yet.
James.
Yea, according to Guido it isn't, and making it work is going to be
hard and screws up GC.
Matt
___
On Mon, Oct 08, 2001 at 11:09:51AM -0500, Skip Montanaro wrote:
gc = w.window.new_gc()
color = gtk.gdk.color_parse(red)
gc.set_foreground(color)
You'd be surprised, but it's actually the background that you want to
modify here.
w.modify_bg(gtk.STATE_NORMAL, color)
Cheers,
That means you want to modify the *label* inside the button:
import gtk
def click(b, *args):
label = b.get_child()
b.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse(red))
label.modify_fg(gtk.STATE_NORMAL, gtk.gdk.color_parse(green))
def mainquit(*args):
gtk.main_quit()
def
Yesterday I bound gtk.gdk.get_default_root_window(),
gtk.gdk.screen_width(), etc.
Matt
On Mon, Oct 01, 2001 at 03:34:18PM -0500, Skip Montanaro wrote:
(I'm using the 2.0 API, but not yet the Gtk-less/Py2.2-compatible names.)
Given a arbitrary realized widget I can get the root window
,v
Version 1.59 was just created today:
revision 1.59
date: 2001/10/03 15:46:24; author: msw; state: Exp; lines: +6 -3
2001-10-03 Matt Wilson [EMAIL PROTECTED]
* gobjectmodule.c (pygobject_repr): tweak the repr such that
calling
I was just pulling from CVS HEAD...
Matt
On Sat, Sep 29, 2001 at 10:42:15PM +0200, Tom Cato Amundsen wrote:
Can you make it available for us, or mail it directly to me, and
I'll upload it somewhere?
___
pygtk mailing list [EMAIL
Looks pretty good, but I have a couple of crashers.
pygtk_demo.py crashes after making a GtkTextTag. This is because
self-inst_dict wasn't set to NULL in pygobjet_new. If you agree this
is the fix, I'll commit it. After making this change the crash went
away.
The other crash is on shutdown
On Tue, Sep 18, 2001 at 02:08:05PM -0500, Skip Montanaro wrote:
Can someone running Gtk+/PyGtk 2.0 look at this? It's bugging the hell out
of me. I don't know if I'm doing something wrong or I've stumbled upon a
Gtk+ or PyGtk wart of some sort.
It looks like some generic problem with the
I believe the 'class' part of the rc style refers to the GtkObject
name of the widget in question. Thus you have to call it a
GtkButton. Python class inheritance doesn't change the GtkObject name
of a widget.
Cheers,
Matt
On Fri, Sep 21, 2001 at 11:04:59AM -0500, Skip Montanaro wrote:
The
It seems that the first defined constructor of a given type wins as
far as becoming the __init__ for that type. For classes like GtkImage
this is causing us only to be able to make new GtkImage objects from
pixmaps.
Should we do keyword args or magick checking to figure out which
constructor to
The following code shows a button with a label of foo, not bar.
Is this supposed to work?
#!/usr/bin/python2
import gtk
win = gtk.Window()
button = gtk.Button(foo)
button.label = bar
win.add(button)
win.show_all()
gtk.mainloop()
Cheers,
Matt
___
On Fri, Jun 08, 2001 at 02:31:20PM +1200, Rob Brown-Bayliss wrote:
Is there any reason for not building by default? for example stability?
When I wrote the binding the API wasn't stable, and I haven't touched
it since. So, I guess the answer is yes. ;)
Matt
The python bindings for gtkhtml are out of date. I will see if I can
get around to updating them soon...
Matt
On Sat, Oct 07, 2000 at 07:02:38PM +0200, joseantsa wrote:
Hello:
I can't compile gnome-python-1.0.53 (see bottom).
I have installed:
- libtool-1.3.5
-
IIRC, the delete key is a reserved accelerator -- it removes any
accelerator from the menu entry.
Matt
On Wed, Aug 30, 2000 at 08:54:12AM -0400, [EMAIL PROTECTED] wrote:
Greetings,
Is there a way to add the Delete key (as an accelerator) menu bar.
I tried 'del', 'del', 'delete',
public serive announcement
FORKED LIBRARIES ARE BAD. Don't promote the use of them. If you have
a problem with the GtkHTML requirement on gnome-print, send in a patch
-- DON'T FORK IT.
Jeez.
/public service announcement
Matt
On Sat, Aug 05, 2000 at 09:48:04AM -0400, [EMAIL PROTECTED]
On Sat, Aug 05, 2000 at 06:26:22PM +0200, Tom Cato Amundsen wrote:
Forcing everybody to use gnome, is not that good either...
Gnome is NICE, but sometimes you want to go with just gtk+.
GtkHTML isn't designed to force everyone to use GNOME. If there is a
problem, it's purely technical, not
Here:
from gtk import *
from threading import *
import time
class Worker(Thread):
def __init__ (self, widget):
Thread.__init__(self)
self.counter = 0
self.widget = widget
def run (self):
while 1:
threads_enter()
I had some, they worked. I think that disc died, though.
Matt
On Tue, Aug 01, 2000 at 05:12:55PM -0400, [EMAIL PROTECTED] wrote:
I made python/pygtk bindings for gdk-pixbuf. It's the first time
I've worked with the Python C-API, so... it probably sucks badly, :)
but should be
On Wed, Jun 28, 2000 at 05:06:27PM +0800, James Henstridge wrote:
If you are using a Red Hat or Red Hat derived Linux distro, you should be
able to get things to build by installing the python-devel package. There
may be a copy of pygtk included with the distro already.
If it's Red Hat
Add:
mygthtext.set_events (KEY_RELEASE_MASK)
Matt
On Tue, Jun 20, 2000 at 11:38:50AM +0200, Bellamy Bruno wrote:
Hi there...
I'm trying to catch the key_release event in a GtkText, so I had to
use a mygtktext.add_events(GDK.KEY_RELEASE_MASK).
But it seems to work only after I
On Sat, Jun 17, 2000 at 10:19:55PM +, Hassan Aurag wrote:
Hi,
I am not sure about that, but no one here has complained about lack
of gnome-python 1.2 that is compatible with gnome 1.2.
gnome-python is completely compatible with 1.2
I am waiting impatiently for gnome-python
Be sure you installed the pygnome-libglade package.
Matt
On Mon, Jun 05, 2000 at 12:42:38AM -0700, Mike Payson wrote:
I haven't recieved a response to my previous question, so I thought a
bit more info might help... After executing the libglade tutorial at
On Mon, Jun 05, 2000 at 03:17:02PM +0200, Luca Minuti wrote:
My program must do this: if someone make some change to the data that the
program
manipulate other instance of the same program must update their own view.
Have your program set up a named pipe and add an input hander on that
file
On Thu, May 25, 2000 at 08:26:12AM -0400, Harry Henry Gebel wrote:
If I set this environment variable in the program prior to importing gtk,
gnome.ui, and libglade will it still work? My intention is to put mainloop
in a try clause and put up a GnomeErrorDialog with a traceback, append the
One quick hack is to turn off Python's handling of SIGINT:
import signal
signal.signal(signal.SIGINT, signal.SIG_DFL)
This means that Ctrl+C will make the program die immediately (of
course, that means you can't hook it for a clean shutdown).
Matt
On Tue, May 02, 2000 at 11:41:32AM -0500,
On Wed, Mar 22, 2000 at 10:03:01PM +0100, Michael Lauer wrote:
Can you forsee if and to what amount these changes will break code which is
written now ?
As long as you don't use the low level gtk bindings (the _gtk module),
the impact should be minimal.
Matt
To unsubscribe: echo
The PyGTK bindings are not 100% hand crafted. A good deal of them are
generated automatically from a generic definition file. Work has
stared on a branch that will enable us to build even more of the
bindings automatically.
I've never found a tool that can do a complete wrapping 100%
On Wed, Mar 22, 2000 at 01:43:06AM +0100, Michael Lauer wrote:
Hmm - I thought that especially the hand crafted stuff
do the most work in hiding the naturally not object oriented
nature of the native GTK language - C.
Umm... nope. The object system in GTK+ wrapps quite well under
python.
On Mon, Mar 13, 2000 at 09:10:06AM +0100, Hrvoje Niksic wrote:
% python a.py
GnomeUI-Message: The antialiased canvas is buggy. Please do not use it unless you
know what you are doing.
I know what I'm doing. ;)
It's not bad in simple cases. You have to get very complex before you
see major
On Sun, Mar 12, 2000 at 11:36:22PM -0500, François Pinard wrote:
Hi, people.
The code below shows the case of a line needing anti-aliasing. Would someone
knowledgeable tell me if/how I can, within `pygtk', produce an anti-aliased
line, or else (:-), how I could handle an alpha channel for
On Thu, Mar 09, 2000 at 03:04:03PM +0100, Andreas Voegele wrote:
Probably LC_NUMERIC should be set to "C" in gtkmodule.c after calling
gtk_set_locale():
This only hides the problem. I will investigate.
Matt
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
On Fri, Feb 18, 2000 at 10:18:31AM +0100, Frederic Gobry wrote:
On another topic, what is the status of gettext.py ? Does anybody use it on
sparc Solaris, with po files generated on this architecture ? I sent a patch
a long time ago to fix endianness-related problems, but it has not made its
On Wed, Feb 16, 2000 at 01:07:16PM -0500, Hassan Aurag wrote:
Hi
I have a question for the GtkHtml widget thing. What is the most stable version of
gnome that has it?
GtkHtml isn't in a stable GNOME snapshot. It kinda sits off to the
side at the moment. It's part of the GNOME 1.2
pyyglade is a deprecated xml parser/widget hierarchy creator. You
should use the libglade python module, which is a wrapper for
libglade, has more functionality, and is faster than pyglade.
Matt
On Wed, Feb 09, 2000 at 01:35:49AM -0800, Gerald Gutierrez wrote:
At the risk of ostracizing
text = GtkText()
text['can_focus'] = FALSE
Try that. I dunno if it'll work.
Matt
On Wed, Jan 26, 2000 at 11:51:23PM -0500, Stephan R.A. Deibel wrote:
Hi,
I have a GtkHBox with two GtkTexts in it and when I hit tab the focus is
shifted between texts instead of inserting a tab character
On Mon, Jan 24, 2000 at 12:15:14PM +0100, Andreas Degert wrote:
wrobell [EMAIL PROTECTED] writes:
[...]
3) Hashable GtkObject?
Some time ago I sent a patch to this list, along with the suggestion that
i could send patches to make other objects hashable too, but there was no
reaction.
On Mon, Jan 24, 2000 at 04:17:54PM +0100, wrobell wrote:
Will you apply it for the next release of pygtk?
There's no way to tell - I've never seen it!
Matt
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
On Mon, Jan 24, 2000 at 11:56:30PM -0500, Kelly Lynn Martin wrote:
I spent a while fighting with this because I don't have gtkhtml built
on this system (I can't seem to get libwww to build, which gtkhtml
requires). I ended up hacking configure.in to make it work right, and
will submit the
You're trying to use pyglade. Use libglade - which is a python
wrapper for the libglade library. pyglade parses the XML glade
descriptions to construct the widget tree. It does not support GNOME
widgets and will constantly be out of date.
You're not missing a RPM - you'll need to build
from gtk import *
print screen_width(), screen_height()
you can use the get_pointer method of GtkWidget to get a (x, y) tuple
of the current pointer position.
On Sat, Jan 22, 2000 at 06:02:05PM +0100, Martin Preishuber wrote:
Hi there,
are there any of the bindings for gdk* functions (e.g.
On Sat, Jan 22, 2000 at 12:19:59PM -0800, Gerald Gutierrez wrote:
Hi all.
The last release of pygtk was from a while ago. Previous to that the
releases were fairly frequent. Is this because pygtk is fairly complete
now and there isn't much more to do, or have things just slowed down
from the gnome-python source package:
gnome-python-1.0.50/pygnome/examples/clock-applet.py
Matt
On Sat, Jan 22, 2000 at 06:07:11PM -0800, Randolph Fritz wrote:
Hi, folks!
I'm trying to write "post-it" (tm:) note panel applet as a first
project in PyGnome and I'm wondering if there's an
On Fri, Jan 21, 2000 at 11:32:08AM -0800, Deirdre Saoirse wrote:
On Sat, 22 Jan 2000, Baruch Even wrote:
I've installed it before from a redhat RPM, I now tried to reinstall it
(gnome-python/pygtk) from the original package, as far as I can see
glade has gnome support and so does
The clist API doesn't have a function for setting it, so clearly it's
not meant to be a read/write member of the structure.
Matt
On Thu, Jan 20, 2000 at 09:40:13PM +0100, Andreas Degert wrote:
Matt Wilson [EMAIL PROTECTED] writes:
On Thu, Jan 20, 2000 at 11:55:58AM +0100, Frederic Gobry
We were using GNOME widgets in Eider without any problems. May be you
had a build problem.
On Fri, Jan 21, 2000 at 08:27:47AM +0800, Baruch Even wrote:
Hello,
I want to use Glade to develop the UI of my app and intend to write
the app in python and ofcourse write it Gnomishly.
I found
On Thu, Jan 20, 2000 at 11:55:58AM +0100, Frederic Gobry wrote:
Hi !
* How do I get and set the row with the current focus (ie different
from the current selections)?
You get the focus row with tree.focus_row... I don't know if you can set it.
Setting it shouldn't be allowed.
* How
Committed, thanks.
Matt
On Thu, Jan 20, 2000 at 03:39:42PM +0100, Martin Preishuber wrote:
Hi,
just found some typo in gtk.py (lines 1220--1221):
def row_move(self, soure_row, dest_row):
^ should be source_row
_gtk.gtk_clist_row_move(self._o,
The patch lives in the Python .src.rpm on Red Hat Linux 6.1. The
patch is attached.
On Thu, Jan 20, 2000 at 04:31:28PM +0100, Frederic Gobry wrote:
Are you using Python 1.5.2? If so, a change in module loading libdl
calls breaks the way imlib does image loader plugins. It's fixed
(well,
On Thu, Jan 20, 2000 at 04:57:00PM +0100, Martin Preishuber wrote:
Hi again,
I've just build the current CVS version of gnome-python ... works
fine, except that everytime I quit any program I get some GTK warning:
Gtk-WARNING **: invalid cast from `(unknown)' to `GnomeClient'
I assume
On Thu, Jan 20, 2000 at 04:57:00PM +0100, Martin Preishuber wrote:
Hi again,
I've just build the current CVS version of gnome-python ... works
fine, except that everytime I quit any program I get some GTK warning:
Gtk-WARNING **: invalid cast from `(unknown)' to `GnomeClient'
I see that
On Thu, Jan 20, 2000 at 11:46:52AM -0500, Matt Wilson wrote:
Gtk-WARNING **: invalid cast from `(unknown)' to `GnomeClient'
I see that too. Looking into it.
This is going to need a little extra work. The problem is the gnome
session management client was being passed into Python land
Committed. Thanks.
Matt
[EMAIL PROTECTED]
On Tue, Jan 18, 2000 at 11:39:42AM +0900, ChiDeok Hwang wrote:
There are some typos in mdi wrapper of pygnome.
With the attached patch, you will get the better chance to
succeed to use mdi.
I never used mdi, so can't help you no more.
To
On Mon, Jan 10, 2000 at 09:03:15AM +0900, ChiDeok Hwang wrote:
Hi!
I found some more bugs in pygtk which are not critical.
Patch is made after msw's recent patch is applied.
Committed. Thanks.
Matt
[EMAIL PROTECTED]
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
Works fine here. What window manager are you using? I'm on
sawmill 0.20.
Delete should gracefully shut down everything. When I do Destroy,
you'll get the normal
Gdk-WARNING **: GdkWindow 0x744 unexpectedly destroyed
message.
Matt
On Tue, Jan 11, 2000 at 12:46:20PM -0800, Randolph
Very good - I noticed the incorrect int v/s short problems before -
but I forgot to fix them.
Anyone else get a chance to try PyGTK with my earlier patch? I
examined the refcounting with some Python debugging tools I've been
playing with, and all seems well with the refcounts after using my
(I sent this yesterday, but never saw it come back on pygtk-list.
Sorry if this is a duplicate)
I've been doing a lot of work on cleaning up the refcounting in
gnome-python. A snapshot of my current tree is at:
http://people.redhat.com/msw/gnome-python/
and
You're quite right. I'm applying the patch.
Matt
On Thu, Jan 06, 2000 at 09:25:56AM +0900, ChiDeok Hwang wrote:
Hi!
If we use PySequence_GetItem to get element, we need to unref that item
explicitly. This is different from PyList_GetItem, PyTuple_GetItem.
I attach the example to
Why not use node_set_row_data and node_set_row_data?
someData = ("a", "tuple", "of", "stuff")
ctree = GtkCTree ()
node = ctree.insert_node (None, None, ("some text",))
ctree.node_set_row_data (node, someData)
Then, later use ctree.node_get_row_data (node) to get someData.
Matt
Your change to generate.py won't actually help here.
gtk_ctree_node_nth returns a GtkCTreeNode, which is not a GtkObject.
The code that makes the wrapper for GtkCTreeNode is in the boxed type
code generator.
I've made some changes to generate.py that allow you to specify a
null-ok flag for
On Sat, Nov 27, 1999 at 03:00:29AM +, J.W. Bizzaro wrote:
I'm using gnome-python 1.0.3. Why am I getting this error?
Upgrade. :)
Matt
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
On Mon, Nov 01, 1999 at 09:29:15PM -0500, Edward Muller wrote:
I just tried something like this:
if gnome.config.get_string("/App/Section/Setting") == "None":
writedefaults()
it didn't work.
this did:
if str(gnome.config.get_string("/App/Section/Setting")) == "None":
1 - 100 of 104 matches
Mail list logo