Results 1 to 2 of 2

Thread: Tell the window manager to skip the taskbar (launcher)

  1. #1
    Join Date
    Aug 2013
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Android

    Default Re: Tell the window manager to skip the taskbar (launcher)

    Hello,

    I hope somebody knows how to do this:

    I want to hide the application icon of my running program from the unity launcher.
    First off: with gtk there is the setting "window.set_property("skip-taskbar-hint", True)" that easily achieves this.
    It asks the window manager to do this and it works (Ubuntu 13.04).
    As of course the window manager is still the same if my program uses Qt (PyQt4), there must be a way to ask the window manager for the same hint.
    Searching, posting and googling haven't brought any results yet, so I thought I'd be best to directly ask @QtCentre.org where I assume the most informed people to this topic!

    And is there a way to see how exactly the call of the hint in gtk works? I don't mean the documentation (syntax), but how it works deep in code. Perhaps then I could transcribe it...

    Please, if you have any clue, please write it down!

    Greetings, turtle


    Added after 32 minutes:


    OH man I don't know how I found out now, very surprisingly, spend DAYS to figure it out.
    I may be a different way, not sure if this is the äquivalent to gkt's skip-taskbar-hint, but the result is the same!!

    setWindowFlags(QtCore.Qt.SplashScreen)!

    In comparison, if I want to achieve that in Windows(XP,7) if have to set QtCore.Qt.Tool! But that makes nothing under Ubuntu!

    I'm so glad I figured it out... hope it doesn't turn out as a "just-for-the-moment"-solution and keeps working!

    Greetings, turtle
    Last edited by turtle; 6th August 2013 at 21:47.

  2. #2
    Join Date
    Aug 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Tell the window manager to skip the taskbar (launcher)

    You are my hero buddy
    Thank you

Similar Threads

  1. How to minimize a window to the taskbar
    By mooreaa in forum Qt Programming
    Replies: 2
    Last Post: 14th April 2011, 03:24
  2. Hiding a window from the taskbar
    By andyp in forum Qt Programming
    Replies: 1
    Last Post: 16th August 2009, 19:34
  3. Changing window states breaks window manager
    By sebastian.f in forum Newbie
    Replies: 3
    Last Post: 30th June 2009, 15:40
  4. Antico Window Manager
    By peppino in forum Qt-based Software
    Replies: 2
    Last Post: 25th November 2008, 20:31
  5. Parentless window with no taskbar entry
    By durbrak in forum Qt Programming
    Replies: 6
    Last Post: 14th December 2006, 14:46

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.