Class p.u.r.g.RadioButtonPersistencyLink:

Part of pida.utils.rat.gwp View In Hierarchy

A radio_group is a dictionary that associates a gconf boolean key with a radio button:

data = RadioButtonPersistency(
    {
        'cheese': cheese_btn,
        'ham': ham_btn,
        'fish': fish_btn
    },
)
data.selected_by_default = 'ham'

selected_value = data.data
data.data = 'fish'
Line # Kind Name Docs
222 Method __init__ Undocumented
239 Method _on_destroy Undocumented
245 Method _get_active Undocumented
251 Method _on_widget_changed Undocumented
255 Method _on_gconf_changed Undocumented
265 Method sync_widget Undocumented
284 Method sync_gconf Undocumented
291 Method set_data Undocumented
295 Method get_data Undocumented
301 Class Method cmp_func Undocumented
def __init__(self, widgets, key, client=None):
Undocumented
def _on_destroy(self, widget):
Undocumented
def _get_active(self):
Undocumented
def _on_widget_changed(self, radio_button):
Undocumented
def _on_gconf_changed(self, data):
Undocumented
def sync_widget(self):
Undocumented
def sync_gconf(self):
Undocumented
def set_data(self, value):
Undocumented
def get_data(self):
Undocumented
@classmethod
def cmp_func(cls, obj):
Undocumented
API Documentation for PIDA, generated by pydoctor.