Re: [pygtk] application custom stock icons not working in ubuntu unity top panel menu

2011-11-29 Thread Paul Malherbe
Hi I am sorry, I misunderstood you. I got the same as you so I turned off the Unity menu and my app menu now works perfectly. Regards Paul Malherbe On 28

Re: [pygtk] application custom stock icons not working in ubuntu unity top panel menu

2011-11-29 Thread Paul Malherbe
Hi I don't force the users to disable the Unity menu, I only disable in the specific pygtk app. by setting os.environ['UBUNTU_MENUPROXY'] = '0' Regards Paul Malherbe

Re: [pygtk] application custom stock icons not working in ubuntu unity top panel menu

2011-11-27 Thread Paul Malherbe
Hi I found that i had to install gnome-tweak-tool and then enable the icons and then enable menu icons under themes. Regards Paul Malherbe +27 (0) 21

Re: [pygtk] py2exe only support python2.5

2011-07-26 Thread Paul Malherbe
Hi I am using py2exe with python 2.7 without any problems. Regards Paul Malherbe On 26/07/11 04:17, dan zheng wrote: I google a lot to solve my py2exe's exe program coming from pygtk,my python version is 2.6,but someone say py2exe can only work in python2.5,so does anyone have such suffer

Re: [pygtk] PyGTK on Windows Vista

2011-05-24 Thread Paul Malherbe
Hi You might have to run the all-in-one installer as the administrator. Regards _*Paul Malherbe*_ +27 (0) 21 6711866 +27 (0) 82 9005260 On 24/05/11 12:37, Vic Watson wrote: Hi All. Firstly, I should introduce myself – I’m Vic, and I’m a software contractor. And I’m currently on-site

Re: [pygtk] Help with box layout

2010-03-13 Thread Paul Malherbe
el(''), True, True) Should give you what you want :-) -- Regards Paul Malherbe +27 (0) 21 6711866 +27 (0) 82 9005260 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ pygtk mailing lis

Re: [pygtk] Viewing elaborated report pages on pygtk

2009-02-17 Thread Paul Malherbe
to a printer without having to view it. Regards Paul Malherbe +27 (0) 21 6711866 +27 (0) 82 9005260 John Stowers wrote: On Fri, 2009-02-13 at 19:21 -0200, Jose de Paula Eufrasio Junior wrote: So I am working on a simple risk management app [0] using pygtk

Re: [pygtk] hide on delete_event()

2008-12-09 Thread Paul Malherbe
Dialog() win.connect("delete_event", on_window_delete_event) win.set_size_request(300,200) win.show_all() gtk.main() Regards Paul Malherbe +27 (0) 21 6711866 +27 (0) 82 9005260 Peyman wrote: Hey Neil I tried your method, but it didn't work. I suspected it wouldn't

Re: [pygtk] Notebook

2008-12-03 Thread Paul Malherbe
Hi What exactly do you mean by 'disable all other pages' ? Do you mean disable the tags or the pages. Regards Paul Malherbe +27 (0) 21 6711866 +27 (0) 82 9005260 Frdric wrote: Le 29/11/2008, "Frdric" [EMAIL PROTECTED] a crit: I open a config dialog fr

Re: [pygtk] Notebook

2008-12-03 Thread Paul Malherbe
Hi The only way I managed to do this was by placing Buttons in the tags. Attached is a simple example. Hope this helps. Regards Paul Malherbe +27 (0) 21 6711866 +27 (0) 82 9005260 Frdric wrote: Le 3/12/2008, "Paul Malherbe" [EMAIL PROTECTED] a crit: Wh

Re: [pygtk] gtk.Table + Scrolledwindow with permanent headers?

2008-09-27 Thread Paul Malherbe
Hi Attached is a grid class I wrote which may help you. Regards Paul Laszlo Nagy wrote: I have a gtk.Table inside a scrolled window. I have many rows and columns in the Table. Each cell in the table contains a widget (typically a button, but not necessarily.) Some of the cells

[pygtk] Spreadsheet display type

