[pygtk] AttributeError: 'module' object has no attribute 'DrawingArea'

2010-10-10 Thread Rob Brown-Bayliss
Hi Does any one know why am I getting this error in the attached file? Why can't I use DrawingArea in gtk? File "/home/rob/cairo.py", line 9, in import gtk File "/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py", line 40, in from gtk import _gtk File "/home/rob/cairo.py", line 12, in

[pygtk] scrolled window signal when user scrolls with mouse etc.

2010-05-21 Thread Rob Brown-Bayliss
Hi I have a textview in a scrolled window, this is watching a growing log file, so it scrolls quite quickly. I have set it to scroll with the output (using scroll_to_mark() on the textview, and given the users a pause button to disable the automatic scrolling. I want to get notified when the use

[pygtk] Widget Names

2010-03-17 Thread Rob Brown-Bayliss
Hi Using GTK builder to create the GUI on pygtk 2.1.7 the widget.get_name() returns the type of widget rather then the name set in glade. eg, I have a gtk entry called user_name: >>> entry.get_name() 'GtkEntry' Is this a bug, or is it the expected output.  In 2.1.6 it returns the expected result

Re: [pygtk] problem with focus in notebook

2009-06-05 Thread Rob Brown-Bayliss
.connect("button_release_event", self.on_tab_button_pressed) # call on user click self.page.reparent(self.main_notebook) # adding page to not book self.main_notebook.set_tab_label(self.page, evb) # setting the evb as label for page.

[pygtk] Spead Sheet like widget

2009-05-22 Thread Rob Brown-Bayliss
Hi Need to edit some tables, mostly smaller but some up to 2000 rows, 16-30ish columns. Some spread sheet like calculations, but nothing to complex. What are the best suggestions, the app needs to run on Win32 as well as Linux. Thanks in advance. -- Rob Brown-Bayliss

Re: [pygtk] Printing: how to begin?

2009-05-11 Thread Rob Brown-Bayliss
On Mon, 2009-05-11 at 19:38 +0200, Timo wrote: > Hey everybody, > > My program has some sort of pedigree and I want the user to be able to > print this out. You could try report lab, a pdf generator lib for python, -- Rob Brown-Bayliss _

[pygtk] GTK Builder

2009-05-10 Thread Rob Brown-Bayliss
: assertion failed: (page != NULL) I wish to load the tabs contents from other glade files at runtime. -- Rob Brown-Bayliss ___ 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] libglade bug?

2009-05-05 Thread Rob Brown-Bayliss
On Tue, 2009-05-05 at 19:16 +1200, Rob Brown-Bayliss wrote: > On Mon, 2009-05-04 at 20:06 +1200, Rob Brown-Bayliss wrote: > > I have tracked it down to a bug in glade. I am using Glade 3.6.1 on > Ubuntu 9.04 There is a build of Glade 3.6.3 which appears to fix the problem. -

Re: [pygtk] libglade bug?

2009-05-05 Thread Rob Brown-Bayliss
On Mon, 2009-05-04 at 20:06 +1200, Rob Brown-Bayliss wrote: I have tracked it down to a bug in glade. I am using Glade 3.6.1 on Ubuntu 9.04 What has been happening is each time I change the UI via glade, it has been removing the signal for the delete-event and destroy-event from the xml file it

[pygtk] libglade bug?

2009-05-04 Thread Rob Brown-Bayliss
= Some times it fails first run, somtimes after 3 or 4 iterations, other times it goes for hours... Any clues? am I calling the get_active incorectly? -- Rob Brown-Bayliss ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] Session startup applications

2009-05-02 Thread Rob Brown-Bayliss
Brown-Bayliss ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] combobox entry pop event keyboard only?

2009-03-27 Thread Rob Brown-Bayliss
he default keyboard (alt down) the signal fires. What is happening to block from the mouse? -- Rob Brown-Bayliss http://globalvillage.sourceforge.net The world at your finger tips... I don't know where this is, but let me stay here I don't know

