Help: Clutter Actor events

2012-02-05 Thread Owas Lone
Hi everyone, I'm trying to write an app with GtkClutter and facing a problem with mouse events on clutter actors. I can't get them to fire on actors but they work just fine on stage. Here is the the question on SO. I'm linking it only because the code is well formatted there. Feel free to answer

GtkTreeView as Sidebar

2011-11-27 Thread Owas Lone
Hi, A sidebar (as in nautilus) is just a GtkTreeView, right? I want my TreeView to pick up the style for .sidebar class from gtk3 themes. here is how I'm trying to do it treeview_style = treeview.get_style_context() treeview_style.add_class('sidebar') but this does not seem to p

Re: How to make toolbar with transparent icons

2011-09-16 Thread Owas Lone
On Sat, Sep 17, 2011 at 2:31 AM, wrote: > I need to make transparent toolbars and panels that can fade after not > being interacted with for a certain period of time. The fade level and > speed must be user configurable and must apply only to the current > application, not to the whole desktop en

GtkSwitch + Toolbar

2011-08-20 Thread Owas Lone
So, I'm trying to fit a Gtk.Switch widget into a Toolbar and it works perfectly, except that when I add the class "primary-toolbar" to Toolbar's StyleContext, the Switch widgets starts behaving oddly. The Toolbar essentially steals the drag event from the Switch widget. When I click on the switch

GtkSwitch + Primary Toolbar

2011-08-20 Thread Owas Lone
So, I'm trying to fit a Gtk.Switch widget into a Toolbar and it works perfectly, except that when I add the class "primary-toolbar" to Toolbar's StyleContext, the Switch widgets starts behaving oddly. The Toolbar essentially steals the drag event from the Switch widget. When I click on the switch