> Any comments about how to improve, missing code, etc.?
I would personally recommend taking a look at the GIOStream API for
processing data sent through the connection, it would help save a bit
of the low-level worries and allow you to get automatically-buffered
input through the help of GBuffer
On Sunday 13 February 2011 22:17:12 Jacques Pelletier wrote:
> Hi all,
>
> I'm using GSocket in a GTK application in non-blocking mode.
>
> Once the connection is done, I'm creating a source for the main event loop:
> my_source = g_socket_create_source(my_socket, my_events, NULL);
>
> How
On Wed, 2011-02-23 at 03:46 +0900, Tristan Van Berkom wrote:
Hi,
> >> If your going to use the model, then perhaps this will work...
> >>
> >> gtk_list_store_clear(GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(combo_box;
> >
> > Yes, I can do that. But I think it's a bug in the API if
2011/2/23 Timo Schneider :
> On Tue, 2011-02-22 at 08:51 -0700, Kevin DeKorte wrote:
>
>> On 02/22/2011 08:46 AM, Allin Cottrell wrote:
>> >
>> > It seems that you are in fact OK using the GtkComboBox API for
>> > this purpose, as in
>> >
>> > void depopulate_combo_box (GtkComboBox *box)
>> > {
>>
On Tue, 2011-02-22 at 08:51 -0700, Kevin DeKorte wrote:
> On 02/22/2011 08:46 AM, Allin Cottrell wrote:
> >
> > It seems that you are in fact OK using the GtkComboBox API for
> > this purpose, as in
> >
> > void depopulate_combo_box (GtkComboBox *box)
> > {
> > GtkTreeModel *model = gtk_comb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/22/2011 08:46 AM, Allin Cottrell wrote:
>
> It seems that you are in fact OK using the GtkComboBox API for
> this purpose, as in
>
> void depopulate_combo_box (GtkComboBox *box)
> {
> GtkTreeModel *model = gtk_combo_box_get_model(box);
>
On Tue, 22 Feb 2011, Timo Schneider wrote:
> The GTK+ Reference Manual states that a combo box created with
> gtk_combo_box_new_text() should only be manipulated with the functions
> gtk_combo_box_append_text(), gtk_combo_box_insert_text(),
> gtk_combo_box_prepend_text() and gtk_combo_box_remove_t
Hello,
The GTK+ Reference Manual states that a combo box created with
gtk_combo_box_new_text() should only be manipulated with the functions
gtk_combo_box_append_text(), gtk_combo_box_insert_text(),
gtk_combo_box_prepend_text() and gtk_combo_box_remove_text().
I am interested in removing all text