[pygtk] Combobox with thousands of rows

2009-03-25 Thread Rob Brown-Bayliss
for c in custs: n = c[1].strip() row = (unicode(n),c[0]) cust_list.append(row) self.customer.set_model(cust_list) -- Rob Brown-Bayliss http://globalvillage.sourc

Re: [pygtk] Treeview, nautilus and drag and drop to reorder.

2009-03-14 Thread Rob Brown-Bayliss
ept: pass model.remove(iter_to_move) def output_tree(self): n_rows = len(self.maps_list) #print n_rows for row in self.maps_list: print row.path[0]

Re: [pygtk] Treeview, nautilus and drag and drop to reorder.

2009-03-14 Thread Rob Brown-Bayliss
;t drag and drop from nautilus. I am using python and pygtk as standard on ubuntu 8.10 Any ideas? -- Rob Brown-Bayliss ___ 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] Treeview, nautilus and drag and drop to reorder.

2009-03-13 Thread Rob Brown-Bayliss
e, but I also want to drag and drop within the widget to re-order. At present I can have one or the other, but have become stuck trying to get both to work on the same widget. Does any one have some pointer? Thanks -- Rob Brown-Bayliss ___ pygtk m

[pygtk] test

2009-03-13 Thread Rob Brown-Bayliss
Sorry if this annoys any one, but my mails keep bouncing from the list. -- Rob Brown-Bayliss ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] nautilus and treeview

2009-03-12 Thread Rob Brown-Bayliss
Hi Does any one have any pointers on how to drag a file from nautilus and receive the info in a treeview widget? All the examples I google are about reordering iters, and for soem reason treeviews behave differently to other widgets for dnd. Cheers -- Rob Brown-Bayliss

[pygtk] nautilus and treeview

2009-03-12 Thread Rob Brown-Bayliss
Hi Does any one have any pointers on how to drag a file from nautilus and receive the info in a treeview widget? All the examples I google are about reordering iters, and for soem reason treeviews behave differently to other widgets for dnd. Cheers -- Rob Brown-Bayliss

[pygtk] libthread_db problems

2007-04-15 Thread Rob Brown-Bayliss
Hi All. I am having random crashes in a pygtk app, that started recently. The libthread_db library is always mentioned as are python libs... But what is confusing me is other applications are usually listed in the bug trace, for example, tvtime and evolution. And these apps have also stopped r

[pygtk] installing a pygtk app

2007-03-09 Thread Rob Brown-Bayliss
Hi, any pointers on where to start for installing a pygtk app on linux machines? I am not meaning distutils etc as the app is not a python module, but a generic gnome app. Thanks -- Rob ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/

[pygtk] libglade tree problems

2007-02-27 Thread Rob Brown-Bayliss
As my app starts I get these warnings: test.py:52: GtkWarning: gtk_tree_row_reference_new: assertion `GTK_IS_TREE_MODEL (model)' failed self.wtree = gtk.glade.XML("./test.glade") # Main glade xml file test.py:52: GtkWarning: gtk_cell_view_set_displayed_row: assertion `GTK_IS_TREE_MODEL (cell_vie

Re: [pygtk] Threaded PYgtk apps and gtk.main_quit()

2007-02-23 Thread Rob Brown-Bayliss
On 2/24/07, Jarek Zgoda <[EMAIL PROTECTED]> wrote: Anyway, many times I saw this as a recommended resolution to "update GUI from thread" problem. If your thread does not need to update UI, then it has nothing to to with PyGTK. ;) That is true, it isnt a pygtk issue ;-) -- Rob ___

Re: [pygtk] Threaded PYgtk apps and gtk.main_quit()

