All I want to do is change the font of a named GtkEntry widget in a
resource file. It used to work in gtk1.2. I have spent hours with
various combinations of "widget *.name.*" etc. to no avail. Does
anyone know how to do this in gtk2 ?
You didn't describe exactly what you did. What name ha
hi ,
i am new to linux.
but has some experience on programming gtk apps.
i would like to do the following things on on my linux workstations
1. get which window is active at any given time. That is need a notification
when a window ,thread , and process bewcomes active, gets focu
hi ,
i am new to linux.
but has some experience on programming gtk apps.
i would like to do the following things on on my linux workstations
1. get which window is active at any given time. That is need a notification
when a window ,thread , and process bewcomes active, gets focus
hi ,
i am new to linux.
but has some experience on programming gtk apps.
i would like to do the following things on on my linux workstations
1. get which window is active at any given time. That is need a notification
when a window ,thread , and process bewcomes active, gets focus
Hello friends,
This is my code:
struct splash
{
GtkWidget *splash_image;
};
void func1(void)
{
GtkWidget *img;
struct splash p;
img=gtk_image_new();
p.splash_image=img;
g_signal_connect(G_OBJECT(button1),
"clic
On Tue, Apr 18, 2006 at 03:05:51AM -0700, Deependra Shekhawat wrote:
> Hello friends,
> This is my code:
>
> struct splash
> {
> GtkWidget *splash_image;
> };
> void func1(void)
> {
> GtkWidget *img;
> struct splash p;
This structure is created on stack and exists only until the
Hello,
I would like to know why there is a difference in the font metrics between
simillar fonts in windows and linux. For example for arial font of size 34, the
ascent, descent and char width has values of 32, 7 and 9 respectively in
windows MFC . But when using gtk pango, the values are 43,
Dear,
When I print the address of p in the funcl it prints a
address.
In the callback function it also prints the same for
ptr.
Then what's the problem.
Also I use structures to pass data all the time to
the callback function then there's no error but with
this image widget there seems any probl
void on_butt_clicked(GtkButton *button,gpointer
data)
{
struct splash *ptr;
ptr= malloc(sizeof(splash));
ptr = data;
}
g_signal_connect(G_OBJECT(button1),
"clicked",
G_CALLBACK(on_butt_clicked),
(gp
Hello,
It doesn't work.
The error is still there.
Regards
--- Sailaxmi korada <[EMAIL PROTECTED]> wrote:
>
> void on_butt_clicked(GtkButton *button,gpointer
> data)
> {
> struct splash *ptr;
> ptr= malloc(sizeof(splash));
> ptr = data;
> }
> g_signal_connect(G_OBJECT(butt
On Tue, Apr 18, 2006 at 03:42:43AM -0700, Deependra Shekhawat wrote:
> When I print the address of p in the funcl it prints a
>
> address.
> In the callback function it also prints the same for
> ptr.
> Then what's the problem.
The address does not change, but the part of stack it points
to is o
When I print the address of p in the funcl it prints a
address.
In the callback function it also prints the same for
ptr.
Then what's the problem.
Whether the address keeps the same or not, it points
to an invalid position in memory. This is quite basic C skill.
Also I use structures to pas
Hello,
I am not such a experienced programmer.
I didn't get you.
How do I allocate the structures in heap.
And My othersp program worked very well with
structures in callback (i didn't used heaps).
Regards
--- "David Necas (Yeti)" <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 18, 2006 at 03:42:43AM
Hello,
Thanks alot !
I used g_new() and allocated memory using heap. This I
did in funcl then passed the address to callback also
and in the callback also I used heap.
It worked for me !
Anyway I learnt alot from here !
Regards
--- "David Necas (Yeti)" <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 1
Hello,
Here is my dilema. I am using a scrolled window to contain multiple label
and combo box entry. The number of pairs is based on the users message
selection. If there are alot of them and you have to scroll then the combo
box is the size it should be. If there is three (the minimun number of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
Just tried compiling an app on Solaris 10, that I've been developing on
Linux.
A _bunch_ of errors ensured, mainly due to my using glib/gtk functions
that are in the (newer) versions installed on my Linux box.
Looking through the html docs f
Look in your gtk headers to know what is available and what is not.
At least I do this.
Best regards!
-- Forwarded message --
From: Justin Clift <[EMAIL PROTECTED]>
Date: 18-abr-2006 14:07
Subject: List of functions available against gtk/glib version(s)?
To: GTK App Dev Mailing Li
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fernando Apesteguía wrote:
> Look in your gtk headers to know what is available and what is not.
> At least I do this.
Yeah. I was hoping for something a bit more efficient. :)
Regards and best wishes,
Justin Clift
> Best regards!
-BEGIN PG
On 4/18/06, Justin Clift <[EMAIL PROTECTED]> wrote:
> Does anyone have, or know of, any kind of comprehensive list of which
> functions are/aren't available for a specific version of GLib/GTK?
I use the API docs for this, for example, at
http://developer.gnome.org/doc/API/2.0/glib/index.html there
On Wed, 12 Apr 2006 22:38:34 +0100, Chris Vine
<[EMAIL PROTECTED]> wrote:
> On Tuesday 11 April 2006 22:08, Enrico Tröger wrote:
> > Hi,
> >
> > I have some problems with newer GTK versions(2.8.12 and above) and
> > my application(http://geany.uvena.de). It crashes with segmentation
> > faults ins
Hi Kal,
I would suggest to look at the GtkExpander and pack the sideback into
the expander and the expander to the left.
Then it can be hidden and shown by the user.
Stefan
Am Montag, den 17.04.2006, 22:46 -0700 schrieb Muzaffer Kal:
> Hi,
> I am working with this app http://home.nc.rr.com/gtkwa
On Tue, 18 Apr 2006, nerdy wrote:
> Hello,
>
> I would like to know why there is a difference in the font
> metrics between simillar fonts in windows and linux. For
> example for arial font of size 34, the ascent, descent and char
> width has values of 32, 7 and 9 respectively in windows MFC .
> B
Joakim Majander kirjoitti 18.04.2006 kello 00:18:
> I'm developing a native w32 application on CygWin. So far I've used
> XP but,
> I would like to compile on W98 as well.
>
> I just installed CygWin and GTK 2.4.7 developement stuff from
> http://www.gimp.org/~tml/gimp/win32/downloads.html
>
> C
Hi fellow gtk hackers! :)
I have 2 questions that are related. I'll explain the intended use and
then ask the questions. In Inkscape we're putting color swatches in the
main UI. We would like for the swatch area to be re-sizable (if a
condition can be met), and without writing a bunch of new c
24 matches
Mail list logo