Re: R: [pygtk] Removing gaps from ProgressBars

2006-06-05 Thread Andrew Conkling
Da: Geoff Bache Inviato: sab 03/06/2006 11.28 A: pygtk@daa.com.au Oggetto: [pygtk] Removing gaps from ProgressBars Hi, I have got used to the look of my ProgressBar on Linux, PyGTK 2.4.13. It is blue, solid and the text on it looks nice. I recently tried to port it to Windows (using version

Re: [pygtk] Improving pygtk appearance, or moving to wxPython?

2006-05-06 Thread Andrew Conkling
On 5/5/06, JUAN ERNESTO FLORES BELTRAN [EMAIL PROTECTED] wrote: hi you guys, no doubt...i will follow your instructions and i will just change the theme...i did find some icons and figures wich are going to help me too... thanks for your patience, and i am sorry for being so insistent about

Re: [pygtk] Improving pygtk appearance, or moving to wxPython?

2006-05-03 Thread Andrew Conkling
On 5/3/06, JUAN ERNESTO FLORES BELTRAN [EMAIL PROTECTED] wrote: I am not interested to create any controversy, but to get the best advice. I am developping my application in pygtk, it has been not an easy task :) but i have come a long way. Once you get over the learning curve, you can really

Re: [pygtk] Improving pygtk appearance, or moving to wxPython?

2006-05-03 Thread Andrew Conkling
On 5/3/06, JUAN ERNESTO FLORES BELTRAN [EMAIL PROTECTED] wrote: well, i entered at http://art.gnome.org there is a lot of themes them all look great!!...however i still donĀ“t understand the theme philosophy. It seems a collection of widgets/icons which are going to help you develop the GUI by

Re: [pygtk] GNOME Goal: Theme-friendly icons

2006-04-10 Thread Andrew Conkling
On 4/9/06, Nigel Tao [EMAIL PROTECTED] wrote: On 4/9/06, Andrew Conkling [EMAIL PROTECTED] wrote: the page is immutable The page is mutable if you log in. :-) Well, don't I feel like a fool. ^_^ ___ pygtk mailing list pygtk@daa.com.au http

[pygtk] GNOME Goal: Theme-friendly icons

2006-04-09 Thread Andrew Conkling
According to the GNOME wiki[1], the latest GNOME goal is to make all icons in applications theme-friendly. However, it doesn't list any info for doing so in PyGTK+, and the page is immutable. I spent some time last year making sure my own application's icons are theme-friendly, so is there any

[pygtk] Re: Using a VBox as an Expander's child

2006-03-09 Thread Andrew Conkling
On 8/10/05, Andrew Conkling [EMAIL PROTECTED] wrote: In my program, I have an expander with two labels in a VBox as its child. See http://pygmy.berlios.de/images/pygmywindow.png as reference. The slight problem is that when using the program, only the middle portion activates the expander

[pygtk] Horizontal scrollbars not disappearing

2006-03-06 Thread Andrew Conkling
Hello all, I've been having a spot of trouble in my own program with horizontal scrollbars not disappearing when my TreeView is empty or contains narrow enough items to show on-screen. Thinking that I must have set something funky in the properties or in Glade, I decided to do a simple program to

Re: [pygtk] Horizontal scrollbars not disappearing

2006-03-06 Thread Andrew Conkling
On 3/6/06, John Finlay [EMAIL PROTECTED] wrote: Try setting the TreeViewColumn sizing to gtk.TREE_VIEW_COLUMN_AUTOSIZE using set_sizing() Thanks, John; that did the trick! I hadn't thought to look in the TreeViewColumn property... doh. Cheers, Andrew -- http://aconkling.blogspot.com

Re: [pygtk] ANNOUNCE Scribes 0.2.2

2005-12-02 Thread Andrew Conkling
On 12/2/05, Mystilleef [EMAIL PROTECTED] wrote: Version 0.2.2 of Scribes has been released. Scribes is the simple, slim and sleek text editor for GNOME. This release features, automatic word completion, automatic bracket completion, the ability to bookmark lines, and the ability to open and

Re: [pygtk] Getting tooltips color

2005-11-13 Thread Andrew Conkling
On 11/11/05, Nikos Kouremenos [EMAIL PROTECTED] wrote: win = gtk.Window() win.set_name('gtk-tooltips') # this draws it as tooltip then you get the style and whatever color u like Many thanks; this does indeed work. However, it seems to be missing the border (black for me). I don't think

Re: [pygtk] Getting tooltips color

