Re: [pygtk] pygtk tree view expanders custom color

2013-12-03 Thread Adam Tauno Williams
']['COLOR']) cell.set_property('weight-set', True) cell.set_property('weight', stroke) cell.set_property('foreground', color) -- Adam Tauno Williams mailto:awill...@whitemice.org GPG D95ED383 Systems Administrator, Python Developer, LPI / NCLA

Re: [pygtk] configure error: too old

2012-07-18 Thread Adam Tauno Williams
On Tue, 2012-07-17 at 13:22 -0300, Vahid Askarpour wrote: Line 12298 was included in my email. It says: ./configure: line 12298: /usr/local/python-2.7.2: is a directory No, I believe that is the *error* from line 12,298. The ./configure was followed by the prefix option and the location of

Re: [pygtk] configure error: too old

2012-07-17 Thread Adam Tauno Williams
On Tue, 2012-07-17 at 08:56 -0300, Vahid Askarpour wrote: I load the python-2.7.2 module in my home directory on a linux cluster and configure. However, I get the following error: checking whether /usr/local/python version = 2.3.5... configure: error: too old /usr/local/python ??? That

Re: [pygtk] Internet explorer / acitvex

2012-07-09 Thread Adam Tauno Williams
On Tue, 2012-07-03 at 14:22 +0200, Henrik Genssen wrote: I have implemented IE besides webkit as a browser widget into tryton open erp (www.tryton.org). By using IE I have the following problems: a) focus problem - if IE has had the focus, I have problems, fucusing a GTK widget again -

Re: [pygtk] Design / Algorythym Question

2012-03-08 Thread Adam Tauno Williams
. https://sourceforge.net/u/whitemice/whitemicehg/ci/f731db465262a4d7751c69700ba3f39f04c28e96/tree/Scraps/Python/Gtk/WidgetCanvas.py On Tue, Mar 6, 2012 at 9:20 AM, Adam Tauno Williams awill...@whitemice.orgwrote: On Tue, 2012-03-06 at 09:05 -0700, asom...@gmail.com wrote: If you pack your widgets

[pygtk] Design / Algorythym Question

2012-03-06 Thread Adam Tauno Williams
NCLA ] http://www.whitemiceconsulting.com OpenGroupware Developer http://www.opengroupware.us Adam Tauno Williams ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

Re: [pygtk] Design / Algorythym Question

2012-03-06 Thread Adam Tauno Williams
the purpose in this case. On Tue, Mar 6, 2012 at 8:14 AM, Adam Tauno Williams awill...@whitemice.org wrote: This isn't specifically related to Gtk / PyGtk, but since I'm using PyGTK I thought I'd ask it here [it just relates generally to UI design]. If I have a layout that contains widgets

[pygtk] A Drag Handle?

2012-03-01 Thread Adam Tauno Williams
. Similar to gtk.HandleBox() but which isn't window detachable? Or is there some way to make HandleBox non-detachable? -- System Network Administrator [ LPI NCLA ] http://www.whitemiceconsulting.com OpenGroupware Developer http://www.opengroupware.us Adam Tauno Williams

Re: [pygtk] Label width in chars ?

2012-02-17 Thread Adam Tauno Williams
or the property value, whichever is greater. Allowed values: = -1. Default value: -1. Available in GTK+ 2.6 and above. -- System Network Administrator [ LPI NCLA ] http://www.whitemiceconsulting.com OpenGroupware Developer http://www.opengroupware.us Adam Tauno Williams

[pygtk] Ribbon Menu Widget?

2011-12-16 Thread Adam Tauno Williams
Has anyone created a 'widget' to create / use a Ribbon style menu in pygtk? -- System Network Administrator [ LPI NCLA ] http://www.whitemiceconsulting.com OpenGroupware Developer http://www.opengroupware.us Adam Tauno Williams ___ pygtk mailing

Re: [pygtk] pygtk and xmlrpc

2011-06-01 Thread Adam Tauno Williams
On Wed, 2011-06-01 at 19:22 +1000, Kim Adil wrote: I have a pygtk app working well, now I want to feed it data using xmlrpc. Is there any guidance available how to use both technologies together? I think the gtk main loop runs waiting for user input, and the python SimpleXMLRPCServer has it's

