I have the following object:
GtkWindow
GtkNotebook
GtkBox
GtkScrolledWindow, GtkTextArea
GtkEntry
I am trying to have the Entry get focus when I change Tabs
When the program starts it does focus on Tab 1's entry but I can not get
it to keep focus
without clicking the e
I this is the wrong list, but I am active here... so why not start here
While editing the project C/C++ Build settings I somehow got the window
to shrink horizontally to be a single vertical bar.
If I hit ESC the window closes. The edges won't drag
Anyone seen this before?
Tom
__
That did it!
Thanks!
On 06/10/2013 08:44 AM, Colomban Wendling wrote:
Hi,
Le 10/06/2013 12:26, Thomas A. Moulton a écrit :
On 06/09/2013 05:21 PM, Thomas A. Moulton wrote:
Ok here is a single file example of my code... it works the same way
it does in my larger project
Any suggestions
On 06/09/2013 05:21 PM, Thomas A. Moulton wrote:
Ok here is a single file example of my code... it works the same way
it does in my larger project
Any suggestions would be GREATLY appreciated!
tom
What happens is when you enter enough lines of text to fill the window
the scrolled window
On 06/09/2013 09:21 AM, Thomas A. Moulton wrote:
I see a lot of questions about this and I have not found an answer
that works for me.
I create the chat window like this:
The printf above at times tells me the objects are not valid, but the
addresses have not changed.
Also the TextBuffer
I see a lot of questions about this and I have not found an answer that
works for me.
I create the chat window like this:
CHAT *ChatNew(char *player) {
CHAT *chatlog;
GtkBox *chat;
GtkTextBuffer *buf;
GtkTextView *text;
GtkEntry *entry;
GtkScrolledWindow *scroll;
Gtk
Well it is easy...
g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);
tom
On 06/05/2013 07:23 AM, Thomas A. Moulton wrote:
Things are progressing well (thanks for all the help btw)
I have some fixed and dynamic chat boxes and using GtkEntry for the
input.
Things are progressing well (thanks for all the help btw)
I have some fixed and dynamic chat boxes and using GtkEntry for the input.
With the fixed boxes I used glade to create them and defining a function
for the 'activate' signal was simple, but when creating the same windows
by hand
I don't
Am I missing something?
If I use GtkBox it seems that once I add a child I can't get access to
it's address any more (GtkWidget *)
So if I create a box with some things in it in glade I really can't do
much with them.
(Other than giving them specific names and using the builder object to
loo
ok here's a simple question...
If I have c code that creates all the widgets I can get the pointers to
them as needed.
How can I get the GtkNotebook *pointer when I create things with glade?
If there a function I can call to scan the created objects by name?
Tom
_
With windows support only partially completed (it says so everywhere)
The big question is now: What is the status of GIOChannel support on
windows?
specifically the APIs:
g_io_channel_windows_new
g_io_channel_set_encoding
g_io_channel_set_buffered
g_io_add_watch
g_io_channel_unref
g_io_channe
Well I think from the archives I saw mention of GIOChannel, so gave it a
try.
case CONNECT:
sock = socket_connect(host, 4321);
if (sock < 0) {
fcm->State = OFFLINE;
break;
}
fcm->iochannel = g_io_channel_uni
Starting a new program and I would like some portability between Linux
and windows (mac? others)
so I am looking at GTK3 and to be (more)portable I guess I need to
rewrite my socket handling code (C)
since I can't use my main/select loop...
I have been looking at the APIs for almost a week and
13 matches
Mail list logo