|
楼主 |
发表于 2005-12-20 15:11:22
|
显示全部楼层
多谢指教!
另外,下面这个函数到底是干什麽的,看了半天注释也没领会意思:
gtk_toggle_button_set_inconsistent ()
void gtk_toggle_button_set_inconsistent
(GtkToggleButton *toggle_button,
gboolean setting);
If the user has selected a range of elements (such as some text or spreadsheet cells) that are affected by a toggle button, and the current values in that range are inconsistent, you may want to display the toggle in an "in between" state. This function turns on "in between" display. Normally you would turn off the inconsistent state again if the user toggles the toggle button. This has to be done manually, gtk_toggle_button_set_inconsistent() only affects visual appearance, it doesn't affect the semantics of the button. |
|