Re: [pygtk] how to get the glade file

2002-02-06 Thread Mitch Chapman
Alexandre Fayolle wrote: > > I'm certainly not the first one to encounter the problem. I have an > application with a gtk gui built using libglade. > > Right now, the glade file is in the same directory as the python file, and > this works as long as I launch the python script from that director

Re: [pygtk] A class to add to libglade.py

2002-01-23 Thread Mitch Chapman
he signals defined in a Glade design file. -- Mitch Chapman [EMAIL PROTECTED] ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

Re: [pygtk] Window Stacking Problem

2000-08-01 Thread Mitch Chapman
Aaron Optimizer Digulla wrote: > > On Wed, Jul 26, 2000 at 11:35:30AM -0600, Mitch Chapman wrote: > > > It may be that I'm solving the wrong problem. In other words, > > there may be a better way to present the information that's > > currently being display

Re: [pygtk] RE: Loading PNGs

2000-07-31 Thread Mitch Chapman
function gtk_rc_set_image_loader. This function is not wrapped by gnome-python, and appears not to be used by any of the Gtk+ theme engines. But they all appear to use their own image loaders. (This is a guess based on output from nm; I don't have the

Re: [pygtk] Window Stacking Problem

2000-07-27 Thread Mitch Chapman
think presentation of "zoomed" content. Or maybe we should just upgrade our gnome-python installation. 1.0.53 exposes gdk_window_raise()... -- Mitch Chapman Finding a deeper quagmire P.S. I used to use Sunsoft's Teamware quite a bit. You could detect new Teamware users by

[pygtk] Window Stacking Problem

2000-07-26 Thread Mitch Chapman
may be that I'm solving the wrong problem. In other words, there may be a better way to present the information that's currently being displayed in these modeless dialogs. But if y'all have any suggestions for how to solve this specific problem, I'd be grateful.

Re: [pygtk] GtkRadioMenuItem and libglade

2000-06-20 Thread Mitch Chapman
me up with (okay, cut & paste :) a patch to glade-gtk.c\radiomenuitem_new() which lets GtkRadioMenuItems be grouped properly. The attached context diffs show the required changes. Again, the changes are for libglade 0.13, for the module glade/glade-gtk.c. -- Mitch Chapman [EMAIL PROTECTED] Har

Re: [pygtk] Which event correspond to window resize !?

2000-05-10 Thread Mitch Chapman
he 'size_allocate' event, which seems to work. > > Rick > > On Wed, 10 May 2000 [EMAIL PROTECTED] wrote: > > > > > Hi, > > > > Can anybody tell me which event occurs when a window is being > > resized ? (I tried "rsize_event&quo

[pygtk] GnomeAbout, gnome.app_id and gnome.app_version

2000-03-13 Thread Mitch Chapman
me != NULL' failed. Is it necessary to explicitly import gnome.ui before importing libglade? -- Mitch Chapman [EMAIL PROTECTED] To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Senility [was Re: [pygtk] timeout causes lockup?]

2000-02-28 Thread Mitch Chapman
Doh! Just checked, and my Linux box at work has only Gtk+ 1.2.3 installed. It's the machine at home that has 1.2.6 installed. Of all the things I've lost in life I miss my mind the most. Mitch Chapman wrote: > > On Sun, 27 Feb 2000, you wrote: > > There were some thread

Re: [pygtk] timeout causes lockup?

2000-02-27 Thread Mitch Chapman
#x27;ll try to find out how the software was configured on Solaris. Sorry for the stupid question, but when you say "compiled with threading" are you referring to Gtk+, pygtk, or Python? Thanks for info. -- Mitch Chapman [EMAIL PROTECTED] To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Re: [pygtk] timeout causes lockup?

2000-02-26 Thread Mitch Chapman
- 1.2.6. if hasattr(gtk, "gdk_flush"): gtk.gdk_flush() if hasattr(gtk, "threads_leave"): gtk.threads_leave() while gtk.events_pending(): gtk.mainiteration(0) if hasattr(gtk, "threads_enter"): gtk.threads_enter(

Re: [pygtk] timeout causes lockup?

2000-02-26 Thread Mitch Chapman
r(). On others (e.g. Solaris) you *shouldn't* do so. I'll trudge in to the office in a bit and forward some relevant code, showing how to work around the problem on a handful of OS platforms. -- Mitch Chapman [EMAIL PROTECTED] P.S. This probably sounds kind of bogus. That's why I

Re: [pygtk] Destroy event?

2000-02-14 Thread Mitch Chapman
print "Aaagh!" gtk.mainquit() Also BTW thanks for showing how to use pdb.set_trace(). I don't use pdb much, and have been looking for a function which does what set_trace() seems to do. On Mon, 14 Feb 2000, you wrote: > OK, folks...how come this doesn't report a "

[pygtk] GtkExtra.MenuFactory and option menus

1999-10-24 Thread Mitch Chapman
self._MenuFactory__ret.set_menu(self._MenuFactory__w) return result -- Mitch Chapman [EMAIL PROTECTED] To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

[pygtk] pygtk 0.6.2: Bugs involving GtkAdjustments

1999-09-12 Thread Mitch Chapman
g_ParseTuple(args, "O!:gtk_adjustment_set_all", &PyGtk_Type, &obj, &value, &lower, &upper, &step_increment, &page_increment, &page_size)) Looks like the format string for PyArg_ParseTuple() is missi

Re: [pygtk] How to display a busy cursor?

1999-08-18 Thread Mitch Chapman
J.W. Bizzaro wrote: > > Mitch Chapman wrote: > > > > Is there an easy way to temporarily display a busy cursor over > > a window? > > ...I can't figure out how to restore the previous cursor on > > the window, or even how to find out what the previous cur

[pygtk] How to display a busy cursor?

1999-08-18 Thread Mitch Chapman
store the default cursor (which may/may not be the previous cursor) just by setting a cursor of NULL on the window. Dunno how to do this from pygtk. Thanks for the help. -- Mitch Chapman [EMAIL PROTECTED] To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

[pygtk] Which version of gtkglarea?

1999-08-14 Thread Mitch Chapman
o use? Thanks for the help. -- Mitch Chapman [EMAIL PROTECTED] To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

[pygtk] Getting X Window / pixmap ID

1999-06-28 Thread Mitch Chapman
Sorry, I should be able to figure this out, but how do I get the XWindow ID of a GdkWindow or a GdkPixmap? Is there a FAQ where I can look this up, or an archive of the pygtk mailing list? Thanks for all help. -- Mitch Chapman [EMAIL PROTECTED] To unsubscribe: echo "unsubscribe" | m

[pygtk] get_column_pixtext, null pixmap masks

1999-06-23 Thread Mitch Chapman
he context diff was created against pygtk 0.6.1, and was tested under IRIX 6.5. -- Mitch Chapman [EMAIL PROTECTED] *** gtkmodule.c.origWed Jun 23 18:40:25 1999 --- gtkmodule.c Wed Jun 23 18:42:26 1999 *** *** 5451,5457 } static PyObject *_wrap_gtk_ctree_node_get_pixtex

[pygtk] Reordering GtkC(List|Tree) columns

1999-06-23 Thread Mitch Chapman
difference is that, if the widget hasn't been realized, this technique returns 1 rather than -1. Thanks for help. -- Mitch Chapman [EMAIL PROTECTED] To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]