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



On mar, 2011-12-13 at 15:02 -0800, Gary Kline wrote:
anybody know where i'm messing up?


int
main (void)
{
    GtkWidget *window;
    GtkWidget *vbox, *hbox;

[...]
    gtk_container_add (GTK_CONTAINER (window), vbox);
[...]
  gtk_container_add (GTK_CONTAINER (window), hbox);

GtkWindow is a GtkBin, e.g. it can have exactly one child.


Florian




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