wxpython - wxtoolbar font size

2006-11-14 Thread Ghido
Hi all i want to set wx.toolbar font size and i use this code:

self.tb1 = wx.ToolBar(self, -1, style=wx.TB_HORIZONTAL|
wx.TB_TEXT)
self.tb1.SetFont(wx.Font(9, wx.DEFAULT, wx.NORMAL,0))
self.SetToolBar(self.tb1)

but i obtain nothing. Is possibile? where i wrong?
I use wxpython 2.6.3 on ubuntu edgy
thanks

Ghido

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: wxpython - wxtoolbar font size

2006-11-14 Thread Ghido
Thanks for your reply but i can't change the font of 'New' label. but
it is a linux problem or is a wxpython problem?

Ghido

-- 
http://mail.python.org/mailman/listinfo/python-list


separation events

2006-06-20 Thread Ghido
Hi all, i'm writing a software with python and wxpython for manage the
quality/environmental/security system for the my factory. I want to
separate the gui structure from the events and database operations for
obtain a very modular software, for this reason i start to use
sqlalchemy. Unfortunately i don't understand if is possibile to have a
file with only the gui structure and another file with the database
operations and the events of the gui. It is possibile? the use of
sqlalchemy is a good thing?
Thanks a lot

Ghido

-- 
http://mail.python.org/mailman/listinfo/python-list


import db data into openoffice

2006-09-26 Thread Ghido
Hi all i need to create a script for import a data from a database into
a openoffice.org file with pyuno. Can someone help me with some link
about this argument or with some examples?
thank you very much

Ghido

-- 
http://mail.python.org/mailman/listinfo/python-list


Global object

2006-11-22 Thread Ghido
Hi all, i need to save in an object some variable for use in  other
parts of my software. it's possibile without create an istance of this
class in every file? if yes how? 
thanks a lot 

Ghido

-- 
http://mail.python.org/mailman/listinfo/python-list