Programming :: GTK+ Externally (to Main Window) Display A Men?

Feb 16, 2010

Usually the menu bar, and menus, are displayed within the applications main window. With a small screen this obviously wastes space so my idea is to reserve a location, small square space probably on a corner, on the screen that when clicked it will pop out the current selected applications menu, allow selection, and then disappear again. The application itself would look fullscreen, or if windowed will still not have a menu bar but access available via the "square."

Likewise instead of the usual task bar and "applications/places/system" menus (ala, ubuntu) a second square would be reserved which would pop-out and show the running tasks, followed by the menus, and allow selection, then disappear. Is this possible with GTK+ as it stands, as I'm guessing that by default everything must be contained within an applications main window?

Although having said that, gimp allows the tool windows to be external to the edited document, so perhaps it would be possible to make the menu bar into a toolbox? I guess the difficult problem would be how to make the currently selected applications "tool square" be on top when there could be multiple applications running. The "tool square" and "task/menu square" could be transparent (maybe just an outline) so that although always there they wouldn't hide any underlying windows/programs/etc.

Basically the idea is to get rid of wasted screen, in ubuntu (on gtk/gnome) a minimum of 5 "bars" is wasted screen real-estate:- 1, Running aplications: 2, Ubuntu's main menu bar: 3, Applications status bar: 4, Applications menu bar: 5, Applications description (min/max/close) bar. Take all the above and replace it with two clickable, potentially invisible, squares say where the default "hide all windows" and "deleted trashcan" icons currently reside.

View 3 Replies


ADVERTISEMENT

Programming :: Can't Get Xlib Window To Display / What To Do?

Mar 12, 2009

I am having trouble writing an Xlib application that displays a window. The most frustrating thing is that I've written applications like this before, and never had any problems. For some reason I cannot get this program to work properly. I'm running KDE and when I launch the program, a "button" for the application will appear on the application panel, however, no window will display. It is possible to right click on the panel button and select the Close item which will successfully close the window.

The following is source code that when built will exhibit the behaviour described above code...

View 10 Replies View Related

Programming :: GTK - Load Image Or Display In Window

Jan 11, 2010

I am trying to write a small gtk+-2 program to display whatever image it is given and I was wondering if anyone out there has done something similar. I am not too familiar with writing programs for gtk and its been a while since I've fiddled with C. I went over the tutorial for gtk and it seams pretty easy to get a window to display, but I do not see anything that refers to loading an image or displaying it in the window. I am wondering if this can be done purely with gtk or will I need to use some type of image library like imlib2?

View 3 Replies View Related

Programming :: Send Password Window To User Display?

Jul 6, 2011

How can i send a password window to display?

View 2 Replies View Related

Programming :: Close The Thread Externally?

Aug 11, 2010

i created one thread in main(). I have while in thread function.

I want close the thread in main after some time. How can i close it.

View 4 Replies View Related

Ubuntu Multimedia :: Use 2nd GPU As The Main Display Device?

Mar 23, 2011

have a system that has a GTX285 and a PCI 8400GS. I'm running Ubuntu 9.10 I'm trying to get the system to use the 8400GS to run X windows and the GTX285 to use as the compute device. Everytime I start up my system with both cards it always uses the GTX285 as the display device. How do I configure it to use the 8400 instead? I've tried the nvidia settings program and I don't see how to do this. Do I need to change something in my xorg.conf ? I don't know much about editing this file.

View 3 Replies View Related

Ubuntu Installation :: OpenOffice.org Main Window Execution/

Jul 20, 2010

I have installed OpenOffice 3.2.0 on Ubuntu 10.04 (64-bit) and all seems to be working ok. Currently, I need to click on

Applications -> Office -> ,,,

and select which OpenOffice module I would like to execute. It would be much easier (and preferred) to be able to execute OpenOffice.org (Main window) directly from an icon in a panel. That is, I would like to have an icon in a panel that when clicked on would bring up the Main window for OpenOffice --- this Main window menu is shown in the attached screenshot.How can I get this single icon to give (when clicked on) this Main window for OpenOffice?

View 5 Replies View Related

Ubuntu :: Setting Main Display On Extended Desktops

Mar 17, 2010

I have extended desktop working on my netbook (finally, by turning off compiz), but now Gnome prefers my netbook's main screen as the main display (with the panel and such) instead of my external monitor.How can I switch this? I don't see any setting for it in the Display dialog.

View 3 Replies View Related

Ubuntu Multimedia :: Having The VLC Play List Joined Together With Main VLC Window?

Mar 17, 2010

Is there a way to have the VLC play list joined together with the main VLC screen? i.e. just like gnome-mplayer 0.9.8? I really don't like the separate windows setup with VLC, although VLC is still my number one video player.

View 2 Replies View Related

