ListStore에 연결된 두 개의 열 TreeView가 있습니다. 두 열은 모두 CellRenderCombo 콤보 상자입니다.pyGTK의 조건부 CellRenderCombo TreeView
사용자가 첫 번째 상자에서 항목을 선택하면 두 번째 상자에서 옵션 집합을 동적으로로드해야합니다.
예를 들어, 내가 원하는 동작은 다음과 같습니다
는On row 0, the user selects "Alphabet" in the first column box.
The second column box is populated with the letters "A-Z".
On row 1, the user selects "Numbers" in the first column box.
The second column box is populated with the numbers "0-9".
On row 2, the user selects "Alphabet" in the first column box.
The second column box is populated with the letters "A-Z".
etc.
사람이 작업을 수행하는 방법을 알고, 또는 내가 분석 할 수있는 유사한 동작을 가지고있는 오픈 소스 pygtk 또는 GTK 프로젝트를 볼 수 있습니까?
닫기, cursor_changed 연결하는 데 필요한, 그리고 핸들러 기반의 내용을 변경 누군가가 행을 선택할 때마다 열에. –