That was a bug. Just fixed and committed to CVS.

 

  Fortunately We will release a 3.10.1 today.

 

Best,

Scuri

 

From: Ariset [mailto:irt...@gmail.com] 
Sent: quinta-feira, 23 de janeiro de 2014 21:49
To: IUP discussion list.
Subject: [Iup-users] iuptabs problem with gtk + xmonad

 

Hello, 

 

i don't know if it is my weird setup (maybe wrong libraries version
installed) but i'm trying to use Tabs and they just don't work

 

 

i'm using the following code:

 

#include <stdlib.h>

#include "iup.h"

 

int main(int argc, char **argv) {

  IupOpen(&argc, &argv);

 

  Ihandle* ventana = IupDialog(NULL);

  Ihandle* label = IupLabel("LABEL");

  Ihandle* tab = IupTabs(NULL);

 

  IupAppend(tab, label);

 

  IupAppend(ventana, tab);

 

  IupShow(ventana);

  IupMainLoop();

 

  IupClose();

 

  return EXIT_SUCCESS;

}

 

and it ends showing the label under an empty space (where it is supposed to
be tab headers there is just plain background colour). I even tried with
more tabs, but they are not visible. Terminal also shows two error related
with GTK when the dialog shows up:

 

(app:25078): Gtk-WARNING **: Can't set a parent on widget which has a parent

 

(app:25078): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion
'GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed

 

 

 

Regards, Ariset

 

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to