2007-02-23 Thread Rob Brown-Bayliss
On 2/24/07, Fredrik Corneliusson <[EMAIL PROTECTED]> wrote: Hi, If you are targeting win32 I would suggest using "gobject.idle_add(...)" instead if you want to update GTK UI from sub threads. See these FAQ entries for more info: The thread does not update the gui, it sits in the background waki

Re: [pygtk] Threaded PYgtk apps and gtk.main_quit()

2007-02-23 Thread Rob Brown-Bayliss
On 2/23/07, David Johansson <[EMAIL PROTECTED]> wrote: Hi, I think you need to stop all threads that you started, take a look at http://aruiz.typepad.com/siliconisland/2006/04/threads_on_pygt.html Thanks, I am just reding the page from the link yoiu provided, adn while I hav e not yet tried i

[pygtk] Threaded PYgtk apps and gtk.main_quit()

2007-02-20 Thread Rob Brown-Bayliss
I have an application, that has a couple of threads and also runs a few external processes, when I call gtk.main_quit() the ui shuts down, but actuall app remains in the process list. Does any one know how I can prevent this? Thanks -- Rob ___ pygtk

[pygtk] More dialog closing issues - set_activates_default()

2007-02-02 Thread Rob Brown-Bayliss
Hi, I have a dialog as such: def new_location_dialog(self): t = None dialog = gtk.Dialog("New Location", self.main_window, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,

[pygtk] combobox and multi column liststore not showing text

2007-02-01 Thread Rob Brown-Bayliss
Hi, I have a combobox and liststore set up like this: self.arcs_markers_combobox = self.wtree.get_widget("arcs_markers_combobox") self.arcs_markers_model = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_INT) self.arcs_markers_combobox.set_model(self.arcs_markers_model)

[pygtk] About Dialog wont close

2007-01-31 Thread Rob Brown-Bayliss
-- Rob ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] Hideing window before closing

2007-01-28 Thread Rob Brown-Bayliss
Hi, I have a main window that needs to do some cleaning up before the app is closed. So I have a function called buy the window destroy and other signals: def close_down(self): print "Shutting down Application..." #if self.main_window.flags() & gtk.VISIBLE

Re: [pygtk] Glade and notebook

2007-01-28 Thread Rob Brown-Bayliss
THanks guys, I was about to post the exact same question this morning, a pleasure to have an answer already :-) -- Rob ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/fa

Re: [pygtk] gnome applets and menus

2006-01-31 Thread Rob Brown-Bayliss
On 1/31/06, Nigel Tao <[EMAIL PROTECTED]> wrote: > > Is it possible to make the right click on the > > textview be ignored by the textview widget and > > acted on by the applet itself? > > Look at the 0.1 version (ie the simplest working example) of > http://www.ugr.es/~arturogf/applets/software/

[pygtk] gnome applets and menus

2006-01-29 Thread Rob Brown-Bayliss
Hi, I am playing about with an applet for the gnome panel. the display of which is a text view. Is it possible to make the right click on the textview be ignored by the textview widget and acted on by the applet itself? Thanks, Rob ___ pygtk mailing l

Re: [pygtk] gnome canvas get_bounds() broken?

2006-01-22 Thread Rob Brown-Bayliss
It seems that only CanvsRichtext wont return anything useful form get_bounds() On 1/21/06, Andrew Reid <[EMAIL PROTECTED]> wrote: > On Fri, Jan 20, 2006 at 12:13:30PM +1300, Rob Brown-Bayliss wrote: > > HI, > > > > Does any one know ifthe gnome canvs items get_b

[pygtk] gnome canvas get_bounds() broken?

2006-01-19 Thread Rob Brown-Bayliss
HI, Does any one know ifthe gnome canvs items get_bounds() function is working? When I call it from any object on my canvas I get: (0.0, 0.0, 0.0, 0.0) which suggests that it is broken. ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mai

[pygtk] ticker tape display.

