Re: Top-levels embedded in another top-level?
Михаил Иванов wrote: that functionality. If you're _really_ desperate, there are toolkit level window managers that can give you MDI functionality, at the price of not beeing able to have the internal windows look and behave the same way as toplevel windows. Yes!! That's perfectly acceptable! I do not care about if internal windows look the same way as toplevels - actually it's even better when they are different. Which specific toolkit level window managers did you have in mind? One I've been looking at for GTK is available at http://nshmyrev.narod.ru/ Don't get too excited until you actually tried it out, though :-) -- Christer ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
shell in GTk+ programing
I am a beginner in Gtk+ programing(also in English). What I want to know is that how can i use the shell order in Gtk+ ? For example ,I want to start the xine by click a button in my program,so what can i do ? Thank you so much! _ Linux.Net -->Open Source to everyone Powered by Linare Corporation http://www.linare.com/ ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Arabic and Hebrew languages support
Hello all, Does somebody know from what version (1.x or 2.x), gtk+ supports bi-directional text entry for arabic and hebrew languages? Thanks in advance. Regards, Cosmin Bonea ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: show window in center screen
Hi See gtk_window_set_position(). I'm not sure, if you need to realize a window, before using gtk_window_set_position(), so maybe you need to call: gtk_widget_realize( widget ); gtk_window_set_position( GTK_WINDOW( widget ), GTK_WIN_POS_CENTER ); gtk_widget_show( widget ); HTH Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: shell in GTk+ programing
Hi If you just want to start processes, and are using glib 2.x look at g_spawn_* (docs: GLib Utilities -> Spawning Processes) HTH Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Performance problems with 8-bit display
Hi, As anyone had performance problems on an 8-bit display? Specifically what I am seeing is extremely slow rendering and when it does, finally render, colors are totally messed up. The conditions that this occurs under are when a large number of X apps are up on the display, including Applix. Running the app alone appears to be fine. The display station is running Linux, a copy of the xdpyinfo is shown below. Thanks for any help. -- Brian name of display:ds355:0.0 version number:11.0 vendor string:Dexon Systems Ltd. vendor release number:6300 maximum request size: 4194300 bytes motion buffer size: 256 bitmap unit, bit order, padding:32, LSBFirst, 32 image byte order:LSBFirst number of supported pixmap formats:2 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 keycode range:minimum 8, maximum 255 focus: window 0x4c00077, revert to Parent number of extensions:21 BIG-REQUESTS DOUBLE-BUFFER DPMS DX-MULTICURSOR DX-ZOOM LBX MIT-SCREEN-SAVER MIT-SHM MIT-SUNDRY-NONSTANDARD RECORD SECURITY SHAPE SYNC XC-APPGROUP XC-MISC XFree86-DGA XFree86-Misc XFree86-VidModeExtension XInputExtension XKEYBOARD XTEST default screen number:0 number of screens:1 screen #0: dimensions:4800x2400 pixels (1626x813 millimeters) resolution:75x75 dots per inch depths (2):1, 8 root window id:0x2a depth of root window:8 planes number of colormaps:minimum 1, maximum 1 default colormap:0x26 default number of colormap cells:256 preallocated pixels:black 0, white 1 options:backing-store YES, save-unders YES largest cursor:64x64 current input event mask:0xd8403d KeyPressMask ButtonPressMask ButtonReleaseMask EnterWindowMask LeaveWindowMask KeymapStateMask SubstructureNotifyMask SubstructureRedirectMask PropertyChangeMask ColormapChangeMask number of visuals:6 default visual id: 0x20 visual: visual id:0x20 class:PseudoColor depth:8 planes available colormap entries:256 red, green, blue masks:0x0, 0x0, 0x0 significant bits in color specification:8 bits visual: visual id:0x21 class:DirectColor depth:8 planes available colormap entries:8 per subfield red, green, blue masks:0x7, 0x38, 0xc0 significant bits in color specification:8 bits visual: visual id:0x22 class:GrayScale depth:8 planes available colormap entries:256 red, green, blue masks:0x0, 0x0, 0x0 significant bits in color specification:8 bits visual: visual id:0x23 class:StaticColor depth:8 planes available colormap entries:256 red, green, blue masks:0x7, 0x38, 0xc0 significant bits in color specification:8 bits visual: visual id:0x24 class:TrueColor depth:8 planes available colormap entries:8 per subfield red, green, blue masks:0x7, 0x38, 0xc0 significant bits in color specification:8 bits visual: visual id:0x25 class:StaticGray depth:8 planes available colormap entries:256 red, green, blue masks:0x0, 0x0, 0x0 significant bits in color specification:8 bits ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Gdk-WARNING: BitBlt failed
Hi, I've seen this warning on MS Windows XP: Gdk-WARNING **: gdkdrawable-win32.c1568: BitBlt failed: Handlen er ikke gyldig. (The last 4 words translated to english: "The handle is not valid.") This seems to happen when Windows XP goes into 'Screen-lock'. There are probably 100 or more occurences of this error message. The same application compiled on/for Linux do not cause this error-message, when Linux goes into 'Screen-lock'. Do anyone know what causes this problem and knows about a cure? (There is no timer signals in the application, but perhaps there are some internally in Gtk+/Gdk.) Best regards Egon Andersen ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Gdk-WARNING: BitBlt failed
On 2004.04.15 16:20 Egon Andersen wrote: Hi, I've seen this warning on MS Windows XP: Gdk-WARNING **: gdkdrawable-win32.c1568: BitBlt failed: Handlen er ikke gyldig. (The last 4 words translated to english: "The handle is not valid.") This seems to happen when Windows XP goes into 'Screen-lock'. There are probably 100 or more occurences of this error message. The same application compiled on/for Linux do not cause this error-message, when Linux goes into 'Screen-lock'. Do anyone know what causes this problem and knows about a cure? (There is no timer signals in the application, but perhaps there are some internally in Gtk+/Gdk.) Known bug, see http://bugzilla.gnome.org/show_bug.cgi?id=137796 Cheers, Ali. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Gdk-WARNING: BitBlt failed
J. Ali Harlow wrote: On 2004.04.15 16:20 Egon Andersen wrote: Hi, I've seen this warning on MS Windows XP: Gdk-WARNING **: gdkdrawable-win32.c1568: BitBlt failed: Handlen er ikke gyldig. (The last 4 words translated to english: "The handle is not valid.") This seems to happen when Windows XP goes into 'Screen-lock'. There are probably 100 or more occurences of this error message. The same application compiled on/for Linux do not cause this error-message, when Linux goes into 'Screen-lock'. Do anyone know what causes this problem and knows about a cure? (There is no timer signals in the application, but perhaps there are some internally in Gtk+/Gdk.) Known bug, see http://bugzilla.gnome.org/show_bug.cgi?id=137796 Cheers, Thanks, I can see it has been reported. (I've tried to search bugzilla, but it seems to be impossible to find anything via search. Whatever search I did I got "Zarro Boogs found") Best regards Egon Andersen ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Help me out of this trouble!
Hi everybody, I am very new to Gtk.I have used it only once that too long back. Currently we are developing a GUI for a mobile application.. We need to use Gtk ( using Glade tool ) under windows 2000 and then port it on a completely different platform ( ttpcom platform). All the functionality of the GUI controls are to be platfom independent.. please suggest me how to proceed and also if possible give me a raw design of the implementation. thanking you, Regards, Raghavendra U Adrakatti, HCL Technologies, Netcentric Technologies Division(WESG), A-5, Sector 24, NOIDA (UP) - 201301. Tel:+91 120 2411502 Ext: 2338 [EMAIL PROTECTED] [EMAIL PROTECTED] 9868329669(M) "To handle Urself, use your Head ;To handle Others, use your Heart" Disclaimer: This message and any attachment(s) contained here are information that is confidential,proprietary to HCL Technologies and its customers, privileged or otherwise protected by law.The information is solely intended for the individual or the entity it is addressed to. If you are not the intended recipient of this message, you are not authorized to read, forward, print,retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Error building gtk 2.4
I've installed the following so far with no problems: atk-1.6.0 fontconfig-2.2.2 glib-2.4.0 pango-1.4.0 render-0.8 xcursor-1.0.2 xft-2.1.2 xrender-0.8.3 on Solaris 8. But while building gtk+-2.4.0 I get the following error: > gmake gmake all-recursive gmake[1]: Entering directory `/data/compilers2/cad/kde/3.2/gtk+-2.4.0' Making all in po gmake[2]: Entering directory `/data/compilers2/cad/kde/3.2/gtk+-2.4.0/po' /bin/msgfmt -o af.mo af.po Error, No space after directive at line number 159. Exiting... gmake[2]: *** [af.mo] Error 2 gmake[2]: Leaving directory `/data/compilers2/cad/kde/3.2/gtk+-2.4.0/po' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/data/compilers2/cad/kde/3.2/gtk+-2.4.0' gmake: *** [all] Error 2 I'm using gcc 3.3.3 Any ideas what the problem is?
Pango 1.2.0 and Xft back end
Hi All. This is my first email to this list. So if I make some kind of error or mistake, please forgive. I'm trying to install wxWidgets. So I have downloaded gtk 2.4, glib 2.4, atk 1.6, pango 1.4.0. glib, atk, pango, installed ok. With I run the gtk+2.4.0 configure script, this is what I get: configure:error: Pango 1.2.0 and Xft backend is requried of x11 target. What does that mean? This is my first time trying to install gtk and I really don't know what pango, atk and the like do. FYI: I'm running Mandrake 9.0 on a Duron 1300 chip and lots of ram and HD space. If more specs are required, please email me and i will responds asap. Thanks a lot for all your help. Chris Bruyere __ Post your free ad now! http://personals.yahoo.ca ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Set Label on Button with Resource File
Hey there, Is that possible to change the Label of a button using just the resource files ? I tried something like widget "mywindow.GtkLabel.my_button" style "white-label" Does anybody have any clue on how to do that ? Marcos ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
RE: Performance problems with 8-bit display
Hi Brian, Well, it's been a while since I used an 8-bit X Server myself, and I'm not sure if I ever played with GTK+ programming on one. As far as X though, you may need to persue using a private color map for your application. You mentioned the colors are not correct. Do they become correct when you focus on that window? (The wm you use may have a little influence also). I can't think of anything useful to say regarding the slow rendering. With 256 colors available, it is still quite possible to achieve fantastic results, but you will probably be limited to what apps you can run simultaneously, with the colors remaining "correct", even when the windows are not in focus. I'm looking forward to what the other folks have to say also... John Miskinis http://conquest.palmside.com/miskinix/ << X Server Log removed intentionally >> _ Persistent heartburn? Check out Digestive Health & Wellness for information and advice. http://gerd.msn.com/default.asp ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Thread and idle
Hi, I am new for gtk. I can't relly understand how thread with gtk... I read many examples of it. There is a question in my mind Can I use gtk_idle_add to make thread?? If yes, how can I do this? Thanks very much... Do you Yahoo!? Yahoo! Tax Center - File online by April 15th
closing a window
hi! i have developed an application using gtk2.0.in my application,along with other windows, there's a window with a button on it.i want to destroy this window when i click the button. i tried using gtk_widget_destroy, with (gpointer)window as the function to be called when the button is clicked, but it destroys just the button & not the whole window.i don't want to CLOSE my application, so i cant use gtk_main_quit.what shall i do?is there a function using which i can do this??i want to click a button in a window & that window should be destroyed. Please help!!! -chaitanya. - IN A WORLD WITHOUT WALLS & FENCES, WHO NEEDS WINDOWS & GATES? -