Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [visibility]

Visibility is an attribute of an object. It may refer to the concept of having something visible (or not) on the graphical interface, or a symbol visibility in linkage. This tag should not be used in place of the more specific tags [memory-visibility] or [class-visibility].

visibility
0 votes
1 answer
77 views

How can I make an element stop glitching if it gains visibility when another element behind it is hovered?

I have two divs; let's call them div 1 and div 2 and the one on top of the other is set to visibility:hidden: Basically the info div is supposed to appear whenever you hover the other one. That part ...
poppy pelt's user avatar
0 votes
1 answer
127 views

How can I make my Flutter application visible to users with Gmail.com email addresses on the Google Play Store?

I have recently deployed my Flutter application to the production mode on the Google Play Store. The application is targeted for 177 countries and should be available to all users, regardless of their ...
ASMA's user avatar
  • 89
0 votes
0 answers
22 views

DOM Operation Unsuccessful - Show HTML in Element

Working code here is mixed with non-working code. The code works up until the line where it commands the innerText to be of x.innerHTML.substring(3,-3) This is the function I am calling on a click ...
Anthony Pulse's user avatar
0 votes
0 answers
70 views

Having trouble getting button visibility to work with view binding

Here is the github link: https://github.com/dunow0033/BudgetTracker Here is the XML for a button for updating a budget entry: <Button android:id="@+id/updateBtn" android:...
bradd's user avatar
  • 11
1 vote
1 answer
875 views

Allowing binary in the same crate to use library's modules but disallowing external crates to use the same modules

I have three files under the src directory: src |____ keys.rs // a 'sub-module' under `lib.rs` |____ lib.rs |____ main.rs // binary file In my cargo.toml, I specify specifically the paths to the lib ...
Jim's user avatar
  • 707
1 vote
1 answer
186 views

Strip symbols from static library, or import only specific symbols during linking

The setup is the same as in my other question here. I thought a bit more about the problem, and it turns out, of all symbols exported from the libraries I'm using, I only need a few of them. In the ...
swineone's user avatar
  • 2,684
1 vote
2 answers
809 views

Rust idiom for exposing public fields while restricting direct struct construction

I know of the visibility rules in Rust and the typical 'constructor' patterns in Rust, e.g. via associated functions, commonly named as new or if all fields of the struct are public, via 'direct' ...
Jim's user avatar
  • 707
3 votes
1 answer
129 views

Can BlockingQueue make MemorySegment visible for multiple threads?

I am using JDK20's FFI, and I need to pass a Object to a BlockingQueue to shared it from one thread to another. The Object contains several MemorySegment field, which belongs to Arena.openShared(). ...
benrush's user avatar
  • 197
0 votes
1 answer
214 views

TCL - invalid command name ... but different

I try to add two buttons to the console window for convenience and to play around with it. The problem is: The first button just triggers an "exit". This works fine. The second button ...
dietmar bos's user avatar
0 votes
1 answer
340 views

Toggle visibility of the meshes from the scene in Three.js

I have faced with an issue. when I set the cubes' visible property to false. It is hiding the mesh from the user, but it is actual place is staying there and preventing from clicking the another mesh ...
Asadbek Eshboev's user avatar
2 votes
1 answer
173 views

UML classes diagram the question of relations and visibility of fields

