The best I can think of is to capture the output into a TextBuffer, and display 
using a TextView.

But as far as I know there really isn't anything like a fictional 
gtk_display_text() function.


----- Original Message ----
From: "dev...@iamaquatics.org" <dev...@iamaquatics.org>
To: gtk-app-devel-list@gnome.org
Sent: Thursday, August 27, 2009 6:31:58 PM
Subject: Re: outstream question [i think]

Siddu,

> what do u mean equivalent  cout statement for GTK .............
> do u mean on the click of the button the results should be logged somewhere
> or need to printed on the stdout ................. be more clearer on this

The intent is to have the results go to the gui (as opposed to the console).


mysql> show columns from customers;
+------------+----------+------+-----+---------+----------------+
| Field      | Type     | Null | Key | Default | Extra          |
+------------+----------+------+-----+---------+----------------+
| vend_id    | int(11)  | NO   | PRI | NULL    | auto_increment |
| cust_lname | char(50) | YES  |     | NULL    |                |
| cust_fname | char(50) | YES  |     | NULL    |                |
| cust_phone | char(50) | YES  |     | NULL    |                |
+------------+----------+------+-----+---------+----------------+

--
Christopher Devlin
dev...@iamaquatics.org
O|ASS
  American Red Cross - LGI, WSI
  PADI - Divemaster
  Illinois Department of Public Health - Certified Pool Operator
  NSPF - CPO
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



      
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to