Re: [gtk-list] Re: Iconns and DnD?



Michael Sobolev wrote:

> >     I am trying to write a small file manager, which would display files
> > in text, and icon mode, and would support DnD.  I was wondering which
> > widget should I use to display the icons, and how can i display icons in
> > that widget, so that icons would support event signals...etc....
> As for icons themselves, I suppose you should be using GtkPixmap (at least,
> I would make use of it), as for signals, the tutorial's recommendation is
> quite simple: use eventbox.
>

I do use GtkPixmap to display the icons, and i tried to use eventbox to track
the events, but i don't know how to add the eventbox to the file browser?  I
use GtkFixed widget to display the icons.  Should I add an hbox and a vbox to
the GtkFixed widget and then just add the eventbox on to them?  Is this
correct or there is a better way to do that?

> Regards,
>
> --
> Mike
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null

Thank you.
Marsel Osipov




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]