Re: Transparent Draw Area

2008-09-29 Thread Thomas Dybdahl Ahle
You can not make widgets transparent, other than to the other windows/desktop. Thus in your case, you need to create a new gtk.Window, and lay it over the rest of your app. You use the POPUP flag to remove the window-border and some set_colormap(self.get_screen().get_rgba_colormap()) If you read py

Rgba widgets

2008-09-17 Thread Thomas Dybdahl Ahle
Hi, Can anybody point me to some info on how I implement rgba widgets? That is widgets with the gdk window being transparent. -- Best Regards, Med Venlig Hilsen, Thomas Bomb, Riksdagen, Regeringen, Död, Terror, Mord, Planer, Muslimska brödraskapet, Alluah akbar, Kärnkraft Stop the Swedish surveil

Re: Divided notebooks...

2008-08-31 Thread Thomas Dybdahl Ahle
søn, 31 08 2008 kl. 05:23 -0400, skrev Freddie Unpenstein: > GTK provides the facility to have a GtkNotebook without tabs. But as > far as I can tell, it doesn't provide the facility to have tabs > without the notebook pages. It seems somehow strange to me, and > causes people to hack together th

Re: GtkNotebook: How do you hide a tab?

2008-05-09 Thread Thomas Dybdahl Ahle
On Fri, 2008-05-09 at 05:53 -0400, Gorshkov wrote: > How do you hide a tab/make it invisible in a GtkNotebook? Hide the child. You won't see it from glade though. -- Best Regards, Med Venlig Hilsen, Thomas ___ gtk-app-devel-list mailing list gtk-app-dev

Re: Solved: How to make a gtktreeview column flexible?

2008-04-26 Thread Thomas Dybdahl Ahle
On Sat, 2008-04-26 at 12:16 +0100, Till Harbaum / Lists wrote: > Am Samstag 26 April 2008 schrieb Thomas Dybdahl Ahle: > > Interesting, and that make the text eclipse correctly as well? > You have to enable ellipsize seperately of course, but then yes, once > the window is not

Re: Solved: How to make a gtktreeview column flexible?

2008-04-26 Thread Thomas Dybdahl Ahle
Interesting, and that make the text eclipse correctly as well? On Sat, 2008-04-26 at 11:16 +0100, Till Harbaum / Lists wrote: > Hi, > > in have solved this problem. Here's the answer for reference: > > Instead of using gtk_tree_view_insert_column_with_attributes to insert > a column, one might u

Manually refuse/accept notebook tab drop

2008-03-26 Thread Thomas Dybdahl Ahle
Hi, I'm having some problems with the notebook set_tab_detachable from gtk 2.10. If I set book.drag_dest_set(gtk.DEST_DEFAULT_MOTION, [("GTK_NOTEBOOK_TAB", gtk.TARGET_SAME_APP, 0xbadbeef)], gtk.gdk.ACTION_MOVE) on my notebook, I don't recieve any "drag-drop" events. If I set the same group_id on

Re: TreeView indent-expanders style property

2008-03-24 Thread Thomas Dybdahl Ahle
I looked into that a few weeks ago. I think the style property only worked when you hid the expanders. Applicatins like pidgin then create custom cellrendeners with expanders to make up for that. On Mon, 2008-03-24 at 15:50 -0600, Jeffrey Barish wrote: > Does anyone know what the indent-expanders

Flat, expandable treeview

2008-03-10 Thread Thomas Dybdahl Ahle
Hey, How do you make the treeview expanders flat (no indent) like in pidgin? -- Best Regards, Med Venlig Hilsen, Thomas ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Selecting cells in threeview

2008-02-08 Thread Thomas Dybdahl Ahle
On Fri, 2008-02-08 at 15:40 +0100, Kristian Rietveld wrote: > Hi, > > On Fri, Feb 08, 2008 at 02:28:16PM +0100, Thomas Dybdahl Ahle wrote: > > Is there any way to select only a cell - not a row - in a gtk-treeview > > No, GtkTreeView does not support selecting individu

Selecting cells in threeview

2008-02-08 Thread Thomas Dybdahl Ahle
Is there any way to select only a cell - not a row - in a gtk-treeview -- Best Regards, Med Venlig Hilsen, Thomas ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Unable to load stock icons

2008-02-02 Thread Thomas Dybdahl Ahle
Hey, I'm writing an app, using pygtk, looking up icons using gtk.icon_theme_get_default().load_icon(...). Now I've got reports from some KDE users which are unable to load even tango specified icons this way. Also when the gnome-icon-theme is installed and the icons are easily found in /usr/share/