Sponsored Content
The Lounge What is on Your Mind? New Experimental Attachment Uploader / Manager in Advanced Editor Post 303027452 by Neo on Sunday 16th of December 2018 02:35:38 AM
Old 12-16-2018
New Experimental Attachment Uploader / Manager in Advanced Editor

I have made the experimental Bootstrap attachment manager (modal) available to everyone. It's basically the same thing as the paperclip attachment icon, but this window opens as a Bootstrap modal versus a popup page. The downside of using the modal is that to see the attachments in the editor window before posting, you will need to "preview post" to refresh the page. Other than that caveat, it works the same, but cleaner as a modal.

Image

Image
These 2 Users Gave Thanks to Neo For This Post:
 

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

2. Web Development

Bootstrap Changes to Advanced Editor and Attachments Form

I changed the CSS and Javascript in the "Advanced Editor" to clean it up. This is also the editor seen in "New Thread" and "New Reply". Basically I got rid of the mouseover style changes which were messed up due to vB legacy JS code from a decade ago. While doing this change, I then completed... (8 Replies)
Discussion started by: Neo
8 Replies
XtAddGrab(3)							   XT FUNCTIONS 						      XtAddGrab(3)

NAME
XtAddGrab, XtRemoveGrab - redirect user input to a modal widget SYNTAX
void XtAddGrab(Widget w, Boolean exclusive, Boolean spring_loaded); void XtRemoveGrab(Widget w); ARGUMENTS
exclusive Specifies whether user events should be dispatched exclusively to this widget or also to previous widgets in the cascade. spring_loaded Specifies whether this widget was popped up because the user pressed a pointer button. w Specifies the widget to add to or remove from the modal cascade. DESCRIPTION
The XtAddGrab function appends the widget (and associated parameters) to the modal cascade and checks that exclusive is True if spring_loaded is True. If these are not True, XtAddGrab generates an error. The modal cascade is used by XtDispatchEvent when it tries to dispatch a user event. When at least one modal widget is in the widget cas- cade, XtDispatchEvent first determines if the event should be delivered. It starts at the most recent cascade entry and follows the cas- cade up to and including the most recent cascade entry added with the exclusive parameter True. This subset of the modal cascade along with all descendants of these widgets comprise the active subset. User events that occur outside the widgets in this subset are ignored or remapped. Modal menus with submenus generally add a submenu widget to the cascade with exclusive False. Modal dialog boxes that need to restrict user input to the most deeply nested dialog box add a subdialog widget to the cascade with exclusive True. User events that occur within the active subset are delivered to the appropriate widget, which is usually a child or fur- ther descendant of the modal widget. Regardless of where on the screen they occur, remap events are always delivered to the most recent widget in the active subset of the cas- cade that has spring_loaded True, if any such widget exists. The XtRemoveGrab function removes widgets from the modal cascade starting at the most recent widget up to and including the specified wid- get. It issues an error if the specified widget is not on the modal cascade. SEE ALSO
X Toolkit Intrinsics - C Language Interface Xlib - C Language X Interface X Version 11 libXt 1.1.3 XtAddGrab(3)
All times are GMT -4. The time now is 09:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy