[pygtk] I m getting DeprecationWarning for gtk.gdk.INTERP_BILINEAR

2005-06-21 Thread Mahmad Sadique Hannure
Hi to all, I want to simply scale a image. I m using Python2.4.3,Pygtk 2.0. I hd scale my image by using function scale_simple(width,height,gtk.gdk.INTERP_BILINEAR) I m getting DeprecationWarning:DeprecationWarning: integer argument expected, got float scale_simple(width,height,gt

[pygtk] How I can quit main loop by pressing key(Esc).

2005-06-20 Thread Mahmad Sadique Hannure
Hi to all, I am using a window which is fullscreen and I want to quit when user press a key Esc.How can I achive this. Help me. Thank You. regards, Mohmad Sadique __ Discover Yahoo! Use Yahoo! to plan a weekend, have fun online and more. Check

[pygtk] I m getting error on Windows

2005-06-18 Thread Mahmad Sadique Hannure
Hi to all, I have installed python2.4,Pygtk 2.6 and GTK 2.6 on WindowsXP. When I am trying to executing a well executable progrm which is running on all distribution of Linux getting error import gtk File "C:\python24\lib\site-packages\gtk-2.0\gtk\__init__.py"line 33,in?

[pygtk] slide shows

2005-06-14 Thread Mahmad Sadique Hannure
Hi to all, Is anybody know how to do slide show in PyGTK. Please help me. Thank You. regards, Mohmad Sadique. __ Discover Yahoo! Use Yahoo! to plan a weekend, have fun online and more. Check it out! http://discover.yahoo.com/

[pygtk] Re: Best way to build in Printing support for Win32 and Linux

2005-06-14 Thread Mahmad Sadique Hannure
Actually I don't found any support to print from pygtk. Currently we have completed printing module by using CUPS and XPP library from third party. regards, Mohmad Sadique __ Discover Yahoo! Find restaurants, movies, travel and more fun for the

[pygtk] How can I go for Localization?

2005-06-12 Thread Mahmad Sadique Hannure
Hi to all, I am searching for localization with pygtk.Currently I m using Glage2 ,PyGTK 2.0 and python2.3.4. I want to make an editor which support Local Langauge (Marathi(India)).I am using glade for creating GUI. I came to know about PyGTK faqs but for it so defficult to understand. Can any body

[pygtk] how can I get signal text is selected to enable copy button of toolbar

2005-06-03 Thread Mahmad Sadique Hannure
Hello to all, I am a fresher to pygtk and creating an application like Notepad. I am finding defficulty in how to enable or disable copy button of toolbar when user select some text. Please help me Thank You regards, Mahmad Sadique _

[pygtk] How can I deal with printer?

2005-05-04 Thread Mahmad Sadique Hannure
I want to print a report(Document) of textView which contains text and images, so how can do this? If anybody knows solution for the same please help me. Thank You. regard, Mahmad Sadique. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best

[pygtk] How can I give real threading effect?

2005-05-03 Thread Mahmad Sadique Hannure
I working with Audio, So I am developed a dialog box and given 3(play, stop, pause) buttons when i press play button it will play an mp3 file, but other button are not worked till mp3 song will not complete. So I used threading.Thread module in such way class MyPlay(thearding.Thread): def

[pygtk] how can I make an executable file of python file

2005-05-01 Thread Mahmad Sadique Hannure
I want to make an executable like .exe file of windows on linux plateform, Like by double clicking my application should be start. So if any one have any idea please help me Thank You __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam

[pygtk] How can I create hyperlink on a Dialog Box

2005-04-29 Thread Mahmad Sadique Hannure
I am working on a module called Report Bugs which requires a hyperlink which open our web site in default browser. I am able to implement effect looks like a hyperlink by using Pango Markup language as like label.set_text("" +[PROTECTED WEB SITE] + ") label.set_use_markup(True) So if any one kno