Ubuntu :: Get The Main Menu>Places Icons To Display The Appropriate Windows?

Nov 6, 2010

When I go to Main Menu>Places, nothing but Computer and Network works correctly. Choosing Main Menu>Places>Downloads, for instance, generates a little disk activity, but never displays a window with the contents of the Downloads directory. In an effort to fix the problem, I just upgraded from 10.4 to 1.10, but the same thing still happens. How do I get the Main Menu>Places icons to display the appropriate windows?

View 6 Replies View Related

Software :: Select The Main Menu And Activate The Terminal, All That Comes Up Is A Blank White Window?

May 10, 2010

I recently installed Linux Mint 8 (main) on my P.C.. When I select the main menu and activate the Terminal, all that comes up is a blank white window--The same thing happens when I try to run Software Manager or Synaptic. Could you please instruct me how to fix this
problem.

View 7 Replies View Related

Ubuntu :: No Back Buttons And URL Display - Removal Of The Firefox-Shiretoko Browser From The Main US Repository

Mar 9, 2010

The removal of the Firefox-Shiretoko Browser from the Main US Repository really wrecked me... I have no back buttons, no URL display, and all my bookmarks now have to be moved... (if I can figure out how to move them...) ooo, i miss my black-skin in Facebook...

View 4 Replies View Related

Ubuntu Installation :: Install Updates Returns To Main Window Without Installing Updates

Mar 24, 2011

For some reason Update Manager is not installing updates as of yesterday.I have it set to check daily and notify if updates are available. It has been working without issues for well over a year now.

Update Manager tells me updates are available and presents the list of security, recommended, and other updates. All are selected to update, but when I select Install Updates in Update Manager it returns with a Reading Package Information window overlaid on the main Update Manager window - building dependency tree then reading state information and dumps me back to the main Update Manager window without performing any update actions.

View 2 Replies View Related

Ubuntu :: Change Window Min / Max Display?

Jul 5, 2010

I would like to change the taskbar Minimized/Maximized view. Right now the active windows are protruding, i would like the opposite effect.

View 8 Replies View Related

Programming :: Structure Of The Main Function In C?

Sep 22, 2010

I have started learning C and am following Ivor Horton's "Beginning C - From Novice to Professional". I've noticed that in the book the structure of the main function is:

int main (void) however on the internet I found a lot of cases: void main (void)Which one is preferred and why?

View 5 Replies View Related

Programming :: Undefined Reference To 'main'?

Jun 22, 2010

When I try to compile my code using g95 or gfortran:

Code:
subroutine dipole_tilt(glong, glat, utsec, tau, day, hgraze)
implicit none

[code]....

View 4 Replies View Related

OpenSUSE :: X Window Display Initialization Failure

Feb 12, 2010

Im trying to "ssh -X" my university server for accessing cadence, but i get this:

HTML Code:
*Warning* X Window Display Initialization Failure
*Warning* (DISPLAY "<not defined>")
Apparantly i need to assign it my machine IP e.g like:
HTML Code: setenv DISPLAY machine:0.0

But unfortunately it still doesnt solve my problem. All it does is stop printing this warning message as a result.

View 2 Replies View Related

SUSE :: Panel To Display Minimised Window

Feb 5, 2010

I've been experimenting with the system and as these things go I've done something and I can't undo it through lack of understanding. I've managed to disable the display of minimised windows in the panel at the bottom of the screen. To compensate I'm using a Widget which allows me to get back to the window as I need it. But I'd prefer to be able to simply click on the panel.

View 4 Replies View Related

General :: Dim Display On The First Installation Window Of RHEL 5.5?

Oct 5, 2010

I am trying to install RHEL 5.5 using rhel-server-5.5-i386-dvd DVD on my DELL Inspiron 1464 Laptop. However, after probing the hardware, I see a message at the bottom of the screen regarding xwindow, (cannot read it as it disappears fast) and then the first page of installation loads.(this has a redhat logo and a forward button at lower right corner) BUT this page is extremely DIM. Its as good as its not there.I have

DISPLAY:Intel(R) Graphics Media Accelerator HD (Core 3i) Intel Corporatoin Compatible
PROC: Intel (R) Core(TM) i3 M330 @ 2.13Ghz
RAM: 4.00 GB

What should I do to fix the issue? Also, earlier I was able to install Fedora 13 (32bit) successfully (dual boot with Win 7 Pro 64bit).

View 5 Replies View Related

Programming :: C Arguments To Main - Can't Compare Values?

Jul 24, 2011

Whats wrong with this:

