Re: [gtk-list] Re: Pixmaps in gtk



  Hello!

> > I beg to differ.  Buttons can hold any widget, including GtkPixmaps.
> > While handling the button-press event, swap in a different GtkPixmap.
> > You can make the user_data be a pointer to an array of GtkPixmaps,
> > and drop the correct one in at each button press.
> 
> I was not precise enough (sorry). As you said, it is possible. But I had
> in mind, that you can define in your gtkrc something like
> "Style = fancy_pixmap_style" and have all your application automatically
> using pixmaps for widgets. Without recompiling your apps or gtk.

  Exactly, Jens!
  That would be absolutely great if GTK supported multiple looks!
  I guess this feature could make GTK even more popular, because
people could switch to any look they prefer. The GUI-look diversity
could be reduced in this way, and the GTK applications would have the
same coherent appearence.
  I think we should move into a direction similar to what's done in
the Mac (anyone with mode knowledge of how this is accomplished?):

    http://www.kaleidoscope.net/

  Just dream of... =)
  Of course, the window/desktop manager would need to be GtkStyle
compliant to get the same look in the desktop. I guess the GNOME dudes
are working in this part.

  Regards,
    Marcelo

-- 
  Marcelo de Gomensoro Malheiros -- malheiro@dca.fee.unicamp.br
       ---- THE LINUX FILES - The Source Is Out There ----



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