Search:

Type: Posts; User: Annonymous

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    12,201

    I figured it out. I detached the textview from...

    I figured it out.

    I detached the textview from the table.(Removed the highlighted in red)


    view = gtk_text_view_new ();
    //gtk_table_attach_defaults(GTK_TABLE(table), view, 1, 9, 2, 5);...
  2. Replies
    10
    Views
    12,201

    The previos post has code that had a ton or...

    The previos post has code that had a ton or errors and bugs. I have been at it since that last post and fixed everything. I removed the array and fread function. It was causing the text output in the...
  3. Replies
    10
    Views
    12,201

    I re-wrote my file to array function from C...

    I re-wrote my file to array function from C specific to GTK specific and it works with no problems now.

    FROM THIS:


    file = fopen("/home/amboxer21/Documents/netstat.txt", "r+");
    if(file ==...
  4. Replies
    10
    Views
    12,201

    Yeah no matter how I code it, returns ...

    Yeah no matter how I code it, returns


    Invalid or incomplete multibyte or wide character -->

    (warning:8757): Gtk-CRITICAL **: IA__gtk_text_buffer_insert: assertion `text != NULL' failed

    ...
  5. Replies
    10
    Views
    12,201

    Can someone povide an example on how to use...

    Can someone povide an example on how to use bytes_read and bytes_written with g_convert?

    I figured out how to load a file into the textview widget but it only works if characters like /ca /ma...
  6. Replies
    10
    Views
    12,201

    Your right @phantomotap! lol It is work a lot of...

    Your right @phantomotap! lol It is work a lot of the time but it is fun. I'll keep at it then. So, I can read the file into a buffer with C, no problem. The GTK way is what's the problem. i have a...
  7. Replies
    10
    Views
    12,201

    loading file int gtktextview widget

    This is relevant to both C programming and Linux. I decided to post here.

    I Have that port monitor UI I wrote and that i am building on. Now I wanted to load a file into a gtktextview widget.
    ...
Results 1 to 7 of 7