Re: Connecting to Configure signal event



On Wed, Nov 27, 2013 at 11:18 AM, a <vis 314 15 gmail com> wrote:
On 11/27/2013 12:59 PM, Kjell Ahlstedt wrote:
2013-11-26 22:37, a skrev:
On 11/26/2013 08:33 AM, Kjell Ahlstedt wrote:
2013-11-26 05:09, a skrev:
Here is the small program where the Gtk::Entry does not increase when window
increases.

//Example.cc

ExampleWindow::ExampleWindow()
: m_VBox(Gtk::ORIENTATION_VERTICAL),
  m_HBox_entry(Gtk::ORIENTATION_HORIZONTAL),
  m_Label("Label")
{
  set_size_request(200, 100);
  set_title("Gtk::Entry");

  add(m_VBox);

  m_HBox_entry.set_halign(Gtk::ALIGN_CENTER);

If the HBox alignment is not set to Gtk::ALIGN_FILL (as it is by
default), the box will only be the minimum required sized for its
children.


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