>A button to move the selected item from the clist to wherever you want
>to move it to? In general, drag and drop should _only_ be a shortcut,
>since it won't be accessible to all users, and is also hard to figure
>out that it is present even for users that are fully mouse-1enabled.
since my GUI
Paul Davis <[EMAIL PROTECTED]> writes:
> >> is this another one of those "oh yeah, CList is totally broken, use
> >> 1.3/2.0" type errors
> >
> >Got it in one. (Well, at least for something complicated like
> >trying to drag and drop from a clist to elsewhere. You can
> >look at the gmc code if
>pardon my french, but f*ck.
my apologies to any french speakers for my unthinking propagation
of this old anglo jest about language.
--p
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
>> is this another one of those "oh yeah, CList is totally broken, use
>> 1.3/2.0" type errors
>
>Got it in one. (Well, at least for something complicated like
>trying to drag and drop from a clist to elsewhere. You can
>look at the gmc code if you want to see how someone managed
>to get this work
Paul Davis <[EMAIL PROTECTED]> writes:
> In gtkclist.c in GTK+ 1.2.8, we have:
>
> gtk_selection_data_set (selection_data, selection_data->target,
> GTK_TYPE_POINTER, (guchar *) &ret_info,
> sizeof (GtkCListCellInfo));
[..
In gtkclist.c in GTK+ 1.2.8, we have:
gtk_selection_data_set (selection_data, selection_data->target,
GTK_TYPE_POINTER, (guchar *) &ret_info,
sizeof (GtkCListCellInfo));
But the reference says:
gtk_selection_data_set
Hello,
I have a problem with widget pixmaps, I need change the picture in a
pixmap widget in some moment in my application, but I don't know how to
make this, I think to copy x & y coordinates and other properties of
this pixmap, destroy it and re-create it with new picture with old
properties, b
I found it:
gnome_app_set_contents(GNOME_APP(window), frame);
Thanks.
>From: "Dinesh Nadarajah" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>CC: [EMAIL PROTECTED]
>Subject: Re: gtk-bin.c error when using frames
>Date: Wed, 10 Oct 2001 10:04:11 -0500
>
>I tried a couple of things. I forgot to me
I tried a couple of things. I forgot to mention that this is a Gnome app.
When I did this:
//topLevelWindow = gnome_app_new("gnomewin", "Gnome Window");
topLevelWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL);
(commented out the gnome part and created a simple GTK window it worked).
But
Hi,
GtkList is limited to a small number of items, because it uses an X
window to put them inside, and X windows have 16-bit signed integers
for coordinates. So you are looking at 32K pixels maximum for
GtkList. GtkCList avoids this problem.
GTK 2 has an extremely elaborate hack to make GdkWind
>Gtk-CRITICAL **: file gtkbin.c: line 217 (gtk_bin_add): assertion
>`bin->child == NULL' failed.
you're attempting to add two children to a GtkBin object. you can't do
that. check the places where you call gtk_container_add().
--p
___
gtk-list mailin
Dinesh> // create source frame
Dinesh> frame = makeFrame();
Dinesh> gtk_container_add(GTK_CONTAINER(topLevelWindow), frame);
Try
gtk_container_add(GTK_CONTAINER(frame), topLevelWindow);
instead... Gtk is an object-oriented programming system implemented in C.
Metho
Hi:
I get the following error when I try to use frames to pack widgets. It is
just a test application I wrote to learn GTK/GNOME programming:
Gtk-CRITICAL **: file gtkbin.c: line 217 (gtk_bin_add): assertion
`bin->child == NULL' failed.
Below is the code I used. It's mostly from this book t
>> Does someone have a fairly simple example of using
>> gtk_tree_selection_selected_foreach? ...
vishnu> Is this simple enough?
...
Yes, thanks. I guess it supports my suspicion that GtkTreeIters are opaque
goodies and are going to be of no use to a Python programmer, no mat
Has anyone else noticed a bug in gtklist and gtkscrolled window that stops
the scroll bar from working correctly?
If too many entries are added to the list (I believe it's a memory error so
the exact number is depenedant on the size of the object being added to the
list) the scrollbar still a
Daniel Erat wrote:
> I think that one way to do this would be something like the following (this
> very well may have bugs... I haven't tested it, but it's similar to some of
> the code that I'm using for draggable tabs):
>
> gtk_widget_add_events (notebook, GDK_POINTER_MOTION_MASK);
I don't
16 matches
Mail list logo