Hi,
I have an app which has some default hidden widget (some container). How
show it in the right side of app (rest of the window should stay in same
place) ?
I tried 2 things:
- set window gravity to EAST and then show widget. Just didn't work in some
window managers (works for compiz, don't work
hi,
i just can't find an example on how to get ellipsize to work in a
TreeView/CellRendererText column. if i set the ellipsize attribute in
glade to "end" (for a cellrenderertext) i only see 3 dots (...) and
nothing else. just plenty of empty space right of the dots.
or maybe it's a bug ?
as doin
hi,
i just can't find an example on how to get ellipsize to work in a
TreeView/CellRendererText column. if i set the ellipsize attribute in
glade to "end" (for a cellrenderertext) i only see 3 dots (...) and
nothing else. just plenty of empty space right of the dots.
or maybe it's a bug ?
as doin
Re-hello,
The wnck library seems to have many useful functions.
I made this based on your example.
import gtk, gobject, wnck
class SwitchDesktop(object):
def __init__(self):
self.screen = wnck.screen_get_default()
def switch(self, desktop_num):
self.screen = wnck.screen_g
Il giorno mer, 10/02/2010 alle 11.56 +0100, Osmo Maatta ha scritto:
> Hello,
>
> I have code that sends a message to the window manager to switch to a
> given desktop number.
> I try converted this code from C to GDK on Ubuntu Linux.
>
I posted the following on another mailing list some time ago
Hello,
I have code that sends a message to the window manager to switch to a
given desktop number.
I try converted this code from C to GDK on Ubuntu Linux.
# The code is this.
import gtk.gdk
import struct
# Switch to desktop number X
gdk_root = gtk.gdk.get_default_root_window()
gdk_di