custom widget theme change problem

2012-06-21 Thread James Morris
Hi, I have a custom GTK widget which renders using Cairo. In the expose callback gtk_widget_get_style is called to obtain colours to render the widget with some theme consistency. When a theme is changed (ie using gtk-chtheme) any of my custom widgets that are visible are not updated. However,

Re: Accelmap value

2012-06-21 Thread drkmkzs
I'm not sure, at least in my system, because in my keyboard mapping (french) AltGr is used for special characters. These characters works well in Gtk::TextView or Gtk::Entry, which mean correct value is passed by Gtk, which means correct modifier is identified by Gtk. It seems either the problem

Re: multiple GTKentry inside a GTKnotebook

2012-06-21 Thread Mariano Gaudix
How is the program you want to do? Can you explain? 2012/6/21 Rudra Banerjee bnrj.ru...@yahoo.com Thanks, but its not solving the main problem. / 2012/6/20 Rudra Banerjee bnrj.ru...@yahoo.com

GTK 3.0 inactive buttons (Buttons : maximize , minimize , close )

2012-06-21 Thread Mariano Gaudix
Hello How I can make the buttons are inactive , the buttons of the window (Buttons : maximize , minimize , close ) or without focus when the pointer isover them ? I need to get the effect . Caso 2 . View image

Re: custom widget theme change problem

2012-06-21 Thread James Morris
Hello again, Seems to be a habit of mine here, I ask a question, don't get an immediate response and then look further into it and find some sort of solution... On 21 June 2012 10:42, James Morris jwm.art@gmail.com wrote: Hi, I have a custom GTK widget which renders using Cairo. In the

Re: custom widget theme change problem

2012-06-21 Thread James Morris
On 22 June 2012 01:50, James Morris jwm.art@gmail.com wrote: Can anyone give any pointers as to what might be happening? I've found the culprit, or put another way, I've found what to comment out to fix the problem. In my custom_widget_realize callback it has the following code which if

Re: multiple GTKentry inside a GTKnotebook

2012-06-21 Thread Rudra Banerjee
By this code, what I want to achieve is that: After choosing book/loco/lardon etc as done by you, this will print the active_data in combobox and Entries in a file. So, if the combo entry is Book and entryAuth is MyAuthor entryEditor is MyEditor entryTitle is MyTitle and bibkey is Mybib then