2006-01-19 Thread Rob Brown-Bayliss
Hi, I am trying to make a ticker tape type display with pygtk, and looking at the canvas widget. One ofthe things I am tyring to do is get the length in pixels of a line of text placed on the canvas via the RichText featre of the canvas widget. Does any one know of a way to do this? IS pango goi

Re: [pygtk] Controling mpg### from python

2003-06-04 Thread Rob Brown-Bayliss
Other options are: 1) There is a python binding to xmms 2) Use ogg instead of mp3, there are ogg vorbis python bindings and you can play an ogg directly in your python app, or as a thread... -- * Rob Brown-Bayliss * = * zoism.org

Re: [pygtk] bug in the spinbutton?

2003-04-03 Thread Rob Brown-Bayliss
> pygtk.require('2.0') Is there a pygtk 2? I thought we were still doing the 1.99.x thing... -- * Rob Brown-Bayliss * = * zoism.org ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mai

Re: [pygtk] Should PyGtk be proposed for the Python 2.4 release?

2003-03-26 Thread Rob Brown-Bayliss
ared to all the "how do I get this to print on every conceivable OS?" type problems anyway -- * Rob Brown-Bayliss * = * zoism.org ___ 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] Should PyGtk be proposed for the Python 2.4 release?

2003-03-25 Thread Rob Brown-Bayliss
hy not just use the toolkit for your chosen platform? It's more likely to "fit in" that way. Leave python as it is and let distributors choose to add one or more gui kits to it. -- * Rob Brown-Bayliss * = * zoism.org

Re: [pygtk] Object oriented approach

2003-03-10 Thread Rob Brown-Bayliss
> Try to use Kiwi: http://www.async.com.br/kiwi/ > Its more easy to use gtk, and do cool things. :-) How far away is kiwi for Pygtk/Gnome 2? -- * Rob Brown-Bayliss * = * zoism.org ___ pygtk mailing list

[pygtk] fatal problem with import gnome.ui

2003-03-05 Thread Rob Brown-Bayliss
bonobo.ui in my app, so I try this: Python 2.2.1 (#1, Aug 30 2002, 12:15:30) [GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >&

[pygtk] have I found a bug?

2003-02-16 Thread Rob Brown-Bayliss
useing glade and pygtk/gnome 1.9.15 -- * Rob Brown-Bayliss * = * zoism.org ___ 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] druids

2003-02-13 Thread Rob Brown-Bayliss
inside? -- * Rob Brown-Bayliss * = * zoism.org ___ 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] ANNOUNCE: pygtk-1.99.15, pyorbit-1.99.3,gnome-python-1.99.15

2003-02-09 Thread Rob Brown-Bayliss
ble-thread as thats what worked for configure passing --enable-threading to configure does not actually enable threading, --enable-thread does so I guess setup.py should recognise what ever configure does just for the sake of being consistent. -- * Rob Brown-Bayliss * ==

Re: [pygtk] ANNOUNCE: pygtk-1.99.15, pyorbit-1.99.3,gnome-python-1.99.15

2003-02-09 Thread Rob Brown-Bayliss
input_add or timeout_add or idel_add into it's own thread or will these simple hang about waiting on the thread that calls gtk.mainloop() -- * Rob Brown-Bayliss * = * zoism.org ___ pygtk mailing list [EMAIL PROTECTED] htt

Re: [pygtk] PrgressBar

2003-01-22 Thread Rob Brown-Bayliss
e gone from my app guaranteed crash once a day to crash free for 30 days, every time the crash was either init'ing a new thread or a thread communicating with the main app. -- * Rob Brown-Bayliss * = * zoism.org __

Re: [pygtk] TreeStore getting iterator from column and value

2002-11-10 Thread Rob Brown-Bayliss
walker functons, there is a get_iter_root() call, and some to etirmin if the iter hasa children or not, and another to move to the next iter. etc etc. Walk your way down the tree looking for the value. -- * Rob Brown-Bayliss * = *

Re: [pygtk] Example of changing fontsize with set_markup