2008-09-24 Thread Paul Malherbe
. Is this possible and if so some help would be appreciated. Regards Paul Malherbe ___ 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] Colors in calendar

2008-06-25 Thread Paul Malherbe
Hi You could play around with these widget methods e.g. font = pango.FontDescription("Sans 12") calendar.modify_font(font) base = gtk.gdk.color_parse("red") calendar.modify_base(gtk.STATE_NORMAL, base) Regards Paul Malherbe +27 (0) 21 6711866 +27 (0) 82

Re: [pygtk] Re: LCD-style display widget

2008-06-17 Thread Paul Malherbe
John Stowers wrote: On Tue, 2008-06-17 at 11:06 +0200, Frédéric Mantegazza wrote: On mardi 17 juin 2008, John Stowers wrote: bzr branch http://johnstowers.co.nz/bzr/pygtk-lcd-widget/ Many thanks, but I can't get the

Re: [pygtk] fullscreen trouble on windows

2008-04-09 Thread Paul Malherbe
I have the same problem. Under linux it works perfectly but under Wimdows XP and Windows 98 SE full screen leaves a gap at the top between the top of the screen and window. Regards, Paul Cubells wrote: En/na khiraly ha escrit: I have written a simple demonstration code[1], but

[pygtk] Notebook

2007-05-16 Thread Paul Malherbe
Hi Please, Can anyone tell me how to disable a Notebook tab. Thanks, Paul ___ 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] Win32 Buttons

