On 11/24/05, Adam [EMAIL PROTECTED] wrote:
In my application I want to be able to dynamically add items to a menu after a
configuration file has loaded and after a file has been opened. The menu's
use gtk_ui_manager to initialise but I am unsure how to go about implementing
to dynamic
On 11/24/05, Adam [EMAIL PROTECTED] wrote:
the string is a filepath i.e /home/adam/denemo/test.denemo. Is there
anything that I should know about in converting from xmlChar * inserting into
a GList and the extracting and converting to a gchar * ??
GTK+ is UTF-8 (almost) throughout. You need
On 11/23/05, ANDREW PAPROCKI, BLOOMBERG/ 731 LEXIN
[EMAIL PROTECTED] wrote:
Is there any benefit to providing a full GLib fopen/fread/fwrite/etc API which
provides its own implementation if the system implementation has an fd
limitation? The configure script could detect this and enable it if
On 11/23/05, John Cupitt [EMAIL PROTECTED] wrote:
int g_seek( int fd, gint64 pos );
int g_ftruncate( int fd, gint64 pos );
gint64 g_read( int fd, void *buf, gint64 count );
Ahem, that was stupid, forget the g_read() there. Sorry.
John
___
gtk-devel
On 11/15/05, Jose Hevia [EMAIL PROTECTED] wrote:
I need to create text tables in a program, so I use gtk_text_view*,
gtk_text_buffer* functions. When created, tables look inconsistent
because the blank space between words is not the same space that a
letter space.
Sounds like you need a
On 11/13/05, Jaap Haitsma [EMAIL PROTECTED] wrote:
I'd like to align a number of widgets which are in vboxes and hboxes.
The dialog is very similar to the File Management Preferences dialog of
nautilus [1].
Hi, you need a sizegroup:
http://developer.gnome.org/doc/API/2.0/gtk/GtkSizeGroup.html
On 11/11/05, Yiannis [EMAIL PROTECTED] wrote:
is there a way to change the position of the window when starting up?
In particular:
1. Is it possible to change it to a relative position... for example
the top right corner? I am using glade to create the interface and
libglade to load it
gtk_window_list_toplevels() will return a list of all open top level windows.
http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-list-toplevels
On 11/8/05, Lalit Kumar [EMAIL PROTECTED] wrote:
Can anybody tell me know that how many windows are open and how to get there
id.
On 11/6/05, Tor Lillqvist [EMAIL PROTECTED] wrote:
Another solution for applications is to look at argv[0]. On
Windows this is always (I think) the full path to the .exe.
Looking at argv[0] is really not recommended on Windows. If memory
serves me right, if the path to the application has
On 11/5/05, David Necas (Yeti) [EMAIL PROTECTED] wrote:
On Sat, Nov 05, 2005 at 03:40:40PM +0100, Goran Rakić wrote:
Put this first:
... (some win32 registry code) ...
Or have a look at g_win32_get_package_installation_directory().
Very neat. Another solution for applications is to
On 11/1/05, Juhana Sadeharju [EMAIL PROTECTED] wrote:
What library can load 1-bit images to a format GTK understands?
My 1-bit images have been very large, the library should be
able to extract only a rectangle from the image before converting
anything to 24-bit.
What library can handle
On 10/31/05, Kranz, Willi [EMAIL PROTECTED] wrote:
I have to create ca. 50 Objects in an application.
Each Object has 2 Eventboxes, 2 Labes and a Pixmap
and 2 or 3 callback-functions.
Or what is the best way to solve this problem.
If your object is simple, you can just write a function to
Hello all,
My app has a main window containing (as well as other stuff) some
comboboxes and some hscale widgets. If I use the mouse scrollwheel to
go up and down, and the mouse pointer happens to be over one of these
widgets, instead of scrolling the window, it changes the widget value.
This
On 10/31/05, Andrew Shafer [EMAIL PROTECTED] wrote:
Can anyone recommend resources for getting code samples or relevant
reading on drag and drop using GTK besides functions defined in the GTK+
reference manual?
The tutorial has a chapter on dd:
http://gtk.org/tutorial/c1920.html
John
On 10/27/05, Andrew Shafer [EMAIL PROTECTED] wrote:
I want a 'pixbuff like' theme engine that will push the majority (all?)
of the work to the X server.
You could take a look at the cairo-gtk-engine module in GNOME CVS. It
uses Cairo (and hence X Render, probably) to draw some odd-looking
Hi Michael,
On 10/21/05, Michael Matthews [EMAIL PROTECTED] wrote:
How do I change the default tabs from 8-space to 4-space?
I use the following:
static PangoTabArray *
program_tabs_new( void )
{
const int ntabs = 20;
const int tab_width = 15; /* in pixels */
On 10/22/05, MEA-Mike.Friedrichs [EMAIL PROTECTED] wrote:
I've been searching for reference books that address gtk 2.x and I can't find
anything. Does anyone have some knowledge of a reference book for 2.x???
The gnome2 guide has a lot of material on gtk2, gobject, glib etc.
The Official
Good advice with the GtkFixed.
I would use a GtkLabel for the PDUs. You can't set the background
colour of a label directly, since it does not have it's own window.
Instead, put the label inside a GtkEventBox and set the background
colour of the event box. The event box will also make it easy to
On 10/17/05, Boncek, John [EMAIL PROTECTED] wrote:
When a GTK app gets Gtk-WARNINGs without actually stopping, it can be hard
to determine exactly where they're coming from. Is there a way to tell
GTK to stop immediately on such a warning? This would allow using a
debugger to localize the
On 10/17/05, Michael Torrie [EMAIL PROTECTED] wrote:
On Mon, 2005-10-17 at 13:59 -0700, Colossus wrote:
Tomaz Canabrava wrote:
Since the Cairo rendering engine is *SLOW* and the Xara Extreme is being
ported to linux, with the full API,
i think that´s a good idia to port the Gtk engine
On 10/3/05, Allin Cottrell [EMAIL PROTECTED] wrote:
On Sun, 2 Oct 2005, Hubert Sokolowski wrote:
On Sat, 1 Oct 2005 09:56:40 -0400 (EDT)
Allin Cottrell [EMAIL PROTECTED] wrote:
When the graph-editing dialog is closed, I expect the graph window
to remain above the original, main window.
On 10/6/05, Nikolaj Kiær Thygesen [EMAIL PROTECTED] wrote:
... and after a number of years developing phones for the low-end
market I'm very much used to the low-resource situation :o) I feel a slight
discomfort from not checking pointer return values, but if it's to no avail
On 10/6/05, Kevin Handy [EMAIL PROTECTED] wrote:
will be ignored, but is there any documentation
about using automake and autoconf with gtk2 and/or
gnome2.
The GNOME2 developer guide has a lot of material on this:
http://www.nostarch.com/frameset.php?startat=gnome
no free on-line version
On 10/5/05, Colossus [EMAIL PROTECTED] wrote:
sorry for the OT. I upgraded to gtk 2.8 and cairo and obviously my
glade makefile project doesn't contain -I/usr/include/cairo. I added
manually to it in my_project/Makefile and my_project/src/Makefile but
it doesn't work, I keep getting cairo.h
On 10/5/05, Colossus [EMAIL PROTECTED] wrote:
This is the content of Makefile.am:
INCLUDES = \
-DPACKAGE_DATA_DIR=\$(datadir)\ \
-DPACKAGE_LOCALE_DIR=\$(prefix)/$(DATADIRNAME)/locale\ \
@PACKAGE_CFLAGS@
xarchiver_LDADD = @PACKAGE_LIBS@
Those are the two things
On 10/5/05, Kevin Brooks [EMAIL PROTECTED] wrote:
With the double buffering turned on, any drawing is
pushed onto a stack before the updated window is made
visible.
Is it possible to reverse the stack just before the
flush in order to boost the performance?
Unfortunately, the remove/add
Hi Andrew,
On 10/3/05, Andrew Shafer [EMAIL PROTECTED] wrote:
Can anyone provide an example of code that sets the theme on an
application?
One easy way is to call gtk_rc_add_default_file(
/usr/share/themes/whatever/gtk-2.0/gtkrc ) before you call
gtk_init():
On 9/19/05, Alexander S.Kresin [EMAIL PROTECTED] wrote:
And yet another question:
are there any functions, which draws the standard header of a top
window, so I could draw such a header for my container widget ?
No, sorry :-( The window title bar and margins are not drawn by GTK,
If you want to draw a focus rectangle, you can use gtk_paint_focus()
in _expose().
You also need to use:
gint focus_width;
gint focus_pad;
gtk_widget_style_get( widget,
focus-line-width, focus_width,
focus-padding, focus_pad,
Hi Barry,
I think there must be something rather broken with your GTK install. I
changed your example like this:
#ifdef DRAW_PIXBUF
if (pixbuf == NULL)
pixbuf = gdk_pixbuf_new_from_file((gchar *) mapserv.png, NULL);
if (pixbuf) {
GTimer *timer;
timer = g_timer_new();
On 8/22/05, Alex Levin [EMAIL PROTECTED] wrote:
Hi everyone. I'm trying to pass a GdkPixbuf object through a FIFO from
one thread to another. Does anyone have any code snippets which does
something similar to this? Thanks in advance.
If the two threads are in the same process, you could
On 8/16/05, Michael Torrie [EMAIL PROTECTED] wrote:
Is this system similar to what QT uses? If I recall correctly, I
remember trying to figure out how to use these spring-like things to do
layout. It was very confusing and I never did figure out how to
properly use them. I remember wishing
On 8/13/05, Hubert Sokołowski [EMAIL PROTECTED] wrote:
#ifdef __WIN32__
#define BROWSER explorer
#else
#define BROWSER firefox
#endif
void print_open (const gchar *path)
{
GError *error = NULL;
gchar *s;
s = g_strdup_printf (%s %s, BROWSER, path);
if
On 8/9/05, Boncek, John [EMAIL PROTECTED] wrote:
I have a GdkPixmap. I need to programmatically extract a new GdkPixmap
from this image based on x- and y-coordinates, plus width and height. The
x, y, width, and height parameters will vary too much at runtime to store
all the copies needed.
A lot of the names come from Xlib and ancient history.
On 8/8/05, Chris Seaton [EMAIL PROTECTED] wrote:
GdkPixmap - server side pixel map
GdkBitmap - server side pixel map, 1bpp
Bingo! Exactly right. Names from X history. Bitmap was the original,
pixmap was added later when the first colour
On 8/5/05, Yogesh M [EMAIL PROTECTED] wrote:
thank you for the useful information, is there a way i
can give user an option to break the thread, like
cancel button.
I have a cancel button with a callback that sets a global variable
to TRUE. The thread periodically checks this variable and if
On 8/4/05, Jonathan Hayward [EMAIL PROTECTED] wrote:
Thank you. I hadn't used valgrind; it reports my game as crashing at the
same time, under the same conditions, as gdb. There were no problems
reported prior to the segfault gdb had picked up.
When I used valgrind, I the segfault
On 7/29/05, alok nagdev [EMAIL PROTECTED] wrote:
a problem. By fastest I meant that although I'm okay with dropping a couple
of frames for timing constraints but the least frames I drop works better
for me and in the meanwhile gives me more time for image processing stuff,
which I'm thinking
On 7/26/05, Przemysław Więckowski [EMAIL PROTECTED] wrote:
Could you please tell me. What would be faster: directly putting
prepared pixmap using gdk_draw_drawable(..) as rectangle or drawing
rectangle using gdk_draw_rectangle(..)?? ( i heve't tested it so i ask...)
Your choices are:
1)
On 7/26/05, Tristan Van Berkom [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
[...]
Thus, my questions fall into the categories: how this could occur, under
what circumstances it might be possible (e.g., that I'm doing something
illegal in my code (though not breaking anything), etc.
Hi Richard,
On 7/24/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Yesterday I wrote about how I was suspecting problems related to hiding
and unhiding widgets and trying to use gtk_toggle_button_set_active().
I had some time free so I wrote you a tiny test program. I think it
does roughly
On 7/20/05, David Topper [EMAIL PROTECTED] wrote:
Ok. Got glib to compile. But now pango's ./configure complains:
checking for X... no
configure: WARNING: X development libraries not found
checking for pkg-config... /usr/bin/pkg-config
checking for fontconfig = 1.0.1... Package fontconfig
Hi,
On 7/18/05, Calin Vatavu [EMAIL PROTECTED] wrote:
I'm trying to achieve a canvas-like functionality using a GtkFixed widget. I
know, there's GnomeCanvas, but I can't use it, it's buggy on win32. The
problem is, when I'm trying to move a widget it starts shaking, like having a
double.
On 7/18/05, David Gasa Castell [EMAIL PROTECTED] wrote:
Thanks a lot for interest... but, you attached me an example which use an
other technique (the other): mnemonics. In fact, I'd like to understand the
use of accelerators (like gtk_widget_add_accelerator()) for clicking
buttons.
I use
On 7/15/05, Paul Pogonyshev [EMAIL PROTECTED] wrote:
Has anyone rendered text with alpha channel (i.e. semitransparent text)
in GDK framework? So far my best solution is to render black on white
to a GdkImage, get it back in a GdkPixbuf and then add color/transparency
manually. Not actually
Hi again,
On 7/16/05, Paul Pogonyshev [EMAIL PROTECTED] wrote:
John Cupitt wrote:
On 7/15/05, Paul Pogonyshev [EMAIL PROTECTED] wrote:
Has anyone rendered text with alpha channel (i.e. semitransparent text)
in GDK framework? So far my best solution is to render black on white
On 7/4/05, Deekshit M [EMAIL PROTECTED] wrote:
Is it possible to attach key_press_event for
drawing_rea. That is the key pressed when the
drawing_area has the focus.
Yes, but it's more complicated than you think :-(
You need to arrange for your drawing area to be focusable, and it
has to
On 7/2/05, Himanshu Garg [EMAIL PROTECTED] wrote:
I am trying to draw Telugu text on a bitmap using Pango in
Windows. However I couldn't find any function in the library that does
just that.
Searches in the mailing list suggest the pangoft2 example which
I have seen. However I
On 6/28/05, lin Yang [EMAIL PROTECTED] wrote:
I'm working on porting GTK to Intel dev board. My goal
is to develop a system like smart phone or PDA. After
investegating Qt and GTK, I choose GTK as my graphic
directfb has some useful stuff on their documentation page:
On 6/28/05, Andreas Bentlage [EMAIL PROTECTED] wrote:
i have the following 2 arrays.
gfloat pixel[6000][1] = x[n]
gfloat pixel[6000][2] = y[n]
this 2 arrays contains the x/y values for 6000 rectangles
drawn on a pixmap. Now my problem ...
with button_press_event i catch the current x/y
On 6/30/05, David Necas (Yeti) [EMAIL PROTECTED] wrote:
Is it possible to use Gdk drawing functions (gdk_draw_arc(),
etc.) to draw images of higher depth than system and save
them?
My understanding is unfortunately no. X servers can only draw to the
visuals they know about, and if a server
On 6/25/05, claude pomalo [EMAIL PROTECTED] wrote:
the app run without error but i have no text drawing.
the following function draw text. it work fine on linux.
I wonder if it needs to be so complicated (maybe I don't understand).
I draw text on a drawing area widget with:
const char *txt
On 6/23/05, Cheok Yan Cheng [EMAIL PROTECTED] wrote:
currently I plan to work on an application which can
open a VERY large image (80 MEG) in a very fast
manner. there is no delay while user trying to scroll
along the image. currently, when i open an large image
with GIMP, i can feel the
On 6/22/05, Colossus [EMAIL PROTECTED] wrote:
I have a dialog with a Gtk_entry and a button. I want to
display a GtkFileChooserDialog when the user pushes the
button from the GtkDialog; the choosen path should be
displayed into the Gtk entry. How can I achieve this ?
Perhaps:
On 6/22/05, Colossus [EMAIL PROTECTED] wrote:
John Cupitt wrote:
http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooserButton.html
Mmm but how can I have the gtk_entry automatically filled with the
path choosen with GtkFileChooserButton ?? I'm calling the dialog who
creates
Hi Olivier,
On 5/13/05, Olivier [EMAIL PROTECTED] wrote:
GtkWidget* gtk_table_new (guint rows,
guint columns,
gboolean homogeneous);
On 5/4/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
how does one link a gtk+ application (v2.6.2) as a static executable?
You need to build the static gtk libs first. I do:
% cd glib
% ./configure --enable-static
% cd pango
% ./configure --enable-static --with-included-modules=basic-fc
% cd
On 4/14/05, Stefan Kost [EMAIL PROTECTED] wrote:
not really. GtkTreeView
1.) misses a selection mode for rectangualr areas.
2.) can't show row-headings (like the columns headers)
Apart - anyone knows who is maintaing the TreeView widget and if possibly the
one has becom less involved?
Hi,
Hi all,
I'm having problems plugging a memleak in a program using pangoft2.
This program seems to leak about 250kbytes per loop on my system. Am I
doing something stupid, or should I add to bugzilla?
This is pango-1.8.1, freetype 2.1.4
John
snip ---
/*
compile
On Apr 7, 2005 5:24 AM, Demon Zhu [EMAIL PROTECTED] wrote:
Dose 'File Choose Dialog' need supports from GNOME desktop?
Works OK for me. Issues I have noticed:
- some KDEs (eg. suse) install themes (eg. geramik) to make gtk apps
look more KDE-like, these themes can cause problems
- have a look
On Fri, 25 Mar 2005 18:58:11 +0800, Reed Lai [EMAIL PROTECTED] wrote:
and comprehensive reference! Then additional question, I write Gtk program
in Fedora C3. The gtk-config --version shows 1.2.10, so I think I am
writing with Gtk 1.2. But the gtk-2.0 can also be found in the /usr/include
Hi Miroslav,
On Thu, 24 Mar 2005 11:40:35 +0100, Miroslav Rajcic [EMAIL PROTECTED] wrote:
1.) I'am trying to catch event when user drags the handle of the splitter
widget (GtkPaned)
You can listen for changes to the position property on GtkPaned:
On Wed, 23 Mar 2005 13:53:25 +0200, Olexiy Avramchenko
[EMAIL PROTECTED] wrote:
Can you provide an example of how floating point x,y coordinates from motion
event can be used? Mike is right - every GTK widget uses type casting from
double to int for them and this looks natural for the discrete
On Wed, 16 Mar 2005 09:14:38 +, Athanasios Anastasiou
[EMAIL PROTECTED] wrote:
After some directions from Liam (see yesterdays mailing archive) i
passed my app through valgrind and found out that there are too many
errors happening in the GTK / X level. I suppose that it has something
to
Hi,
On Tue, 15 Mar 2005 09:57:24 +, Athanasios Anastasiou
[EMAIL PROTECTED] wrote:
Also could it be better that i add an expose_event handler to the widget
i want to draw and just post invalidate messages towards the widget from
the thread?
I do something similar in my app. I have a
Hi,
On Sat, 05 Mar 2005 14:38:08 -0300, Fabrício Barros Cabral
[EMAIL PROTECTED] wrote:
I'm thinking develop an application using the GObject library, but I
have a dilemma: use or not use the GObject library. This application is
object-oriented but will be able to create-use-destroy a lot of
Suse 9.2 includes gtk+-2.4.8 (I think), I'd just use that. I'm not
sure there are many packages out yet that need 2.6. Start yast, click
install/remove software, type gtk into the search box,
gtk+-something should come up, tick the box next to it, then press the
install button.
(to answer your
On Thu, 03 Mar 2005 18:31:05 +, Evil Kosh [EMAIL PROTECTED] wrote:
you have a window, with a GtkPaned splitting it into two halfs, the
window covers the bottom half of the pane, so the drag bar in the
middle, is at the bottom of the window being displayed.
on clicking a button in the top
On Fri, 11 Feb 2005 11:44:21 -0500, Bob Huston [EMAIL PROTECTED] wrote:
When I design the UI on the screen it is totally different than when it is
run. The application font size is
huge making the dialogs and all associated UI controls expand to a much
larger size than designed.
How can
On Wed, 16 Feb 2005 11:04:19 +0100, Michal Kepien
[EMAIL PROTECTED] wrote:
function is connected to the clicked event of a button. The problem is, the
button stays pushed until the sound playing function finishes its work. I
want
the button to pop out immediately after it has been clicked
On Wed, 16 Feb 2005 10:48:38 + (GMT), Andrew Gatt
[EMAIL PROTECTED] wrote:
I've recently been trying to implement a simulate
keypress function, the function is activated by a
command sent to the gui through a pipe, which is all
working however the simulate keypress function never
seems to
On Wed, 16 Feb 2005 10:02:26 -0800 (PST), Dave Andruczyk
[EMAIL PROTECTED] wrote:
Is it possible with gtk to display a window that doesn't have any window
border, decorations, and be of arbritrary shape?
You need gdk_window_shape_combine_region() or gdk_window_shape_combine_mask():
On Thu, 20 Jan 2005 10:27:14 +0100, Benoît Touron
[EMAIL PROTECTED] wrote:
The app is a trace client, which displays scrolling text in a window.
What is the fastest way (at runtime) to do this ?
Should I use a TextView or something else ?
TextView and TextBuffer are only loosley coupled: you
On Thu, 20 Jan 2005 11:47:35 +0100, Benoît Touron
[EMAIL PROTECTED] wrote:
If I could update the TextBuffer each time an event occurs, and actually
display the TextView, say every second, it would be fine for me.
How can I update a TextBuffer without updating the TextView ?
It's automatic:
Did you find pango-x/examples/pangoft2topgm.c? I think it does
more-or-less what you need. Here's a text-to-bitmap thing I did based
off that (if it's any help):
http://cima.ng-london.org.uk/~john/im_text.c
On Thu, 13 Jan 2005 19:59:08 -0800 (PST), walter tallent
[EMAIL PROTECTED] wrote:
I'm
Hi,
On Tue, 21 Dec 2004 10:03:23 -0600, Bob Caryl [EMAIL PROTECTED] wrote:
pressing): I cannot programmatically select a row in a GtkTreeView (a simple
list box analogy w/o children) using the gtk_tree_selection_select_path
function.
I do this with:
path = gtk_tree_model_get_path(
Hi, you need something like this in your main():
gtk_set_locale();
setlocale( LC_NUMERIC, C );
gtk_init( argc, argv );
This will set your locale to French (so menus etc. will be in French),
but set the numeric locale (which handles number formats) to C (ie.
C-language
Hi,
On 16 Dec 2004 05:28:07 -, Sudha C Naidu [EMAIL PROTECTED] wrote:
how do i change font style of a button and text box data?
i am able to change font style of a label using:
font_bold=gdk_font_load(-adobe-courier-bold-r-normal--*-130-*-*-*-*-*-*);
style =
On Thu, 9 Dec 2004 15:24:24 +0200 (EET), Juha Nieminen [EMAIL PROTECTED]
wrote:
One would think changing the default font of a newly-created GtkTextView
would be a piece of cake, but I simply can't find any way of doing that.
There doesn't seem to be any function which would do that directly
On Tue, 7 Dec 2004 14:19:13 + (GMT), Alex Buell
[EMAIL PROTECTED] wrote:
What's the best way to get a dialog perfectly centered in the middle of
a window? Currently my code seems to place the dialog in the center of
the screen instead of the window.
I think you need
What's the best way to get a dialog perfectly centered in the middle of
a window? Currently my code seems to place the dialog in the center of
the screen instead of the window.
I think you need GTK_WIN_POS_CENTER_ON_PARENT.
I tried that, it doesn't seem to do what I wanted. It placed
On Fri, 26 Nov 2004 15:31:19 +0100, edward hage [EMAIL PROTECTED] wrote:
Recently I bought another computer and installed Linux Suse and by hand
gtk-2.4.10 and the
whole bunch (glib, pango, etc...).
I compiled a program made in GTK okay but id did not run = Segmentation Fault
.
Hi, I
On Fri, 22 Oct 2004 18:14:42 +0100, David J. Singer
[EMAIL PROTECTED] wrote:
But surely for even a moderately complicated drawing area, you would
need to create and maintain a backing pixmap to speed up the exposures.
Actually not: gnomecanvas uses a variety of techniques to make drawing
just
I usually link to realise ... this happens when the graphics for the
window are built, but before the window appears on the screen. It can
be called more than once in some strange situations.
On Fri, 15 Oct 2004 14:43:41 +0200, José Antonio Sánchez
[EMAIL PROTECTED] wrote:
I want to add some
Hi Marc,
This isn't answering you question, but as a data point I successfully
build a static version of my app with:
% cd glib
% ./configure --enable-static
% cd pango
% ./configure --enable-static --with-included-modules=basic-x
% cd atk
% ./configure --enable-static
% cd gtk+
% ./configure
On Thu, 07 Oct 2004 19:42:19 +0200, Miroslav Rajcic [EMAIL PROTECTED] wrote:
try this:
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (parent));
gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
I've already tried this, bur it just doesn't work on Windows version. On
GTK
This test program woks for me on windows and linux with gtk+-2.4.9.
But maybe I misunderstand your problem?
- the dialog does not appear on the taskbar
- when the dialog is open the main window button does not work (so you
can never have more than one dialog)
- the dialog is always above the main
Also, consider setting colours via a grkrc file rather than in your
code. As Viraj says, make an event box, set a name for it with
gtk_widget_set_name() (maybe status_bar?), then in a gtkrc for your
application have something like:
style red_style = default
{
bg[NORMAL] = #C1665A
On Sun, 19 Sep 2004 12:27:56 +0200, edward hage [EMAIL PROTECTED] wrote:
Another question; is there a how-to to create stock-items from scratch (adding
png-files
and labels yourself). I found the API to be quit complicated.
Here's the code I ended up with after some fiddling and looking at
On Mon, 16 Aug 2004 21:14:08 -0700 (PDT), amin saberian
[EMAIL PROTECTED] wrote:
1-How i can remove min,max, close button bar from the
form(windows).
I used of #include gtk/gtk.h in linux
2-How i can remove title bar from the form(windows)
I used of #include gtk/gtk.h in linux
You need
On Mon, 26 Jul 2004 17:54:03 +0700, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I would like to display jpeg images using pure gtk instead of using imlib or
gdk-pixbuf,
because I want to keep my code as small as possible.
As I know that imlib is quite big, and gdk-pixbuf contains gnome both of
On Wed, 21 Jul 2004 08:46:36 +1000, Daniel Kasak
[EMAIL PROTECTED] wrote:
We need a few printable reports that I have to rebuild. I've started out
doing them in a Perl CGI script, exporting an HTML 'report' and firing
up Mozilla to view / print them. This is less than perfect. Mozilla
doesn't
bryan christ wrote:
Does anyone know what signal I should be connecting to when I
want to take action when a window is resized?
You need configure_event. In my experience it's rare to want to
listen to this signal, usually it's simpler to subclass one of the
existing widgets and have a
On Wed, 14 Jul 2004 10:24:57 +0200 (MEST), Andreas Lång
[EMAIL PROTECTED] wrote:
I have been using the gtk library to create this. My question is what
rules are there about publishing my source code. Can the company sell this
product without publishing my code?
Yes, provided you link
On Wed, 14 Jul 2004 20:53:16 -0700, Carl B. Constantine
[EMAIL PROTECTED] wrote:
gchar *userid = NULL;
userid = gtk_entry_get_text(GTK_ENTRY(lookup_widget(logon, password)));
Try
const char *userid = gtk_entry_get_text( GTK_ENTRY( ...
John
___
On Thu, 08 Jul 2004 21:47:41 +0400, Dmitry M. Shatrov [EMAIL PROTECTED] wrote:
Ok, gdk_threads_enter/leave is the way, but before coding it I'd like to
figure out if this could be done in a message-oriented manner,
not in cross-locking one.
My app does this with pipes. I have a GUI thread and
On Thu, 1 Jul 2004 21:31:27 +0300, Juhana Sadeharju [EMAIL PROTECTED] wrote:
I did check pangoft2topgm.c but because installer did not found
the freetype2 in RedHat, I could not use it.
What a shame. There should be a package for ft2, it's strange it won't go on.
This might help you: here's
Have you looked at:
pango-1.4.0/examples/pangoft2topgm
It renders text to a memory array, client-side (ie. does not need X)
... very handy!
On Tue, 29 Jun 2004 17:21:14 +0300, Juhana Sadeharju
[EMAIL PROTECTED] wrote:
How hard it can be? I spend several hours in compiling the following
code
On Fri, 25 Jun 2004 08:52:41 +0600, Alexander Ulianov [EMAIL PROTECTED] wrote:
1). Is Win32-app with GTK+ going to be stable? My main 2-D graphics app
for windows is GIMP 1.2.0. It works well but it crashes quite often.
It's much better these days. There's a packaged installer at:
You need TIFFReadDirectory() ... just call it repatedly to skip though pages.
- Original Message -
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: Working with GTK and multi-page TIFFs
Can anybody point me to a sample source code on (or teach me) how to
move to the next/previous page
101 - 200 of 494 matches
Mail list logo