On Fri, 18 Jun 2004 15:16:59 +0300, Juhana Sadeharju
[EMAIL PROTECTED] wrote:
I draw to 24-bit RGB rowstrided image which I created with malloc.
I update the drawing area with gdk_draw_rgb_image().
The full update takes 80+ msec -- i.e., max frame rate is as low
as 12 frames per second.
No, it only exists during expose events, there is no double buffer at
any other time.
You should be able to grab pixmaps of obscured windows though: I
thought this is what GraphicsExpose events were for? Not sure about
partially offscreen windows.
On Thu, 17 Jun 2004 14:38:07 +0100, Mike Hearn
Sudhananda wrote:
1)Will the same code works on both Linux and Windows with recompilation
or else is thr any necessity of installing something else for windows.
You can just recompile. The user will need GTK (obviously). You can bundle GTK
with your application, or there's a separate installer.
Juhana Sadeharju wrote:
GtkWidget *image = gtk_image_new_from_file (myfile.png);
But what if I want load the image to memory without creating
the widget? I would later then map/morph the image and display it.
Sure, there's a whole image handling API:
[EMAIL PROTECTED] wrote:
I build gtk-2.2.4 on my Fedora Core 1
Now I'd like to install gtk into a custom directory
/home/test/
and not replacing the Fedora native gtk
Just use --prefix, eg.
cd glib-2.4.2; ./configure --prefix=/home/test/gtk2; make; make install
Set your environment so you pick up
Dipak G Patil wrote:
I am porting a application from Windows To Linux using GTK.
For that I would need to map Windows APIs to GTK APIs.
Could you please tell me, where would I find such mapping of Windows APIs
to GTK APIs ?
Sorry Dipak, they are *very* different (I guess you mean MFC vs. GTK?). I
Chris W wrote:
BTW where can I find the gtk-win list? I didn't see it one the gtk
website.
Sorry, I was spreading misinformation. Now win32 is an officially supported
platform, I think this is the right list to ask questions on.
The only (?) win-only list left is this one:
Ottavio Campana wrote:
maybe this is the problem. Do you perhalps know how can I set the right
parent using glade? Or should I do something else?
Sorry, I don't use glade myself. In C, you call gtk_window_set_transient_for() and
gtk_window_set_destroy_with_parent().
John
Hi,
Chris W wrote:
? I down loaded it yesterday and made
this.
http://cdw.homelinux.com:8087/hp/rpn.jpg
but when I reopen the project or run it I get this
http://cdw.homelinux.com:8087/hp/rpn2.jpg
What I really want is something that looks more like this
http://cdw.homelinux.com:8087/hp/rpn3.jpg
Hi again,
Chris W wrote:
John Cupitt wrote:
I'd put the buttons into a GtkTable for layout. You can set a cell
horizontal and vertical padding which you should be able to adjust to
get the spacing you want.
You may have noticed that one of the buttons takes up two rows. I don't
see anyway
Paul Davis wrote:
Are there are any plans to allow disabling of prelight, globally, in
any future version of GTK?
Prelighting conflicts absolutely with the use of color to distinguish
widget state. For a simple demonstration, consider this style:
style foo {
fg[NORMAL]
Paul C. Bryan wrote:
With the upgrade to GNOME 2.6 came the upgrade to GTK+ 2.4 which
includes the new file selection dialog. Unfortunately, I can't seem to
find a way to paste a path into the new file selection dialog like I
used to be able to do with the previous version of GTK+.
Is there a
H McCurdy wrote:
I know how to write code to display an image in 1.2.
But I'm trying to migrate the program to 2.x and can't
find any relevant documentation. The tutorial says
undocumented and the FAQ is empty.
Try the API reference:
http://developer.gnome.org/doc/API/2.0/gtk/GtkImage.html
The
Hi,
Ian King [ES] wrote:
I need to be able to correctly calculate a bounding box for a string in
a particular rendered font. At the moment I am creating a PangoLayout
with a particular string and font description, then calling
pango_layout_get_pixel_size. This seems to work when the rendered
Luiz Rafael Culik Guimaraes wrote:
How to change the windows color
ie from the default back ground color(ligth gray) to lets say red
Try putting these lines in your .gtkrc:
style pink
{
bg[NORMAL] = { 1.000, 0.80, 0.80 }
fg[NORMAL] = { 1.000, 0.40, 0.60 }
bg[PRELIGHT]= { 1.000,
Hi,
Piotr Legiecki wrote:
I'm writting simple program which will operate on 16bit per RGB channel
(tiff, scanned images) files.
...
So in summary:
I want to manipulate 16 bit per channel image and display the changes as
fast as possible using gtk window (not sure if gdkpixbuf or GdkRGB).
Most
Ooops, I forgot to set base in NORMAL mode. Try adding these lines:
base[NORMAL] = { 1.000, 0.60, 0.80 }
text[NORMAL] = { 1.000, 0.00, 0.00 }
John
Diego Zuccato wrote:
You should be able to change the whole application with just your gtkrc. Try this in
your ~/.gtkrc-2.0 file and (almost)
Jean Bréfort wrote:
I am currently trying to repplace occurrences of the deprecated
GtkOptionMenu by GtkComboBox. I would like to know if it is possible to
make one of the options insensitive.
Hi, known bug and on the cards for 2.6, apparently.
http://bugzilla.gnome.org/show_bug.cgi?id=135875
Hi Larry,
[EMAIL PROTECTED] wrote:
I'm working on a project at work, and writing the user interface in gtk.
The specifications for the program include that it look like the previous
generation program. Therefore, the software has to have black background.
Gtk seems to REALLY want grey
Hi,
NunO fELICIO wrote:
But my problem is that the windows only appear as the program execution
reach gtk_main :(
i want just to do like this
start:
show_splash_window();
wait_5_seconds();
while(NO_KEY)
show_inactive_window(); // window that show some thing like (Please press
any key )
Hi again,
David J. Singer wrote:
On Wednesday 21 April 2004 6:13 pm, John Cupitt wrote:
They are equivalent (AFAIK). You only need the lower-level stuff if you
want to avoid loading the whole image into memory
OK. That's interesting. I kinda assumed GdkRGB would be loads faster
because it has
Hi,
ViNiCiUs wrote:
to compile static using: gcc file.c -o file -static `pkg-config --cflags
--libs gtk+-2.0`
and I have the error:
/usr/bin/ld: cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit status
What I have to do to complite the program with all libraries static ?
When you build
Hi all,
I've got a mild problem with 2.4's fantastic new FileChooser. I have a plain GTK install (ie. no Gnome) and when I try to show a FileChooser I get the message:
Gtk-WARNING **: Could not find the icon 'gnome-fs-home'. The 'hicolor' theme
was not found either, perhaps you need
Hi,
David J. Singer wrote:
My question is, if drawing speed is an issue, is it faster to use the slightly lower-level
GdkRGB method rather than the Gdk-Pixbuf one? More generally, how does the
Gdk-Pixbuf stuff rate in terms of drawing speed compared to GkdRGB?
They are equivalent (AFAIK). You
Olexiy Avramchenko wrote:
Hey there,
Is that possible to change the Label of a button using just the
resource
files ?
No. You can change only the style stuff like colours, fonts, etc.
I tried something like
widget mywindow.GtkLabel.my_button style white-label
Does anybody have
Hi Marc,
[EMAIL PROTECTED] wrote:
I'm using GTK and libpcap (library dedicated to provide routines for
packet caputre) to make a sniffer with GUI in C. I have a problem, when
I start to sniff, the program comes into a function from which will get
out in the moment that a certain number of
Durie, James wrote:
- Make a background thread to do the sniffing with
g_thread_create(). Make
a pipe, and have the background thread write its results to
the pipe.
Do gtk_input_add_full() to make your foreground thread wake
up when things
are written to the pipe. When stuff arrives, update
Anthony DiSante wrote:
As a related question, do most people have multiple versions of glib
(and friends) installed? My slackware 8.1 came with version 1.x, at
/usr. I upgraded to gnome 2.4 a while ago, which gave me new glib
stuff, also at /usr. Now the newer stuff wants to go to /usr/local
Hi Rob,
gtk-devel is for the development of gtk itself, I've cc:ed gtk-list which is probably a better home.
R. Alblas wrote:
In a drawable I want to use the arrow keys to scrol through a picture.
However, at the same time gtk uses the same arrow keys to walk through
buttons, and if a spin
Hi David,
David Topper wrote:
I have an app which creates a fancy slider using vscale. Basically, I
have the vscale packed into a box, then into a frame. Alongside the
scale are text digits to provide the user with a scale. But when I issue:
gtk_widget_destroy(frame);
I get a host of
Sushma Venkatesh [EMAIL PROTECTED] writes:
Is there any support that gtk for windows gives for printing?
You could try asking on the gtk-win list. There is some printing support in windows gimp, you might be able to use part of that.
http://groups.yahoo.com/group/gimpwin-users/
John
Hi Marcos,
Marcos Leal wrote:
I used to have some users parameters passed through 'gpointer user_data'
For example, the event for pressed button I used to declare in GTK1 like :
void on_button_pressed(GtkButton *button, gpointer user_data)
I don't even know if this is the right thing to do.
Hi Ray,
Raymond Wan wrote:
I'm trying to create a toolbar button as follows:
iconw = gtk_image_new_from_file (next.xpm);
toolbar_button = gtk_toolbar_append_item (GTK_TOOLBAR (toolbar), NULL,
Go to next, NULL, iconw, GTK_SIGNAL_FUNC (showNext), GINT_TO_POINTER
(curr));
An obvious
Jack Chen wrote:
I did what you said yesterday, and got what I wanted with
gtk_window_set_transient_for(). But I don't know what
gtk_window_set_type_hint() is for. I checked the gtk reference manual
and it didn't say what the hint, which is one of the parameters I
need to pass, was. Do you mind
Hi Jack,
Jack Chen wrote:
Hi, can anyone please tell me how I can make a floating window, a
window, dialog, or popup on top of my main window, like the one that
contains all the drawing tools and can be moved around in Photoshop?
Take a look at the docs for gtk_window_set_type_hint() and
Hi Steve,
Steve Slade wrote:
When I try to launch Gimp or Bluefish from a terminal window, I get this
error:
GTK-Warning **: Cannot open display: :0.0
You need an X server. Panther comes with a good X server, but it's not installed by default: you'll need to put your panther DVD back in
Hi Qn,
rev_path is declared static, so there is no leak, except for the length of the final
string returned by gtk_widget_class_path(). This will not grow over time, so is
unimportant.
In fact, your suggested change will crash: you need to NULL rev_path as well. But the
change will make the
Hi all,
I'm moving something from pthreads to g_thread and I noticed there's no wrapping for pthread_setconcurrency(). Does anyone know the reasoning here? Should I ignore this?
Thanks,
John
___
gtk-list mailing list
[EMAIL PROTECTED]
I used to be a Motif person, I switched about 5 years ago.
Gtk+1.2 vs. Motif wasn't very clear-cut and could be argued each way (from a business user's perspective). Gtk+2.x beats Motif easily in every respect ... think of a Motif feature: gtk2 is better.
Better support, better portability,
[EMAIL PROTECTED] wrote:
Hi, there was a GtkSheet widget for gtk1.2, but I
think the gtk2 version was never released and
supported. Try googling for GtkSheet, it might
be a useful starting point anyway.
Yes, I know, I have already been searching for infos
on spreadsheets in GTK but so far
Stephan von Lingelsheim wrote:
You might want to consider downloading FINK and letting that program
install it for you.
Yes i have done that too
GTK+ is availaible on fink
but not the GTK+extra
i need GTK+extra in order to run gpsim
so i tried to install everything manually, as fink gave me no
Not sure if this is your problem, but I had very helpful mails a few month ago from Owen and Sven when I asked about diagonal scrolling slowness. Here's the one from Soeren:
Soeren Sandmann wrote:
John Cupitt [EMAIL PROTECTED] writes:
One of the app's widgets is an image display window, and one
Hi, there was a GtkSheet widget for gtk1.2, but I think the gtk2 version was never released and supported. Try googling for GtkSheet, it might be a useful starting point anyway.
There's also Gnumeric of course. I don't know how easy it would be to cut the sheet handling out of that.
John
[EMAIL
Hi David,
David Kinyanjui wrote:
Anyhow, I'm still trying to find help on how to automatically
make the scrollbars in a scrolledwindow (especially
the vertical scrollbar), position itself such that the current
focused widget (grabbing focus) is always visible at the bottom of the
scrolled
Hi Igor, there's an example in the gtk sources. Try running:
gtk+-2.2.x/demos/pixbuf-demo
John
Igor Gorbounov wrote:
I urgently need an example of animation using GTK+.
___
gtk-list mailing list
[EMAIL PROTECTED]
Hi Rosa, you should be calling gdk_window_move_resize(). See:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Windows.html#gdk-window-move-resize
John
rosa muñoz wrote:
I need use this function XMoveResizeWindow(dsp, w, 0, 0, 200, 200);.
and I don't know why the function don't work.
Maybe the
Hi, you need GdkCursor. See:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Cursors.html
You can use gtk_window_list_toplevels() to get all the windows making up your application, then set a cursor for each one. Make a timeout callback and change the cursor in that to animate it.
John
Peter
Hi, you're creating an instance of MY_DATA in the header file, then including that header in two places. So you're getting two versions of MY_DATA. You should never make variables in headers, only declare that they exist elsewhere (with an extern).
Remove the line struct MY_DATA mydata; from the
Yes, that's about the fastest you can get. GdkRGB does quite a bit of work behind the scenes (using shared memory to talk to the server when possible, etc) to get the speed up. There's a benchmark program in the gtk1.2 distribution (testrgb I think) which you could try.
It might be worth checking
gtk-config is not usually used on win32 as far as I know. To build a gtk 1.2 program you need pkg-config. Tell configure to use pkg-config instead by typing something like:
export GTK_CONFIG=/mingw/bin/pkg-config gtk+-1.3-win32-production
before you run configure. Also, I've found that
export GTK_CONFIG=/mingw/bin/pkg-config gtk+-1.3-win32-production
what must I write instead of gtk+-1.3-win32-production?
I think that's what you need. I build my application on win32 with gtk+-1.2 using mingw/msys, and that's the command I use. If you have pkg-config, try
pkg-config
Hi,
Pisanu Prasertnopakun wrote:
// HERE i find a function to run a simple program like xclock!!
// i should ! be run(xclock); or something like that.. have somebody
an idea?
The easiest is system():
if( system( xterm ) )
printf( couldn't start xterm\n );
It's *nix only. glib has
Hi Heechul,
Labels and buttons don't have their own windows, so they don't have a background
colour. If you want to set the colour separately, put them inside a GtkEventBox. I'm
not sure about the flat frame.
I think .gtkrc files are not so hard to write. The easiest way is to look at some
/
http://ourworld.compuserve.com/homepages/pvosta/cvwww.htm
==
John Cupitt wrote:
Yes, just call gtk_widget_queue_draw() for your window. It will
invalidate the window and queue a redraw for all the widgets.
Peter Van Osta wrote:
Hi,
I have a window
Hi David,
I think gtk_container_set_focus_vadjustment() is supposed to help here, but it's never worked that well for me. Perhaps someone could explain how to use it?
I hacked in my own scheme: look at the scrolledwindow adjustments to see what part of the window is visible, look at the widget
Hi,
[EMAIL PROTECTED] wrote:
This last func, automatically generates a new 'destroy' signal, and so 'Close_Function'
is called two times...
Destroy can be called many times. It means this object is going to be destroyed, please drop all references. You'll need to write your Close_Function() so
Great! Fixed my problem exactly, thanks very much.
John
Soeren Sandmann wrote:
One of the app's widgets is an image display window, and one of the
tools is a panner. Pure left/right and up/down pans are fast and
smooth, but diagonal drags are very choppy. I think this is because
gtk is sending
Hi all,
I'm porting an app to gtk2 and I've come across some performance problems caused (I think) by gtk's new expose event compression system.
One of the app's widgets is an image display window, and one of the tools is a panner. Pure left/right and up/down pans are fast and smooth, but
Hi Céline, I think you need gtk_window_set_transient_for(). This marks one window as being the child of another. See:
http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-set-transient-for
gtk gtk wrote:
I'm writing an application involving several windows.
I created a print
I work around this by removing and re-adding the widgets to the layout. For example:
gtk_widget_ref( GTK_WIDGET( cview ) );
gtk_container_remove( GTK_CONTAINER( wview-fixed ),
GTK_WIDGET( cview ) );
gtk_fixed_put( GTK_FIXED( wview-fixed ),
Hi, you're not allocating a record anywhere, you've just declared a pointer to one and not initialised it. Also, g_strdup() will save you a little code.
John
Lucas Brasilino wrote:
#include stdio.h
#include string.h
#include glib.h
int main(int argc, char **argv)
{
GList *dlist = NULL,
Sorry, not sure. Have you checked that the display and window look sensible?
For example, until a gtk widget is realized, it has no window (you'll get
zero back from GDK_WINDOW_XWINDOW).
I'm using gtk and I need to get the X11 Widget of a window created with
gtk. I can get the GtkWidget by
Hi Thomas,
Thomas Krebs wrote:
I'm using gtk and I need to get the X11 Widget of a window created with
gtk. I can get the GtkWidget by using:
GtkWidget* gtk_widget = GTK_WIDGET(window);
But I need the X11 Widget (the WidgetRec struture) of that window. Is
there a way to access that? Does it exist
Hi Sylvain,
libtiff does 16 bit images, it's just gtk which is 8 bit only (at the
moment, although the API has space for 16 bit support). There are various
free scientific image processing toolkits available, so one approach would
be to pick one of those for the image handling, and hook it up to
Hi,
MALHERBE wrote:
/usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so
/usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
/usr/local/lib/libatk-1.0.so /usr/local/lib/libgobject-2.0.so
/usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so -lm
Looks like you have copies
Hi Ian, take a look at config.log and see how configure is trying to link
the jpeg test program. My guess would be that it's expecting a libjpeg.so in
/usr/lib as well, but I'm not a redhat person, so I'm probably wrong.
John
Ian Scott wrote:
I've spent several hours trying to install GTK+
Hi, you can use the system() call to start another program.
void
button_click( void )
{
system( xterm );
}
John
Ng Sio Lei wrote:
Dear all,
Hello, i wanna execute another software in a interface built up by
gtk+2.0. e.g., press a button to open a new terminal window.
Thank
Hi, you don't say which version of libpng you have, could that be the
problem?
I know on SuSE I had to build my own libpng, since they only ship 1.0, and
gtk needs 1.2 or later (I think).
John
Jose Marcio Martins da Cruz wrote:
Hello again,
When I try to compile gtk+-2.2.1, I have the
Hi, the gtkextra people have a nice plotting widget:
http://gtkextra.sourceforge.net/
I believe there's a gtk2 version in CVS (erm, I think).
John
Artemio wrote:
Hello everybody,
I am interested in writing a simple program that would plot somy x-y
graphic
with about 0.5 sec update.
Hi, I don't know if this is any help, but we've done a web zoom thing:
http://www.ecs.soton.ac.uk/~km/projs/webimage/
This is a bit of java that sits in a browser and talks to a server to do
zoom/pan (but not rotate). It needs a bit of polishing now (bitrot has
started to set in).
I've got a
Hi, have you looked at fink?
http://fink.sourceforge.net/
it'll automatically configure, build and install the whole shebang for you.
Even if you don't like fink, you can use it to get suggested configure
lines, libtool patches etc.
It looks like your build is failing because of the apple
Hi Ian, with gtk-1.2 you sometimes need to send a gtk_widget_queue_resize()
to the container after removing or adding a child. I imagine gtk2 is better
at this :/
John
Ian King [ES] wrote:
Hi,
Is it possible to get force boxes to shrink if larger contents are taken
out
and replaced with
Peter F Bradshaw wrote:
I'm new to Gtk. I'm looking for a way to get the underlying X11 Window
value from a Gtk widget. The Gtk library version is 1,2.
Hi, something like (untested):
#include gdk/gdkprivate.h
Window
get_xwin( GtkWidget *widget )
{
GdkWindow *gwin = widget-window;
anukeey wrote:
Hi all:
As title, does any API available in Gtk+ that I
can excute another program?
Hi, glib2 has API for starting processes.
http://developer.gnome.org/doc/API/2.0/glib/glib-Spawning-Processes.html
John
==
malo p wrote:
I'd like to access the gdk'buffer to modify it and save it then. Is it
possible? and can you tell me how ? please. I speak of the display
buffer of gdk of course.
Hi, you can get a GdkImage for a window with gdk_image_get(), and send it
back to the server with gdk_draw_image().
Hi, I think the best available is gnome-mdi
http://developer.gnome.org/arch/widgets/mdi.html
The problem is that there's no standard window look and feel, it varies with
the
user's environment. What would your app look like if a KDE user ran it, for
example? Plus many people dislike MDI, so
Hi Jason, I think you're a bit mixed up about the way the gtk drawing model
works.
Confusingly, drawing_area is not a thing you can draw to (usually) ...
instead
it represents a piece of screen which your app should repaint when asked.
You
should connect to the drawing area's expose event and
David J. Topper wrote:
I'm using the simple method for the GtkItemFactory. Namely:
GtkItemFactoryEntry menu_items[] = {
{ /_File, NULL, NULL, 0, Branch },
{ /File/_Open,controlO, open_file, 0, NULL },
and so on. But I don't see how I can place a data
Ian King [ES] wrote:
Is there anyway to force a container to update the the allocation structs
of
its children at a certain point in time?
Hi Ian, would gtk_widget_queue_resize() work?
John
==
Madame de Pompadour
Images of a
Ian King [ES] wrote:
Unfortunately gtk_widget_queue_resize() has no effect in my situation as
it
will have no effect on the time that the resizing computation is
triggered.
I just need to be able to query the correct dimensions of a widget when it
is placed in to an already mapped container,
lomba wrote:
I've a main function create_window() which create a window and add the
different containers. In the center of my window I have to add a container
which contains a label and a text box. Since i've to do it two times, i
made
a function (create_center()) which returns the container
something like:
gdk_window_get_root_origin(
gtk_widget_get_toplevel( GTK_WIDGET( ... ) )-window,
x, y );
John
amitjain wrote:
Hi All!!!
I am using Gtk1.2.
I want to get the position of GtkWindow, so how it is possible ?
if anybody knows then please
http://www106.pair.com/rhp/gtk-colors.html
explains how to set colours at run-time in gtk 1.2, you can set fonts in
the same way.
Preethi Vasanth wrote:
I got this problem.We have created an application in GTK-1.2 and for its
beautification,we need to add colours and fonts.But I'm not able
Preethi Vasanth wrote:
Hi all,
I was just wondering if I could create multiple windows in a main window.
I was suggested to use frames as windows and assign a create_window ()
to the frame click event.But the argument is tht it is equivalent to
clicking a button.I want to create a child
Joost Faassen wrote:
calmar wrote:
Hi,
I found the function:
iconw = gdk_image_new_from_file (icon.xpm);
but it still don't work.
Well actually I make the program in MSWindows..maybe this is the
reason..it should work now, isn it?
Hi Calmar,
Did you ever get this to work ? I am
The Surprises wrote:
On Tue, Oct 22, 2002 at 09:48:43PM -0400, Paul Davis wrote:
moving a canvas item from one canvas to another, I would like to delete
the first item, create a new item in the new canvas, and have that new
item take over the button press/release event. Is this possible?
yes,
The Surprises wrote:
I am developing a gtk app that uses motion events to capture mouse
pointer location and continuously update a gtk label. I have also
implemented routines to drag various gnome canvas items around a canvas.
I have found that calling the gtk_label_set_text routine to update
Paul Davis wrote:
I need to write an expose_event which clears a widget (GtkLayout) from
things I've drawn on it.
The way I do it at the moment is: gdk_draw_rectangle() (complete region)
Unfortunately this also 'overwrites' too much (GtkFrames inside the
GTkLayout disappear etc.)
Any idea how
Egon Andersen, Talura wrote:
I have a notebook with several pages and I want to be able to from the
application to show/expose any specific page I want.
I think you need gtk_notebook_set_page()
I also have scrollable windows and want a specific entry to be visible -
just another
Egon Andersen, Talura wrote:
I have a notebook with several pages and I want to be able to from the
application to show/expose any specific page I want.
I think you need gtk_notebook_set_page()
I thought of this function, but then I need to make it top-down. I can
in no way just say
Mullin Yu wrote:
Hi all,
I saw from the tutorial that we can write a simple GTK application like
the following:
#include gtk/gtk.h
int main( int argc,
char *argv[] )
{
}
But now, I want to put it inside a function that will call to pop up a
window. What
Brett Granger wrote:
But I am not interested in non-rectangular windows via the shape
extension (which I have used quite a bit) -- I am interested in
translucent rectangular (alpha-blended) top level windows, preferably
with minimal modification to X or to GTK. There have been previous
Hi, there's a gtk on win32 mailing list, they may be able to help you:
http://www.gimp.org/~tml/gimp/win32/
try gimpwin-dev.
Mullin Yu wrote:
I'm new to gtk, and want to know whether it allows me to do the
following or not?
I use standard C to write a dll which is compiled on Windows
simith nambiar wrote:
i have a Logitech Quickcam express up and
running, the only problem i have is the color !
the color is a bit bluish when i plot it using
gdk_draw_raw_rgb_image using gtk .
Hi, you probably need to add a white balance function. Add a button
somewhere ... on
Have you read the gtk tutorial? This is very easy:
http://www.gtk.org/tutorial/ch-buttonwidget.html
Gourav wrote:
Hi
I am also working on the same for my project but it seems that you can't
set
pixmap on button for that you have to make your own widget with something
like event box.
I am
gdk-pixbuf has functions for scaling images
http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/gdk-pixbuf-scaling.html
Subhankar Chakraborty wrote:
I have a drawing area on which I have to render an image. I am using
GdkRGB images. And rendering using gdk_draw_rgb_image ().
Could anyone
Krzysztof Magrel wrote:
2. How can I change active widget? Tab key only can change coursor
position
to the next widget. I want to change active widget from
source level. (It
depends what user of program will do). I know that it is
not possible for
some widgets (ie.labels, etc).
I use
Lars Clausen wrote:
On 02 Aug 2002, Lars Clausen wrote:
I'm using a GtkComboBox in Dia for zoom selection. I can't quite get it
to behave the way I'd like. It ought to be that when the user selects an
item from the drop-down list (making the drop-down disappear), the zoom
amount should be
Deekshit Mantampady wrote:
I have a small doubt regarding pixmap. I have a pixmap with
resolution of
1x1 pixels. How fast the image will be rendered ? Assuming I have
a
scrolled window of size 100x100. How about the scrolled performace(Will it
be
smooth)..? If this is not the
Deekshit Mantampady wrote:
In a window I am having (say) 100 pixmap images each of resolution
100x100. I will be dragging each of them frequently. I am having a
celerom
300A PC with 128 MB RAM. What will be the performance in terms of speed,
memory
and flickering.
The description
201 - 300 of 494 matches
Mail list logo