setting size of GtkNotebook scroll-arrow

2008-10-27 Thread Rainer Klier
hi list, does anybody know a way to set the size of the scroll-arrows of GtkNotebooks that appear, if there are too many tabs to show in given place? i know there are the style-properties: arrow-spacing scroll-arrow-hlength scroll-arrow-vlength but these are all Read-only!! how do i set the

How to tell the difference between a minimize and a switch desktop?

2008-10-27 Thread Jim George
Hi All, I'm trying to write a program that will minimize to a tray icon. I do this by writing a handler for the window-state-event, and checking the changed mask and new window state for the GDK_WINDOW_STATE_ICONIFIED flag. It all works well, and I also add a handler for the activate callback of

Re: How to tell the difference between a minimize and a switch desktop?

2008-10-27 Thread Rorschach
Hi Jim, I discovered exactly the same odd behavior like you did: http://rorschachstagebuch.wordpress.com/2008/09/16/gdk-minimiert-und-auf-einem-anderen-desktop-erzeugen-das-selbe-windowstate-event/ ! changed_mask always gets the value GDK_WINDOW_STATE_ICONIFIED when switching the desktop. I

memory leak when destroying widgets

2008-10-27 Thread Jacques Le Normand
Hello list I have this short program that's leaking memory (according to top). Could someone tell me what I'm doing wrong? The program simply creates, packs and shows 100 gtk_entries and then destroys them at 400 ms intervals I appreciate any help you can give P.-S. I didn't know which list to

Re: How to tell the difference between a minimize and a switch desktop?

2008-10-27 Thread Iain *
2008/10/27 Rorschach [EMAIL PROTECTED]: Hi Jim, I discovered exactly the same odd behavior like you did: http://rorschachstagebuch.wordpress.com/2008/09/16/gdk-minimiert-und-auf-einem-anderen-desktop-erzeugen-das-selbe-windowstate-event/ ! changed_mask always gets the value