Re: can anybody help me figure out why the two hbox buttons don't show?
- From: Florian Müllner <fmuellner gnome org>
- To: gtk-app-devel-list gnome org
- Subject: Re: can anybody help me figure out why the two hbox buttons don't show?
- Date: Wed, 14 Dec 2011 02:03:21 +0100
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]