472,972 Members | 2,411 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,972 software developers and data experts.

problems on GUI editor~

Howdy~
I am trying to code with a text editor, during that i got some problems and i hope anyone could supply any clue, they are laied right below:

1 how can we undo and redo action ? This command can be commonly located at Edit-Undo and Edit-Redo for most of editors.
2 can we communicate with clipboard of current system ?
3 i build a textfield by Text class of Tkinter module. i found some shortcut keys are automatically activated but they did not act as what i expected, how can i config or disable them ?
4 how can we customize a right-clicking menu ? i searched whole Tkinter but found no menu be available for right-clicking

one million thanx for any suggestion~

---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
Jul 18 '05 #1
1 1360
On Thu, 11 Dec 2003 19:08:02 -0800 (PST), rumours say that black
<qu********@yahoo.com> might have written:
Howdy~
I am trying to code with a text editor, during that i got some problems and i hope anyone could supply any clue, they are laied right below: 1 how can we undo and redo action ? This command can be commonly located at Edit-Undo and Edit-Redo for most of editors.
Are you trying to code WITH a text editor or are you trying to CODE a
text editor?
2 can we communicate with clipboard of current system ?
Yes, but the code is specific for every system (cause I haven't read
anything about a clipboard abstraction in Tkinter)
3 i build a textfield by Text class of Tkinter module. i found some shortcut keys are automatically activated but they did not act as what i expected, how can i config or disable them ?
Try using the .bind method of the Text widget to make them do what you
want.
4 how can we customize a right-clicking menu ? i searched whole Tkinter but found no menu be available for right-clicking
Hm, I can't remember something about this. Have you checked:

http://www.python.org/cgi-bin/moinmoin/GuiBooks

http://www.python.org/topics/tkinter/

?
one million thanx for any suggestion~


I don't have 999999 thanx in change :)
--
TZOTZIOY, I speak England very best,
Ils sont fous ces Redmontains! --Harddix
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: raysaun | last post by:
I am trying to set a TableCellEditor for a JTable, however, the editor never seems to get called. I can not even get a simplified version (below) to work. When I put a breakpoint on the return...
4
by: Colin J. Williams | last post by:
PythonWin has been my favourite IDE for quite a while. When one right clicks on a .py file in the Windows Explorer, among the options are Open and Edit. The former is the default and executes...
12
by: Justin Koivisto | last post by:
I am having a problem with Internet Explorer and javascript on a WYSIWYG editor I am creating. It all works in Mozilla, but IE returns flase for queryCommandEnabled('forecol'). JS isn't my strong...
19
by: Bill Davidson | last post by:
My wife's friend had a website built for his company, and it looks great using a PC. When viewed on a Mac using either Safari or Explorer the formatting is terrible. The home page is not too...
8
by: Magnus Malm | last post by:
Hello I am not quite sure if this is the right place to post this question, but I hope this group is one of the rare ones that forgive less wise ones like me. :) I have quite a hard time...
2
by: Rick Strahl [MVP] | last post by:
I seem to have problems when working with large Windows Forms files. What happens is that hte editor looses its syntax color highlighting and Intellisense capability on large files. The code works...
2
by: Brian | last post by:
NOTE ALSO POSTED IN microsoft.public.dotnet.framework.aspnet.buildingcontrols I have solved most of my Server Control Collection property issues. I wrote an HTML page that describes all of the...
0
by: Rick Hein | last post by:
I've got a problem with an app I've been working on, the Caching object and events not firing correctly. In a nutshell: When I'm debugging, and I set a breakpoint in the removed item call back, the...
11
by: =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= | last post by:
I have worked with application settings in VS2005 and C# for awhile, but usually with standard types. I have been trying to store a custom container/class/type in an application setting and I have...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.