gtk-charset questions

2007-02-20 Thread rk-list
hi, I've got a few questions about which charset gtk uses. i.e. string = entry.get_text() returns a string, and I would like to know the charset of the string: - which charset does "string" use? is this locale-dependent? does it also depend on something else? - is this the same in C/gtk and

RE: GtkTextBuffer: (1) save? (2) image inside?

2006-08-02 Thread rk-list
hi, > (1) How can I save its content? I mean, if the > user wants to save it all, I would like a button to read the documentation: http://developer.gnome.org/doc/API/2.0/gtk/GtkTextBuffer.html esp. gtk_text_buffer_get_text () > and so on :-) That's a text buffer but with > col

Re: Simple Yes/No dialog

2006-06-19 Thread rk-list
hi, > In general, though, if you're writing an application, blocking yes/no > dialogues are often a stumbling block in the user interface -- i.e. > they can suck :-) yes, definitely. yes-no-dialogs are _bad_. it slows down the work _a lot_, because you have to read the question very carfully, and

RE: Trouble with GtkPaned

2006-05-24 Thread rk-list
hi, > If I make the window wider while the app is running, I cannot make the left > pane wider than the original width of the window; the divider cannot be > dragged further to the right. you're probably looking for "shrink". you can only shrink a widget (i.e. by moving a pane) when shrinking is a