Code:
#include <stdio.h>
int main(int argc, char *argv[])
{
if(argv[4] == "-verbose")
{
printf("Verbose is on");

[Code]...

View 2 Replies View Related

Programming :: Getting Undefined Reference To Main In Sub-class For BST?

Apr 27, 2011

I'm writing a binary search tree class to insert records and I'm stuck on the following error:

Code:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
Here is the code for my class:

[Code]...

I really don't know how to approach this, I thought that everything was working fine but I have no idea what is wrong. Also, for clarification, main() is in a different .cpp file that #includes "tree.h"

View 13 Replies View Related

Programming :: Incorporating Subroutine In Main Program?

May 23, 2011

Say, i have a main program called as vauto.f ( written in F77 ) and complied with gfortran and run successfully using the help from Mr. Colucix ( Many thanks, Mr. Colucix ). Got an output file (RFILE) after running this program. I want to post process this out put file giving this as input to some other program, that is written as sub routine in a separate file, four.f. I tried to incorporate this subroutine into the main program v.auto.f and ran into several compiling errors and before saving those errors my system went dead so could not post here the errors ( sorry about that ).Think myself as a very new programer. what would you advice me to do??

==a. create an object file of that subroutine file and link that to main file and compile both of them and get output fileb. After obtaining the result file from the first program (RFILE), run this subroutine ( but how to do that?? is my question bugging me for more than 4 days, tried different things and met with failure ).=====
For our kind attention, have attached the main program (vauto.f), RFILE, four.

View 4 Replies View Related

Fedora :: Window Display Messed Up When Dragging Left

Jan 16, 2011

I have a bit of a problem w/ the windowing UI when I drag any window left, the display gets messed up (see attached screen shot). It doesn't matter what the program is, even happens in explorer. I've done some searching of the Internetz and this form and all I could find was this bug, that doesn't have any updates on it:

Does anyone know of a fix for this? I can make the lines go away by triggoring a repaint (by either dragging another window on top of this one or minimizing and maximizing the problem window, but it's still a bit annoying.I'm running Fedora 14 and have ran all of the updates it prompted me to run.

View 1 Replies View Related

Ubuntu :: Date And Time / Calendar Window Out Of Display

Nov 16, 2010

I'm using ubuntu Maverick on a Dell 1545 and I'm pretty much a newbie to ubuntu. Most of the things have been fine so far, I just plugged it into a proxyless internet connection and adjusted my location for time zone (I've been using a porxy server previously for internet which didn't allow changes in location and time zone work) and since then that calendar has moved out of the scope on the top right corner of my screen and I'm unable to move it.

View 1 Replies View Related

Ubuntu :: Force The Title Of A Window To Display On The Right Side

Jan 24, 2011

I have been messing about with my themes lately and was wondering if it was possible to force the title of a window to display on the right side and have the buttons on the right. I'm already aware of using gconf-edit to change the order and position of the buttons but I can't seem to figure out how to move the title.

View 8 Replies View Related

Ubuntu :: Wonky Window Display - Mav 10.10 ThinkPad W510

Feb 12, 2011

I'm not sure what happened, I enabled Nvidia support and all of sudden the internal layout of windows, look..well old-school, like they did back 10 years ago. The screen-shot explains all. I'm sure this is just a setting SOMEWHERE in Gnome but I'd be danged if I can find it.

View 5 Replies View Related

Debian Programming :: Java Can't Find Main Class

May 18, 2010

This is a bit of revision for the OU course M257

Code: Select all import java.util.*;
public class FindDupes {
public static void main(String[] args) {
   Set<String> orig = new HashSet<String>();
   Set<String> dupe = new HashSet<String>();
   for(String a: args)
   if(!orig.add(a))
      dupe.add(a);

   orig.removeAll(dupe);
   System.out.println("words " + orig);
   System.out.println("dudes " + dupe);
}
}

for some reason it will compile but not run on debian lenny complains it can't find the main class but it compiles and runs without problem on Fedora 12.

View 6 Replies View Related

Programming :: Difference Between Init And Main Function In A Process

Jul 12, 2010

I have a project in which many processes run. p1,p2,p3.

->There are some .so files are included in some process when needed example ppp.so in process p1 (when ppp is needed and will go like a plugin) but it has a init () function how a process includes a init() function ?

->process p1 has main function i.e main()

->so evry process has main() right ?

what is the difference between init () and main () functoins. where is init () used and how many init() a process van have ?

View 3 Replies View Related

Programming :: Access Main Program Function From Library?

Mar 10, 2010

it possible to access main program function from dynamicallyinked library in c language?For example:main.c:

Code:
#include<stdio.h>
void func()

[code]...

View 2 Replies View Related

Programming :: Calling Constructor Of Dialogbox In Main Using Netbeans

Mar 28, 2010

In my project,Login window is created as a Dialog box.So when i tried to call the constructor of Login from Main it was generating an error regarding the arguments passed.I have not used any arguments when i called. when i looked at the code, the function was declared as public Login(java.awt.Frame parent,boolean modal)so when i call it from main(),what am i supposed to do ?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved