Core dumps from simple programs was Re: [pygtk] Gnome 1.4 breaks my program!

2001-05-01 Thread Hassan Aurag
Me too, I had perfectly running pygnome apps (real simple ones) and now they simply dump core at startup. Anyone knows about this? On 30 Apr 2001 17:23:45 +0200, Michele Campeotto wrote: Does anybody can give me an hint? Is this a problem with my software, with PyGtk+ or with

Updated response was Re: [pygtk] Autocompletion help (code anyone?)

2001-02-09 Thread Hassan Aurag
and the program tries again with the new user input. Thank you Very Much! -lf11 ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Hassan Aurag CAE Electronics Ltd. Aircraft Systems Specialist - Update

Re: [pygtk] Spam problems...

2001-01-23 Thread Hassan Aurag
[EMAIL PROTECTED] wrote: [...] Do we need to start moderating the list? I would gladly help moderating the list if there is a wish for people doing so, and if there are more people than me doing so. (The amount of posts are after all so few that moderating this list will take a maximum

Re: Got the solution was Re: [pygtk] A few quickies (IMPORTANT)

2000-11-06 Thread Hassan Aurag
Can't say I am not waiting. It's a pity GtkText is so bad and your bindings are so easy to use. On 4 Nov 2000, Hassan Aurag wrote: Ok here is the deal: The text showing weirdly is realted to font choice as I discovered today. Using fixed fonts corrected the problem. It's weird

Got the solution was Re: [pygtk] A few quickies (IMPORTANT)

2000-11-03 Thread Hassan Aurag
newlines when scrolling to that position. Anyway, your answer helped track down the bug and understand the color part, so thanks a lot. On 3 Nov 2000, Hassan Aurag wrote: Hi, I'm writing a tool for internal use. Anyway, I build up a GtkCTree containing info and where to find

[pygtk] A few quickies (IMPORTANT)

2000-11-02 Thread Hassan Aurag
is a GdkColor? How can I get red, white, black ... and turn it into a GdkColor? Thanks a lot for reading thus far ;) -- -- -- Hassan Aurag

Re: [pygtk] pygtk for gtk+-2.0 snapshot

2000-10-31 Thread Hassan Aurag
/listinfo/pygtk -- -- -- Hassan Aurag -- CAE Electronics Ltd | Universite de Montreal System

Re: [pygtk] GNOME control center python bindings

2000-07-09 Thread Hassan Aurag
Control center apps are capplets. Capplet.py isn't very helpful, but test with it, by showing any type of dialog for instance. Running it would launch control-center Original Message On 7/8/00, 12:53:54 PM, Christian Schaller [EMAIL PROTECTED] wrote regarding [pygtk] GNOME control

Re: [pygtk] gtk-1.3 work

2000-07-04 Thread Hassan Aurag
Title: Re: [pygtk] gtk-1.3 work This is really cool. Any ideas when one will be able to get gtk 1.4, gnome 2.0, python 2.0 and all those nifty things? I'd really like to start using them, but am not yet hack-fluent enough to just dive in. And while you are at it, can anyone point me to

Re: [pygtk] New snapshot

2000-06-29 Thread Hassan Aurag
[EMAIL PROTECTED] (James Henstridge) wrote: On Thu, 29 Jun 2000, Deirdre Saoirse wrote: On Tue, 20 Jun 2000, Aaron Optimizer Digulla wrote: I, for example, cannot use gnome but I use pygtk. Therefore, I depend on an independend pygtk package (a .tar.gz to be precise). The

Re: [pygtk] New snapshot

2000-06-23 Thread Hassan Aurag
Ok even though I have those headers at the place it expects them, I get this error when running configure. checking local Python configuration... looks good checking for headers required to compile python extensions... not found configure: error: could not find Python

Re: [pygtk] gnome-python 1.2 ?

