Re: missing member: Gtk::ComboBox->set_has_frame(bool)
- From: "m. radzewitz" <m radzewitz freenet de>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gtkmm-list gnome org
- Subject: Re: missing member: Gtk::ComboBox->set_has_frame(bool)
- Date: Thu, 6 Dec 2007 11:57:08 +0100
* On Wed, 05 Dec, 2007 11:46 CET Murray Cumming wrote:
>
> On Wed, 2007-12-05 at 10:37 +0100, m radzewitz freenet de wrote:
> > Hello,
> >
> > i am missing the member function:
> >
> > void set_has_frame(bool)
> >
> > in Class: Gtk::ComboBox/Entry/Text
>
> Gtk::Entry::set_has_frame() exists:
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Entry.html#504640ca087eb8a02530c6d1a8ba7e06
>
> Gtk::ComboBox::set_has_frame() does not exist (and there is no
> equivalent in GTK+ either), but you can use the property:
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1ComboBox.html#aee20c9c41ace2b3dba1529deee2cab9
>
> I don't know what you mean by "Gtk::Text".
>
sorry for those misunderstandings above - i have looked for: set_has_frame in
Gtk::ComboBox
Gtk::ComboBoxEntry
Gtk::ComboBoxEntryText
now i have tried the following without any effect:
comboboxentry1 = Gtk::manage(new class Gtk::ComboBoxEntryText());
comboboxentry1->property_has_frame().set_value(false);
the ComboBox still shows up with a frame around it. In Gtk::Entry (and others)
both memberfunctions work as described:
entry2 = Gtk::manage(new class Gtk::Entry());
entry2->set_has_frame(false); //OK
entry2->property_has_frame().set_value(false); //also OK
In gtk its possible to set this value through:
comboboxentry1 = gtk_combo_box_entry_new_text ();
g_object_set (comboboxentry1, "has_frame", FALSE, NULL);
maybe i have a problem with the compiled library.
Thanks
Michael
--
_o
_< \ _
(_)>(_)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]