2005-11-13 Thread Andrew Conkling
On 11/13/05, Gian Mario Tagliaretti [EMAIL PROTECTED] wrote: def _on_expose_event(self, widget, event): w, h = widget.size_request() widget.style.paint_flat_box(widget.window, gtk.STATE_NORMAL, gtk.SHADOW_IN,

Re: [pygtk] Getting tooltips color

2005-11-11 Thread Andrew Conkling
On 11/11/05, Brian [EMAIL PROTECTED] wrote: On Thu, 2005-10-11 at 23:54 -0500, Andrew Conkling wrote: I was wondering if it were possible to get the GTK+ theme's color for tooltips. gtk.Tooltips() does not have a .get_style() since it's not a subclass of gtk.Widget(), so it seems some

[pygtk] Getting tooltips color

2005-11-10 Thread Andrew Conkling
I was wondering if it were possible to get the GTK+ theme's color for tooltips. gtk.Tooltips() does not have a .get_style() since it's not a subclass of gtk.Widget(), so it seems some voodoo magic would be necessary to get the color. Also, a related question for my purposes: is it possible to

Re: [pygtk] ANNOUNCE: Scribes Version 0.2.1

2005-11-09 Thread Andrew Conkling
On 11/9/05, Mystilleef [EMAIL PROTECTED] wrote: Download: http://scribes.sourceforge.net/download.html Screenshot: http://scribes.sourceforge.net/screenshot.html Home Page: http://scribes.sourceforge.net/index.html As usual, you can find an Arch PKGBUILD here:

Re: [pygtk] ANNOUNCE: Scribes Version 0.2

2005-10-22 Thread Andrew Conkling
Good work so far! Nice to see this coming along! On 10/21/05, Mystilleef [EMAIL PROTECTED] wrote: *The editor now remembers the window state, position and size of each file you edit. *The editor now opens windows centered on your display. Would it be possible to have a default position and

[pygtk] Tooltips question

2005-10-10 Thread Andrew Conkling
I was wondering if it'd be possible to inherit gtk.Tooltips() to be able to add a GTK object (e.g. a progress bar or such) to them. PyGTK FAQ 6.4 (http://www.async.com.br/faq/pygtk/index.py?req=showfile=faq06.004.htp) seems like it may be helpful, but I'm not sure. Unfortunately, at the moment

[pygtk] Controlling window size on an expander's activate

2005-09-21 Thread Andrew Conkling
I have an expander in my window and I have the window resize when the expander is activated; in other words, it shrinks when the expander is contracted and expands when expanded. (See the code below.) Up until now, it's worked great, but I recently allowed one of the widgets in the expander's

Re: [pygtk] Re: Using adjustments to 'remember' treeview's position

2005-09-20 Thread Andrew Conkling
On 9/20/05, Brian Campbell [EMAIL PROTECTED] wrote: I'm not sure that I totally grok what you are trying to do, so forgive me if this is not helpful. But, you can use the adjustment's values to remember its position (or at least get it close). Thanks for the reply. Johan had recommended I

Re: [pygtk] Re: Using adjustments to 'remember' treeview's position

2005-09-20 Thread Andrew Conkling
On 9/20/05, Brian Campbell [EMAIL PROTECTED] wrote: When you call get_adjustment(), you get a REFERENCE to an adjustment. If you change context while holding that reference, the adjustment underneath it changes also (or the adjustment changes, which invalidates the reference), so calling

[pygtk] Re: Using adjustments to 'remember' treeview's position

2005-09-19 Thread Andrew Conkling
OK, so jdahlin recommended I don't use the adjustments to set the position. So I've switched to using gtk.gdk.Rectangles, but have not had any more luck than before. After a few other changes, here's my code. Any suggestions would be greatly appreciated and will warrant a virtual cookie.

[pygtk] Using adjustments to 'remember' treeview's position

2005-09-18 Thread Andrew Conkling
I have a treeview 'browser' that I'm using that connects to browse() when activated (i.e. every time the working directory changes). (Below is the pertinent portion.) I'm using a dictionary to remember the position of the treeview for each folder, but it doesn't seem to be working. Could anyone

[pygtk] SVG icon blurry

2005-08-20 Thread Andrew Conkling
Hi, I'm loading an SVG icon for my program, but when I see it in the Alt+Tab window, it looks very blurry. Following is the code I'm using to load it. Can anyone suggest why this might be? Regards, Andrew Conkling self.iconfactory = gtk.IconFactory() self.pygmyset = gtk.IconSet() filenames

[pygtk] GTK+ Webcore in Python

2005-08-16 Thread Andrew Conkling
I'm interested (if only for lesson's sake) in using GTK+ Webcore (http://gtk-webcore.sourceforge.net) in Python. To do so (as far as I've read), I must use Pyrex or SWIG. I've heard that Pyrex is probably easier to use (i.e. induces less headaches). Can anyone confirm that or suggest otherwise?

Re: [pygtk] Documentation recommendations

2005-08-12 Thread Andrew Conkling
On 8/12/05, David M. Cook [EMAIL PROTECTED] wrote: Take a look at the webbrowser module in the standard lib. It tries to be somewhat cross-platform, i.e. using KDE or Gnome to launch the browser, or the default the user has set in OS X or windows. OK, Dave, I'll check it out; thanks. What

[pygtk] Documentation recommendations

2005-08-11 Thread Andrew Conkling
I'm brainstorming on how to provide documentation in my program. I'd rather not make use of Gnome help (i.e. yelp's browser) because I'm trying to avoid the additional dependencies. However, I'm not really sure what else I could do that would be effective. I don't really want to provide just a

[pygtk] Using a VBox as an Expander's child

2005-08-10 Thread Andrew Conkling
In my program, I have an expander with two labels in a VBox as its child. See http://pygmy.berlios.de/images/pygmywindow.png as reference. The slight problem is that when using the program, only the middle portion activates the expander. It's like the area that would be occupied if a label were