Re: (no subject)



On Thu, 1 Feb 2001, Jim Crafton wrote:

Hi
I'm new to GTK and I am wondering how one gets the bounding box of a
widget ?



Also can a widget be positioned with absolute coordinates ?

Yes if you use a 

GtkWidget *myFixed;

GtkWidget *dial;

/* The fixed area */
myFixed = gtk_fixed_new(  );

/* Place the dial widget at some coordinates */
gtk_fixed_put( GTK_FIXED( myFixed ), dial, 250, 290 );

GH

----------------------------------------------------------------
Göran Hasse            email: gh raditex se     Tel: +46 8 694 92 70
Raditex AB             http://www.raditex.se    Fax: +46 8 442 05 91
Sickla Alle 7, 1tr                              Mob: 070-5530148
131 34  NACKA, SWEDEN






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