,
GDK_BUTTON2_MOTION_MASK, GDK_BUTTON_PRESS_MASK,
GDK_VISIBILITY_NOTIFY_MASK) to the two drawing_area,
and the respective callback, but the problem is that
when I press a any key, the Gtkentry and the two
drawing_are receive the signal, then call the function
callback of the two drawing_area and writes
,
and the respective callback, but the problem is that
when I press a any key, the Gtkentry and the two
drawing_are receive the signal, then call the
function
callback of the two drawing_area and writes the
character in the Gtkentry.
My question:
how can I do for that when I press a key, The signal
you have gotten your panties into a serious twist.
start over:
when wanting to receive key press events in a drawing area, you must do
all of the following:
1. set up the drawing area to receive key press and/or release events.
2. set up the drawing area to receive enter and leave notify
Thanks for advice Richard Boaz
But only I have a problem with your solution, the user
must have the mouse all time inside of the drawing
area if he want interact with the drawing area, and if
he want interact with the menu he need to move the
mouse or use the keyboard for interact with the menu.
Hello again
I am making a window that has a menu, two drawing_area
and a GtkEntry
I added the following events (GDK_BUTTON1_MOTION_MASK,
GDK_BUTTON2_MOTION_MASK, GDK_BUTTON_PRESS_MASK,
GDK_VISIBILITY_NOTIFY_MASK) to the two drawing_area,
and the respective callback, but the problem is that
when
Hello again
I am making a window that has a menu, two drawing_area
and a GtkEntry
I added the following events (GDK_BUTTON1_MOTION_MASK,
GDK_BUTTON2_MOTION_MASK, GDK_BUTTON_PRESS_MASK,
GDK_VISIBILITY_NOTIFY_MASK) to the two drawing_area,
and the respective callback, but the problem is that
when
James Vanns wrote:
Okay. I have a function called create_toogle_window (). Within this
function
I have a few GtkWidgets initiated as GtkToggleButtons (3 of) and then one
OK
button.
I have also a struct defined as within a header file:
typedef struct _options {
gboolean bss;
Hi everyone. Thanks in advance for at least reading my small problem!
Okay. I have a function called create_toogle_window (). Within this function
I have a few GtkWidgets initiated as GtkToggleButtons (3 of) and then one OK
button.
I have also a struct defined as within a header file:
typedef