Questions tagged [user-interaction]

User-interactivity is the dialog that occurs between a human being and a computer program.

326 questions
5
votes
2 answers

How to detect Ctrl+V in Silverlight 4?

What is the best way to detect Ctrl+V in Silverlight? I want to detect Ctrl+V, to get access to the Clipboard.
eflles
  • 6,606
  • 11
  • 41
  • 55
5
votes
2 answers

Android Spinner OnItemSelected ONLY on User Interaction

I know that this question has been answered multiple times, but I have not found any of them satisfactory and certainly not elegant. The issue is that OnItemSelected gets fired not only when the user selects an item, but also when the selection is…
5
votes
4 answers

How to enable Only one button and making User Interaction No

In my project in one view i want to make all the view disable except one button, So i am using [self.view setUserInteractionEnabled:NO]; As i have many components it is difficult to enable and disable every component so i am using it. But…
kiri
  • 1,977
  • 5
  • 27
  • 55
4
votes
3 answers

Objective C: How to disable user interaction to all of tab bars except one?

As what the title suggests, I would like to be able to lock all my tab bars except for one. And only after the user completes an action will I enable all the rest of the tab bars. How can I do that?
Zhen
  • 12,361
  • 38
  • 122
  • 199
4
votes
1 answer

Detect when user interact with the app (Flutter)

I need a little help there. I want to disconnect the user from the app when he has been inactive for 5 minutes. So I used this solution : Detect when user is not interacting the app in Flutter It is perfectly working when the user tap on a widget…
NqbraL
  • 553
  • 4
  • 8
4
votes
0 answers

How to vibrate without user interaction?

I'm working on a qr reader as part of a larger web application. Since the application is structured into several pages for each view, so not a single page app (SPA), I usually don't have any interaction from users on qr reader page because they've…
4
votes
2 answers

How to only display the first two plots of `plot(model)` in script mode?

I have a script that essentially boils down to model <- lm(d$o ~ d$t * d$w) plot(model) When I run these commands in interactive mode (RStudio), plot will create four graphs. The user has to advance to the next graph by pressing enter. Now, I want…
René Nyffenegger
  • 39,402
  • 33
  • 158
  • 293
4
votes
3 answers

How do you mark an element or text node as "inert"?

I was just stumbling upon Chapter 7.2 of the W3C HTML5 spec, where it is said A node (in particular elements and text nodes) can be marked as inert. Source: http://www.w3.org/TR/html5/single-page.html#inert-subtrees Unfortunately, the…
NicBright
  • 7,289
  • 5
  • 18
  • 19
4
votes
3 answers

Error: User interaction disabled in lower parts of UIScrollView

I've got a document viewer that has one UIView (page) as a subview of a 'scrolledView' (UIView) of a UIScrollView. The page has more subviews, UIButtons and UITextFields for example. The user can manually pan and zoom in the scroll view, but for…
4
votes
0 answers

Allowing User Interaction for PART of a UIView during animation

I know that the subject of user interaction for UIViews during animations has been well questioned, but I'd like to know whether it is possible to detect whether the touch was for a particular part of the whole UIView. To start with, my animation…
Madhu
  • 2,429
  • 16
  • 31
4
votes
1 answer

android detect user inactivity after key pressed

In my mediaplayer I've added a view that is shown if menu key is pressed, I want it to be hidden after some time i.e user don't want to see the view, The view is horizontal and i want it to hide after some seconds that user won't press right or left…
A_rmas
  • 784
  • 2
  • 10
  • 26
4
votes
3 answers

Make R wait for console input?

Is there a way to make R wait for console input before continuing? Let's say I source two scripts like this in a main script called run.R: # some more R Code here source("script1.R") source("script2.R") # some more R Code there Script1 contains…
Matt Bannert
  • 27,631
  • 38
  • 141
  • 207
4
votes
3 answers

objective c How to set UserInteractionEnabled:NO for the entire view except on UIButton in that view

In my application i have a view in that i have many UIElements, buttons, etc.. I need to set UserInteractionEnabled:NO for all the ui elements in that view except one button. I tried with [self.view setUserInteractionEnabled:NO]; The Require…
user2732294
  • 641
  • 2
  • 10
  • 21
4
votes
1 answer

HTML5 + JS: Tracking user interaction

What would be a good way to track user interaction on a website. And then I mean capturing everything like: Scrolling Clicking Moving the cursor Emitting input Of course with a lot of HTTP post/get request it could be displeasing for the user.…
Tim
  • 5,521
  • 8
  • 36
  • 69
4
votes
3 answers

userInteractionEnabled disable all elements in cell

I want to disable cell interaction. In my function: - (UITableViewCell *) tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath; I added Cell.userInteractionEnabled = NO; And cell interaction is disabled, but I want to…
Nizzre
  • 275
  • 1
  • 6
  • 14
1 2
3
21 22