Re: [pygtk] What happened to PyGTK website?

2011-03-09 Thread Adam Tauno Williams
On Wed, 2011-03-09 at 19:53 +0100, Dieter Verfaillie wrote: On 07/03/2011 19:32, Timo wrote: On 28-02-11 16:07, Karthikeyan wrote: What happened to PyGTK website : http://pygtk.org ? When I open it, I see a Drupal page. Works fine here. Try clearing your cache, cookies etc. Yeah,

Re: [pygtk] What happened to PyGTK website?

2011-03-09 Thread Adam Tauno Williams
On Wed, 2011-03-09 at 20:02 +0100, Rafael Villar Burke (Pachi) wrote: Dieter, I can see the Drupal (or whatever it is) too. It's RT, as in RT.gnome.org. http://bestpractical.com/rt/ ___ pygtk mailing list pygtk@daa.com.au

Re: [pygtk] PyGTK documentation

2011-02-28 Thread Adam Tauno Williams
On Mon, 2011-02-28 at 15:51 -0700, Jeffrey Barish wrote: I am accustomed to accessing the documentation for PyGTK at http://www.pygtk.org/docs/pygtk/index.html It works for me. As of today, when I go there I get redirected to http://www.pygtk.org/install.php?profile=default where I see

[pygtk] Label Word Wrapping

2011-02-22 Thread Adam Tauno Williams
Screenshot: http://aleph.wmmi.net/images/7817323e-ddf6-4fe1-b93a-8b2709c2bc77.png I have the text: Informix 10.0 added the parameters BUFFERPOOL and BTSCANNER for performance tuning. The purpose of these parameters should be investigated. Which if I display without line wrap displays as one

Re: [pygtk] Label Word Wrapping

2011-02-22 Thread Adam Tauno Williams
On Tue, 2011-02-22 at 21:13 +0800, Jason Heeris wrote: On 22 February 2011 20:30, Adam Tauno Williams awill...@whitemice.org wrote: available space - just wrap incorrectly. Any hints for displaying multi-lined / long-lined text in a label more elegantly? I think I've had the same problem

Re: [pygtk] Label Word Wrapping

2011-02-22 Thread Adam Tauno Williams
On Tue, 2011-02-22 at 09:02 -0500, Adam Tauno Williams wrote: On Tue, 2011-02-22 at 21:13 +0800, Jason Heeris wrote: On 22 February 2011 20:30, Adam Tauno Williams awill...@whitemice.org wrote: available space - just wrap incorrectly. Any hints for displaying multi-lined / long

Re: [pygtk] Filtered Sortable

2011-02-18 Thread Adam Tauno Williams
On Fri, 2011-02-18 at 10:13 +0100, Timo wrote: On 17-02-11 21:08, Adam Tauno Williams wrote: I'm confused trying to make a filtered sorted treeview. Filtering works... data is correctly displayed. But sorting does not work. self.todo_model = gtk.ListStore(gobject.TYPE_PYOBJECT

Re: [pygtk] Filtered Sortable

2011-02-18 Thread Adam Tauno Williams
On Fri, 2011-02-18 at 06:27 -0500, Adam Tauno Williams wrote: On Fri, 2011-02-18 at 10:13 +0100, Timo wrote: On 17-02-11 21:08, Adam Tauno Williams wrote: I'm confused trying to make a filtered sorted treeview. Filtering works... data is correctly displayed. But sorting does not work

Re: [pygtk] Filtered Sortable [SUCCESS!]

2011-02-18 Thread Adam Tauno Williams
On Fri, 2011-02-18 at 06:27 -0500, Adam Tauno Williams wrote: On Fri, 2011-02-18 at 10:13 +0100, Timo wrote: On 17-02-11 21:08, Adam Tauno Williams wrote: I'm confused trying to make a filtered sorted treeview. Filtering works... data is correctly displayed. But sorting does not work

[pygtk] Filtered Sortable

