[pygtk] Re: What do we do about

2004-06-09 Thread Christian Robottom Reis
On Tue, Jun 01, 2004 at 11:32:45PM +0200, Johan Dahlin wrote:
> tis 2004-06-01 klockan 19.06 skrev Christian Robottom Reis:
>
> >   http://www.livejournal.com/users/glyf/7878.html
>
> Probably integrate it, but I don't have a windows box it test it.

Well, I've opened bug 144061 for integrating this. Now as soon as I
opened the bug I realized that because the Dropline GTK+ runtime has
been discontinued, it may be now irrelevant. Cédric, can you check the
attached script out (basically, it searches through the registry for the
location where GTK+ was installed and munges PATH to include it,
avoiding the need to hand-hack PATH after installation.

http://bugzilla.gnome.org/show_bug.cgi?id=144061

If somebody is interested in picking this up, testing it and deciding
what to do with it, we'd all be grateful.

[Actually, I lie -- it's just Win32 users that would really be grateful,
but they don't get a lot of easy breaks so I feel it's a nice gesture --
Tim Peters excluded of course.]

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] documentation?

2004-06-09 Thread Christian Robottom Reis
On Wed, Jun 09, 2004 at 06:22:00PM +0100, Keir Lawson wrote:
> i was wondering if there was any gnome-python documentation,
> specifically for gnome canvas, or indeed any up-to-date documentation on
> gnome-canvas in general.  i have had a look at the gnom canvas example
> in gnome-python, however i need more that one example to be able to
> learn this

Not that I know of. Gnome-python could *really* use some contributed
documentation; we've been practically begging for it for years...

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] Problem with dynamic combo box

2004-06-09 Thread Jonathon McKitrick
: Can you give a small python example for us to reproduce it ?


-8<-
# description
hb = self.dialog.get_widget('hbox2')
cb = gtk.combo_box_new_text()
for desc in DESCRIPTIONS:
cb.append_text(desc)

hb.add(cb)
cb.show()
cb.connect('changed', self.select_desc)
self.cb_desc = cb
-8<-

Using the exact same technique, I build another combo box for
CATEGORIES and call it self.cb_cat.

Then, when the first combo is changed, I want to change the contents of
CATEGORIES below it to reflect the new valid choices:

-8<-
def select_desc(self, combo):
des = DESCRIPTIONS[combo.get_active()]
if des == CONTR:
self.cb_cat = gtk.combo_box_new_text()
for cat in CATEGORIES[0:3]:
self.cb_cat.append_text(cat)
-8<-

But I keep getting the original contents in the new box.
I've tried deleting the old box entirely (del self.cb_cat) and
creating another, but no difference.

What is the solution?


jm
-- 
My other computer is your Windows box.
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] Problem with dynamic combo box

2004-06-09 Thread Danny Milosavljevic
Hi,

Am Mit, den 09.06.2004 um 15:08 Uhr +0100 schrieb Jonathon McKitrick:
> Hi all,
> 
> I have an hbox where I create a new combo box then add items.  However, when
> a specific choice is made, I need to change the list of items available in
> the combo box below it, also dynamic.
> 
> I am having 2 problems.  First, the items in the revised combo box are no
> different after the change.  Second, since the new combo box has a different
> address, the member variable that was pointing to it no longer points to the
> current box.  I'm not quite sure why this happens.  Maybe solving the first
> problem will fix the second as well.
> 
> Any ideas?

Can you give a small python example for us to reproduce it ?

Thanks :)



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] treeview typeahead

2004-06-09 Thread Danny Milosavljevic
Hi,

Am Son, den 06.06.2004 um 15:55 Uhr -0700 schrieb David M. Cook:
> On Mon, Jun 07, 2004 at 12:36:27AM +0200, Danny Milosavljevic wrote:
> 
> > Except dead (f.e. acute) chars which modify the next character.
>  
> > I wonder how to fix that.
> 
> The built-in search feature (activated with ctrl-f (or ctrl-s with the emacs
> keybindings)) should be able to handle special characters like that.  

Yes, they do :)

Can this internal search box be called(shown) per code (i.e. on first
keypress, on toolbutton) ?

And can it continue search ?

> 
> Dave Cook

cheers,
   Danny



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] documentation?

2004-06-09 Thread Keir Lawson
i was wondering if there was any gnome-python documentation,
specifically for gnome canvas, or indeed any up-to-date documentation on
gnome-canvas in general.  i have had a look at the gnom canvas example
in gnome-python, however i need more that one example to be able to
learn this

Keir Lawson
-- 

"We would rather die on our feet than live on out knees"

___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] Problem with dynamic combo box

2004-06-09 Thread Jonathon McKitrick

Hi all,

I have an hbox where I create a new combo box then add items.  However, when
a specific choice is made, I need to change the list of items available in
the combo box below it, also dynamic.

I am having 2 problems.  First, the items in the revised combo box are no
different after the change.  Second, since the new combo box has a different
address, the member variable that was pointing to it no longer points to the
current box.  I'm not quite sure why this happens.  Maybe solving the first
problem will fix the second as well.

Any ideas?

jm
-- 
My other computer is your Windows box.
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/