2007-03-30 Thread Paul Malherbe
/29/07, Paul Malherbe [EMAIL PROTECTED] wrote: Hi Everyone I am having problems displaying buttons in win32. The code runs perfectly under linux and displays the Icon and Text in the button. Under windows however only the text displays. Text: win = gtk.Window() but = gtk.Button(stock=gtk-quit

[pygtk] Win32 Buttons

2007-03-29 Thread Paul Malherbe
using: python 2.4 Gtk+ Runtime Environment 2.6.10-rc1 pygtk-2.6.3 Is this a known problem or is there something else I need to do in windows? Thanks for any help! Paul Malherbe ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman

[pygtk] Tooltip on a TreeViewColumn Heading

2006-11-07 Thread Paul Malherbe
Hi All I am trying to put a tooltip on a column heading of a Treeview. Is this possible and if so could someone point me in the right direction. Thanks, Paul ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read

Re: [pygtk] Implementing command history with a gtk.Entry

2006-07-24 Thread Paul Malherbe
N. French wrote: I have a class that packs a gtk.Entry with a gtk.TextView to make an interactive console. Works great but I would like to add a command history; when the user presses up or down I want to go modify the entry's text to whatever I have stored in the history. My problem is: how

Re: [pygtk] faq 23.34 How can I use gtk.binding_entry_add

2006-06-25 Thread Paul Malherbe
Gustavo J. A. M. Carneiro wrote: Sex, 2006-06-23 às 09:25 +0200, Paul Malherbe escreveu: Hi all Please could someone help me with this problem. Why does the following script, as per the faq, work under linux but not under windows

[pygtk] faq 23.34 How can I use gtk.binding_entry_add

2006-06-23 Thread Paul Malherbe
, in ? win.connect(mywindo, exit) TypeError: unknown signal name I am using gtk+ 2.6.10 and pygtk-2.6.3 on windows 98 but have also tried it with xp. Thanks for any help. Paul Malherbe ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman

Re: [pygtk] Question about gtk.Entry

2006-04-25 Thread Paul Malherbe
[EMAIL PROTECTED] wrote: On 4/24/06, *Tony Nelson* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I just use entry.modify_fg( gtk.STATE_NORMAL, gtk.gdk.Color(0x, 0, 0) ). Also, modify_base does the background. Hi, Thank you for your answer Tony, these two functions

[pygtk] gtk.main()

2006-01-17 Thread Paul Malherbe
Hello I am currently using the following and I am sure it is not the correct way but it seems working. a = A-class() gtk.main() b = B-class() # Started within the A class gtk.main() gtk.main_quit()# end the B class c = C-class() # Started within the A class gtk.main()

Re: [pygtk] calling a program from a program

2005-11-09 Thread Paul Malherbe
nephish wrote: Hey there, i have a program that calls another program to execute on a button click. Its another pygtk app. And i am using the os.system('python /home/my/myprogram.py') to bring it up. It comes up ok, but when i close its window, the program that called it up is locked

Re: [pygtk] TextView

2005-07-05 Thread Paul Malherbe
Eric Jardim wrote: On 7/4/05, *Paul Malherbe* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: What I would like to do, when this occurs, is display a TextView widget directly under the Entry widget and display each character entered so that with the formatting facilities

[pygtk] TextView

2005-07-04 Thread Paul Malherbe
to achieve however I do not know how to position the TextView widget in the correct place i.e. directly under the entry widget. Is there any way of doing that e.g. like the autocompletion entry works. Thanks, any help would be appreciated. Paul Malherbe

Re: [pygtk] Modal Windows

2005-04-22 Thread Paul Malherbe
Paul Malherbe wrote: Hello Please can anyone help me? In the following test script I am creating windows which are transient and modal. If I destroy the last window and try to grab_focus on a widget on the next window it does not happen. I am obviously missing something! Some help would

[pygtk] Modal Windows

2005-04-20 Thread Paul Malherbe
Hello Please can anyone help me? In the following test script I am creating windows which are transient and modal. If I destroy the last window and try to grab_focus on a widget on the next window it does not happen. I am obviously missing something! Some help would be appreciated. import

Re: [pygtk] gtk.Notebook

2005-03-22 Thread Paul Malherbe
On Mon, 21 Mar 2005 23:01:55 +0200 (SAST), Paul Malherbe [EMAIL PROTECTED] wrote: I am writing a program using gtk.Notebook with about five pages. The question therefore is how can I selectively disallow access to these pages. hm, someone some weeks ago wanted to disable (deactivate) tabs

Re: [pygtk] gtk.Notebook

2005-03-22 Thread Paul Malherbe
On Tue, Mar 22, 2005 at 06:47:39PM +0200, Paul Malherbe wrote: The problem I have is that responses on one page of the notebook can determine which of the other pages should be accessed. Also I need the data to be entered in a logical sequence therefore I would like to disable access

[pygtk] gtk.Notebook

2005-03-21 Thread Paul Malherbe
Hi I need some help, please. I am writing a program using gtk.Notebook with about five pages. Depending on various conditions certain pages of the Notebook should not be available at certain times. The question therefore is how can I selectively disallow access to these pages. Thanks Paul

[pygtk] Focus Cycling

2005-03-01 Thread Paul Malherbe
Hello I posted a similar query earlier but I think I phrased it badly. What I am wanting to do is to disable the focus cycling facility of the TAB key. I do realise that I can use the unset_flags option to disable focus on a widget but this also disables explicit focus on that widget. I would

[pygtk] Tab Key

2005-02-26 Thread Paul Malherbe
Hi people I would please like to know if it is possible to globally disable the Tab key or any other key for that matter. Thanks Paul [EMAIL PROTECTED] ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the

[pygtk] Notebook

2005-01-03 Thread Paul Malherbe
Hi I wonder if anyone could assist me in the following. I need to selectively disable tags on a notebook i.e. the operator must not be able to select certain pages by clicking or otherwise selecting the tags. I have tried putting buttons on the tags and making then inactive however a border

Re: [pygtk] Notebook

2005-01-03 Thread Paul Malherbe
On Mon, Jan 03, 2005 at 03:12:52PM +0200, Paul Malherbe wrote: I wonder if anyone could assist me in the following. I need to selectively disable tags on a notebook i.e. the operator must not be able to select certain pages by clicking or otherwise selecting the tags. When something

[pygtk] ProgressBar

2004-12-19 Thread Paul Malherbe
Hi I would appreciate some help on the following problem I am experiencing. I am migrating a suite from Tkinter to PyGtk and cannot update a Progressbar within a loop e.g. import pygtk pygtk.require('2.0') import gtk class ProgressBar: def __init__(self, scrn, max): align =