2002-11-06 Thread Rob Brown-Bayliss
that the fonts dropped to about 1-2 points. After upgrading to a later GTK snapshot this has been fixed. -- * Rob Brown-Bayliss * = * zoism.org ___ 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 with a treeview problem

2002-11-02 Thread Rob Brown-Bayliss
I am trying to catch a right button click so amd trying to convert the event cordinates. I get this error: AttributeError: 'gtk.TreeView' object has no attribute 'widget_to_tree_coords' -- * Rob Brown-Bayliss * =

Re: [pygtk] ending application

2002-11-01 Thread Rob Brown-Bayliss
ted As far as I know you cant kill them all, sys.exit() is probbly your only choice if the threads wont abort on their own. -- * Rob Brown-Bayliss * = * zoism.org ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com

Re: [pygtk] Limits of GConf

2002-10-31 Thread Rob Brown-Bayliss
for a minor app, I think I will just revert to pickling to a file if I get problems. -- * Rob Brown-Bayliss * = * zoism.org ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read t

Re: [pygtk] Re: Limits of GConf

2002-10-31 Thread Rob Brown-Bayliss
biggie because (unless I am soo wrong) thats thjat whole pont of gconf. -- * Rob Brown-Bayliss * = * zoism.org ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.as

[pygtk] Is this another treeview bug?

2002-10-31 Thread Rob Brown-Bayliss
I get this error: AttributeError: 'gtk.TreeView' object has no attribute 'widget_to_tree_coords' Yet 'widget_to_tree_coords' is in the docs. Is it a bug? -- * Rob Brown-Bayliss * = * zoism.org

[pygtk] Limits of GConf

2002-10-30 Thread Rob Brown-Bayliss
lists? -- * Rob Brown-Bayliss * = * zoism.org ___ 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] Problems wih multiselection and removing from a tree view

2002-10-30 Thread Rob Brown-Bayliss
from now on is likely to be incorrect. When I have slected multiple lines in a treeview and then called the remove_from_list() function. data[2] is a treeiter object. Is this a bug in GTK or my understanding of how it should work? -- * Rob Brown-Bayliss * = * zois

Re: [pygtk] threads locking X11

2002-10-28 Thread Rob Brown-Bayliss
On Tue, 2002-10-29 at 13:04, Christian Reis wrote: > On Mon, Oct 28, 2002 at 08:25:52PM +1300, Rob Brown-Bayliss wrote: > > def pulse(self): > > gtk.threads_enter() > > self.progress.pulse() > > gtk.threads_leave() > > This is GTK2? GTK1&#

[pygtk] threads locking X11

2002-10-27 Thread Rob Brown-Bayliss
running menus wont draw either) and I have to go to a CTRL-ALT-F1 and do killall python as the gnome desktop stops respnding to the mouse pointer (it does still move around) Any clues? I do do gtk.threads_init() before entering the main loop. -- * Rob Brown-Bayliss

Re: [pygtk] hscale interaction.

2002-10-23 Thread Rob Brown-Bayliss
he the buttonpress event. the motion notify gets called when ever the timeout callback adjusts the value so thats not working either. -- * Rob Brown-Bayliss * = * zoism.org ___ pygtk mailing list [EMAIL PROTECTED

[pygtk] hscale interaction.

2002-10-23 Thread Rob Brown-Bayliss
this? -- * Rob Brown-Bayliss * = * zoism.org ___ 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] multiple selection in treeview

2002-10-17 Thread Rob Brown-Bayliss
Hi. How do you do multiple selection in treeview widgets? I have been going over and over the docs looking for something like set_multi_select or what ever and it's either missing for the docs or their is some other way to handle selecting multiple rows in a tree. -- * Rob Brown-Ba

[pygtk] scrolling a textview

2002-10-10 Thread Rob Brown-Bayliss
bviously I am doing something wrong but am not sure what it is. -- * Rob Brown-Bayliss * = * zoism.org ___ 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] Widget dimensions

