Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103404

setting the font of the root title

Newsgroups comp.lang.python
Date 2016-02-23 08:30 -0800
Message-ID <fb4cd61f-8267-4f13-9823-16a6d494c663@googlegroups.com> (permalink)
Subject setting the font of the root title
From kevind0718@gmail.com

Show all headers | View raw


Hello:

Newbee here.

I need to change the font of the title of the root.
Actually I just need it to be larger, which means I may need the 
top boarder to be larger.

I wrote the bit of code below, hoping for the desired effect.
Also googled around regarding the toplevel widget
No luck.

Your kind assistance is requested.


from  Tkinter   import * 
import tkFont

root = Tk( )
root.option_add("*font, ", "Times 16")
root.title("Database Logon Info")
w = Label(root, text="Hello World")

w.pack()

root.mainloop()

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

setting the font of the root title kevind0718@gmail.com - 2016-02-23 08:30 -0800
  Re: setting the font of the root title Random832 <random832@fastmail.com> - 2016-02-23 11:45 -0500

csiph-web