2000-06-17 Thread Hassan Aurag
Original Message On 6/17/00, 4:33:59 PM, Matt Wilson [EMAIL PROTECTED] wrote regarding Re: [pygtk] gnome-python 1.2 ?: 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

[pygtk] Next version of gnome-python

2000-06-02 Thread Hassan Aurag
Hi, I am exclusively using gnome-python in an app I build, and as such would like to know a bit more about the road map of this great package. I know James and others have been moving to Extension Class, which would make it easier to have python bindings for everything. However, I'd

Re: [pygtk] gtkhtml_demo.py

2000-05-26 Thread Hassan Aurag
I think I might have made a mistake. You need latest gnome-python, but it will only work with gtkhtml 0.1 and not 0.2. On Thu, 25 May 2000, Hassan Aurag wrote: You need to recompile the whole gnome-python package with --with-gtkhtml After recompiling I still have a problem

Re: [pygtk] gtkhtml_demo.py

2000-05-25 Thread Hassan Aurag
You need to recompile the whole gnome-python package with --with-gtkhtml This in essence means you need to : download gtkhtml 0.2 from gnome.org sources/unstable install it then do ./configure --with-gtkhtml; make; make install Hi! I have tried gtkhtml_demo.py from the

[pygtk] gnome_app_fill_menu?

2000-05-04 Thread Hassan Aurag
Hi, Under gnome one usually uses GnomeApp().create_menus and toolbars to get those from UIINFO things. But in Havoc's book, they talk about a gnome_app_fill_menu and toolbar that is supposed to give you a toolbar/menu for any UIINFO whether in GnomeApp or not. I thought this was great,

[pygtk] Yet another stupid question

2000-05-03 Thread Hassan Aurag
Hi, When you want to test whether /dev/dsp is properly configured you just "cat somewave /dev/dsp" Now what do I do if I want to test a /dev/ttyS(0-3). I tried to cat AT and read if there is an OK answer, but it doesn't seem to work this way. Even though this is not strictly gnome

[pygtk] GtkHTML 0.1 question, bug?!?!

2000-04-10 Thread Hassan Aurag
Hi, I am using gnome-python the latest. Gtkhmtl works fine until you load urls. I am not sure how the python bindings use gtkhtml or python urllib stuff, but all relative urls are scrapped somehow. Which means that it will look for img src="gifs/whatever.png" locally instead of

[pygtk] Re: ANNOUNCE: gnome-python-1.0.53

2000-04-07 Thread Hassan Aurag
This is great news, as I have been waiting for gtkhtml to work for a while now. My question is simple. Is the gnome-python.spec up-to-date or is it better to simply build the thing and install it. Original Message On 4/7/00, 11:44:53 AM, James Henstridge [EMAIL PROTECTED] wrote

[pygtk] Fwd: Gtkhtml 0.1 (II)

2000-03-28 Thread Hassan Aurag
Just forgot to forward this to this list in case it has something to do with bindings. Original Message On 3/28/00, 8:33:12 PM, Hassan Aurag [EMAIL PROTECTED] wrote regarding Gtkhtml 0.1 (II): Ok, I fixed the bonobo.h problem by just copying this file over to /usr/include from

Re: [pygtk] label button

2000-03-16 Thread Hassan Aurag
I don't know the context but you usually keep a reference to your button and then change it with its methods whenever you like Original Message On 3/16/00, 3:02:12 PM, Javi Roman [EMAIL PROTECTED] wrote regarding [pygtk] label button: How can I change label button in run-time?

[pygtk] gtkhtml question: undefined reference.....

2000-03-14 Thread Hassan Aurag
Ok, I downloaded gtkhtml from cvs (checkout) and compiled it and installed it. So far it's fine. Next I compiled gnome-python with -with-gtkhtml and again it compiles fine. Next I do a from gtkhtml import * and I get an undefined reference. I am not home so I can't remember exactly, but it

Re: [pygtk] GnomePopupMenu please?

2000-03-04 Thread Hassan Aurag
rewritten for gnome-libs-2, so you don't have to use the current C structure interface for building menus. James. -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ http://www.daa.com.au/~james/ On Fri, 3 Mar 2000, Hassan Aurag wrote: It crashes my app. Simple

Re: [pygtk] GnomePopupMenu please?

2000-03-03 Thread Hassan Aurag
Hassan Aurag wrote: It crashes my app. Simple as that. Is it broken? Not getting an answer, eh? ;-) Actually now I got one. I will automagically add Please at the end of all subjects from now on. The problem would then be that people will get used to it and start ignoring

[pygtk] Howto to tear a notebook page?

2000-02-29 Thread Hassan Aurag
Hi, I was wondering if any had any ideas on how to easily implement the tearing of a notebook page so that it can become a top-level window. I am using pygnome so the guys on pygtk list can help me better I think, but in case no pygtk guys/garls have any ideas, I also sent the same

[pygtk] Is GnomePopupmenu broken

2000-02-27 Thread Hassan Aurag
Hi, Is it broken again. My app keeps segfaulting if I ever use those menus. And it's not a problem with the menus since they were used correctly if added as normal menus. H. Aurag To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

[pygtk] I am pissed off

2000-02-24 Thread Hassan Aurag
Hi, I am not sure if I am dumb or it's a bug and then if it is with pygnome bindings. What is wrong with the following: BEGIN CODE file_menu = [ UIINFO_MENU_NEW_ITEM(label="Numerical Python Session", tip="Start a New Numerical Python Session", cb=start_new_numpy),

Re: [pygtk] Bindings for GtkExtra

2000-02-22 Thread Hassan Aurag
I do use file_select I think from GtkExtra.py. But then we could change it easily. Btw, I have not been able to compile gtkextra package. The instructions seem to be wacky! Original Message On 2/22/00, 9:24:53 AM, James Henstridge [EMAIL PROTECTED] wrote regarding Re: [pygtk]

Re: [pygtk] Still an MDI bug in gnome-python 1.0.51?

2000-02-20 Thread Hassan Aurag
: http://www.daa.com.au/~james/ http://www.daa.com.au/~james/ On Sun, 20 Feb 2000, Hassan Aurag wrote: File "/var/tmp/gnome-python-root/usr/lib/python1.5/site-packages/gnome/ui. py", line 1163, in __call__ aa[i] = _obj2inst(args[i]) NameError: aa I think this i

pygnome 1.0.51 was Re: [pygtk] 2 Typos in gtk.py

2000-02-19 Thread Hassan Aurag
Btw, Any news of redhat rpms srpms for the new package? I think we should have a repository of srpms (no rpms needed since many arch's) kept up-to-date by rhlabs if possible? I really don't like to use tar.gz for file tracking reasons, like : what the heck is this file doing here? What

[pygtk] Still an MDI bug in gnome-python 1.0.51?

2000-02-19 Thread Hassan Aurag
Title: Still an MDI bug in gnome-python 1.0.51? File /var/tmp/gnome-python-root/usr/lib/python1.5/site-packages/gnome/ui.py, line 1163, in __call__ aa[i] = _obj2inst(args[i]) NameError: aa I think this is an error!

Re: [pygtk] ANNOUNCE: pygtk-0.6.4, gnome-python-1.0.51

2000-02-16 Thread Hassan Aurag
Hi I have a question for the GtkHtml widget thing. What is the most stable version of gnome that has it? I have just released pygtk-0.6.4 and gnome-python-1.0.51. Most of the work for this release was done by Matt Wilson (thanks Matt :). This release fixes a lot of reference leaks,

Re: [pygtk] Width of a widget?

2000-02-11 Thread Hassan Aurag
In gtk.py, there is a get_window() method for GtkWidget class. Then you should be able to use all gdkwindow attributes described in description.py in pygtk package. Now, you can do a widget.size_request() Does this help? Original Message On 2/11/00, 6:09:47 PM, "Stephan R.A.

[pygtk] Help with GnomeMDI/GtkPlug, GtkSocket

2000-01-17 Thread Hassan Aurag
Hi, I am working with pygnome 1.0.50 Now, for a long time, I have been trying to work with MDI without success. For example, what's wrong with the following: ###START CODE from gtk import GtkCurve, mainloop from gnome.ui import GnomeMDIGenericChild, GnomeMDI from _gnomeui import

Re: [pygtk] Help with GnomeMDI/GtkPlug, GtkSocket

2000-01-17 Thread Hassan Aurag
, Deirdre Saoirse [EMAIL PROTECTED] wrote regarding Re: [pygtk] Help with GnomeMDI/GtkPlug, GtkSocket: On Mon, 17 Jan 2000, Hassan Aurag wrote: For example, what's wrong with the following: You're using the MDI interface, the lamest interface known to mankind. :) Seriously, I don't know what

