You are not logged in.

#1 2007-03-27 20:18:50

billy
Member
From: Slovenia
Registered: 2006-09-13
Posts: 164

gtkmm

How can i put two button widgets in the middle of the window (horizontaly) ,lets say 20 pixels away from each other, so that they will stay there even if i resize the window? i tried with HBox, but i don't know how to align a widget to the right.

thanks for help.

Offline

#2 2007-03-28 02:03:40

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: gtkmm

With some work it should be possible. Sorry ablut it being in pygtk, but you should get the idea anyway!

Offline

#3 2007-03-28 08:39:51

billy
Member
From: Slovenia
Registered: 2006-09-13
Posts: 164

Re: gtkmm

thanks, your example helped me smile. all i had to do was to add a button in an alignment widget.

Offline

Board footer

Powered by FluxBB