Hi,
Here is the senario. I have a treeview and a entry. I write some text in
the entry. Then I click on the treeview to change the row.
The problem I have is that the cursor_changed signal of the treeview is
emited BEFORE the focus_out_event signal of the entry.
I don't really understand this
John Hunter wrote:
I have a simple treeview and list store, and want to make certain
cell/row combinations red
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ:
Hi all,
I have a treeview with rows and sub-rows. This treeview gets his data in
a treemodelFilter.
Now I collapse rows in thee treeivew, then, I run modelfilter.refilter()
Problem appears: rows that I collapsed are now expanded.
Is it a bug in GTK or normal behavior? Is there a way to change
Caleb Marcus a écrit :
I've read those, but I can't quite understand how to get it to work.
I've attached a glade XML file and a Python file that I'm using to test
the ability to manipulate TreeViews in Python. I'm just trying to get
Column1text into the first column, and the number 2 into the
Peter Brooks wrote:
Hi all,
I'm looking to getting widgets in my program to flash, such as ardour
does for it's record button.
Currently my thinking is to create a new thread to keep changing the
background colour. However I'm trying to find out if there's already
implementations of this
Hi,
I have a string that a textview can't display. It contains invalid chars:
t = Let's check this out.\x00
import gtk
tv = gtk.TextView()
b = tv.get_buffer()
b.set_text(t)
__main__:1: GtkWarning: gtk_text_buffer_emit_insert: assertion
`g_utf8_validate (text, len, NULL)' failed
but when I
John Ehresman wrote:
Yann Leboulanger wrote:
Hi,
I have a string that a textview can't display. It contains invalid chars:
t = Let's check this out.\x00
import gtk
tv = gtk.TextView()
b = tv.get_buffer()
b.set_text(t)
__main__:1: GtkWarning: gtk_text_buffer_emit_insert: assertion
Rafael Villar Burke a écrit :
Sujet:
PyGTK in Vista?
Expéditeur:
Nicklas Larsson [EMAIL PROTECTED]
Date:
Sat, 1 Dec 2007 07:44:48 +0100
Destinataire:
[EMAIL PROTECTED]
Destinataire:
[EMAIL PROTECTED]
Hi,
I have tried
John Ehresman wrote:
Yann Leboulanger wrote:
I'd like not to have it. But I getthis string by gpg-decodding a message
send by Miranda IM. I think it's a bug in their GnuPG implementation,
but anyway I'd like my client to detect those bad string and a) print
message correctly if I can or b
John Ehresman wrote:
I'm confused here; I think your last example passes '\x0' to a gtk
function which does not work. Either remove the '\x0' or do something
else with \x0 here. Or am I missing something?
removeing the \x0 isn't a problem, a replce can do that, but is it the
only char that
awalter1 a écrit :
Hi,
I'm working with Linux RedHat EL4.
a version of gtk+ was installed with the release RedHat : rpm -qa returns
this version.
Others more recente versions of gtk+ have been installed from sources : not
recognize from rpm.
Same things for pygtk.
My application is written in
Am I the only one to be spammed by quoll.daa.com.au with mails from
pygtk ML from 2007 ?
--
Yann
___
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/
I attached a script that create a gtk.statusicon, and create a menu that
is shown when I right click.
In this menu, there is a submenu, which contain a second menuitem.
The callback of this second menuitem is not called under windows, but it
is under linux. Is it a bug in windows ?
GTK 2.12.9
Gian Mario Tagliaretti wrote:
On Wed, Dec 31, 2008 at 9:55 AM, Yann Le Boulanger aste...@lagaule.org
wrote:
Any idea why this function is not implemented in pygtk?
It's in the ignore list in gtk.override, I don't know why though.
If you want to remove it from ignore, recompile pygtk
Hi guys,
I have a gtk.Label, filled with a long text. I enabled wrap on this
label, so that text is splitted into several lines.
The problem is that when I increase window width, the wrapping is not
re-computed.
I tried to set_line_wrap() to False then True every 2 seconds, but still
it's not
Gian Mario Tagliaretti wrote:
On Fri, Jan 30, 2009 at 7:33 PM, Yann Leboulanger aste...@lagaule.org wrote:
Hi Yann,
I have a gtk.Label, filled with a long text. I enabled wrap on this
label, so that text is splitted into several lines.
The problem is that when I increase window width
Gian Mario Tagliaretti wrote:
A new unstable development release of the Python bindings
for GTK+ has been released.
The new release is available from ftp.gnome.org and its mirrors
as soon as its synced correctly:
http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.15/
Would it be
Jeffrey Finkelstein a écrit :
Kelvin Ho wrote:
Have a look at this:
http://fuhm.net/super-harmful/
;)
Interesting...so what can _I_ do then? This seems like a problem above me...
call HBox.__init__(self), as it was suggested, it will work.
___
John Finlay a écrit :
I'm disappointed that I appear to be the only one on this list that
finds these announcements objectionable. And contrary to speculation I
find them all objectionable (yes that means yours as well Roberto). So
far it's been lucky that not all of the hundreds of
Alessandro Dentella wrote:
On Thu, Nov 19, 2009 at 06:19:31PM +0100, Yann Leboulanger wrote:
John Finlay a écrit :
I'm disappointed that I appear to be the only one on this list that
finds these announcements objectionable. And contrary to speculation I
I don't find announcement on PyGTK
Hi all,
Under windows seven (and probably windows server) gtk.statusicon
disappear from systray. Even if we ask Windows to keep it in systay, it
stays until we restart the program. Is there something I did badly?
I attach a small testcase.
--
Yann Leboulanger
#!/usr/bin/env python
import
Mathew Yeates wrote:
here's a snippet.
import gtk
Thats it! I immediately get the error.
So your pygtk installation is not complete most probably. ry
re-installing it and its dependances
--
Yann
___
pygtk mailing list pygtk@daa.com.au
Mallikarjun(ಮಲ್ಲಿಕಾರ್ಜುನ್) wrote:
Dear friends,
I have written a small application, which is a very tiny and exits by
pressing escape. But I am not able to bring the window on to front on
launch.
print self.window.is_focus()-- Output is False
print self.window.is_active()
Mallikarjun(ಮಲ್ಲಿಕಾರ್ಜುನ್) wrote:
On Sun, Feb 7, 2010 at 3:54 PM, Yann Leboulanger aste...@lagaule.org
mailto:aste...@lagaule.org wrote:
Mallikarjun(ಮಲ್ಲಿಕಾರ್ಜುನ್) wrote:
Dear friends,
I have written a small application, which is a very tiny and exits by
pressing
Yann Leboulanger wrote:
Hi all,
Under windows seven (and probably windows server) gtk.statusicon
disappear from systray. Even if we ask Windows to keep it in systay, it
stays until we restart the program. Is there something I did badly?
I attach a small testcase.
Nobody uses
John Stowers wrote:
On Tue, 2010-02-09 at 19:38 +0100, Yann Leboulanger wrote:
Yann Leboulanger wrote:
Hi all,
Under windows seven (and probably windows server) gtk.statusicon
disappear from systray. Even if we ask Windows to keep it in systay, it
stays until we restart the program
Hi all,
My application uses those lines:
gtk_icon_theme = gtk.icon_theme_get_default()
gtk_icon_theme.append_search_path(DIR)
It works well when I run it from command line.
Now if I run py2exe on my app, when I run it I have this error:
Traceback (most recent call last):
File gajim.py, line
varnikat t a écrit :
I want to make a window with tabs (not menubar menuitems) like how
'about me' window opens in ubuntu with tabs at top like Contact ,
Address, Help
On clicking on each shows something in the frame below them
How to make a window that way in GLADE?
Waiting eagerly
On 04/30/2010 04:28 PM, Krisztian Buza wrote:
Dear Colleagues,
I am new with Python. I have installed Python (version 2.6), PyGTK and
Glade (http://ftp.gnome.org/pub/GNOME/binaries/win32/glade3/) under
Windows.
The
import pygtk
command works nice (i.e. without error message), but
no attribute 'InfoBar'
You need a GTK / PyGTK version 2.18
--
Yann Leboulanger
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
Hi,
Do some people here uses Py2exe to package a pygtk application that uses
gtk.IconTheme?
Recently I switch to gtk.IconTheme in my application, and since this
moment, py2exe doesn't work anymore. I did a very very short test
application that shows the problem (attached files)
If some of
On 07/28/2010 10:52 AM, Yann Leboulanger wrote:
Hi,
Do some people here uses Py2exe to package a pygtk application that uses
gtk.IconTheme?
Recently I switch to gtk.IconTheme in my application, and since this
moment, py2exe doesn't work anymore. I did a very very short test
application
Hi all,
Once you added several renderers into a column, is there a way to get
the order of the renderers?
I'd like to get renderers with column.get_cell_renderers() then add a
renderer in the middle of the list, and re-add them to the column. But
to re-add them in the same order as it was
On 10/16/2010 09:00 AM, John Stowers wrote:
Hi All,
I spent some time updating the windows installers for PyGObject, PyGTK
and Pycairo.
I would appreciate it if those interested tested these installers before
they go on the official GNOME servers. The installers are
* PyGObject 2.26 (for
On 10/16/2010 03:01 PM, steve_...@optusnet.com.au wrote:
* gtk+-2.22 sees the return of the windows theme! Please test
this by setting adding the following line to
C:\GTK\etc\gtk-2.0\gtkrc (for example)
gtk-theme-name = MS-Windows
Tried this, .. it seems to work.
things seems
On 10/28/2010 12:52 AM, John Stowers wrote:
On Sat, 2010-10-16 at 20:00 +1300, John Stowers wrote:
Hi All,
I spent some time updating the windows installers for PyGObject, PyGTK
and Pycairo.
Hi All,
Thanks for your feedback and testing. I updated the installers again to
hopefully correct
On 10/28/2010 11:12 AM, Dieter Verfaillie wrote:
Hi,
Quoting John Stowers john.stowers.li...@gmail.com:
Yeah, styles is something different. Can you please run the installer
from the console and see if it prints anything else of interest please?
What is your target system, etc?
Does anyone
On 10/28/2010 02:04 PM, Dieter Verfaillie wrote:
Hi,
Quoting Yann Leboulanger aste...@lagaule.org:
I did all that, reinstalled everything, and I still get error on
pygobject and pygtk.
Funny thing is that if I run the .exe from command line, I don't get
error, but a success message and the end
On 10/28/2010 02:49 PM, Dieter Verfaillie wrote:
Quoting Yann Leboulanger aste...@lagaule.org:
On 10/28/2010 02:04 PM, Dieter Verfaillie wrote:
I uninstalled everything, removed previously listed folder, installed
this pygobject, and still the same error at the end, without any
debugging thing
On 10/28/2010 03:52 PM, Dieter Verfaillie wrote:
Quoting Yann Leboulanger aste...@lagaule.org:
Nothing more, still the same thing.
Ok, I'm quite sure this is not an issue with the postinstall script
itself.
I've made 3 new build to make sure. All 3 have their
pygobject_postinstall.py
On 11/02/2010 10:53 AM, John Stowers wrote:
On Thu, 2010-10-28 at 11:52 +1300, John Stowers wrote:
On Sat, 2010-10-16 at 20:00 +1300, John Stowers wrote:
PyGObject 2.26 (for glib-2.26.0)
http://www.johnstowers.co.nz/files/win32/pygobject-2.26.0.win32-py2.6.exe
folder + one index.theme
in /usr/share/icons/hicolor/
I think it should be installed by your package.
Except, once again a great thanks!
--
Yann Leboulanger
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read
, but is there a dependancy thing?
Could your package depend on a hicolor-icon-theme package?
--
Yann Leboulanger
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
Le 15/03/2011 10:38, Anders F Björklund a écrit :
hicolor-icon-theme is the default icon theme that all icon themes automatically
inherit from.
In practice, all it does is avoid that warning. Since it doesn't include any icons, it
would still show the missing image (the doc with red x). So
On 04/05/2011 11:59 AM, Yann Le Boulanger wrote:
Hi,
In my PyGTK grogram, I try to use gnome session. I'm able to make gnome
start my program on startup, but it launches it with some command line
optins like --sm-config-prefix, --sm-client-id, ...
The problem is that my application doesn't
On 04/22/2011 12:03 AM, Robert Schroll wrote:
On 04/21/2011 04:37 PM, Yann Leboulanger wrote:
But it seems I have to use GOptionContext, but that doesn't seem to
exist in PyGTK.
OptionContext is in gobject, at least for me (2.21.1). Can't help you
with the rest, I'm afraid.
Thanks, I didn't
Le 13/12/2011 16:14, Arun p das a écrit :
I am new to pygtk. currently i am doing one application using pygtk and glade.
my Question is How to clear/delete all values from the gtk.Liststore.
I am using the liststore as model for combobox.
http://pygtk.org/docs/pygtk/class-gtkliststore.html
Hi,
We are experiencing a strange bug in our application, which result
sometimes in a segfault, and sometimes in a freeze of the application.
it's related to accel groups.
In our application (quite big, and I haven't tried to make a small test
case, but if someone is interested I can point
Hi,
I am trying to port my application to Gobject introspection, and I am
facing a problem. I have a TreeModel that contains a GdkPixbuf.Pixbuf in
one of its columns. When I try to do:
model[iter][PIXBUF_COL] = None
I get a Traceback saying:
TypeError: Argument 3 does not allow None as a
Hi,
I'm trying to get the default / current background color of a textview.
The code I do it:
context = tv.get_style_context()
color = context.get_background_color(Gtk.StateFlags.NORMAL)
But that returns a fully transparent color (0,0,0,0)
If I first set a custom color with
On 01/29/2013 02:35 PM, Niklas Koep wrote:
Sounds like you're trying to retrieve the default colors before the
widget has been realized. Consider this (mind you this uses pygtk):
No, this is done AFTER the widget is realized. It's done in a textbiffer
'changed' callback, a long time (several
On 07/31/2013 07:33 PM, Timo wrote:
Op 31-07-13 13:48, Yann Leboulanger schreef:
On 01/29/2013 02:18 PM, Yann Leboulanger wrote:
Hi,
I'm trying to get the default / current background color of a textview.
The code I do it:
context = tv.get_style_context()
color = context.get_background_color
On 08/01/2013 02:00 AM, Osmo Salomaa wrote:
Here is a very simple scrpit that shows the problem. For me it prints:
Gdk.Color(red=0.00, green=0.00, blue=0.00, alpha=0.00)
For editable text fields, you're probably looking for the *base* color.
53 matches
Mail list logo