2011-02-17 Thread Adam Tauno Williams
I'm confused trying to make a filtered sorted treeview. Filtering works... data is correctly displayed. But sorting does not work. self.todo_model = gtk.ListStore(gobject.TYPE_PYOBJECT) # Create a TreeModelFilter to control row visibility self.todo_filter = self.todo_model.filter_new()

Re: [pygtk] Gtk programming technique question...

2011-02-14 Thread Adam Tauno Williams
On Mon, 2011-02-14 at 00:32 +, GSO wrote: Quick coding problem if I may. I am displaying jpegs from CCTV cameras in a HBox, but need some way to refresh the images in that box. I need to show the main window, but then refresh the images in that window. How would I do this given after

Re: [pygtk] Glade, event handlers, gtk.Builder question

2011-02-11 Thread Adam Tauno Williams
On Wed, 2011-02-09 at 14:57 +0100, Alessandro Dentella wrote: On Wed, Feb 09, 2011 at 08:32:23AM -0500, Adam Tauno Williams wrote: builder = gtk.Builder() builder.add_from_file(self.gladefile) self.window = builder.get_object(MainWindow) This, according to my understanding creates

Re: [pygtk] Glade, event handlers, gtk.Builder question

2011-02-11 Thread Adam Tauno Williams
On Fri, 2011-02-11 at 08:23 -0500, H3L0 wrote: On 2/11/2011 6:44 AM, Adam Tauno Williams wrote: On Wed, 2011-02-09 at 14:57 +0100, Alessandro Dentella wrote: way to only connect event handlers for the MainWindow widget? Do I need to define each widget in a separate Glade file

[pygtk] Debugging Verbosity?

2011-02-09 Thread Adam Tauno Williams
Are there flags, etc... I can provide in/to a PyGTK application to increase debugging messages? For example, when I start my app I see a message - main.py:27: Warning: unable to set property `text' of type `gchararray' from value of type `PyObject' gtk.main() Which isn't terribly helpful.

Re: [pygtk] ... and nothing appears

2011-02-09 Thread Adam Tauno Williams
On Thu, 2011-02-03 at 10:32 +1300, Tim Evans wrote: On 2011-02-03 10:29, Adam Tauno Williams wrote: I'm happily using PyGtk / Glade-3 and have pretty much recreated an app I've previously made in C# / Gtk#. But I have one frustrating bit. I need to fill a scrolled area with sections

[pygtk] Glade, event handlers, gtk.Builder question

2011-02-09 Thread Adam Tauno Williams
builder = gtk.Builder() builder.add_from_file(self.gladefile) self.window = builder.get_object(MainWindow) This, according to my understanding creates an instance of the MainWindow widget as defined in the Glade file. Now if I want to connect the events defined in the Glade file to handlers of

Re: [pygtk] persistence gtk.view with shelve module

2011-02-09 Thread Adam Tauno Williams
On Wed, 2011-02-09 at 13:09 +0100, Man Max wrote: Hello MY FIRST TEST import shelve You import shelve TEST 2 with textView import shelve_whc as shelve You import shelve_whc. What is that? I cannot run your test. ___ pygtk mailing list

Re: [pygtk] persistence gtk.view with shelve module

2011-02-09 Thread Adam Tauno Williams
On Wed, 2011-02-09 at 08:38 -0500, Adam Tauno Williams wrote: On Wed, 2011-02-09 at 13:09 +0100, Man Max wrote: Hello MY FIRST TEST import shelve You import shelve TEST 2 with textView import shelve_whc as shelve You import shelve_whc. What is that? I cannot run your test. I

[pygtk] ... and nothing appears

2011-02-02 Thread Adam Tauno Williams
I'm happily using PyGtk / Glade-3 and have pretty much recreated an app I've previously made in C# / Gtk#. But I have one frustrating bit. I need to fill a scrolled area with sections of text - but *nothing* appears. Just an empty ScrolledWindow. # task_notation_area is a Viewport in the

[pygtk] Glade 3 / Builder / Combobox

2011-01-25 Thread Adam Tauno Williams
Please forgive this question if the answer is obvious but I've searched and not had any luck. Also, having done this frequently in C#/.NET I could just be fuzzing over the obvious answer. I am building a PyGTK app using Glade-3 / Gtk.Builder. And I'm stumped as to how ListStore models and