[pygtk] Installing pygtk on Solaris

2008-07-09 Thread Shalom Kramer
I am trying to install PyGTK on Solaris 8. When I run:
$ ./configure
I get -
checking for GLIB - version = 2.2.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for
the
*** exact error that occurred . This usually means GLIB is incorrectly
installed

But when I run
$ pkginfo -l SMCglib
I get --

VERSION:   2.6.2


What am I missing here?
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] Installing PyGTK on solaris 8

2007-11-28 Thread Shalom Kramer
Yes, the file indicates that there is a problem with compiling GTK programs,
not that I can understand why. As I have mentioned, GLIB is installed so I
can't figure out whats wrong.

On Nov 28, 2007 10:33 AM, Roberto Cavada [EMAIL PROTECTED] wrote:

 Shalom Kramer wrote:

  *** The test program failed to compile or link. See the file config.log
  for the
  *** exact error that occurred . This usually means GLIB is incorrectly
  installe

 Have you followed the suggestion?
 r.


___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] Terminal Resizing

2007-11-28 Thread Shalom Kramer
If I understand correctly you want to make the VTE's change their size
acording to the users preferences, so that one terminal will expand and the
other one shrink.

I have done just that using the gtk.VPaned and gtk.HPaned classes. They can
hold two widgest each so I just packed gtk.Paned inside gtk.Paned objects.

8, 2007 9:15 AM, Seltzer [EMAIL PROTECTED]  wrote:

 Hello,
  i have three vte widgets arranged in a vertical box.each vte widget is
  inside of an hbox to group it with its scrollbar, and
  a frame to label it, like so.
 
  f_sos_out = gtk.Frame(stream control)
  term_sos_out = vte.Terminal()
  hb_sos_out = gtk.HBox()
  sb_sos_out = gtk.VScrollbar(term_sos_out.get_adjustment())
  sb_sos_out.show()
  hb_sos_out.pack_end(sb_sos_out, False, False, 0)
  hb_sos_out.pack_start(term_sos_out)
  f_sos_out.add(self.hb_sos_out)
 
  The problem that im having is with resizing these terminals. the main
  window that
  they are all in can be adjusted in size, and the user can select to have
  one, two,
  or three of them open at a time. with most widgets ive added to boxes,
  the things
  packed into them just resize automatically. the vte terminals wont do
  this for me, and
  ive been unable to get them to.
 
  any ideas?
 
  felix.
 
  ___
  pygtk mailing list   pygtk@daa.com.au
  http://www.daa.com.au/mailman/listinfo/pygtk
  Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
 
 

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] Installing PyGTK on solaris 8

2007-11-27 Thread Shalom Kramer
I have sent this question before but got no response...

I am trying to install PyGTK on Solaris 8. When I run:
$ ./configure
I get -
checking for GLIB - version = 2.2.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for
the
*** exact error that occurred . This usually means GLIB is incorrectly
installed

But when I run
$ pkginfo -l SMCglib
I get --

VERSION:   2.6.2


What am I missing here?
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] To put gnome-terminal in a pygtk application

2007-11-18 Thread Shalom Kramer
import vte
(the python vte wrapper is installed from RH5 by default. On RH4 I
took the debian package, done a dep-to-rpm conversion and installed
it)

term = vte.Terminal()
term.fork_command(command)

I found some help in the Ruby manual for vte and of course in google
code search.


 On Nov 18, 2007 5:30 AM, Osmo Salomaa [EMAIL PROTECTED] wrote:
  la, 2007-11-17 kello 11:20 +0100, François Ingelrest kirjoitti:
   You should take a look at the VTE widget, which is used by gnome-terminal:
  
   http://library.gnome.org/devel/vte/
  
   On Nov 17, 2007 11:15 AM, airton arantes [EMAIL PROTECTED] wrote:
I already searched in the google but nothing were found.
   
I wonder in how to do to put a gnome-terminal in my pygtk
applications, what I have that to search?
 
  If you specifically want the terminal to look and behave exactly like
  gnome-terminal, take a look at gedit's terminal plugin, which sets the
  vte properties to match those defined for gnome-terminal in gconf.
 
  http://svn.gnome.org/viewvc/gedit-plugins/trunk/plugins/terminal/
 
  --
  Osmo Salomaa [EMAIL PROTECTED]
 
  ___
  pygtk mailing list   pygtk@daa.com.au
  http://www.daa.com.au/mailman/listinfo/pygtk
  Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
 

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/