I have a few questions regarding my design after having reviewed a number of information sources. I decided to link the User and UserSettings classes with a composition relation (since user settings ...
Smth_Unknown's user avatar
0 votes
0 answers
116 views

Override fvisibility in Fortran routine

In a shared object, I can make my Fortran routines unavailable from outside using -fvisibility=hidden. In C/C++ you can override this setting in your routines by void __attribute__ ((visibility("...
Mads M Pedersen's user avatar
0 votes
0 answers
181 views

SSRS Report Incorrectly Displays Conditionally Hidden Tablix After a Hidden Subgroup is Toggled on a Separate Tablix

My SSRS report has multiple Tablix elements. Their visibility is conditional to the content of the datasets they use. It works as intended when first displayed. When the dataset is empty, the Tablix ...
ETS333's user avatar
  • 1
0 votes
1 answer
29 views

How can I make a control invisible with code in a Python FMX GUI App?

I made the following GUI in DelphiFMX for Python that contains two buttons and a rectangle. I simply want to hide and show the rectangle with the button clicks: What I've tried doing so far is: def ...
Shaun Roselt's user avatar
  • 3,055
0 votes
1 answer
256 views

Access Private Variable in Solidity

I already have searched for my question on Stack Overflow and on the documentation (https://docs.soliditylang.org/en/develop/contracts.html#visibility-and-getters), but I am not sure of the answer. To ...
luca gualandi's user avatar
0 votes
1 answer
51 views

How can I make an element's attribute only appear on hover when another element is hidden?

I'm having trouble figuring out how to make the data-title only appear on hovering of the up-arrow only when the footer is down/not showing. However, I would also appreciate another solution where the ...
florizer's user avatar
-1 votes
1 answer
95 views

Using only javascript and css: can I enable the user to selectively display and hide divs of different classes, via a single drop-down menu?

I have an html page consisting of 80-100 css-styled divs each containing a grid with an image and information about a single artwork. (Each div already has a unique Id, to enable linking-in to a ...
Dr No Know's user avatar
2 votes
4 answers
2k views

Get current index/visible item of FlatList

I have a scrolling view of posts. Each post has a corresponding user and I have a header that shows the user info of the current visible post. With Flutter this was simple, I just wrapped the post ...
Globe's user avatar
  • 197
1 vote
1 answer
311 views

Do inherited methods use the visibility, methods and attributes of the superclass or subclass?

What I assume is that an inherited method will, by standard, use the methods and attributes of the class whose object is used to execute that method. Here's an example for my question, it's from a ...
grecode97's user avatar
0 votes
1 answer
374 views

UX: should I hide basic functionality that users can't reach?

I'm working on dashboards now, e.g. employee form. Some users have permissions to delete employee and some are not. Usually these permissions are changed only if user assigned to new type, e.g. from ...
Joules's user avatar
  • 1
0 votes
1 answer
384 views

Icon does not become invisible in jetpack compose

I have simple viewpager and toolbar in my code : @Composable fun DefaultAppBar( mainViewModel: MainViewModel ) { CompositionLocalProvider(LocalLayoutDirection provides ...
A.G's user avatar
  • 97
0 votes
2 answers
248 views

Showing only one of several widgets in Flutter

I have a space where I to show either widget1 or widget2 (and never both). How? In fact, widget1 to contain a simple case of retrieved information and a button to switch to show widget2 (with more ...
porton's user avatar
  • 5,648
0 votes
1 answer
170 views

three js weird artifacts with objects intersection

Trying to get into three js and following some tutorials here and there but I'm stuck on some very basic stuff I feel, that I can't find the solution to. The problem I have is shown better on the gif ...
Monochromatic's user avatar
1 vote
0 answers
100 views

Avoiding globally overloaded new and delete(in one shared library) to be called while calling new from other shared library

I have overloaded new globally in get_seven.cpp. Also, I am using -fvisibility=hidden option, but still If I do new from get_seven.cpp, my new is called. I do not want that. How can I achieve that ...
Hemant Kr's user avatar
2 votes
1 answer
187 views

Rust visibility across files in same folder

I have divided my Rust project into multiple files in same folder for tidiness. Now each file is perceived as a mod of its own and I have to mark everything pub(crate). Is there a way to publicize all ...
corsel's user avatar
  • 325
0 votes
1 answer
743 views

why can't I access a protected method from a private method if the protected ones are inherited by the subclasses?

I do not understand this particular case or what Alexander says. class instance is not the same as class? As already Alexander Larikov said that you can't access protected methods from class instance ...
user avatar
2 votes
1 answer
554 views

Get all visible windows with JNA

I am programming an overlay in Java showing information for multiple windows. I need it to follow the window that it is tracking, and to do this I regularly take information about the current windows ...
Noah Fraiture's user avatar
1 vote
1 answer
256 views

How to Hide a Button with a Visibility widget

Few Informations about me: Im 17y/o and from Germany. I have made a ListView to show Multiple Headers. Each Header should be a able to store multiple Subheaders which can be opened or closed. It ...
LEGACY's user avatar
  • 13
0 votes
1 answer
158 views

My widget is rebuilt when toggling visibility where it shouldn't

I have a StatefulWidget that basically consists on a background widget (an playing video) and foreground HUD Column of Widget. The later visibility can be toggled by taping on an ElevatedButton. The ...
Stéphane de Luca's user avatar
1 vote
1 answer
443 views

How do I keep a mod private and use it in another module within the same project in Rust?

So I want to have some modules defined in lib.rs but not make them public but only available for use within the project. in my lib.rs, if I have the definition as this: pub mod args; in my main.rs, I ...
Finlay Weber's user avatar
  • 3,831

15 30 50 per page