Derek Simkowiak wrote:
>
> Hello,
> I'm writing an app that needs to load different image file formats
> (JPG, PNG, XPM, et. al.).
>
> It used to be (especially within Gnome) that the library to use
> was the GTK+ version of Imlib.
>
> But I seem to remember that Gn
The problem is with your gtk_signal_connect() call. You pass the
address
of a _temporary_ variable as the user_data parameter. I think what you
should really be doing is this:
gtk_signal_connect (GTK_OBJECT (sort_ascending1), "activate",
GTK_SIGNAL_FUNC (on_sort_ascendi
Meghal Harish Varia wrote:
>
> Hello,
>
> Does anyone know of a way I can implement a client app in a client-server
> setting. For example, my app requires continuous monitoring for incoming
> messages while providing the GUI to the user. Upon arrival of each
> message, my app should be notifi
Dani Mezher wrote:
>
> Hello,
>
> A simple question I suppose. When I destroy a container widget do I
> destroy all widgets contained in my container. In other words, I am
> writing an application with lots of dialog windows (with plenty of entry
> fields per window). When I destroy the wind
I recall seeing a more generic combo-box widget in the gnumeric
source code. You might want to take a look at it. If I remember
correctly, it's a pretty "light-weight" container... allowing the
client code to specify the widget for the popdown as well as for
the "entry" spot. I think they use i
> Zhang wrote:
>
> Dear Sir:
> 1.When popup a message box, and hope it eliminate after several
> seconds, How to do it?
Try using gtk_timeout_add(). You'll have to store the window pointer
someplace and then destroy the window in the timeout callback.
> 2. I hope a window always at th
The problem is that %G is not a valid format sequence. If you
change it to %g then the program works as expected.
Darin
Gustavo João Alves Marques Carneiro wrote:
> This program, however strange it may be, crashes due to some bug in
> GLib. I'm using GLib 1.2.8.
>
>
> #include
>
> int m
Havoc Pennington wrote:
>
> Darin Fisher <[EMAIL PROTECTED]> writes:
> > The problem is that %G is not a valid format sequence. If you
> > change it to %g then the program works as expected.
> >
>
> %G should be valid, I think it's a real glib bug.
>
Dugas, Alan wrote:
> It segfaulted when I tried that :-( Does anyone know if that approach works
> (i.e. successfully used it)? It would help determine if it's my code or
> not. I do the following;
>
> gchar **radio_button_label = (gchar **) NULL;
> gtk_label_get(GTK_LABEL(label), radio_
Andreas Scherf wrote:
> Carl Seleborg wrote:
>
>> Hi all,
>>
>> I am very new to GTK, so if my questions are too basic, please point me to a
>> good FAQ. :-)
>>
>> I'm fooling around with the CList widget, and after having gone though the
>> header file for the widget, there seems (to me) to
You should take a look at the example programs in the GTK+ source.
There is one /examples/selection, which should help you out.
Darin
Donovan Artz wrote:
>
>
> Can anyone point me to some info on how to cut and paste (ie. send and get
> things from the global clipboard) -- I'm not using a Gt
separate thread to read data off of
> the socket, this seems to work.
>
> The problem with using a separate thread involves issues with
> reading/writing globals, so I really need to get this gdk_input_add()
> working.
>
> Thanks,
> Meghal
>
>
> On Tue, 31 O
Jay,
GtkLabel derives from GtkMisc, which has an alignment
method that you can use to left justify the text...
gtk_misc_set_alignment(GTK_MISC(label),
0.0,
GTK_MISC(label)->yalign);
I think gtk_label_set_justify() only applies when you
have
Jay LeBlanc wrote:
> Thanks Darin Fisher and Caleb Land for your replies. That worked great
> for that label but it doesn't seem to work well for a multi-line label.
> The label is attached to a large section of a table and seems to want
> to center each line again. Any
My guess would be that the cpu usage results from the 100 millisecond
timeout. I bet if you increased the timeout you would notice the cpu
usage drop. You have to consider how much work the bar() method is
doing... if it doing relatively a lot of work then that would explain
the cpu usage.
> CTree will be around a lot longer than GtkTree, it likely won't be
> removed until no one is using it anymore. GtkTree will be removed more
> agressively since it's not just suboptimal, it's flat-out broken.
>
> Havoc
Just to satisfy my curiosity... when you say that GtkTree is
broken, do yo
You can set the selected item on the combo->list widget.
gtk_list_select_item(GTK_LIST(combo->list), n);
Darin
Chris Freeze wrote:
> Is there a way to set a combo to a specified index? I have a set number of
> strings, but given some display's I need to have it default to displaying a
>
you mean glib-1.2.8 right?
ftp://ftp.gtk.org/pub/gtk/v1.2/
to uninstall GLIB-1.2.7, it depends on how it was installed in the
first place. did you install from sources? or, did it come with
your system? and, if so what is your system?
darin
Alex Le Fevre wrote:
> How would I uninstall GLIB 2
Diego Zuccato wrote:
> Hello all.
>
> I think I've had some idas that can greatly improve GtkCombo usability.
> 1) generate a signal when something gets selected in the list (now it
> doesen't even generate a "modified" signal for the GtkEntry :-( ) or
combo->list is a GtkList, which has sele
Timothy M. Shead wrote:
> Paul Barton-Davis wrote:
>
>> I'd like to once again mention that it would be nice to see a roadmap
>> entry for GTK that includes making the toolkit much more
>> Model-View-Controller friendly. I would be quite willing to help with
>> the design and/or part of the im
20 matches
Mail list logo