I'm a little confused. I was under the impression (perhaps incorrectly)
that Tkinter will create GUI widgets that are native to your OS, so I
should have an XPish looking application. But when I create buttons (and
even the text fields look a bit different), they are not the 'fancy'
Windows buttons that are rectangular with rounded edges and have a
blueish border around the active button, but instead are just square
buttons. Is this normal behavior? Why don't I get the XP type of
buttons, and is it possible to get them? 2 3853
John Salerno wrote: I'm a little confused. I was under the impression (perhaps incorrectly) that Tkinter will create GUI widgets that are native to your OS
only for some widgets; some native widgets are not flexible enough.
and even native widgets don't always look like XP widgets (windows uses
a rather obscure manifest XML resource file to control the look and feel
for a specific application).
to get better XP styling, you can use the Tile library: http://tkinter.unpythonic.net/wiki/UsingTile http://tktable.sourceforge.net/tile/...windowsxp.html
or an 8.5 development version (which, afaik, includes the Tile library).
</F>
Fredrik Lundh wrote: John Salerno wrote:
I'm a little confused. I was under the impression (perhaps incorrectly) that Tkinter will create GUI widgets that are native to your OS
only for some widgets; some native widgets are not flexible enough.
and even native widgets don't always look like XP widgets (windows uses a rather obscure manifest XML resource file to control the look and feel for a specific application).
to get better XP styling, you can use the Tile library:
http://tkinter.unpythonic.net/wiki/UsingTile
http://tktable.sourceforge.net/tile/...windowsxp.html
or an 8.5 development version (which, afaik, includes the Tile library).
</F>
Thanks for the suggestions. I definitely miss Visual Studio's drag and
drop GUI developer. But I definitely don't miss trying to figure out how
to write something in C#! :) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: BJörn Lindqvist |
last post by:
See: http://www.wxpython.org/quotes.php. especially:
"wxPython is the best and most mature cross-platform GUI toolkit,
given a number of constraints. The only reason wxPython isn't the
standard Python GUI toolkit is that Tkinter was there first." - Guido
van Rossum
Guess, that answers my question, but isn't "Tkinter was there first" a
very bad answer? :) It is kinda ugly too, so I wonder why it can't be
replaced? Or maybe another GUI...
|
by: Erik Johnson |
last post by:
I am looking for some input on GUI libraries. I want to build a
Python-driven GUI, but don't really understand the playing field very well.
I have generally heard good things about wxPython. I happen to already own
John Grayson's book about Tkinter programming, so that is rather handy if I
decide to use Tkinter. I have done some things slightly more involved than
"Hello World" in Tkinter - I have never used wxPython. So, basically the...
|
by: John Pote |
last post by:
I have a menu bar in a top level window as follows
menuBar = Menu(rootWin)
menuBar.add_command( label='Quit', command=rootWin.quit)
configMenu = Menu(menuBar, tearoff=0)
configMenu.add_command(label='Left Device Raw', command=setLeftRaw)
configMenu.add_command(label='Right Device Raw', command=setRightRaw)
etc
|
by: Kevin Walzer |
last post by:
I'm a Tcl/Tk developer who has been working, slowly, at learning Python,
in part because Python has better support for certain kinds of
applications that I want to develop than Tcl/Tk does. Naturally, I
thought that I would use Tkinter as the GUI for these programs. However,
in doing research into GUI development techniques, sample code, and
showcase applications, what has struck me is how little sophisticated
GUI development seems to be...
|
by: krishnakant Mane |
last post by:
hello all,
I seam to have noticed this a bit late but it appears to me that
tkinter is being used very widely for gui development on all platform?
is that right?
since fredric lundh has written a very good introduction to tkinter
(was that just an intro?), I have got keen interest to know the
following. may be fredric himself might put some light on these
points.
1. I seriously don't intend to start a flame war but does tkinter
stand...
| |
by: Ben Finney |
last post by:
Howdy all,
Python programmers looking for a built-in GUI toolkit are told two
things: one, Python already comes with a GUI toolkit, and two, it
looks equally ugly on all platforms. This is because the Tk widget
library, that Tkinter uses, defaults to looking like Motif, which
hasn't been the default widget set of *anything* for a long time.
The Tk folks are apparently getting their act together. Tile is a
"theming engine" for Tk with...
|
by: bg_ie |
last post by:
Hi,
I'm in the process of writing some code and noticed a strange problem
while doing so. I'm working with PythonWin 210 built for Python 2.5. I
noticed the problem for the last py file processed by this script,
where the concerned tmp file is only actually written to when
PythonWin is closed. In other words, after I run this script, one of
the generated tmp files has a size of 0kB. I then close PythonWin and
it is then written to.
|
by: Protected |
last post by:
Hello. I'm a complete newbie trying to learn Python. I decided to try
some Tkinter examples, including the one from the library reference,
but they don't seem to do anything! Shouldn't there be, like, a
dialog?
I'm running Windows XP and using IDLE. You can assume my version of
Python is the latest.
|
by: Kenneth McDonald |
last post by:
Any guesses as to how many people are still using Tkinter? And can
anyone direct me to good, current docs for Tkinter?
Thanks,
Ken
|
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...
|
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,...
| |
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...
|
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...
|
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,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |