GtkToggleAction problem

2009-04-06 Thread sergey
Hello! I wish to switch state GtkToggleAction without a signal "toggled", but it is impossible. Can be to substitute string in a file gtktoggleaction.c gtk_toggle_action_set_active (action, g_value_get_boolean (value)); on string action->private_data->active = g_value_get_boolean (value); Then by

How to draw a primitive with one color and fill it with another?

2008-04-14 Thread Sergey Parhomenko
Hello everyone. I want to draw a red circle filled within with a green color on my pixmap. I've set foreground and background colors and passed TRUE as the "filled" parameter to gdk_draw_arc(). But the circle is filled with the same color as it is drawn, that is with the foreground color - red. H

Problems with gtk calls

2006-05-14 Thread Sergey A. Teryohin
Hello It is necessary to run application in desktop-layer, and it should be seen on all virtual desktops, and it shouldn't be appeared in taskbar. The code below used for implementation of this concept: gtk_window_set_decorated((GtkWixfcendow *)window, false); gtk_window_set_policy((GtkWindow *)