John (J5) Palmieri wrote:
Yes. It depends on your application. Some people will subclass a
GObject and add the window object plus all of the other widgets as
aggregates. If you are feeling more daring you can subclass your main
window where your app class would inherit from GtkWindow.
Hi all,
This is the first time I write in this list, I'm a novice with GTK
library and linux development enviroment so excuse me if the questions I
will ask are trivial.
I made a new libglade project with anjuta, I design my interface with
glade and I'm at the point I'm able to open a
Hello everyone
I am writing my own gtk widget
and i want my own widget's height and width ratio is 0.8, like this:
widget-allocation.height / widget-allocation.width == 0.8
and my gtk_mywidget_size_allocate() function like this:
Start of my code
Hello all
I am chinese,I am sorry for my terriblly poor English !
I have confused about GdkColor
In general,the RGB color mode ,the red or green or blue's value is from 0
to 255
But ,the GdkColor ,the value is from 0 to 65535
My question is ,how to map (0--255) to
yeajchao wrote:
Hello all
I am chinese,I am sorry for my terriblly poor English !
I have confused about GdkColor
In general,the RGB color mode ,the red or green or blue's value is from 0
to 255
But ,the GdkColor ,the value is from 0 to 65535
My question is ,how to map
subscribe
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Le Vendredi 17 Mars 2006 13:17, yeajchao a écrit :
Hello everyone
I am writing my own gtk widget
and i want my own widget's height and width ratio is 0.8, like this:
widget-allocation.height / widget-allocation.width == 0.8
and my gtk_mywidget_size_allocate()
Hello,
is there a way to hide or to make invisible the dotted focus border?
I'm developing an application for a small display on an embedded board
and there is no mouse pointer, just a keyboard with several buttons to
move the selection up and down in a treeview. If I set the selection to
the
Freddie Unpenstein wrote:
You are absolutely right; mutexes /are/ useless from signal
handlers. It seems the only reasonable way is to use a pipe().
How about GAsyncQueue's? They're supposed to be thread safe without the need
of locking... How about within a single
I am using the C# port of GTK+ on Windows XP, and I'm trying to write an
app that is skinnable. Below is my simple test code that attempts to
set the theme of the window. It sets the theme for all the widgets
inside the main window, but it doesn't set the theme of the main window
(titlebar).
An application looks strange if the inside boxes have one theme, and the
outsides window has a different theme (i.e. default windows titlebar,
close, minimize, maximize buttons).
There has to be a way to make a windows application look like something
other than a boring looking windows app.
On Fri, Mar 17, 2006 at 03:37:11PM -0700, Plummer, Jeff-P56711 wrote:
An application looks strange if the inside boxes have one theme, and the
outsides window has a different theme (i.e. default windows titlebar,
close, minimize, maximize buttons).
There has to be a way to make a windows
On Fri, 2006-03-17 at 15:05 -0800, Wallace Owen wrote:
Maybe he remembers the cool looking themes that Enlightenment did, or
the various themes that Gnome's manager provides, confusing window
decoration themability that's the domain of window managers with the
button/label/etc. gui element
On Fri, 2006-03-17 at 23:48 +0100, David Necas (Yeti) wrote:
Boring is not the word I would use, what about familiar,
consistent, predictable, or integrated?
Agreed. The problem with GTK on windows always used to be it looked
like a horrible, out-of-place motif app. Now with the WIMP theme
You all are probably right. That blue titlebar is just so boring
compared to my cool linux desktop. Windows can do the cool themes with
tools like windowblinds, but that costs money. And I was just thinking
if spicing up my apps from within the app itself.
-Original Message-
From:
On Sat, 2006-03-18 at 00:38 +0100, Gus Koppel wrote:
However, then you would have to manage all tasks the window manager
takes care of by yourself, i.e. minimizing and maximizing the window on
request and providing correct drag behaviour. For resizability of your
windows you would still have
Hannes Mayr wrote:
Hello,
is there a way to hide or to make invisible the dotted focus border?
I'm developing an application for a small display on an embedded board
and there is no mouse pointer, just a keyboard with several buttons to
move the selection up and down in a treeview. If I set
Hi
To do Resize ,First Make Border of Window lets say
north,north-west,north-east,east,east-south,south,south-west ..
add events to each widegts and connect to callback functions which do
resizing ..
Hello, I'm hacking a gtk application and I found a strange effect
that you can magnify setting ypad property of a editable
gtkcellrenderertext to a big value ( 10).
You can see the effect at:
http://www.alternativeoutput.it/img/treeview_normal.png
and
Now 2.14 has been released, I wonder whether anyone on
the GTK team could review the documentation I wrote
for the Open and Save dialogs.
It's in the GNOME Desktop User Guide, under Desktop
Overview/Applications: 2.5.3.#8194;Choosing a File to
Open and 2.5.4.#8194;Saving a File.
It was
Hey all:
I've had some trouble in compiling and subsequently using glib (2.8.6)
on a Windows machine.
I am building using nmake and the MSVC toolset. My procedure is such:
unpack glib into a directory containing gettext and libiconv.
cd build/win32/dirent
nmake -f makefile.msc
cd ../../../
hi, how can we log error messages for Glivusing error function like g_error() to a file and not printed to the console?-sumit
Yahoo! Mail
Use Photomail to share photos without annoying attachments.___
gtk-list mailing list
gtk-list@gnome.org
Hello everyone
I am writing my own gtk widget
and i want my own widget's height and width ratio is 0.8, like this:
widget-allocation.height / widget-allocation.width == 0.8
and my gtk_mywidget_size_allocate() function like this:
Start of my code
Hello all
I am chinese,I am sorry for my terriblly poor English !
I have confused about GdkColor
In general,the RGB color mode ,the red or green or blue's value is from 0
to 255
But ,the GdkColor ,the value is from 0 to 65535
My question is ,how to map (0--255) to
Run your program from the consol, and in the command line write the following:
user$ yourprogram filelog
yourprogram will run the project you are working on, and the filelog
is the file where the message will be stored (in the same directory you
call your program).2006/3/17, Sumit Kumar Jain
You can also set your own log handler:
http://developer.gnome.org/doc/API/2.0/glib/glib-Message-Logging.html#g-log-set-handler
And capture message to a file, send them to a dialog box, whatever.
On 3/17/06, Daniel Espinosa [EMAIL PROTECTED] wrote:
Run your program from the consol, and in
Le Vendredi 17 Mars 2006 13:17, yeajchao a écrit :
Hello everyone
I am writing my own gtk widget
and i want my own widget's height and width ratio is 0.8, like this:
widget-allocation.height / widget-allocation.width == 0.8
and my gtk_mywidget_size_allocate()
Hi,
yeajchao [EMAIL PROTECTED] writes:
In general,the RGB color mode ,the red or green or blue's value
is from 0 to 255 But ,the GdkColor ,the value is from 0 to 65535
My question is ,how to map (0--255) to (0--65535)
r = ((r 8) | r);
g = ((g 8) | g);
b = ((b 8) | b);
Sven
yeajchao wrote:
My question is how to map (0--255) to (0--65535)
Multiply by 257.
Toby
--
Signed/encrypted mail welcome. GPG/PGP Key-Id: 0x15C5C2EA
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Hello.
After installing Gtk+-2.8 packages on Win32 I found that my toplevel
window won't lose it's title bar and borders when
gtk_window_set_decorated( GTK_WINDOW( win ), FALSE );
function called. (It worked well for Gtk+-2.4).
Help file says that function should always work on Win32.
Any
Hello!
Why the function g_cclosure_new isn't exposed in windows glib 2.0.0 dll ?
--
Valdir Stiebe Junior.
Dype Soluções.
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Well, I found the solution.
Andrew E. Makeev wrote:
Hello.
After installing Gtk+-2.8 packages on Win32 I found that my toplevel
window won't lose it's title bar and borders when
gtk_window_set_decorated( GTK_WINDOW( win ), FALSE );
function called. (It worked well for Gtk+-2.4).
Help file
Hi,
I am new to GTK. Can someone please tell me how can I
write a program which to communicate a GTK
application?
e.g. how can I write a problem to emulate a menu item
has been selected in a GTK application?
Thank you.
__
Do You Yahoo!?
Tired of
Hi,
I am trying to use glib under a Linux. glib is installed
under /usr/include/glib-2.0, however, when I' m trying to include glib.h in my
program and do make, it gives an error as follows. glib.h: No such file or
directory
I have also included, the package checking to configure.ac since I am
I'm having some really bizarre problems installing GTK under Mac OS X on an x86 Mac. Here are the errors make install gives me as it runs gtk-query-immodules:
../../gtk/gtk-query-immodules-2.0 /sft/etc/gtk-2.0/gtk.immodules
Cannot load module /sft/lib/gtk-2.0/2.4.0/immodules/im-am-et.so:
David wrote:
What I was trying to
do was something I guess not appropriate in Perl. What I had attempted
was to keep it modular - I had three component files - but none were
defined as packages. I'd attempted to keep the related portions of the
code in separate files, and then just include
* muppet [EMAIL PROTECTED] [2006-03-17 15:50]:
I think a require of a file that does not define a package may
behave similarly to what C does.
Sort of. `require`ing a file multiple times won’t load it
multiple times. In Perl, you get that using `do $filename`,
which equates to `eval
Beast wrote:
I have these following code:
...
sub cb_ok {
my $self = shift;
...
my $dialog = Gtk2::MessageDialog-new($self, 'modal', 'error', 'ok',
$message);
$dialog-set_position('center-on-parent');
}
But it behave like I wanted.
It should be: but it doesn't behave as i
38 matches
Mail list logo