473,659 Members | 2,632 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

doing standart window icons unvisible in python

Hi!
I want to do close-minimize icons unvisible in python.How can I do
this?I want to do this especially for printing.
And is it possible to provide .exe file for any program in python or
only we can change the file as .pyw?

Apr 2 '07 #1
4 1305
gslm wrote:
Hi!
I want to do close-minimize icons unvisible in python.How can I do
this?I want to do this especially for printing.
And is it possible to provide .exe file for any program in python or
only we can change the file as .pyw?
I don't understand what you mean by close-minimize icons unvisible, but
I can answer the .exe question. Take a look at py2exe which allows
you to bundle up python program as .exe for distribution. You can
see it a www.py2exe.org.

-Larry
Apr 2 '07 #2
gslm wrote:
Hi!
I want to do close-minimize icons unvisible in python.How can I do
this?I want to do this especially for printing.
And is it possible to provide .exe file for any program in python or
only we can change the file as .pyw?
I *think* -- and it's a bit hard to tell from your
description -- that you want to print the client
area of a window, and not the non-client area
(which includes the max/min/close buttons).

A lot depends on whether it's your window or
someone else's. If it's yours, then you have some
control over the styling and do at least have the
window handle available to you. If it's someone
else's, you have to employ some fairly dark magic
to do what I think you want.

Depending on what you're after, you might find
the PIL ImageGrab module at least a useful tool:

http://www.pythonware.com/library/pi.../imagegrab.htm

But could you be more precise as to what you're
trying to do?

TJG
Apr 3 '07 #3
Only I want to print my application's view without these icons,ok.
Thanks.

Apr 3 '07 #4
On 3 Nisan, 21:41, "gslm" <slm_gu...@hotm ail.comwrote:
Only I want to print my application's view without these icons,ok.
Thanks.
And is it possible to provide .exe file for any program in python or
only we can change the file as .pyw?

Can you answer this question, too?
Regards...

Apr 3 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3569
by: Jörg Maier | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hy, i want remote ls via shh from a windows machine. after starting the command via # stdoutssh = os.popen('/path/to/ssh.exe user@host ls -al ~' -+' 2>&1', 'r') i have the possibility to watch the standart output in the pipe, but i cant give the password. when giving 'w' as second parameter, i just can write, but not read. ssh is installed by cygwin. i dont want to use ssh-keys,
3
2909
by: Michael Shestero | last post by:
Hello. I have three question about ofstream and ifstream. 1. I have a function that writes some text-output into ofstream. The reference to that ofstream it got as a parameter. I have no access to source code of it. I need redirect the output to somehing, for example to a CEdit control. 2. I have a function that writes some text into cerr (stderr). No
1
1739
by: Michael Shestero | last post by:
Hello. General description of my knotty problem: I have a code (a function f) on standart C++ that perform some smart action. This code works as console application getting user input from fstream and putting output to another fstream. So, I can make easy console-application with void main(void) { f(&cin, &cout); }. This function f(...) works well. but it is very complex and it uses 'in' and 'out' in many places. It also sends them in...
1
4440
by: Winston | last post by:
when i use tabcontrol,i find that there is no property for the tabpage to visible or unvisible.i want make tabpage1 to visible but tabpage2 to unvisible,but beacause there some progress need controls on tabpage2,so i can remove tabpage2,i just want to make it unvisible.how can i make that? thanks
3
2397
by: Istvan Albert | last post by:
I've been using the new python icons for windows for about two weeks now and I must say they've turned out to be far less functional than I thought. From purely visual standpoint the new icons look better, the old ones had a certain level of 'cuteness' associated to them .. I could see why that might have been a turnoff for some. But these new icons are too large, too blocky and too pastel. On my laptop time and again I found myself...
2
1933
by: asif | last post by:
When I add a USB key, system tray icon on Windows XP shows USB icon. It also shows icon that can be used to "Safely Remove Hardware". I would like to use this icon in one of my Visual C++ application. All I could find is that I can use LoadStandardIcon() call in Windows to expose very few Standard icons, which includes default application icon, information icon, warning icon, error icon, question mark icon and exclamation point icon. ...
2
4403
by: Rainer Queck | last post by:
Hello NG, what are the right dimensions for a window icon, used on a mdi child window? My Problem: I used a third party Icon-Designer to design some icons for my application. Those icons look ok on a mdi child as long as it is not maximize. As soon as I maximize the window, the Icon is placed into the menu bar (I assum the is normal) but its size is aproximatly 3 times bigger.
5
2120
by: Alexnb | last post by:
Hello I am sure most of you are familiar with py2exe. I am having a bit of a problem. See the program has a few pictures involved and the .ico it uses for the windows. However, the pictures are stored in the same directory as the source, something like: C:\Docs and settings\me\My docs\python\program. When I run the program for the interpreter, just as a .py, everything works just as it should. However, when I compile the main source as...
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8341
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8751
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8539
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4176
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1982
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.