[pygtk] Text font

2000-02-17 Thread Javi Román

Hi:

I need change GtkFrame label font. I have this:

marco = GtkFrame ("Warning")
style = marco.get_style ().copy ()
style.font =
"-dec-terminal-medium-r-normal-*-*-140-*-*-c-*-iso8859-1"
marco.set_style (style)

How can I do it correctly?


Thanks.
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]



[pygtk] zterm

2000-01-31 Thread Javi Román

Hi:

I am having trouble using zterm (pygnome librRY) . Scroll don't work
correctly: cursor pass the window limits. How can i fix it?

Thanks.
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]



[pygtk] A simple color question...

2000-01-28 Thread Javi Román

How can i change the color of the tab bar of a Clist?

Thanks.
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]



[pygtk] Documentation

2000-01-19 Thread Javi Román

Is there a tutorial, book or manual about the programming in gtk-python
or gtk-gnome?

Thanks.
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]



[pygtk] style question

2000-01-10 Thread Javi Román

Hi:

I have a program that uses black background color in the main window:

   ...
  window = GtkWindow ()
  style = window.get_style ().copy ()
  style.bg[STATE_NORMAL] = style.black
  window.set_style (style)
   ...

When I put any widget (vbox -> GtkFrame, for instance) GtkFrame
background color is black and I want a gtk-system color background for
this widget so I use get_style and set_style but doesn't work.


Regards.
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]



[pygtk] file resource

2000-01-07 Thread Javi Román

Hi:

I want set black background color in my main window but I can do it.
I have:

___
#my_rc_file (./pygtkrc)

style "window" {
bg[NORMAL] = { 0, 0, 0 } 
}

widget "*.ventana" style "window"
___


___
#my_pygtk_code

import GtkExtra



rc_parse("pygtkrc")  

...

window = GtkWindow ()
window.set_name ("ventana")
 
...
___
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]



[pygtk] gnomeuimodule.c error?

1999-12-07 Thread Javi Román

I can not compile:

--
make[2]: Entering directory `/usr/local/gnome-python-1.0.50/pygnome'
gcc -DPACKAGE=\"gnome-python\" -DVERSION=\"1.0.50\"  -I. -I. 
-I/usr/include/python1.5 -I/usr/include/python1.5 -fPIC -g -O2
-I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/lib/glib/include -I/usr/X11R6/include   -c
gnomeuimodule.c
gnomeuimodule.c: In function `_wrap_gtk_dialog_cauldron':
gnomeuimodule.c:1276: too many arguments to function
`gtk_dialog_cauldron_parse'
gnomeuimodule_impl.c: In function
`_wrap_gnome_druid_page_standard_get_vbox':
In file included from gnomeuimodule.c:1515:
gnomeuimodule_impl.c:4214: invalid type argument of `->'
make[2]: *** [gnomeuimodule.o] Error 1
make[2]: Leaving directory `/usr/local/gnome-python-1.0.50/pygnome'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/gnome-python-1.0.50/pygnome'
make: *** [all-recursive] Error
1 
-

gnomeuimodule.c have a sintax error.
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]