pa lo de gtk
en el irc un cuate llamado Deimos, me dio un tip pa lo que necesito hacer:
Deimos: a radio button is a decendant of a checkbutton so attach a callback to the toggled signal of the widget, I'd pass the entry widget as the user data, then have the callback set_sensitive on the widget based on the state of the toggle
Deimos: ie something like callback (*toggle, *entry) { if (toggle_get_active (toggle)) set_sensitive (entry, false); else set_sensitive (entry, true);
Deimos: a radio button is a decendant of a checkbutton so attach a callback to the toggled signal of the widget, I'd pass the entry widget as the user data, then have the callback set_sensitive on the widget based on the state of the toggle
Deimos: ie something like callback (*toggle, *entry) { if (toggle_get_active (toggle)) set_sensitive (entry, false); else set_sensitive (entry, true);
0 Comments:
Post a Comment
<< Home