Hi,I have created a GtkTree where all GtkTreeItems can
be dragged. Butgtk_drag_dest_set() seems to work only for those items which
are directlyconnected to the main (root) GtkTree. Dragging over other items
in subtreesdoes not highlight them and so the "drop" will not be accepted
Hello all,
I need to detect when I press enter in a gtk entry text, callback
function is here:
void
on_entry_senha_user_changed(GtkEditable *editable,
gpointer user_data)
{
gchar string_senha_user[10];
int len;
gchar
You'll want to connect a keypress signal from the entry box to a
callback routine and check for the Enter keystroke. If it's not enter,
just return false (I think), so the keystroke will be processed by gtk.
Michael
On Tue, 2002-01-15 at 10:35, Flávio Alberto Lopes Soares wrote:
Hello all,
I attempt to verify if the last character is the return (13) but I see
that return doesn't generated the changed signal, how to do this ?
the key_press event/signal.
--p
___
gtk-list mailing list
[EMAIL PROTECTED]
Hi,
I have a problem concerning callbacks. I have a created widget and I am
trying to place this widget inside a GUI. The GUI has some buttons,
I want that when I press these buttons I can change boolean variables in
the widget class so that I can manipulate the widget in a different
manner. The
Flávio Alberto Lopes Soares [EMAIL PROTECTED] writes:
I need to detect when I press enter in a gtk entry text, callback
function is here:
The activated signal is normally emitted when enter is pressed.
The carriage return doesn't end up in the entry.
Havoc
I will use the key_press event because all windows in my application
already use this signal, and I will send the gtk entry text contents to
your manipulation function.
Thanks by help
Flavio Alberto
Em 15 Jan 2002 14:07:09 -0500, Havoc Pennington escreveu:
Flávio Alberto Lopes Soares
I will use the key_press event because all windows in my application
already use this signal, and I will send the gtk entry text contents to
your manipulation function.
whether this is a good idea. if you really want to catch Enter, then
key_press (or key_release) is it. if you want to know when
Hi
Is entry have key_release event,
or only have key_press ?
Vahid
Thanks
__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
___
gtk-list mailing
whyhawk [EMAIL PROTECTED] writes:
I have found that the drop on a tree doesn't work well:
If I call gtk_drag_dest_set on the tree_items, the drop succeeds
only when it is on the first tree_item, and not when I try
to drop on the other tree_items;
My Gtk lib Version 1.2.9.
1. Can
10 matches
Mail list logo