To do that i would use the "size_allocate" signal, which is called when
the parent container tell children the allocation, which is the
second phase of "Size Negotiation" (google for it :) )
See you,
Luca
(Gdk::Rectangle& allocation)
Mr. F.Ali wrote:
Thx sir your suggestion has solved my prob
Hello Ali,
I think you could only set the events before the widget is realized.
Greetings,
Luca
Mr. F.Ali wrote:
i am trying to make a custom control and i am
attaching "expose_event" and "button_press_event" on
my button in the array of buttons.
My Program is Working Properly but i am getting
yeajchao wrote:
> Hello all
>I have a problem as fllow:
> there is a entry ,it's background is black
> the problem is that ,when i clicked in the entry ,
>I can not see the cursor,
>it may be because the cursor is also black
>
>In my opinion ,if I changed the cursor's colo
gtk_widget_add_events(window,GDK_POINTER_MOTION_MASK |
GDK_POINTER_MOTION_HINT_MASK);
A few more questions on GtkEvent:
There are 2 ways I can get data of mouse position: event->button.x or
event->motion.x. Out of these two, which one should be used to capture
the location of the mo
h GTK+ programming.
Trying to get familar with it.
Thanks for your help.
Douglas
Luca Cappa wrote:
Hello,
Douglas Vechinski wrote:
Yes it is idle a lot. Whenever your not moving the mouse or
interacting
with the GUI it should be sitting in main GTK event loop.
On Fri, 2005-08-05 at 17:31
Hello,
Douglas Vechinski wrote:
Yes it is idle a lot. Whenever your not moving the mouse or interacting
with the GUI it should be sitting in main GTK event loop.
On Fri, 2005-08-05 at 17:31 +0200, Sven Neumann wrote:
Hi,
Douglas Vechinski <[EMAIL PROTECTED]> writes:
The problem
Luca Cappa wrote:
Hello,
in my application I have some key handlers which receive input from
the user. When the user press a key,
a task has to be executed: this task could require a tiny time slice
or a longer one. The problem is that if the user
hold pressed a key and the relative task
Hello,
in my application I have some key handlers which receive input from the
user. When the user press a key,
a task has to be executed: this task could require a tiny time slice or
a longer one. The problem is that if the user
hold pressed a key and the relative task takes a lot of time to b
[EMAIL PROTECTED] wrote:
On Mon, 13 Jun 2005 14:38:27 +0200, Luca Cappa said:
My problem is that I would like to reset the mouse pointer position
after each delta movement has been detected: in this
way the mouse pointer is always placed in the original position it was
when the mouse
Hello,
[EMAIL PROTECTED] wrote:
hi,
i do much the same thing in my application when i am zooming in on
seismological waveforms, mouse-down drag-right = zoom in, mouse-down
drag-left = zoom out.
in order to determine whether or not to zoom in or out, on mouse-down i
save the coordinates of the
Hello all,
I have implemented a way to rotate the view around a point in my 3D
application, by using the mouse pointer: in
fact when the left mouse button is hold down and the mouse is moved, the
view rotates around. When this process
is going on, the mouse is hidden (i.e. its shape is an empt
11 matches
Mail list logo