Re: [pygtk] Gnome Panel Applets

2004-02-02 Thread Bryan Clark
gnome-blog is a gnome-python app that has a panel applet, you can take a
look at the code for some help:

http://www.gnome.org/~seth/gnome-blog/

~ Bryan

On Mon, 2004-02-02 at 09:33 +0100, Martin Grimme wrote:
> > I would like to make a gnome panel applet.  I
> > discovered a tutorial, but it's a bit outdated:
> > http://www.onlamp.com/pub/a/python/2000/07/25/gnome_applet.html
> > 
> > I created the applet and fixed it so it would compile:
> 
> That's totally outdated. Panel applets use bonobo in GNOME 2.x.
> 
> This may help you to get started:
> http://www.daa.com.au/pipermail/pygtk/2002-September/003393.html
> 
> 
> Martin Grimme
> 
> 
> ___
> 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 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] wxTreeCtrl : key not found exception

2004-02-02 Thread Christian Robottom Reis
On Mon, Feb 02, 2004 at 01:33:34PM +0530, GopinathR wrote:
>I have a wxTreeCtrl to which I am appending items. I cache the

This list is about PyGTK, not WxPython..

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/


[pygtk] help needed to get properties of controls..

2004-02-02 Thread karthik karthik
hi!
i'm developing Test Automation Framework and i need to
display the different properties of selected controls
like textboxes, buttons, comboboxes etc.


say for example, if it is a list box:
the user selected 3 list items out of 5 list items

i've to display the selected items and total items.

like wise, selected text, default button text for a
dialog box...


pyAA is supporting only limited properties.

how can i do these using win32 api calls???



=
thanks and regards,
Karthik.

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
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] Gnome Panel Applets

2004-02-02 Thread Martin Grimme
> I would like to make a gnome panel applet.  I
> discovered a tutorial, but it's a bit outdated:
> http://www.onlamp.com/pub/a/python/2000/07/25/gnome_applet.html
> 
> I created the applet and fixed it so it would compile:

That's totally outdated. Panel applets use bonobo in GNOME 2.x.

This may help you to get started:
http://www.daa.com.au/pipermail/pygtk/2002-September/003393.html


Martin Grimme


___
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] wxTreeCtrl : key not found exception

2004-02-02 Thread GopinathR



Hi, 
I have a wxTreeCtrl to which I am appending items. I cache 
thestr(wxTreeItemId) returned by the AppendItem of the wxTreeCtrl in 
adictionary as the key. On selection change, I retrieve the selection 
throughGetSelection method of the wxTreeCtrl. The wxTreeItemId returned by 
thismethod is different from that returned while appending the same item. As 
aresult, when I do a lookup on the dictionary using the string of 
theselected item as the key, i get a key not found exception. Is this 
thecorrect behaviour?My code is:#while adding to the 
treeparentNode = self.guiTree.AppendItem(self.root, 
'name')self.guiProxyHash[str(parentNode)] = keyvalue#on selection 
changed to the root elementselection = 
self.guiTree.GetSelection()selectedvalue = 
self.guiProxyHash[str(selection)]The last line throws a key not found 
exception.
<>___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/