Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Search found 2 matches

by JohnieBraaf
Tue Aug 02, 2011 6:07 pm
Forum: General Support
Topic: Clear log - python command?
Replies: 2
Views: 1280

Re: Clear log - python command?

Without having to much knowledge of the internal working of EventGhost, I assume that OnCmdClearLog() is a private method of the LogCtrl class.


def OnCmdClearLog(self, dummyEvent=None):
self.SetItemCount(0)
self.DeleteAllItems()
self.data.clear()
eg.log.data.clear()
self.ScrollList(0 ...
by JohnieBraaf
Thu Jul 28, 2011 11:58 pm
Forum: General Support
Topic: Clear log - python command?
Replies: 2
Views: 1280

Clear log - python command?

Hi,

I'm trying to clear the log from python.

The best I can come up with:

Code: Select all

eg.log.data.clear()
eg.MainFrame.LogCtrl.OnCmdClearLog()
but it tells me that there is no LogCtrl attribute :?:

Regards