Questions tagged [shaped-window]

windows with a shape other than the standard rectangle, often used for splash screens and desktop widgets

14 questions
6
votes
2 answers

What is the simplest way to create a shaped window in wxPython?

I'd like to create a simple shaped window in wxPython. More or less I want to do the wx equivalent to Tkinter's self.overrideredirect(1) (It get's rid of the default OS boarder), then round the corners on the window.
rectangletangle
  • 50,393
  • 94
  • 205
  • 275
4
votes
2 answers

Capturing mouse events outside wx.Frame in Python

In Python using wxPython, how can I set the transparency and size of a window based on the proximity of the mouse relative to the application's window, or frame? Eg. similar to a hyperbolic zoom, or The Dock in MAC OS X? I am trying to achieve this…
Edan
  • 593
  • 1
  • 8
  • 23
4
votes
3 answers

wxWidgets custom window shape (PNG)

I'm using wxPython bindings for wxWidgets. Is it possible to create custom-shaped window from PNG image and in count alpha-channel? Take a look at VS2010 splash screen to see what I mean: Highlighted zones (rounded corner and shadow) are not sharp,…
Frantic
  • 1,179
  • 11
  • 25
4
votes
3 answers

Java Shaped window with Outline

I'm successfully rendering a polygon shaped window. However, I would like to outline it with a thin stroke. Is it possible to outline a shaped window in Java? Here's my working code, I'm using the componentResized method to set the shape for the…
aubreybourke
  • 439
  • 1
  • 5
  • 17
3
votes
0 answers

Why does a transparent window flicker on repaint

I'm trying to make an anti-aliased shaped window (circle) in the same fashion as this answer, but that one suffers from the same issue: when repainting, as soon as paintComponent is called, the window disappears, to re-appear after the call…
Mark Jeronimus
  • 9,278
  • 3
  • 37
  • 50
3
votes
1 answer

Desktop graphics - or "skinned" windows

I'm looking for a way to draw animations right on the desktop. No window frames and with transparent background. I'm using Python in windows XP for it, but it doesn't have to be cross platform, although it'd be a nice bonus. Does anyone know about a…
Zoomulator
  • 20,774
  • 7
  • 28
  • 32
2
votes
3 answers

How to draw a transparent frame in wxpython

UPDATE I completely rephrased the question I want to create a window with round corners, that's also semi-transparent. I managed to make a frame semi-transparent by calling the SetTransparent( alpha ) method, however, I still don't know how to make…
hasen
  • 161,647
  • 65
  • 194
  • 231
2
votes
2 answers

changing the shape of jframe

I don't know whether it is possible or not.Is there any way to change the shape of jframe into circle
V I J E S H
  • 7,464
  • 10
  • 29
  • 37
1
vote
1 answer

Window-overflowing widget in wxWidgets

I'm looking for a way to implement this design in wxPython on Linux... I have a toolbar with a button, when the button is pressed a popup should appear, mimicking an extension of the toolbar (like a menu), and this popup should show two columns of…
Joril
  • 19,961
  • 13
  • 71
  • 88
1
vote
4 answers

Why is this code not accepting this png images transparency?

I've isolated the cause of the problem to be the image, since the code seems to work with other png images with transparency. However, it doesn't seem to work with the one image I need it to. This would be of great help seeing as I'm trying to make…
rectangletangle
  • 50,393
  • 94
  • 205
  • 275
1
vote
3 answers

L shaped java application window

I want to create a java application that is the shape of an "L" so that the application only occupies the left and bottom borders of the screen. I also do not want the normal borders and title bar at the top. I've seen other people creating…
asawilliams
  • 2,908
  • 2
  • 30
  • 54
0
votes
1 answer

How to use wxshaped window and png with transparency in Python 3?

Edit: Found out how to place a transparent wxPanel on my shaped frame, but now ı try to put a wxGridBagSizer on the wxPanel with some widgets in it but only the first widget will appear...Any ideas? Original question : Well I'm trying to make a…
Garbez François
  • 327
  • 3
  • 13
0
votes
1 answer

Delphi TRichEdit Set background shape as rounded edge rectangle

My problem is to set the background shape to something like rounded edge rectangle. The fact that when you put background color on the text on TRichedit, the background shape would be a rectangle, not rounded edge. I would like to put some sample…
junmats
  • 1,894
  • 2
  • 23
  • 36
-1
votes
1 answer

background color not changing in circular application

I'm playing around with visual controls and colors in a simple background color changing program I've written. I also wanted to incorporate the circular application window, which I did by creating a bitmap of a solid circle surrounded by black and…
Delete Me
  • 31
  • 2
  • 12