2002-09-24 Thread Rob Brown-Bayliss
On Wed, 2002-09-25 at 10:43, Christian Reis wrote: > On Wed, Sep 25, 2002 at 10:23:08AM +1200, Rob Brown-Bayliss wrote: > > I have done this before: > > > > self.x,self.y = self.canvas.window.get_size() > > Canvas-specific? Are the numbers the same as for get_allocat

Re: [pygtk] Widget dimensions

2002-09-24 Thread Rob Brown-Bayliss
gtk.GtkWindow() > e = gtk.GtkEntry() > window.add(e) > w.show_all() > print e.get_allocation() I have done this before: self.x,self.y = self.canvas.window.get_size() -- * * Rob Brown-Bayliss * ___ pygtk mailing list [EMAIL PROTECTED] http:/

Re: [pygtk] better way of doing this please

2002-09-09 Thread Rob Brown-Bayliss
e machine (via an ltsp setup) or other machines on the local network. I don't expect it to be run over the internet. -- * * Rob Brown-Bayliss * ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the P

[pygtk] better way of doing this please

2002-09-09 Thread Rob Brown-Bayliss
): rtoread[0].handle_request() gtk.idle_add(self.check_comms) but this of course ties everything up for a second unless there is a message on a socket. I am guessing a thread is the next thing to try but am wondering if there are other options? Thanks... -- * * Rob Brown-Bayliss

Re: [pygtk] Need Help

2002-09-06 Thread Rob Brown-Bayliss
time > to find that out... What sort of things do you want to know? Best thing is to just ask here I reckon... Not every one knows everything, but there are enough people on the list to answer most questions about pygtk or gnome-python -- * * Rob Brown-Bayliss * __

Re: [pygtk] ZvtTerm question

2002-09-05 Thread Rob Brown-Bayliss
look at my code and realise how silly I was, post a quick "thanks, got it sorted" in reply to my first message. and I haven't even received a friendly complaint yet alone a real flame ;o) -- * * Rob Brown-Bayliss * ___ pygtk maili

Re: [pygtk] images in a treeview - howto

2002-09-05 Thread Rob Brown-Bayliss
column1 = gtk.TreeViewColumn("Count", rendertext, text=1) self.view.append_column(column0) self.view.append_column(column1) self.view.expand_all() where self.view is a gtk.TreeView() Hope it help

Re: [pygtk] Full Screen Window

2002-09-04 Thread Rob Brown-Bayliss
ems to have sorted it out. Thanks -- * * Rob Brown-Bayliss * ___ 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] Full Screen Window

2002-09-04 Thread Rob Brown-Bayliss
ks once in myabe 5 or 10 goes, then the rest of the times the border shows and I get the right and down shift you had. -- * * Rob Brown-Bayliss * ___ 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] faking events

2002-08-30 Thread Rob Brown-Bayliss
hat sorted out the redrawing, no it's a wait-for-the-fix game for the drawing order problem. For some reason, the canvas shows the widget, then moves, despite being told to move, then draw then show :o) Still, it works, thanks... -- * * Rob Brown-Bayliss * __

Re: [pygtk] faking events

2002-08-29 Thread Rob Brown-Bayliss
oing to be affected) makes no difference either, it must be the whole widget. When a wm sends a window an expose event, how is that done? is there no way to place an event message on a window or widget? -- * * Rob Brown-Bayliss * ___ pygtk mailing list

[pygtk] faking events

2002-08-29 Thread Rob Brown-Bayliss
nding it a gdk event like an expose event? -- * * Rob Brown-Bayliss * ___ 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] Execute a shell script from python script

2002-08-29 Thread Rob Brown-Bayliss
about keeping in touch with the command... -- * * Rob Brown-Bayliss * ___ 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] adding widget to canvas

