Re: [pygtk] Getting widget visibility

2008-04-22 Thread John Finlay
Mitko Haralanov wrote: What is the best way to get whether a widget is visible or not? According to the documentation, gtk.Widget has the 'visible' property which is Read-Write. However, gtk.Frame for example does not seem to inherit that property of gtk.Widget. It does inherit the visible p

[pygtk] Getting widget visibility

2008-04-22 Thread Mitko Haralanov
What is the best way to get whether a widget is visible or not? According to the documentation, gtk.Widget has the 'visible' property which is Read-Write. However, gtk.Frame for example does not seem to inherit that property of gtk.Widget. Thanks for the help! -- Mitko Haralanov ===

Re: [pygtk] liststore (ComboBoxEntry) alignment (justify)

2008-04-22 Thread John Finlay
Andrea Caminiti wrote: hi john: i was trying to use the code you just posted to to have a combobox with images and it's labels (text), only, no text entry needed. but i got some warnings. the code i used: def combo(self): #lists = self.list combobox = gtk.ComboBox()

Re: [pygtk] Scrolling with no scrollbars

2008-04-22 Thread Thorsten Wilms
On Tue, 2008-04-22 at 18:30 +0200, Thorsten Wilms wrote: > In the version where placed the textview in a scrolledwindow, adj.upper > returns 204.0. But any value I set below to including 204.0 only scrolls > the view a few line, it doesn't even come close to the end. > What I also don't get at all

Re: [pygtk] Entry with clear button

2008-04-22 Thread Andi Albrecht
It looks like the SexyIconEntry. Should be available with python-sexy package on most systems. Andi On Tue, Apr 22, 2008 at 8:12 PM, Jeffrey Barish <[EMAIL PROTECTED]> wrote: > The Tracker Search Tool in Ubuntu has an entry with a broom in it. Clicking > the broom, clears the entry. Anyone kn

[pygtk] Entry with clear button

2008-04-22 Thread Jeffrey Barish
The Tracker Search Tool in Ubuntu has an entry with a broom in it. Clicking the broom, clears the entry. Anyone know how to code that combination? -- Jeffrey Barish ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk

Re: [pygtk] Scrolling with no scrollbars

2008-04-22 Thread Thorsten Wilms
On Tue, 2008-04-22 at 18:30 +0200, Thorsten Wilms wrote: > What I also don't get at all: adj.page_size gives me 0.0. Already found out this works better put after window.realize(), giving 20.0. That can't be lines or pixels, though. -- Thorsten Wilms ___

Re: [pygtk] Scrolling with no scrollbars

2008-04-22 Thread Thorsten Wilms
On Mon, 2008-04-21 at 14:16 -0700, John Finlay wrote: > > Try some larger values for the upper and step, etc. These aren't limited > to 0-1.0. I suspect that the range values is lines and characters. I thought it wouldn't matter if I define the range ... But indeed, with larger values, adj.set

Re: [pygtk] liststore (ComboBoxEntry) alignment (justify)

2008-04-22 Thread Andrea Caminiti
hi john: i was trying to use the code you just posted to to have a combobox with images and it's labels (text), only, no text entry needed. but i got some warnings. the code i used: def combo(self): #lists = self.list combobox = gtk.ComboBox() list = gtk.ListStore(gt