Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators Alternative button for code tags Post 302719759 by Neo on Tuesday 23rd of October 2012 05:13:44 AM
Old 10-23-2012
Honestly, I don't think the button makes much difference. If we had a button that said "NO HW", people would still post homework. Buttons and icon designs are useful, but they cannot compensate for posters who are not familiar nor interested in forum rules and etiquette.

The current button says "CODE" and is quite easy to read, and is a standard in many forums (attached). On the other hand, if there is a better one or more, that's great.

If you have one (or more) you like better, please reply and attach it (or them) and we'll certainly consider them. We could even have a vote...
 

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
glutTabletButtonFunc(3GLUT)					       GLUT					       glutTabletButtonFunc(3GLUT)

NAME
glutTabletButtonFunc - sets the special keyboard callback for the current window. SYNTAX
#include <GLUT/glut.h> void glutTabletButtonFunc(void (*func)(int button, int state, int x, int y)); ARGUMENTS
func The new tablet button callback function. DESCRIPTION
glutTabletButtonFunc sets the tablet button callback for the current window. The tablet button callback for a window is called when the window has tablet input focus (normally, when the mouse is in the window) and the user generates tablet button presses. The button parame- ter will be the button number (starting at one). The number of available tablet buttons can be determined with glutDe- viceGet(GLUT_NUM_TABLET_BUTTONS). The state is either GLUT_UP or GLUT_DOWN indicating whether the callback was due to a release or press respectively. The x and y callback parameters indicate the window relative coordinates when the tablet button state changed. Registering a tablet button callback when a tablet device is not available is ineffectual and not an error. In this case, no tablet button callbacks will be generated. Passing NULL to glutTabletButtonFunc disables the generation of tablet button callbacks. When a new window is created, no tablet button callback is initially registered. SEE ALSO
glutTabletMotionFunc, glutDeviceGet, glutMotionFunc, glutSpaceballMotionFunc AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutTabletButtonFunc(3GLUT)
All times are GMT -4. The time now is 03:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy