Re: A question about deprecated widget
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: A question about deprecated widget
- Date: Mon, 18 Dec 2006 20:25:24 +0100
On Mon, Dec 18, 2006 at 07:33:34PM +0100, galtgendo o2 pl wrote:
1. One of the parts of GTK_COMBO seemed to be a scrolled window, what
would be the simplest combination of widgets to have similar
look-and-feel, cause GTK_COMBO_BOX with longer lists is simply ugly.
This is a matter of Gtk+ theme. Try setting
"appears-as-list" style property of GtkComboBox to 1 in your
gtkrc-2.0.
2. As GTK_COMBO_BOX uses GTK_LIST_STORE, what would be the most
efficient way to transform a GList or char** to such thing.
Use gtk_combo_box_new_text() to create a simple text-only
combo and fill it with the strings. Then throw away the
GList or array.
Yeti
--
Whatever.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]