On Thu, Nov 7, 2013 at 7:06 PM, Mahesh Chaudhari
wrote:
> On Thursday, 7 November 2013 10:46 AM, Andrew Potter
> wrote:
> On Thu, Nov 7, 2013 at 4:10 AM, Mahesh Chaudhari
> wrote:
>> Also (unsuccessfully) tried :
>> void enter_button1(GtkWidget *widget, gpointer data)
>> {
>>GtkStyle *style;
Andrew,
when so ever theme style may get applied but
I am doing this in enter signal handler i.e. whenever I keep mouse pointer over
button ,
style of the normal state copied to prelight state
On Thursday, 7 November 2013 10:46 AM, Andrew Potter wrote:
On Thu, Nov 7, 2013 at 4:10 AM, Ma
On Thu, Nov 7, 2013 at 4:10 AM, Mahesh Chaudhari
wrote:
> Also (unsuccessfully) tried :
> void enter_button1(GtkWidget *widget, gpointer data)
> {
> GtkStyle *style;
> style = gtk_widget_get_style(button1);
> style->bg[GTK_STATE_PRELIGHT] = style->bg[GTK_STATE_NORMAL];
> gtk_widget
Hi,
On Thu, Nov 07, 2013 at 08:10:50PM +0800, Mahesh Chaudhari wrote:
> which one to use if I wants my button should not glow on hovering mouse
> pointer over the button
It comes from the theme. It's a bad idea to stop a signal because you
don't want the :hover effect.
Regards,
Sébastien
Hi ,
which one to use if I wants my button should not glow on hovering mouse pointer
over the button
1. g_signal_handler_block()
2. g_signal_handler_disconnect()
3. g_signal_stop_emmission()
4. g_signal_override_class_closure()
5. g_signal_override_class_handler()
Ok, I finally find out what was the problem..
I had to add the library pango-1.0.lib in the compiling options.
Strange that this was not included initially when building a project
with gtk+.
P.. I spent days on this...
Thanks is all cases for your help on this.
Cheers, Eric.
Eric Wajn
Thanks Michael for your answer.
The compilation is ok. No error message. This is the linker that
reports, e.g.:
undefined reference to `pango_font_description_from_string'
The instruction I use to compile is (which is launched by CodeBlocks):
mingw32-g++.exe -L"C:\Program Files (x86)\CodeBlo
Hello,
I'm programming a tool using Vala langage. I need to manipulate a
treeview, delete an item for example.
I'm trapped the "release key" event but for certain keys, treeview emits a
beep (left or right arrow, del keys).
How can I remove this "beep" ?
CODE sample.vala ##