Hi, with IUP revision 4505 a simple test crash (segmentation fault)
with:

  bt1 = IupFlatButton("Hello 1");
  bt2 = IupFlatButton("Hello 2");
  bt3 = IupFlatButton("Hello 3");

  hbox1 = IupHbox(bt1, bt2, bt3, NULL);
  fsb = IupFlatScrollBox(IupFrame(hbox1));
  IupSetAttribute(fsb, "SIZE", "50x50");
  
  dlg = IupDialog(fsb);
  IupShow(dlg);

It also crash if I try something like:

  fsb = IupFlatScrollBox(bt1);

But if I put the horizontal box directly into the flat scroll box, all
works fine:

  fsb = IupFlatScrollBox(hbox1);

Is this a bug? Or maybe I missunderstand how to use a flat scroll box?
I'm using OpenSUSE tumbleweed and Gtk 3.22.21

Regards
Germán


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to