TextView paste-clipboard callback no text but I can see it

2008-11-13 Thread Xavier Toth
In a TextView paste-clipboard signal callback when I do a get_text on the TextViews TextBuffer I get nothing but the text is displaying. Is there some kind of timing issue? Does anyone have an example of this that works? Ted ___ gtk-app-devel-list mailin

Re: combobox entries background color

2008-11-13 Thread Xavier Toth
I didn't get any responses so I'm trying again. On Mon, Nov 3, 2008 at 8:37 AM, Xavier Toth <[EMAIL PROTECTED]> wrote: > I'd like to have different background colors on combobox entries. > Potentially each entry would have a different background color. Is > t

combobox entries background color

2008-11-03 Thread Xavier Toth
I'd like to have different background colors on combobox entries. Potentially each entry would have a different background color. Is there a way to do this? Ted ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailma

GtkWindow from X window id

2008-04-10 Thread Xavier Toth
Is it possible to retrieve a GtkWindow using the native X window id? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gtk/gdk equivalent of XGetWMName?

2008-04-10 Thread Xavier Toth
Is there a Gtk/Gdk equivalent of XGetWMName? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gtk_selection_data_set_pixbuf fails because PIXMAP != image/png

2008-03-18 Thread Xavier Toth
I'm trying to copy&paste an image using the default clipboard. I'm using pygtk and retrieving the image from the clipboard using gtk.Clipboard.wait_for_image then later I try to set the selection data pixbuf using gtk.SelectionData.set_pixbuf() with the data gotten from wait_for_image but this fail

differentiating selection-request-events

2008-03-14 Thread Xavier Toth
Simply clicking on the 'Edit' menu of a gnome-terminal causes a selection-request-event, why? If you then select 'Paste' another selection-request-event occurs. I really only want to know when a 'Paste' has been requested but I don't know how to differentiate between the event generated by the Edit

ICCCM protocol and selection-request-events without paste

2008-03-13 Thread Xavier Toth
I'm working on a secure selection manager based on glipper. What it needs to be able to do is intervene and make a security determination when a paste is requested. 'glipper' currently monitors clipboard ownership changes at which time is gets the clipboard contents. I've modified glipper to become