Re: How can I achieve this?
- From: Néstor <nestorac gmail com>
- To: ikorot earthlink net
- Cc: gtk-list gnome org
- Subject: Re: How can I achieve this?
- Date: Fri, 20 Mar 2009 23:22:03 +0100
Hi Ikorot,
I think that there must be some examples of this behaviour on current
applications. Take a look at this simple example, which explains how
combo boxes work:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/chapter-combobox.html
Maybe you can add items for your ComboBox using the function append_text??
I have no specific knowledge on this matter, but the usual thing I do
when I face similar problems is to try to think with a wider
perspective. Is is necessary to do that? How was it achieved in the
past? Sometimes those new functions are not very tested, and may cause
problems.
I hope this little help may work for you.
On Fri, Mar 20, 2009 at 10:20 PM, <ikorot earthlink net> wrote:
> Hi, Nestor,
>
> -----Original Message-----
>>From: Néstor <nestorac gmail com>
>>Sent: Mar 20, 2009 3:52 PM
>>To: ikorot earthlink net
>>Cc: gtk-list gnome org
>>Subject: Re: How can I achieve this?
>>
>>It would be better if you provide us with some application to try, and
>>see if there is some easier solution. I have no idea, but this seems
>>to be hard to achieve. At least some screenshots and a little
>>explanation of your purposes and ideas would do the job.
>
> For the explanation, take a look here:
> http://msdn.microsoft.com/en-us/library/bb775810(VS.85).aspx and
> http://msdn.microsoft.com/en-us/library/bb775806(VS.85).aspx.
>
> Basically, I'm looking for a way to intercept the dropdown/popup
> notification of the list box of the combo box.
> The link I'm referring to does the job nicely, but I want to have something
> for the versions prior to 2.10.
>
> The idea is to implement dynamically filled combo box, when I know what items
> will be in at run-time.
>
> Thank you.
>
>>
>>On Fri, Mar 20, 2009 at 8:20 PM, <ikorot earthlink net> wrote:
>>> OK, since I didn't get a responce on this one, I'll ask a little differently:
>>>
>>> Is it possible to backport this feature to earlier GTK+ versions?
>>>
>>> Thank you.
>>>
>>> -----Original Message-----
>>>>From: ikorot earthlink net
>>>>Sent: Mar 18, 2009 7:20 PM
>>>>To: gtk-list gnome org
>>>>Subject: How can I achieve this?
>>>>
>>>>Hi, ALL,
>>>>
>>>>This feature: http://library.gnome.org/devel/gtk/stable/GtkComboBox.html#GtkComboBox--popup-shown
>>>>available only on GTK+ 2.10 and above. Is it possible to do that - catch
>>>>combobox list popup - on the GTK versions prior to that?
>>>>
>>>>Thank you.
>>>
>>> _______________________________________________
>>> gtk-list mailing list
>>> gtk-list gnome org
>>> http://mail.gnome.org/mailman/listinfo/gtk-list
>>>
>>
>>
>>
>>--
>>Néstor
>>+34 687 96 74 81
>
>
--
Néstor
+34 687 96 74 81
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]