Re: [pygtk] Help with GnomeMDI/GtkPlug, GtkSocket

2000-01-17 Thread Hassan Aurag
with GnomeMDI/GtkPlug, GtkSocket: 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. On Mon, Jan 17, 2000 at 06:59:02PM +, Hassan Aurag wrote: Hi, I am

Excellent was Re: [pygtk] [script] Interactive console

2000-01-11 Thread Hassan Aurag
Hi, I have been wanting something like this for GmatH for a while now! Do you have any idea how you can create a canvas on which cells would appear successively. One for input, then one for output, then one for input and so on? And still have it work like the Interactive interpreter

Re: [pygtk] misc bug fixes

2000-01-10 Thread Hassan Aurag
I will take this opportunity to ask you: Will there be any gnome-print support in next pygtk, pygnome release? Original Message On 1/9/00, 7:35:14 PM, Matt Wilson [EMAIL PROTECTED] wrote regarding Re: [pygtk] misc bug fixes: Very good - I noticed the incorrect int v/s short

[pygtk] Stupid focus question

1999-11-17 Thread Hassan Aurag
Hi, Ok here goes: I have a GnomeApp, which contains with set_content a term done with zvt and has a GtkTree inside a VBOX added to it using add_docked. Now, I haven't been able (duh!) to make this thing understand that when I click or move in term space, I want it to get focus. Each time,

Re: [pygtk] Stupid focus question

1999-11-17 Thread Hassan Aurag
focus to those widgets -- you have to use the mouse). The ZvtTerm widget is a bit weird with respect to focus. James. -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ http://www.daa.com.au/~james/ On Wed, 17 Nov 1999, Hassan Aurag wrote: Hi, Ok here goes: I have

[pygtk] A weird problem with raw_input and zvt

1999-11-14 Thread Hassan Aurag
Hi, I have an app that creates a zvt term in a gnome-app and forks and calls another python script that handles input ouput etc The way I handle input is by using raw_input(prompt) Now if I type a line long enough to go onto the next line, it won't and instead will overwrite the first

[pygtk] Re: Help with _zvt term match_add

1999-11-11 Thread Hassan Aurag
Sorry, I was relying on my system docs which didn't include any mention of this function. From now on I promise to check gnome's site docs before complaining! However, you pointed to the fact that match_add needs 3 arguments. Well, it doesn't seem to accept more than 2. So I guess this is

[pygtk] A question for Python Gurus

1999-01-04 Thread Hassan Aurag
Hi, My question is simple but I can't yet answer it myself. I am still at the point where I use 'Learning Python'. Ok, so I have a terminal and I want to catch the input, and I am not talking about raw_input. I am talking about sys.stdin It seems one can override sys.stdout and sys.stdin

[pygtk] Glade and pygnome

1999-01-02 Thread Hassan Aurag
Hi, I just wanted to know if there are any plans to make a python mode for glade, that would create a source directory instead of the present runtime thing. I am the kind of guy that doesn't really understand glade, but would like to use it to make windows, then I'd code in the callbacks