Re: can anybody help me figure out why the two hbox buttons don't show?



On mar, 2011-12-13 at 16:40 -0800, Gary Kline wrote:
hm.  okay, so i removed the second gtk_container_box and got the
same results.  the following "hbox" is missing from the window:



    button_dec = gtk_button_new_from_stock ("Decrease counter");
    gtk_box_pack_start (GTK_BOX (hbox), button_dec, FALSE, FALSE, 2);
    g_signal_connect (button_dec, "clicked", G_CALLBACK (dec_button_click_cb),
                      NULL);
    gtk_widget_set_sensitive (button_dec, FALSE);
    gtk_widget_show(button_dec);

in fact, neither button is displayed.


Did you add 'hbox' to any container ('vbox' in your code example)?




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]