2002-08-28 Thread Rob Brown-Bayliss
layout.c: line 417 (gtk_layout_move): assertion `child_widget->parent == GTK_WIDGET (layout)' failed Gtk-ERROR **: file gtkcontainer.c: line 2287 (gtk_container_propagate_expose): assertion failed: (child->parent == GTK_WIDGET (container))

[pygtk] adding widget to canvas

2002-08-28 Thread Rob Brown-Bayliss
hi Has any one got a simple example of adding a widget to a canvas that could share, prefer gnome 2 but not that fussy... Thanks -- * * Rob Brown-Bayliss * ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

[pygtk] frame problems with glade

2002-08-25 Thread Rob Brown-Bayliss
screen when draged over. Is this the expected behaviour of a frame? -- * * Rob Brown-Bayliss * ___ 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] keyboard use of tree widgets

2002-08-21 Thread Rob Brown-Bayliss
simply does nothing. The widget is a multi column treeview, gtk2 -- * * Rob Brown-Bayliss * ___ 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] keyboard use of tree widgets

2002-08-21 Thread Rob Brown-Bayliss
Hi, How does one activate a row in a tree widget via the keyboard? I can navigate up an down. but cant activate rows. Thanks -- * * Rob Brown-Bayliss * ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read

Re: [pygtk] pango marukup for lables

2002-08-21 Thread Rob Brown-Bayliss
On Wed, 2002-08-21 at 15:15, Rob Brown-Bayliss wrote: Whoops again, it does work, it's me who is broken :o) -- * * Rob Brown-Bayliss * ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ:

[pygtk] pango marukup for lables

2002-08-20 Thread Rob Brown-Bayliss
Hi, I have a lable in a glade file, I do this self.heading.set_use_markup(gtk.TRUE) self.heading.set_markup('Blah Blah Blah') and the label literaly says: Blah Blah Blah The glade file also has set the the lable to use markup so where am I going wrong? -- * * Rob Bro

[pygtk] Typo?

2002-08-19 Thread Rob Brown-Bayliss
Hi, Is gtk.gdk.Window.set_ittle() a typo? Should it be set_title()? -- * * Rob Brown-Bayliss * ___ 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 + gtk

2002-08-14 Thread Rob Brown-Bayliss
ake a while, but it will happen. In the mean time, since you are just starting out you have no legacy code to hang on too so why not take the plunge today? -- * * Rob Brown-Bayliss * ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.

Re: [pygtk] treview headers

2002-08-01 Thread Rob Brown-Bayliss
rectly (as far as it > is concerned, it will have been given enough space to display all the rows). That was it... What is a vieport and why would you use one? -- * * Rob Brown-Bayliss * ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com

Re: [pygtk] treview headers

2002-08-01 Thread Rob Brown-Bayliss
l out the top of teh scrolled window, and it's not scrolling with hte keyboard... bugger really as the headings do serve a usefull purpose... -- * * Rob Brown-Bayliss * ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listi

[pygtk] treview headers

2002-08-01 Thread Rob Brown-Bayliss
moving and the view stays static... Thanks -- * * Rob Brown-Bayliss * ___ 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] yet another threading question

2002-08-01 Thread Rob Brown-Bayliss
On Thu, 2002-08-01 at 16:46, Rob Brown-Bayliss wrote: > Hi, I have been going of the archive for a while now and I cant seem to > get this sorted. My mail is down this morning, at least the recieving of mail so I don't know if thhere have been any replys, but I got it sorted with:

[pygtk] yet another threading question

2002-07-31 Thread Rob Brown-Bayliss
)? Is the problem that the hole thing is in another module? Also, should I (can I) destroy the thread once the display is updated and create a new one next tiem? at the moment the thread just hangs around waiting to be told to update the display. Thanks -- * * Rob Bro

[pygtk] images in a treeview

2002-07-24 Thread Rob Brown-Bayliss
Hi, Can some one give me a quick demo if placing a pixmaps in a treeview, preferable different pixmaps on each line... Also, more on trees, is it possible totell which column and row a user has clicked on... Thanks -- * * Rob Brown-Bayliss

Re: [pygtk] CTree and checkboxes

2002-07-17 Thread Rob Brown-Bayliss
Did anything ever come of this gal-python? Or is the shortcut bar in gtk2? > > If you find that GAL has what you want, you can try using Johan's > > gal-python module; just ask him for the latest version. :-) > > gal-python module?? Oooh, how did I miss this? Is that shortcut bar > widget in it

Re: [pygtk] regenerated documentation

2002-07-06 Thread Rob Brown-Bayliss
On Wed, 2002-05-15 at 13:30, James Henstridge wrote: > I regenerated the documentation found at: > http://www.gnome.org/~james/pygtk-docs/ > > The script hasn't changed yet (so it still doesn't list functions, > interfaces, boxed types or pointer types), but the defs files in pygtk > are no

[pygtk] Could not write method

2002-07-06 Thread Rob Brown-Bayliss
Hi, I am building pygtk 1.99 andhave got a whole lot of these Could not write method GtkTextIter.forward_find_char: No ArgType for GtkTextCharPredicate Could not write method GtkTextIter.backward_find_char: No ArgType for GtkTextCharPredicate Could not write method GtkAccelGroup.connect: No ArgT

[pygtk] pygtk ANd pygnome 2

2002-06-18 Thread Rob Brown-Bayliss
I have built and installed the latestversion (as of yesterday at least) of pygtk and gnome-python. There seem to have been very few files writen to the site-packages directory for these two builds, in particular most of the files in gnome are from a previous install. Examples seem to work excep

[pygtk] canvas and transparency problems

2002-02-08 Thread Rob Brown-Bayliss
up, x=30, y=30, width=120, height=40) So I am wondering is there a problem with the canvas, GdkImlib or is it because I am useign a PNG image? -- Rob Brown-Bayliss ---==o==--- ___ pygtk mailing list [EMAIL PROTECTED] http://www.da

[pygtk] OT: Advice on UI design

2002-02-01 Thread Rob Brown-Bayliss
pages on a notebook without tabs showing). Sort of like the gnome control panel... I was wondering if there are other ways people here would aproach this, I guess in pygnome 2 I could use the shortcut bar from evolution instead of the ctree, but the basic layout is the same. -- Rob Brown

[pygtk] OT: Advice on UI design

2002-02-01 Thread Rob Brown-Bayliss
pages on a notebook without tabs showing). Sort of like the gnome control panel... I was wondering if there are other ways people here would aproach this, I guess in pygnome 2 I could use the shortcut bar from evolution instead of the ctree, but the basic layout is the same. -- Rob Brown

Re: [pygtk] CTree and checkboxes

2001-11-18 Thread Rob Brown-Bayliss
> gal-python module?? Oooh, how did I miss this? Is that shortcut bar > widget in it? Where can I get it? Is/are there reasons for things like gal not being in pygnome? Eg are the developers just waiting for more stability before submiting it to james? -- Rob Brown-Bayliss ---=

Re: [pygtk] root window dimensions

2001-10-28 Thread Rob Brown-Bayliss
ays the full size of the screen. I do: app.set_default_size(screen_width(),screen_height()) where app is a gnomeapp but I imagine it would work witha gtkwindow. the screen_width and screen_height are defined inmy gtk.py near the end, around line 2790'ish Don't know if this helps or no

Re: [pygtk] Canvas group add problems

2001-09-12 Thread Rob Brown-Bayliss
pygnome 1.4.1, python 2.1 on redhat 7.1 with most ximian updates. I have a working example that takes 8 args, when I change it it tells me that it only tajes 2 args, yet the 8 args line gives no error.... Is this the numbering issue you refer to? -- Rob Brown-Bayliss ---==o==--- __

  1   2   >