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

2010-10-11 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 module import gtk File /usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py, line 40, in module from gtk import _gtk File /home/rob/cairo.py, line

[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

[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
) # 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. -- Rob Brown-Bayliss http://globalvillage.sourceforge.net

[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 r.brown.bayl

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 r.brown.bayl...@gmail.com

[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 r.brown.bayl...@gmail.com ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http

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

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. -- Rob Brown-Bayliss

[pygtk] libglade bug?

2009-05-04 Thread Rob Brown-Bayliss
) = = Count = 44 None = 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 r.brown.bayl

[pygtk] Session startup applications

2009-05-02 Thread Rob Brown-Bayliss
Brown-Bayliss r.brown.bayl...@gmail.com ___ 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
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 where this is, and I

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

2009-03-14 Thread Rob Brown-Bayliss
? -- Rob Brown-Bayliss r.brown.bayl...@gmail.com ___ 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-14 Thread Rob Brown-Bayliss
) #print n_rows for row in self.maps_list: print row.path[0] print row[1] -- Rob Brown-Bayliss r.brown.bayl...@gmail.com ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman

[pygtk] nautilus and treeview

2009-03-13 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 r.brown.bayl

[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 r.brown.bayl...@gmail.com ___ 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
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 r.brown.bayl...@gmail.com

[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 r.brown.bayl

[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

[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

[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

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 waking

[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/

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:

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/ which

[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

[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

[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

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/mailman/listinfo/pygtk

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

2003-03-26 Thread Rob Brown-Bayliss
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
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 ___ pygtk

[pygtk] fatal problem with import gnome.ui

2003-03-05 Thread Rob Brown-Bayliss
)] on linux2 Type help, copyright, credits or license for more information. import gnome.ui Fatal Python error: could not import bonobo.ui Aborted Any clues? -- * Rob Brown-Bayliss * = * zoism.org ___ pygtk mailing list

[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
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] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ

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

2003-02-09 Thread Rob Brown-Bayliss
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 * = * zoism.org

Re: [pygtk] PrgressBar

2003-01-22 Thread Rob Brown-Bayliss
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 ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au

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

2002-11-10 Thread Rob Brown-Bayliss
, 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 * = * zoism.org

Re: [pygtk] Example of changing fontsize with set_markup

2002-11-06 Thread Rob Brown-Bayliss
. 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

[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 * = * zoism.org

Re: [pygtk] ending application

2002-11-01 Thread Rob Brown-Bayliss
() 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.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http

[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 mailing list

Re: [pygtk] Re: Limits of GConf

2002-10-31 Thread Rob Brown-Bayliss
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.async.com.br/faq

Re: [pygtk] Limits of GConf

2002-10-31 Thread Rob Brown-Bayliss
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 the PyGTK FAQ: http://www.async.com.br

[pygtk] Problems wih multiselection and removing from a tree view

2002-10-30 Thread Rob Brown-Bayliss
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 * = * 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] 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

[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/

Re: [pygtk] hscale interaction.

2002-10-23 Thread Rob Brown-Bayliss
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] http

[pygtk] scrolling a textview

2002-10-10 Thread Rob Brown-Bayliss
call write(somestuff) it is automatically scrolled to the bottom to show the next text. But, when I initially do open_log(somefile) it is only scrolled half way don the text, untill I call write() again. Obviously I am doing something wrong but am not sure what it is. -- * Rob Brown

Re: [pygtk] Widget dimensions

2002-09-24 Thread Rob Brown-Bayliss
() 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://www.daa.com.au/mailman/listinfo/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_allocation()? Um, window specific I think

[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] better way of doing this please

2002-09-09 Thread Rob Brown-Bayliss
) 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 PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] Need Help

2002-09-06 Thread Rob Brown-Bayliss
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 * ___ pygtk mailing

Re: [pygtk] images in a treeview - howto

2002-09-05 Thread Rob Brown-Bayliss
= 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 helps... -- * * Rob Brown-Bayliss

Re: [pygtk] ZvtTerm question

2002-09-05 Thread Rob Brown-Bayliss
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 mailing list [EMAIL PROTECTED] http

Re: [pygtk] Full Screen Window

2002-09-04 Thread Rob Brown-Bayliss
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] Full Screen Window

2002-09-04 Thread Rob Brown-Bayliss
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] faking events

2002-08-30 Thread Rob Brown-Bayliss
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 * ___ pygtk mailing

Re: [pygtk] Execute a shell script from python script

2002-08-29 Thread Rob Brown-Bayliss
... -- * * 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-29 Thread Rob Brown-Bayliss
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 [EMAIL PROTECTED

[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] adding widget to canvas

2002-08-28 Thread Rob Brown-Bayliss
== GTK_WIDGET (container)) aborting... Trace/breakpoint trap 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/

[pygtk] frame problems with glade

2002-08-25 Thread Rob Brown-Bayliss
of a 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] 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: http

Re: [pygtk] keyboard use of tree widgets

2002-08-21 Thread Rob Brown-Bayliss
. 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] 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('bBlah Blah Blah/b') and the label literaly says: bBlah Blah Blah/b The glade file also has set the the lable to use markup so where am I going wrong? -- * * Rob Brown-Bayliss

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: def pending

[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] treview headers

2002-08-01 Thread Rob Brown-Bayliss
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.au/mailman/listinfo

[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 Brown-Bayliss

[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?

[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

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 now up

[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

[pygtk] canvas and transparency problems

2002-02-08 Thread Rob Brown-Bayliss
, 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.daa.com.au/mailman/listinfo/pygtk

[pygtk] OT: Advice on UI design

2002-02-01 Thread Rob Brown-Bayliss
as 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
as 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 ---==o

Re: [pygtk] root window dimensions

2001-10-28 Thread Rob Brown-Bayliss
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 not... -- Rob Brown-Bayliss

[pygtk] Canvas group add problems

2001-09-10 Thread Rob Brown-Bayliss
: TypeError: add() takes exactly 2 arguments (X given) where X is the number of args I gave. Any clues or examples known? Thanks -- Rob Brown-Bayliss ---==o==--- ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo

[pygtk] gmone.ui and getopts problem

2001-06-29 Thread Rob Brown-Bayliss
Brown-Bayliss ---==o==--- ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

[pygtk] HTML Widget

2001-06-07 Thread Rob Brown-Bayliss
? -- Rob Brown-Bayliss ---==o==--- www.ZOOstation.cc ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

Re: [pygtk] HTML Widget

2001-06-07 Thread Rob Brown-Bayliss
the --enable-gtkhtml switch to configure to build it. Is there any reason for not building by default? for example stability? Thanks -- Rob Brown-Bayliss ---==o==--- www.ZOOstation.cc ___ pygtk mailing list [EMAIL PROTECTED] http

Re: [pygtk] GtkHTML

2001-04-19 Thread Rob Brown-Bayliss
wild-ass guess: maybe you need to run ldconfig or set LD_LIBRARY_PATH? I have run ldconfig, even though libtool was used in th emake install part. I don;t know about the path setting so shall look there, thanks -- Rob Brown-Bayliss ---==o==--- www.ZOOstation.cc

Re: [pygtk] GtkHTML

2001-04-19 Thread Rob Brown-Bayliss
/lib/mozilla to my /etc/ld.so.conf and reran ldconfig and now the test works... I could find no referenc to LD_LIBRARY_PATH so I assume it is unset in my system... -- Rob Brown-Bayliss ---==o==--- www.ZOOstation.cc ___ pygtk mailing list

[pygtk] Memory usage

2001-04-18 Thread Rob Brown-Bayliss
I destroy the pages after use, currently I keep them as I expect the user to come back to them over and over, but I guess some could be used once and kept in memory for some time. Is it worth it to destroy the page? most will only have a dozen or 20 widgets... -- Rob Brown-Bayliss

Re: [pygtk] Can I build This in PyGnome?

2001-04-18 Thread Rob Brown-Bayliss
print "Bogus glade file?" Any way, is this the best? I am still getting to know both python and the gtk widget set so any advise is welcome... -- Rob Brown-Bayliss ---==o==--- www.ZOOstation.cc ___ pygtk mailing list [E

Re: [pygtk] GtkHTML

2001-04-18 Thread Rob Brown-Bayliss
On 02 Apr 2001 19:25:38 -0400, Jonathan LaCour wrote: I would like to use the GtkHTML widget to create a simple editable text space that can use HTML styles. Is this possible? I know that Ximian Also, is there a python binding to Gecko from the mozilla project? -- Rob Brown-Bayliss

[pygtk] adding and removing glalde modules

2001-04-16 Thread Rob Brown-Bayliss
mod = ModTree.get_widget(CMod) Container.add(mod) module._setup() except Error, msg: print "some error?" I would apreaciate any comments, and obviously any better ideas -- Rob Brown-Bayliss ---==o==--- www.ZOOstation.cc _

Re: [pygtk] table widgets in pygtk-pygnome?

2001-04-05 Thread Rob Brown-Bayliss
Brown-Bayliss ---==o==--- www.ZOOstation.cc ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

[pygtk] table widgets in pygtk-pygnome?

2001-04-04 Thread Rob Brown-Bayliss
Hi, I have been playing with libglade and python and would really like a spreadsheet like table widget. Glade seems to not have one, does GTK/GNOME have one? if not how does gnumeric do it? Thanks -- Rob Brown-Bayliss ---==o==--- www.ZOOstation.cc

Re: [pygtk] table widgets in pygtk-pygnome?

2001-04-04 Thread Rob Brown-Bayliss
the top is size. the details being the count available. Any recomendations, I thought of useing the clist widget but need to look further, a table seems the best... -- Rob Brown-Bayliss ---==o==--- www.ZOOstation.cc ___ pygtk mailing list

[pygtk] Can I build This in PyGnome?

2001-03-19 Thread Rob Brown-Bayliss
(along the lines of a hello world - goodbye world) to get me started if this is infact possible? thanks either way. -- Rob Brown-Bayliss ---==o==--- www.ZOOstation.cc ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au

Re: [pygtk] Can I build This in PyGnome?

2001-03-19 Thread Rob Brown-Bayliss
with 2 pannels in the middle, how could I get my modules to use the right pannel as their own space? Thanks again -- Rob Brown-Bayliss ---==o==--- www.ZOOstation.cc ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman

  1   2   >