>> my reasoning for using wget in the first place, instead of a raw
>> tcp connection, was to have at least some sense of robustness...
> wget is, of course, open-source and GPLd, so it's quite possible to
> extract the minimal code from wget to accomplish what you want, and
> incorporate it in y
On Tue, 25 Jan 2005, Freddie Unpenstein wrote:
my reasoning for using wget in the first place, instead of a raw
tcp connection, was to have at least some sense of robustness...
wget is, of course, open-source and GPLd, so it's quite possible to
extract the minimal code from wget to accomplish wha
>> Why not use libcurl? You can get much more info about your
>> connection.
> libcurl even provides examples for how to use libcurl with a Gtk+ app.
> Although I must admit their example should work fine for simple things
> becareful not to abuse what the example demonstrates (the use of
> gdk_t
Hi Pablo
I used memcmp() instead of strcmp() since strcmp() creates some
worries inside..gtk..
i think memcmp() is more efficient for usage in gtk compared to
strcmp()..anyways the result is the same with the code
Thank you
Vinod
On Tue, 25 Jan 2005 09:34:45 -0800, Paolo Costabel
<[EMAIL
Hi
On Tue, 25 Jan 2005 23:10:15 +, Peter Bloomfield
<[EMAIL PROTECTED]> wrote:
> On 01/25/2005 07:24:51 AM, Vinod Joseph wrote:
> > Hello Members
> >
> > Please guide me why this operation fails logically for some
> > values at some times
> [ snip ]
> > const gchar *entry_text;
> > entry
On Wed, 26 Jan 2005, Maulet wrote:
Just wanted to know if g_list_free() frees the memory allocated
"by hand" and attached to the list nodes.
No.
For example:
---[ start code ]---
GList *list = NULL;
typedef struct {
gchar *name;
gint age;
} Person *bush;
bush->name = g_strdup ("George");
bush-
Maulet wrote:
Hi,
Just wanted to know if g_list_free() frees the memory allocated "by
hand" and attached to the list nodes.
For example:
---[ start code ]---
GList *list = NULL;
typedef struct {
gchar *name;
gint age;
} Person *bush;
bush->name = g_strdup ("George");
bush->age = 8;
list = g
Hi,
Just wanted to know if g_list_free() frees the memory allocated "by
hand" and attached to the list nodes.
For example:
---[ start code ]---
GList *list = NULL;
typedef struct {
gchar *name;
gint age;
} Person *bush;
bush->name = g_strdup ("George");
bush->age = 8;
list = g_list_append (
On 01/25/2005 07:24:51 AM, Vinod Joseph wrote:
Hello Members
Please guide me why this operation fails logically for some
values at some times
[ snip ]
const gchar *entry_text;
entry_text = gtk_entry_get_text (GTK_ENTRY (entry));
[ snip]
g_free(entry_text);
Perhaps because you're deallocatin
Is it possible a GTK application interact to other application widget?
How?
---
Eg:
viewimage : application to show/view an image from file;
paint : painter ( something like Gimp, for eg )
1- run "viewimage.exe myimg.png"; a Gtk_Window (view_window) contains a
Gtk_Image (view_image);
Goran Rakic wrote:
Taking a look-see... Hmmm. Fits the bill quite nicely. I'll
probably use GConnHttp when it gets through, I'm already using the
GConn stuff in another little project. But until then, that piece of
code should prove to be a huge help. And who knows. I may even
learn
You could connect to the GtkTextBuffer insert-text signal and remove
character in excess of the desired length.
Gaurav Jain wrote:
Hi All,
I wish to enforce a maximum character limit on a GtkTextView. For
GtkEntry, there is an API called gtk_entry_set_max_length(), but I
couldn't find one for Gt
Vinod Joseph wrote:
Hello Members
Please guide me why this operation fails logically for some values at
some times
Dosent give a consistent behavior...
Please help...
Callback_Function_on_userid_entry(GtkWidget *entry)
{
const gchar *entry_text;
entry_text = gtk_entry_get_text (GTK_ENTRY (en
Hello,
I have no idea regarding the gtk1.2 way, but AFAIK in gtk2, you'll
have the font specified like: "Arial 14" or "Sans 14". The '14' is an
example of the font size specification, which you can omit i think.
___
gtk-app-devel-list mailing list
gtk
Hubert SokoÅowski wrote:
Why not use libcurl? You can get much more info about your connection.
IMHO gnet is the best choice for gtk apps since it shares glib mainloop
with the app and uses GIOChannels from glib.
I thought about libcurl as a better option than calling wget command,
not as
On Tue, 25 Jan 2005 17:47:22 +0100
Goran Rakic <[EMAIL PROTECTED]> wrote:
> Why not use libcurl? You can get much more info about your connection.
>
IMHO gnet is the best choice for gtk apps since it shares glib mainloop
with the app and uses GIOChannels from glib.
hs
__
Taking a look-see... Hmmm. Fits the bill quite nicely. I'll probably use GConnHttp when it gets through, I'm already using the GConn stuff in another little project. But until then, that piece of code should prove to be a huge help. And who knows. I may even learn to use those GIOChannel
Hi Tony,
Try adding libgnomeui-2.0 to the pkg-config arguments.
Take care.
On Sun, 23 Jan 2005 22:02:07 -0500, Tony Freeman
<[EMAIL PROTECTED]> wrote:
> I'm trying to compile the example program provided in Chapter 5 of "The
> Official GNOME 2 Developer's Guide". Every program in this book tha
On Tue, 25 Jan 2005 12:24:52 +0100, Jonas Geiregat
<[EMAIL PROTECTED]> wrote:
> On Tue, 25 Jan 2005 11:47:58 +0100 (CET), Jan-Marek Glogowski
> <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > > Does anyone know if there is a way to add a checkMenuItem in a menu
> > > using ActionGroup and gtkUiManager?
>
On Tuesday 25 January 2005 11:42, Hubert Sokolowski wrote:
> > the easiest way is to use gnet library (www.gnetlibrary.org) that
> > depends on glib.
> The latest GNet release (2.0.5) doesn't have support for http yet
> unfortunately, only the latest snapshot (from Oct 7) has the new
> GConnHttp
Hello Members
Please guide me why this operation fails logically for some values at
some times
Dosent give a consistent behavior...
Please help...
Callback_Function_on_userid_entry(GtkWidget *entry)
{
const gchar *entry_text;
entry_text = gtk_entry_get_text (GTK_ENTRY (entry));
g_pri
Am Tue, 25 Jan 2005 06:34:37 -0500 (EST) schrieb Freddie Unpenstein:
> And as an alternative, any suggestions on fundamentally better ways of
> fetching a web page asynchonously? I'm more than willing to do
> something drastically simple instead but dastedly effective, and forgo
> the whole g_spa
On Tuesday 25 January 2005 11:42, Hubert Sokolowski wrote:
> > And as an alternative, any suggestions on fundamentally better ways of
> > fetching a web page asynchonously? I'm more than willing to do something
> > drastically simple instead but dastedly effective, and forgo the whole
> > g_spawn
>
> I've been trying to use g_spawn_async_with_pipes to run wget, and have it
> write the page to stdout (with output going to stderr along with anything
> that would normally go there), and then syphon these off. The output I
> was hoping to display in a little GtkTextView log window (hidden insi
I've been trying to use g_spawn_async_with_pipes to run wget, and have it write
the page to stdout (with output going to stderr along with anything that would
normally go there), and then syphon these off. The output I was hoping to
display in a little GtkTextView log window (hidden inside an
On Tue, 25 Jan 2005 11:47:58 +0100 (CET), Jan-Marek Glogowski
<[EMAIL PROTECTED]> wrote:
> Hi
>
> > Does anyone know if there is a way to add a checkMenuItem in a menu
> > using ActionGroup and gtkUiManager?
>
> Have a look for GtkToggleActionEntry.
gnome-announce-list@gnome.org
>
> Jan-Marek
>
Hi
> Does anyone know if there is a way to add a checkMenuItem in a menu
> using ActionGroup and gtkUiManager?
Have a look for GtkToggleActionEntry.
Jan-Marek
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailma
Hi, in my application built with gtk1.2 I want to use the 'sans' or the
'arial' font but I don't know how to compose the string of the fontset
in the rc file.
I tried to use xfontsel but I didn't find this fonts.
Giovanni
___
gtk-app-devel-list mailing
Sorry for the confusion
for ( i = 0; i <= my_list_store->len - 1 ; i++ )
{
and without break; works fine...
}
It does not segfault on bash shell...I was using Anjuta and it used to
seg fault...
I think there is some error in my program.. i just free the entry_text
here..
It dosent mak
29 matches
Mail list logo