...set_history() working inconsistently?
- From: Al Hooton <al hootons org>
- To: gtk-app-devel-list gnome org
- Subject: ...set_history() working inconsistently?
- Date: Thu, 21 Oct 2004 13:58:34 -0700
        Yes, I know that GtkOptionMenu is deprecated.  Please humor me on this
one, after I get the app working I plan to migrate it up to
GtkComboBox....
        I have googled everything I can find, and am stumped with this.  I have
a GtkOptionMenu that works just fine when it's parent window is being
displayed on-screen.  When displayed, I can call
gtk_option_menu_set_history() and everything works as expected: the
active menu item is changed, and the optionMenu updates on-screen to
reflect this change.
        However, if the parent window is not displayed at the time I call
...set_history(), a strange thing happens.  The active menu item is
updated (I have verified by calling ...get_history()), but the
optionMenu display is not updated.  Thus, when I subsequently show the
parent window, the optionMenu is displaying the wrong menu item.
        This one has me stumped...   anybody know what's going on?
        Thanks!!
-Al
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]