Sponsored Content
The Lounge What is on Your Mind? New Icons Coming from Font Awesome Post 303020821 by RavinderSingh13 on Saturday 28th of July 2018 10:45:30 PM
Old 07-28-2018
Hello Neo,

Also can we make THANKS button looking like pressed already in case someone has given THANKS on a post(apologies if I am missing here something) but it doesn't look like that as of now. It can help if that looks like already pressed kind of thing.

Also can we have a THANKS icon while replying to a POST too, so that we could mention it on the header of post itself?

Thanks,
R. Singh
This User Gave Thanks to RavinderSingh13 For This Post:
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

redhat 7.2 icons on desktop

Hello all, Is there a way to change the behavior of the gnome desktop manager so that when your iconify a window it will be place on the desktop intead on on the task manager (gnome-panel)? It gets confusing having to loook throught the gnome-panle for the window I want when you have alot of... (1 Reply)
Discussion started by: larry
1 Replies

2. Post Here to Contact Site Administrators and Moderators

Dotted thread icons

Can you guys please enable the "dotted" icon option, so that the thread icon for a thread in which a user has posted in will appear with a dot in it? Thanks, Aaron (2 Replies)
Discussion started by: Spetnik
2 Replies

3. Solaris

How to get a second Icons - Window!

Hey everybody! I'd like to get a second Window for my program Icons, any Idea how to solve this problem?? :confused: thanks, Tom (3 Replies)
Discussion started by: TomStyria
3 Replies

4. Red Hat

Menu Icons for the Application

Hi All, I created an RPM for my application. After clicking the rpm, I managed to place the files in repective locations also I have "JServer" menus in the "Application" menu (The redhat one). But the problem is the icons are not appearing in that menu. I placed my icons/images in... (0 Replies)
Discussion started by: jw_amp
0 Replies

5. AIX

CDE: why no icons?

Why my cde show no icons? I have installed X11.Dt.ToolTalk 7.1.3.15 C F AIX CDE ToolTalk Support X11.Dt.adt 7.1.3.0 C F AIX CDE Application X11.Dt.bitmaps 7.1.0.0 C F AIX CDE Bitmaps X11.Dt.compat ... (8 Replies)
Discussion started by: Linusolaradm1
8 Replies

6. What is on Your Mind?

New Mobile Navbar Icons from Font Awesome

Just changed the mobile site to use Font Awesome icons. Here is the new top navbar view (unregistered users) https://www.unix.com/members/1-albums214-picture903.jpeg (2 Replies)
Discussion started by: Neo
2 Replies

7. Web Development

New Font Awesome Icons in Quick Reply Editor

Working on the Quick Reply Editor, I have replaced a number of icons (see image below) with Font Awesome Icons. Was planning to replace all of them, but for some reason, replacing a few of them causes the script / template to break (which is odd) so I left them for now. ... (6 Replies)
Discussion started by: Neo
6 Replies

8. What is on Your Mind?

Quick Update on UNIX.COM Site Renovation: Bootstrap, Font Awesome and jQuery

