Remove a previously-attached binding to an IP address:port pair, naming context, event handler, communication channel, or other system object. See [tag:bind] for a partial list of the common uses of the bind/unbind concept.
Questions tagged [unbind]
360 questions
3
votes
1 answer
unbinding a function to a button in kivy
Consider the following code:
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.button import Button
class First(BoxLayout):
def __init__(self, **kwargs):
super().__init__(**kwargs)
x =…

juztcode
- 1,196
- 2
- 21
- 46
3
votes
2 answers
How can I unbind every single binding from a Tkinter root window
So I have an app in Tkinter that has a lot of buttons in the first screen and when you press one you pass into a new "Window" (basically destroying all widgets and drawing the ones that are needed for the 'window'). There is a standard function that…

nikosdcs
- 33
- 4
3
votes
1 answer
jquery unbinding and binding
I just want to disable the ability for a user to click on an element for some condition and then re-bind it later for another condition. Here is some of the code I am working with:
$('#navigation a').bind('click',function(e){
var $this =…

scifirocket
- 1,051
- 1
- 15
- 23
3
votes
3 answers
click events issue in jquery
I don't know if the title explain this situation well. Below is a code i wrote to create div elements when the button is pressed. Then By clicking on any of the created divs, we can change the div background by choosing a color from the drop down…

Hussein
- 42,480
- 25
- 113
- 143
3
votes
1 answer
jQuery unbind Live/Delegate events with namespace
I'm trying to unbind a live event (have tried with .live and with .delegate).
When I want to unbind it I have 3 different options: unbind "click", unbind "click.namespace1" or unbind ".namespace1". They all do different things: first one unbind all…

Diego
- 16,436
- 26
- 84
- 136
3
votes
1 answer
Kivy - unbind all methods attached to a button
I am writing a program that has a panel of buttons on the right hand side, that successfully binds a method to each, dependant on user input/actions. My issues is that I cannot unbind() the method explicitely, as the method bound is…

Chazara
- 159
- 2
- 3
- 16
3
votes
2 answers
How to unbind() .hover() but not .click()?
I'm creating a site using Bootstrap 3, and also using a script that makes the dropdown-menu appear on hover using the .hover() function. I'm trying to prevent this on small devices by using enquire.js. I'm trying to unbind the .hover() event on the…

user3570481
- 75
- 1
- 8
3
votes
3 answers
click event fires multiple times issue, how to?
I have a button. when I click it I am appending some buttons to the DOM.
The issue I have is that those buttons that I am appending fire multiple times.
$(el).on('click', function (e) {
key();
});
function key() {
$(document).on('click',…

Patrioticcow
- 26,422
- 75
- 217
- 337
3
votes
0 answers
OpenGL: how to unbind a render buffer
Using Frame Buffer objects, I have created render buffers for color and depth and attached them to the FBO.
//set up color buffer for rendering
glGenRenderbuffers(1, &my_fbo_params.color_rb[i]);
glBindRenderbuffer(GL_RENDERBUFFER,…

Suri
- 41
- 4
3
votes
1 answer
How to re-bind an unbound link/object
By pressing the first button, you will animate the margin-left of the second one, by pressing the second one, you unbind the click event from the first one, but I want lets say a third button to bind the click event back to the first one.
Looking…
user1846129
3
votes
2 answers
jQuery unbind then bind
I'm unbinding click from these clickable divs and then want to enable clicking again. What I have doesn't work. Any suggestions? Thanks.
$('#a, #b, #c').on('click', function(e){
$('#a, #b, #c').unbind('click');
// some stuff
…

ialphan
- 1,241
- 1
- 17
- 30
3
votes
1 answer
jQuery: correct way to bind(); and unbind(); with mouseover, mouseout, and click
I am making an interactive map with jQuery and have some problems that I can't solve.
Basically, when I click on the black square I want it to turn red right away, right now it works opposite (it turns red from the second click). Is there a way to…

madebyanton
- 33
- 1
- 1
- 3
2
votes
3 answers
jquery turn preventdefault on and off
Here's what I tried so far:
var preventDefaultFunc = function(e){
e.preventDefault();
}
then I call it in the click function later:
$('.item').click(function(e){
var $this = $(this);
var $thisChild =…

Graham Morley
- 450
- 1
- 9
- 20
2
votes
1 answer
Can't unbind solution from Team Foundation Server 2010
I have some solutions that are binded to TFS 2010. But a team project collection isn't avaible any longer. I need to rebind this solutions to a new Team project Collection on this server. I tried to change Source Control (File -> Source Control ->…

Sergii Gorkun
- 216
- 2
- 15
2
votes
1 answer
Window won't open again after closing - unbind
Im having a button to open a popup-windwow. By clicking on itself again, the popup-window should close (this one works). But after closing it is not possible to reopen the window.
How can I fix this unbind-Problem?
//loading Popup
//0 means…

Jules
- 3,105
- 2
- 27
- 33