Gnome Terminal Alt+# Tab Switching

2006-04-03 Thread Tristan Sloughter
_group, '1', GDK_MOD1_MASK, GTK_ACCEL_VISIBLE, goto_tab_closure_1); for setting up an accel to catch Alt+1 and then go to the first tab. Also, why did gnome-terminal decide to override a Bash feature? Thanks, Tristan Sloughter ___ gtk-app-devel-list

GList

2005-08-17 Thread Tristan Sloughter
I am using GLists and want to make sure I am freeing all the memory, and not twice or course. There are three possible functions for removing an element from the list: g_list_remove (GList *list, gconstpointer data); g_list_remove_link (GList *list, GList *llink); g_list_delete_link (GList *lis

Re: XGrabKey

2005-08-17 Thread Tristan Sloughter
I did this in my program tilda like this: key_grab (gchar *key) { XModifierKeymap *modmap; unsigned int numlockmask = 0; unsigned int modmask = 0; gint i, j; /* Key grabbing stuff taken from yeahconsole who took it from evilwm */ modmap = XGetModifierMapping(dpy); for (i

Grabbing focus under Metacity Gnome2.10

2005-06-30 Thread Tristan Sloughter
My program Tilda(http://tilda.sf.net) needs to be able to grab focus when the user presses a key requesting for Tilda to reappear. For some reason this works fine in most window managers (xfwm4, fluxbox...) but under Metacity focus does not go to Tilda when it reapears. This: gtk_window_present (