I was playing with wxpython Demo and wanted to go on playing with Rich Text.
I found this:

self.MakeMenuBar()
self.MakeToolBar()

when I tried to make my own editor and call those two methods I get error.
Can some one help me to explain out those two methods and their uses?
I use:

import wx
import  wx.RichText as rtc

Recommended Answers

All 2 Replies

Look through the Demo for those two functions. These each make the respective element.

I didn't knew they are stated function, I thought they were built in. I will scan through demo again and come back with what I'll see.

Thanks alot

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.