Hi Lars,
There are a few things that you can try to see if you can get the combo box to
format how you want it. The first is to create the combo with
gtk_combo_box_new_with_model(). That way you can setup your cell renderer and
be able to set properties of how the combo box is going to be
Hello All,
I have created a combo box and it is nicely displayed in my window.
But it always takes the full window size.
I would like to limit the size in that way, that it always takes 1 row
height
or better say the height of the text line or font size (1em in CSS
encoding).
I have only
On Sat, Dec 07, 2013 at 05:54:23PM +, Tristian Celestin wrote:
> I have a GtkListStore that contains 4 columns of unsigned integers
> (G_TYPE_UINT). I would like to display the second column of integers
> in a GtkComboBoxText widget, and I would like the integers to be
> displayed in Base 12.
combo box
for columns of G_TYPE_STRING:
gtk_combo_box_set_model(GTK_COMBO_BOX(self->priv->comboboxtext1),
GTK_TREE_MODEL(device_store));
gtk_combo_box_set_id_column(GTK_COMBO_BOX(self->priv->comboboxtext1), 1);
Is my only solution to add another column to the list store containing
COMBOBOX with SCROLLBAR
Excuse me for my question I am creating a
combo-box with scrollbar with GTK 3.0 and VALA (gtk) . .as the
COMBO-BOX in LibreOffice that have in the list of FONTS ..
GTK 3.0 have not a COMBO-BOX with scrollbar
Re-hello,
Just to round up,
I installed LinuxMint 13 (with Cinnamon Desktop), and the combo box
loads very, very fast on this installation, with both gtk2 and gtk3.
This is a huge difference compared to my Ubuntu 12.04 partition.
I tried to fix Ubuntu by upgrading its "linux 3.2.generi
. All well.
Kindly
Osmo Moma Antero
On Thu, May 24, 2012 at 10:14 PM, Michael Cronenworth wrote:
> Osmo Antero wrote:
>> Adding rows to a combo box with a GtkListStore is immensely slow.
>> Is it right that adding 500 rows can take upto 10 seconds and the GUI
>> freezes?
>
Osmo Antero wrote:
> Adding rows to a combo box with a GtkListStore is immensely slow.
> Is it right that adding 500 rows can take upto 10 seconds and the GUI freezes?
I have similar hardware but with the NVIDIA driver so it only freezes
for about 2 seconds on my system.
[snip]
> Wha
Hello,
Adding rows to a combo box with a GtkListStore is immensely slow.
Is it right that adding 500 rows can take upto 10 seconds and the GUI freezes?
I have also tested gtk_combo_box_text_new_with_entry() and it is equally slow.
Here is a complete test code based on gtk 3.0:
http
Hello.
I need to receive the focus-in-event of a GTK Combo Box but didn't
found the way to do that yet after trying various things.
I have other widgets (entries, spin buttons, check boxes, radio
buttons) and I have no problems with those, only with the combo box.
Something si
When using a combo box in a treeview, how can it be configured so the
user can select one or more items in the glist?
Thanks,
--dhk
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel
I would try the "changed" signal of GtkComboBox:
http://developer.gnome.org/doc/API/2.0/gtk/GtkComboBox.html#GtkComboBox-changed
- Original Message
From: shibu Alampatta <[EMAIL PROTECTED]>
To: gtk-app-devel-list@gnome.org
Sent: Monday, September 11, 2006 7:27:56 AM
Su
i'm using a combo box and on selection of a particular item from the drop
down list i need to do some processing depending on the selection. which
signal i need to use for this purpose, i tried with selection_get signal .
it's not working. pls help me.
Thks in adv
On Mon, May 15, 2006 at 12:16:22PM +0200, Felix Kater wrote:
> I am using gtk-2.8.17/win32. I've made a combo box with about 30 entries,
> most just text, some lines like "**" (a
> string of asterisks).
>
> At runtime when I open
Hi,
I am using gtk-2.8.17/win32. I've made a combo box with about 30 entries, most
just text, some lines like "**" (a string of
asterisks).
At runtime when I open the box I've noticed that the combo box adds more extra
space to the rig
Georg Fritzsche wrote:
> >>I have a question about GtkcomboBox
> >>You know,every combobox have a GList which stores
> >>some optional item.
> >>My problem is about the GList.
> >>When I click the triangle to pull down the list,
> >> and move my mouse to select item,
> >>
Gus Koppel wrote:
> yeajchao wrote:
>
>
>>I have a question about GtkcomboBox
>>You know,every combobox have a GList which stores
>>some optional item.
>>My problem is about the GList.
>>When I click the triangle to pull down the list,
>> and move my mouse to select item,
yeajchao wrote:
> I have a question about GtkcomboBox
> You know,every combobox have a GList which stores
> some optional item.
> My problem is about the GList.
> When I click the triangle to pull down the list,
> and move my mouse to select item,
> the highlight
Hello all
First,I apologize for my terribly poor English
I have a question about GtkcomboBox
You know,every combobox have a GList which stores
some optional item.
My problem is about the GList.
When I click the triangle to pull down the list,
and move my mouse to selec
Am Donnerstag, den 05.01.2006, 16:34 -0300 schrieb Juan Pablo:
> What is the way for removing all items in a combo box?
> If it is iterating gtk_combo_box_remove, how do i get the number of
> items it has?
You'll have to peek the combo box model data. You can fetch t
Hi list!
What is the way for removing all items in a combo box?
If it is iterating gtk_combo_box_remove, how do i get the number of
items it has?
Thanks!
Saludos, Juan Pablo.
___
1GB gratis
> > Otherwise, well copy code of spin button, and write
> > a new widget, but deriving from combo, instead of
> > entry. combo-spin!
>
> Maybe simpler - without changing gtk code:
>
> Put the combo in a table of 2x2 (rowspan 2)
>
> Put two buttons in the remaining 2 boxes with up and down button
On Wed, 29 Jun 2005 11:22:24 -0700 (PDT)
Muthiah Annamalai <[EMAIL PROTECTED]> wrote:
>
> Otherwise, well copy code of spin button, and write
> a new widget, but deriving from combo, instead of
> entry. combo-spin!
Maybe simpler - without changing gtk code:
Put the combo in a table of 2x2 (row
Dear all,
I have a smmoth combo_box, created withthe_one =
gtk_combo_box_new_text();
I fill it with gtk_combo_box_append_text( GTK_COMBO_BOX(
the_one ), nom);
And what I get is indeed a combo_box, but, but
All items are on alist (that's normal)
The background of this
05, 2005 1:38 AM
To: gtk-app-devel-list@gnome.org
Subject: Clearing combo box
Hi
I have a combo box that I want to clear it (remove all the items) and
add new items to it (I am using C) here is the code I tried but it
didn't work,
gtk_combo_box_set_model(Combo,NULL);
gtk_combo_box_insert_text
On Mon, 4 Apr 2005 23:26:59 +0300
regatta <[EMAIL PROTECTED]> wrote:
> But I still not able to understand, gtk_combo_box_remove_text is to
> remove one item only
>
> do you mean I have to use it with loop to remove all items ?
yes, until gtk_combo_box_get_active returns -1
>
> also gtk_combo_bo
AIL PROTECTED]> wrote:
> On Mon, 4 Apr 2005 23:07:51 +0300
> regatta <[EMAIL PROTECTED]> wrote:
>
> > Hi
> >
> > I have a combo box that I want to clear it (remove all the items) and
> > add new items to it (I am using C) here is the code I tried but it
>
On Mon, 4 Apr 2005 23:07:51 +0300
regatta <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have a combo box that I want to clear it (remove all the items) and
> add new items to it (I am using C) here is the code I tried but it
> didn't work,
>
> gt
Hi
I have a combo box that I want to clear it (remove all the items) and
add new items to it (I am using C) here is the code I tried but it
didn't work,
gtk_combo_box_set_model(Combo,NULL);
gtk_combo_box_insert_text (Combo,0, _("All1"));
Anyone can help me please ?
-
29 matches
Mail list logo