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 1 1397
On Thu, 11 Dec 2003 19:08:02 -0800 (PST), rumours say that black
<qu********@yah oo.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 statement in getTableCellEditorComponent, it never stops there
even though I edit cells in the table. Can anyone tell me what I am
missing. By the way, I have gotten TableCellRenderers to work with no
problems.
public class Frame1 extends...
|
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
Python, with the selected script. The latter activates the PythonWin
editor, with the selected script.
Since, most frequently, I wish to edit the script, or execute it with
the debugger, I tried changing the default to Edit, using the Edit File...
|
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 suit, so I am turning
to all you experts for help. What am I missing here? Other commands like
formatblock, fontsize and fontname all work fine, so I assume that it
has something to do with not getting the correct selection because of
the iframe....
|
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 bad, however, any of the other pages
selected have large spaces between paragraphs.
I know to compare different browers when building a website but what can
I suggest to him for PC/Mac problems.
|
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 trying to figure out what I am doing wrong.
Pointers are involved, and structures, and functions taking pointers as
parameters and returning pointers. It's one big pointer mess really.
| |
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 - it compiles and
runs fine, but the syntax color highlighting goes away. All formatting blows
up too and the editor no longer helps with indentations.
Needless to say this is frustrating.
If I recompile then color returns but as soon as I...
|
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 problems that I have
encountered to date and the solutions (if any) that I found.
http://users.adelphia.net/~brianpclab/ServerControlCollectionIssues.htm
This page also has all of the source code in a compressed file that you are
free to download...
|
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 code works correctly. If there
is no debugger it doesn't fire, which causes the app to have problems.
Here's what the code does: The TemplateData class inherits from the DataSet
Object, in the constructor it loads itself with Data from an XML...
|
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 seen erratic
results. I am aware of one known defect where user classes do not show up in
the list of types on the Property/Settings page in the visual designer and I
am wondering if I am encountering some other peculiar issue, or if there are...
|
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: 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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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.
| |