Re: Simple Gtk app.



On Wed, 25 Oct 2000, Jose Eusebio Roza Pando wrote:

I do not know the way to move the pixmap in gtk, but i know
that is possible with gtkextra lib. You must create a canvas
and you must insert inside a child (a pixmap for example) and
move it easily.

i think it would be even more easy to put your pixmap in a fixed container:

      GtkWidget* gtk_fixed_new( void );

      void gtk_fixed_put( GtkFixed  *fixed,
                          GtkWidget *widget,
                          gint16     x,
                          gint16     y );

      void gtk_fixed_move( GtkFixed  *fixed,
                           GtkWidget *widget,
                           gint16     x,
                           gint16     y );

i've done it once to test libglade, but the code is gone to trash i fear! ;-)

regards ...
clemens




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