Page 1 of 1

gtk2 problem

Posted: Thu Feb 14, 2008 3:15 pm
by karu
Sorry my bad english :)
I have installed all necessary gtk2 files in debian but compiler still tells me that can't load 'gtk2.0' subsystem and compile program width gtk1.2.

command is: pbcompiler -e file --subsystem "gtk2" /dir/blaa.pb

what i must to do, maybe select some gtk2 path somewhere or something

Posted: Thu Feb 14, 2008 3:28 pm
by Trond
GTK 2 is used by default with the newest versions of PB.

Posted: Thu Feb 14, 2008 3:54 pm
by karu
how i can see if my program compiled with gtk2 or gtk1. Problem is that i need to use 'StickyWindow' command but this is working only width gtk2. And my compiled program window is not on the top

Posted: Thu Feb 14, 2008 4:38 pm
by Trond
If your window has antialiased fonts you are using GTK 2.

Posted: Thu Feb 14, 2008 4:54 pm
by walker
simply compile without the -subsystem option.. the (as trond said) the executable is build using GTK2

btw.: Which version of PB you're using?