On 02/05/2013 08:48 PM, SaltySugar wrote:
Thank you, Mike. One more question. Can I use hbox.add(btn); instead of
hbox.packStart (btn,false,false,5);
What difference between them?
Sorry, for my bad English.
hbox.add would call packStart with the defaults, witch would be
packStart(btn, true, t
On 2013-02-05 20:48, SaltySugar wrote:
Can I use hbox.add(btn); instead of hbox.packStart (btn,false,false,5);
What difference between them?
Using add(btn) you would probably end up with a stretched button again. :)
hbox.packStart(child, expand, fill, padding)
It was explicitly said that ex
On Tuesday, 5 February 2013 at 19:31:01 UTC, Mike Wey wrote:
On 02/05/2013 06:33 PM, SaltySugar wrote:
I can't find any tutorials about buttonboxes. Can you write
how to use it?
Here is a small example:
import gtk.MainWindow;
import gtk.Button;
import gtk.Main;
import gtk.HButtonBox;
class A
On 02/05/2013 06:33 PM, SaltySugar wrote:
I can't find any tutorials about buttonboxes. Can you write how to use it?
Here is a small example:
import gtk.MainWindow;
import gtk.Button;
import gtk.Main;
import gtk.HButtonBox;
class Application : MainWindow
{
this()
{
super("GtkD
On Monday, 4 February 2013 at 21:55:24 UTC, Mike Wey wrote:
On 02/04/2013 03:03 PM, SaltySugar wrote:
On Sunday, 3 February 2013 at 16:07:06 UTC, Artur Skawina
wrote:
On 02/03/13 16:53, SaltySugar wrote:
GTKD. Can someone explain me how to change button size in
vbox, hbox?
setSizeRequest (70,
On 02/04/2013 03:03 PM, SaltySugar wrote:
On Sunday, 3 February 2013 at 16:07:06 UTC, Artur Skawina wrote:
On 02/03/13 16:53, SaltySugar wrote:
GTKD. Can someone explain me how to change button size in vbox, hbox?
setSizeRequest (70, 50); doesn't work. Thanks.
Try playing with an interactive
On Sunday, 3 February 2013 at 16:07:06 UTC, Artur Skawina wrote:
On 02/03/13 16:53, SaltySugar wrote:
GTKD. Can someone explain me how to change button size in
vbox, hbox? setSizeRequest (70, 50); doesn't work. Thanks.
Try playing with an interactive gui tool, such as glade. The
fill, expand
On 02/03/13 16:53, SaltySugar wrote:
> GTKD. Can someone explain me how to change button size in vbox, hbox?
> setSizeRequest (70, 50); doesn't work. Thanks.
Try playing with an interactive gui tool, such as glade. The fill, expand and
size request interactions will be immediately visible.
artur
GTKD. Can someone explain me how to change button size in vbox,
hbox? setSizeRequest (70, 50); doesn't work. Thanks.