~ubuntu-branches/ubuntu/quantal/gtkmm3.0/quantal

« back to all changes in this revision

Viewing changes to gtk/gtkmm/buttonbox.cc

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-09-28 09:25:06 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20120928092506-9h63ais5o750a8sk
Tags: 3.5.13-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on libglibmm-2.4-dev, libgtk-3-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#include <gtkmm/private/buttonbox_p.h>
8
8
 
9
9
 
10
 
// -*- c++ -*-
11
 
/* $Id: buttonbox.ccg,v 1.1 2003/01/21 13:38:43 murrayc Exp $ */
12
 
 
13
10
/*
14
 
 *
15
11
 * Copyright 1998-2002 The gtkmm Development Team
16
12
 *
17
13
 * This library is free software; you can redistribute it and/or
147
143
 
148
144
void ButtonBox::set_layout(ButtonBoxStyle layout_style)
149
145
{
150
 
  gtk_button_box_set_layout(gobj(), ((GtkButtonBoxStyle)(layout_style))); 
 
146
  gtk_button_box_set_layout(gobj(), ((GtkButtonBoxStyle)(layout_style)));
151
147
}
152
148
 
153
149
void ButtonBox::set_child_secondary(Widget& child, bool is_secondary)
154
150
{
155
 
  gtk_button_box_set_child_secondary(gobj(), (child).gobj(), static_cast<int>(is_secondary)); 
 
151
  gtk_button_box_set_child_secondary(gobj(), (child).gobj(), static_cast<int>(is_secondary));
156
152
}
157
153
 
158
154
bool ButtonBox::get_child_secondary(const Gtk::Widget& child) const
167
163
 
168
164
void ButtonBox::set_child_non_homogeneous(Gtk::Widget& child, bool non_homogeneous)
169
165
{
170
 
  gtk_button_box_set_child_non_homogeneous(gobj(), (child).gobj(), static_cast<int>(non_homogeneous)); 
 
166
  gtk_button_box_set_child_non_homogeneous(gobj(), (child).gobj(), static_cast<int>(non_homogeneous));
171
167
}
172
168
 
173
169