Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > wxPython - question

Reply
Thread Tools

wxPython - question

 
 
Artur M. Piwko
Guest
Posts: n/a
 
      07-10-2003
How can I remove program entry from taskbar (not tray)?

Artur

--
Before the Goat of Mendes... we all must take our turn | Artur M. Piwko
Into the magic circle... where still the fire burns | mailto:s/_/./
We're spinning round and round... until one takes a fall | -- Mercyful Fate
The fallen one will not return, the fallen one must burn | "Witches' Dance"
 
Reply With Quote
 
 
 
 
Tom Plunket
Guest
Posts: n/a
 
      07-11-2003
Artur M. Piwko wrote:

> How can I remove program entry from taskbar (not tray)?


By reading the docs and using the right flags.

(I've been using wx for two weeks.)

in wxFrame:

wxFRAME_NO_TASKBAR - Creates an otherwise normal frame but it
does not appear in the taskbar under Windows (note that it
will minimize to the desktop window which may seem strange
to the users and thus it might be better to use this style
only without wxMINIMIZE_BOX style). Has no effect under
other platforms.

so-

from wxPython.wx import *

class MyFrame(wxFrame):
def __init__(self):
style = wxDEFAULT_FRAME_STYLE | wxFRAME_NO_TASKBAR

wxFrame.__init__(self, None, -1, "Taskbar?", style=style)

if __name__ == "__main__":
a = wxPySimpleApp()
w = MyFrame()
w.Show()
a.MainLoop()

-tom!
 
Reply With Quote
 
 
 
 
Artur M. Piwko
Guest
Posts: n/a
 
      07-11-2003
In the darkest hour on Thu, 10 Jul 2003 18:12:55 -0700,
Tom Plunket <> screamed:
> By reading the docs and using the right flags.
>
> (I've been using wx for two weeks.)
>


Me - 2 days (-;

> wxFRAME_NO_TASKBAR - Creates an otherwise normal frame but it
>


Thanks. I was looking for function and this is a style...
I am fighting right now with setting/resetting this flag on live frame.

Artur

--
Before the Goat of Mendes... we all must take our turn | Artur M. Piwko
Into the magic circle... where still the fire burns | mailto:s/_/./
We're spinning round and round... until one takes a fall | -- Mercyful Fate
The fallen one will not return, the fallen one must burn | "Witches' Dance"
 
Reply With Quote
 
David C. Fox
Guest
Posts: n/a
 
      07-12-2003
Artur M. Piwko wrote:
> In the darkest hour on Thu, 10 Jul 2003 18:12:55 -0700,
> Tom Plunket <> screamed:
>
>>By reading the docs and using the right flags.
>>
>>(I've been using wx for two weeks.)
>>

>
>
> Me - 2 days (-;
>
>
>>wxFRAME_NO_TASKBAR - Creates an otherwise normal frame but it
>>

>
>
> Thanks. I was looking for function and this is a style...
> I am fighting right now with setting/resetting this flag on live frame.
>
> Artur
>


I don't know about this one in particular, but there are very few styles
which can be reset after the window is created. You might consider
creating a new frame with the appropriate style when you want to switch
to a different style.

David

 
Reply With Quote
 
Tim Roberts
Guest
Posts: n/a
 
      07-13-2003
"Artur M. Piwko" <pipen@beast_tu_kielce.pl> wrote:

>How can I remove program entry from taskbar (not tray)?


PLEASE resist the temptation to built Yet Another Tray Application. Win32
programmers seem to use the tray icons as a sign of their guruness, and
every one of them seems to think that his application is so studly that it
must occupy permanent real estate on my desktop. I've seen some trays that
bloat to 20 or 30 icons.

Don't do it. Your application just isn't that important. If you need to
notify me of something, I find nothing wrong with a good old-fashioned
dialog box.
--
- Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
Tim Roberts
Guest
Posts: n/a
 
      07-15-2003
"Artur M. Piwko" <pipen@beast_tu_kielce.pl> wrote:
>
>In the darkest hour on Sat, 12 Jul 2003 21:55:39 -0700,
>Tim Roberts <> screamed:
>
>>>How can I remove program entry from taskbar (not tray)?

>>
>> PLEASE resist the temptation to built Yet Another Tray Application. Win32
>> programmers seem to use the tray icons as a sign of their guruness, and
>> every one of them seems to think that his application is so studly that it
>> must occupy permanent real estate on my desktop. I've seen some trays that
>> bloat to 20 or 30 icons.
>>
>> Don't do it. Your application just isn't that important. If you need to
>> notify me of something, I find nothing wrong with a good old-fashioned
>> dialog box.

>
>I am writing Jabber/others messenger. In this case, tray icon is not a sign of
>guruness, but user friendliness.


I disagree. That is strictly a matter of opinion.

Now, a tray icon that does not exist until some actionable event occurs is
probably a very natural UI, but the same thing could be achieved by
plopping up a dialog box. Even if I am running your messenger, yours is
not the only application I'm running by a long shot.
--
- Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
Artur M. Piwko
Guest
Posts: n/a
 
      07-15-2003
In the darkest hour on Mon, 14 Jul 2003 22:13:20 -0700,
Tim Roberts <> screamed:
>>I am writing Jabber/others messenger. In this case, tray icon is not a sign of
>>guruness, but user friendliness.

>
> I disagree. That is strictly a matter of opinion.
>
> Now, a tray icon that does not exist until some actionable event occurs is
> probably a very natural UI, but the same thing could be achieved by
> plopping up a dialog box. Even if I am running your messenger, yours is
> not the only application I'm running by a long shot.
>


And all this is the matter of user configuration.

Artur

--
Before the Goat of Mendes... we all must take our turn | Artur M. Piwko
Into the magic circle... where still the fire burns | mailto:s/_/./
We're spinning round and round... until one takes a fall | -- Mercyful Fate
The fallen one will not return, the fallen one must burn | "Witches' Dance"
 
Reply With Quote
 
Tom Plunket
Guest
Posts: n/a
 
      07-15-2003
JanC wrote:

> > but the same thing could be achieved by plopping up a dialog box.

>
> That's why almost everybody is using a pop-up stopper these days.


Heh no doubt. I love nothing more than furiously coding away on
something, a dialog pops up from somewhere, and the next <space>
that I type dismisses the dialog before I even notice it on
screen.

-tom!

--
There's really no reason to send a copy of your
followup to my email address, so please don't.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[wxPython-users] ANNOUNCE: wxPython 2.6.3.0 Robin Dunn Python 0 03-28-2006 06:03 PM
[wxPython-users] Web based applications are possible with wxPython? Ruben Charles Python 6 10-25-2005 09:41 PM
wxPython - wx package (new style wxPython?) Logan Python 5 12-11-2003 04:12 PM
[PY GUI] interest function in python GUI(wxpython,pyqt) program.wxpython,pyqt ulysses Python 4 10-22-2003 03:28 PM
wxPython looses function "wxPython.wx.miscc" Anand Python 1 07-23-2003 01:59 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57