Here is an update on the site renovation: After a lot of analysis and example programming, including testing out a number of Javascript framework and libraries, in the short term, we are getting the most bang-for-the-buck from these three basic, core tech areas: Bootstrap (CSS and... (2 Replies)
Discussion started by: Neo
2 Replies
PMQUERY(1)						      General Commands Manual							PMQUERY(1)

NAME
pmconfirm, pmmessage, pmquery - general purpose dialog box SYNOPSIS
pmconfirm [-c] [-b button-name] [-B default-button-name] [-t string] [-file filename] [-icon icontype] [-font font] [-header titlebar- string] [-useslider] [-noslider] [-noframe] [-exclusive] pmmessage [-buttons label1[:value1][,label2[:value2][,...]]] [-center] [-nearmouse] [-default button] [-file filename] [-print] [-timeout sec] message... pmquery [-input] [all above options...] [message...] DESCRIPTION
pmquery provides a command-line-option compatible implementation of the xconfirm and xmessage tools, using a look-and-feel that is consis- tent with pmchart. Several extensions to the functionality of the original tools have been made, in order to improve their specific util- ity for pmchart, but wherever possible the original semantics remain. pmconfirm displays a line of text for each -t argument specified (or a file when the -file argument is used), and a button for each -b argument specified. When one of the buttons is pressed, the label of that button is written to pmquery's standard output. This provides a means of communication/feedback from within shell scripts and a means to display useful information to a user from an application. pmmessage displays a window containing a message from the command line, a file, or standard input. It additionally allows buttons to be associated with an exit status, and only optionally will write the label of the button to standard output. pmquery extends the above tools to additionally support limited user input, as free form text. In this -input mode, any text entered will be output when the default button is pressed. A default text can be entered using the same mechanisms as the other tools. Command line options are available to specify font style, frame style, modality and one of several different icons to be presented for tai- lored visual feedback to the user. -c or -center Center the window on the display. -nearmouse Pop up the window near the mouse cursor. -b button-name Displays a button with the label button-name. If button-name is the empty string, the button in that position is not displayed. If no -b arguments are present, the default is a button with the label Continue. The exit status associated with button-name is zero. -B button-name Displays a button with the label button-name and specifies it as the button to be activated when enter is pressed. The exit status associated with button-name is zero. -buttons button,button,... This option will create one button for each comma-separated button argument. Each button consists of a label optionally followed by a colon and an exit value. The exit value will be returned if that button is selected. The default exit value is 100 plus the button number. Buttons are numbered from the left starting with one. -default label Defines the button with a matching label to be the default. If not specified there is no default. The corresponding resource is defaultButton. Pressing Return anywhere in the xmessage window will activate the default button. The default button has a wider bor- der than the others. -t message Displays message. Any number of strings can be listed on the command line (each must be preceded with the -t option). -file filename Displays the file filename. All -t options will be ignored. A filename of `-' reads from standard input. -icon icontype Displays the icon icontype where icontype is one of: info, error, question, warning, critical. action is also accepted as a synonym for error for backward compatibility. pmquery introduces the additional archive and host icon types as well as the original xconfirm types listed earlier. -font fontname Use fontname as the font. This option is only available when using the X Window System. -header string Use string as the window title. -print This causes the program to write the label of the button pressed to standard output. It is the default behaviour for pmconfirm and pmquery. -noprint This causes the program to not write the label of the button pressed to standard output. It is the default behaviour for pmmessage. -geometry geometry-string This provides xconfirm with an X-compatible geometry string specification. This option is only available when using the X Window Sys- tem. -useslider When displaying a file, always use a slider instead of determining automatically whether a slider is necessary. -noslider Do not create a slider, and clip text to the window size, instead of determining automatically whether a slider is necessary.. -noframe Do not display a frame around the contents. -exclusive Grab the keyboard/pointer and do not allow further input until a button is pressed. -timeout secs Exit with status 0 after secs seconds if the user has not clicked on a button yet. The corresponding resource is timeout. EXAMPLES
The following shell script will display a window with an information icon, asking the user a yes or no question with "Yes" as the default. #! /bin/sh case `pmquery -t "Really power down?" -b No -B Yes -icon question in Yes) shutdown;; No) ;; esac A second example, which prompts for a hostname then starts a terminal with an ssh session connected to the requested host. #! /bin/sh host=`pmquery -input -icon host -b Cancel -B OK -header "Remote Terminal - Secure Shell" [ "$host" = "Cancel" -o -z "$host" ] && exit gnome-terminal -e "ssh $host" ENVIRONMENT
pmquery is an excellent choice of utility for the "PCP_XCONFIRM_PROG" Performance Co-Pilot configuration parameter (refer to pcp.conf(4) for details). Note that PCP_XCONFIRM_PROG will be automatically set to pmquery inside tools like pmchart, unless PCP_XCONFIRM_PROG is already set in the environment. EXIT STATUS
If it detects an error, pmquery always returns 1, so this value should not be associated with a button. Unless -button option has not been used, the return code will be zero on success. SEE ALSO
pmchart(1), xconfirm(1), xmessage(1), pcp.conf(4). Performance Co-Pilot PMQUERY(1)
All times are GMT -4. The time now is 06:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy