TreeView and row-reordering by Drag and Drop

2010-12-04 Thread sledge hammer
I am using a GtkTreeView and a GtkListStore as TreeModel. I want to reorder the rows by DnD. This is easy if I set "set_reorderable" to true. But I want to take extra actions when the rows are reordered. Eg I want to renumber the rows (think of a playlist). Also I want to do DIFFERENT things wh

RE: Problems with accelerators.

2010-06-19 Thread sledge hammer
> From: tadeb...@gmail.com > Date: Fri, 18 Jun 2010 19:13:58 +0200 > Subject: Re: Problems with accelerators. > To: sledgehammer_...@hotmail.com > CC: gtk-list@gnome.org > > Hi. > > > I have some problems with accelerators. What do I need to do make an action > > fire when I press the * symbol?

Problems with accelerators.

2010-06-18 Thread sledge hammer
I have some problems with accelerators. What do I need to do make an action fire when I press the * symbol? If I use for accelerator the GDK_asterisk define then the action is fired only when I press shift+8. I want it to fire when I press the * symbol in the numpad TOO. The same goes for /,+,-

RE: Notification Widget

2010-03-14 Thread sledge hammer
I don't have answers to your problems but have you tried GtkInfoBar? link-->http://library.gnome.org/devel/gtk/stable/GtkInfoBar.html I think it is widget similar to the one you're trying to make. > Date: Sun, 14 Mar 2010 14:31:03 -0400 > From: noel.ambr...@gmail.com > To: gtk-list@gnome.org >

RE: All widget are too fat - theming not working properly

2010-02-24 Thread sledge hammer
I have noticed a long time that the default(and majority of other themes) theming is just fat for Gtk+. Luckily the past year some nice themes have appeared on www.gnome-looks.org. They usually have the keyword "compact" in their name. Do a search on gnome-look and you'll find them. Study them

DnD from a Qt app to a Gtk+ app? How?

2010-02-09 Thread sledge hammer
I wrote a simple gtk app that accepts drops from file managers. It works when using Nautilus or Thunar(gtk apps) but it cannot accept drops from Dolphin(qt app). Do I have to do something special in my code to make it work? Here's a link to the sample code--> http://pastebin.com/m279db3

RE: Can you help me compile a single widget?(I want to patch it later on).

2010-01-14 Thread sledge hammer
Hmmm I've read everyone's replies and I think I understand why I can't **easily** do what I request. But one suggestion was pretty interesting. Derive from gtkcontainer and make my own gtkfixed-like custom container. The good thing is that I actually use Gtkmm so I'll probably avoid a lot of bo

RE: Can you help me compile a single widget?(I want to patch it later on).

2010-01-13 Thread sledge hammer
Well I thought a "patched" gtkfixed would be treated as a "custom" widget. So I thought that all a head to do is point it to the system's gtk+ headers and libs. Am I wrong in doing this? I just want to leave my system gtkfixed intact and just create a new widget named "gtkfixed2" or something l

Can you help me compile a single widget?(I want to patch it later on).

2010-01-13 Thread sledge hammer
Hi, I want to use GtkFixed as my preferred container(yes I am aware of the warnings against it). Currently there is an old bug that prevents me from fully utilising it. I am referring to bug 81630. Although there are available 2 patches there is no word from the developers. I want to test them