How do I best get a full display screen window using wxPython?
bumsfeld 413 Nearly a Posting Virtuoso
Recommended Answers
Jump to PostA simple way would be to use wx.DisplaySize() as the size tuple of your frame ...
import wx class Frame1(wx.Frame): def __init__(self): """ create a frame, size is full display size, wx.DisplaySize() gives width, height tuple of display screen """ wx.Frame.__init__(self, None, wx.ID_ANY, 'Full display size', pos=(0, …
Jump to PostOK nevermind I just discovered that the wxFrame class has a method called ShowFullScreen(True). This will expand the frame to fit over the entire window.
To be correct, there are some style options too ...
""" wx.Frame has a ShowFullScreen method strips all border decorations and buttons …
All 5 Replies
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
bumsfeld 413 Nearly a Posting Virtuoso
Matt1776 0 Newbie Poster
Matt1776 0 Newbie Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.