Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators Alternative button for code tags Post 302719843 by Neo on Tuesday 23rd of October 2012 09:09:57 AM
Old 10-23-2012
Here are three I just found doing a quick Google image search for "source" and also "code" limiting size to 32 x 32 pixels ....
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script for using the Back button and the Close button

Here's a question I have for anyone that might be able to help me: I can write a html script that will allow the user to return to the previous page using the back button, and I can write a script that will allow the user to return to the previous page using the close button, but...is there a... (1 Reply)
Discussion started by: mdgibson
1 Replies

2. Shell Programming and Scripting

need help with html button

Hello everyone, I am trying to implement an html button that will call a script and pass two arguments "perl script.pl website.com 1" this is for a search results page on a php spider called "sphider". the variable $url? is the url and Than needs to be one of the arguments in calling the script.... (0 Replies)
Discussion started by: mike171562
0 Replies

3. Solaris

Mouse button bindings

Hello, On one of our Solaris machines the user has managed to destroy his mouse key bindings. Usally if he clicks the middle button it presents some applications but now it just minimises the CDE panel to the top. I have compared his /usr/dt/config/C/sys.dtwmrc with another machine that is... (0 Replies)
Discussion started by: Mr Pink
0 Replies

4. UNIX for Advanced & Expert Users

Finding alternative code

Hi Sir's I've the below piece of code has the following functionalities: 1) Read the "pcp" file and create Job related parameter file "$PARMFILE". $PARMFILE has below variables: AFTD2010 "FILE_TYPE_D=Y export FILE_TYPE_D" AFTD2010 "FILE_TYPE_I=N export FILE_TYPE_I" AFTD2010... (0 Replies)
Discussion started by: Lokesha
0 Replies

5. UNIX for Dummies Questions & Answers

Changing middle mouse button for pasting to right mouse button in cygwin rxvt

Hi, I'm using rxvt in Cygwin and I'm wondering how to change my mouse bindings from the middle button for pasting to the right button. The main reason why I want to do this is because my laptop doesn't have a middle mouse button. Thanks for any help! (2 Replies)
Discussion started by: sayeo
2 Replies

6. UNIX for Dummies Questions & Answers

to know about press button command

Please help me with this ........... Suppose i have made a database of 25 people and want to make the user select any number of people till he wishes and then press a button to stop the process (of selecting) what coding should be followed by me ...........:confused::confused: (1 Reply)
Discussion started by: doctor001
1 Replies

7. Programming

Curl alternative for python code

Need to run this api command via curl, the python code works without any problems , but we want the same to be run as curl command import requests params = {'username': 'testuser'} params = 'c3NhbmthMDJjsd' params = 'test' params = 'guide' params = '192.168.0.37' params =... (2 Replies)
Discussion started by: iron_michael86
2 Replies

8. Post Here to Contact Site Administrators and Moderators

New Thread Button

Where do I find the New Thread Button so I can post a message to get some help in an issue I am having ? (2 Replies)
Discussion started by: kstalder
2 Replies

9. What is on Your Mind?

New Login Button for UNIX.COM

Hey, Have changed the login from a legacy form on the upper right to a JS popup (which I originally wrote for mobile); by clicking on the person looking icon on the upper right. I have tested and it seems to work fine (has been working on mobile for quite some time); but I may tweek the... (14 Replies)
Discussion started by: Neo
14 Replies

10. What is on Your Mind?

New CODE and ICODE Editor Button Icons

As promised, I have changed the CODE tag icon and the ICODE tag icon in our WYSIWYG editors to use Font Awesome. CODE Tag = fa-code ICODE Tag = fa-terminal https://www.unix.com/members/1-albums215-picture966.png The reason for this change is to continue our move toward Font Awesome... (4 Replies)
Discussion started by: Neo
4 Replies
bindtags(n)						       Tk Built-In Commands						       bindtags(n)

__________________________________________________________________________________________________________________________________________________

NAME
bindtags - Determine which bindings apply to a window, and order of evaluation SYNOPSIS
bindtags window ?tagList? _________________________________________________________________ DESCRIPTION
When a binding is created with the bind command, it is associated either with a particular window such as .a.b.c, a class name such as But- ton, the keyword all, or any other string. All of these forms are called binding tags. Each window contains a list of binding tags that determine how events are processed for the window. When an event occurs in a window, it is applied to each of the window's tags in order: for each tag, the most specific binding that matches the given tag and event is executed. See the bind command for more information on the matching process. By default, each window has four binding tags consisting of the name of the window, the window's class name, the name of the window's near- est toplevel ancestor, and all, in that order. Toplevel windows have only three tags by default, since the toplevel name is the same as that of the window. The bindtags command allows the binding tags for a window to be read and modified. If bindtags is invoked with only one argument, then the current set of binding tags for window is returned as a list. If the tagList argu- ment is specified to bindtags, then it must be a proper list; the tags for window are changed to the elements of the list. The elements of tagList may be arbitrary strings; however, any tag starting with a dot is treated as the name of a window; if no window by that name exists at the time an event is processed, then the tag is ignored for that event. The order of the elements in tagList determines the order in which binding scripts are executed in response to events. For example, the command bindtags .b {all . Button .b} reverses the order in which binding scripts will be evaluated for a button named .b so that all bindings are invoked first, following by bindings for .b's toplevel ("."), followed by class bindings, followed by bindings for .b. If tagList is an empty list then the binding tags for window are returned to the default state described above. The bindtags command may be used to introduce arbitrary additional binding tags for a window, or to remove standard tags. For example, the command bindtags .b {.b TrickyButton . all} replaces the Button tag for .b with TrickyButton. This means that the default widget bindings for buttons, which are associated with the Button tag, will no longer apply to .b, but any bindings associated with TrickyButton (perhaps some new button behavior) will apply. EXAMPLE
If you have a set of nested frame widgets and you want events sent to a button widget to also be delivered to all the widgets up to the current toplevel (in contrast to Tk's default behavior, where events are not delivered to those intermediate windows) to make it easier to have accelerators that are only active for part of a window, you could use a helper procedure like this to help set things up: proc setupBindtagsForTreeDelivery {widget} { set tags [list $widget [winfo class $widget]] set w $widget set t [winfo toplevel $w] while {$w ne $t} { set w [winfo parent $w] lappend tags $w } lappend tags all bindtags $widget $tags } SEE ALSO
bind(n) KEYWORDS
binding, event, tag Tk 4.0 bindtags(n)
All times are GMT -4. The time now is 03:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy